add getrandom syscall wrapper
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 6 Jan 2018 22:08:09 +0000 (23:08 +0100)
committerRich Felker <dalias@aerifal.cx>
Fri, 23 Feb 2018 00:34:58 +0000 (19:34 -0500)
commite20658209177667e490c661dfd35b976749ef3f7
tree4cd8f51746279d1b156a6d1a4ea43b46a5dbf537
parent9bed82df305f5d1b7ebc36d0ac7a75d4f834e69b
add getrandom syscall wrapper

This syscall is available since Linux 3.17 and was also implemented in
glibc in version 2.25 using the same interfaces.
include/sys/random.h [new file with mode: 0644]
src/linux/getrandom.c [new file with mode: 0644]