Module Name: src Committed By: riastradh Date: Wed Mar 5 21:30:34 UTC 2025
Modified Files: src/tests/lib/libc/gen: t_arc4random.c Log Message: t_arc4random: Verify arc4random works without fds. It must work in an empty chroot where /dev/urandom doesn't exist, and it must work when the file descriptor resource limit is exceeded. Prompted by discussion around: PR lib/59117: arc4random has some failure modes it shouldn't Fortunately these are not failure modes of the current arc4random implementation! But it is important to test them nevertheless, to forestall any temptation to invent new failure modes. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/gen/t_arc4random.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.