08a7e74c7c
On older kernels, when userspace program disables SIGSYS, catch ENOSYS and emulate getrandom(2) syscall with the kern.arandom sysctl (via existing arc4_sysctl wrapper). Special care is taken to faithfully emulate EFAULT on NULL pointers, because sysctl(3) as used by kern.arandom ignores NULL oldp. (This was caught by getentropy(3) ATF tests.) Reported by: kib Reviewed by: kib Discussed with: delphij Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D14785 |
||
---|---|---|
.. | ||
execve | ||
posix_spawn | ||
arc4random_test.c | ||
dir2_test.c | ||
dlopen_empty_test.c | ||
fmtcheck_test.c | ||
fmtmsg_test.c | ||
fnmatch_test.c | ||
fnmatch_testcases.h | ||
fpclassify2_test.c | ||
ftw_test.c | ||
getentropy_test.c | ||
getmntinfo_test.c | ||
glob2_test.c | ||
makecontext_test.c | ||
Makefile | ||
Makefile.depend | ||
popen_test.c | ||
posix_spawn_test.c | ||
realpath2_test.c | ||
test-fnmatch.c | ||
wordexp_test.c |