mailing list of musl libc
 help / color / mirror / code / Atom feed
795b932c7316f87c8d80a0ce62778a76e31dcd9f blob 169 bytes (raw)

1
2
3
4
5
6
7
 
#include <sys/random.h>
#include "syscall.h"

ssize_t getrandom(void *buf, size_t buflen, unsigned int flags)
{
	return syscall_cp(SYS_getrandom, buf, buflen, flags);
}
debug log:

solving 795b932c ...
found 795b932c in https://inbox.vuxu.org/musl/20180106220809.10078-1-hauke@hauke-m.de/

applying [1/1] https://inbox.vuxu.org/musl/20180106220809.10078-1-hauke@hauke-m.de/
diff --git a/src/linux/getrandom.c b/src/linux/getrandom.c
new file mode 100644
index 00000000..795b932c

Checking patch src/linux/getrandom.c...
Applied patch src/linux/getrandom.c cleanly.

index at:
100644 795b932c7316f87c8d80a0ce62778a76e31dcd9f	src/linux/getrandom.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).