Module Name: src Committed By: riastradh Date: Fri Mar 18 23:35:37 UTC 2022
Modified Files: src/tests/lib/libc/sys: t_getrandom.c Log Message: getrandom(2): Fix return value checks in automatic tests. The syscall only guarantees up to 256 bytes in a single go -- if interrupted, it might return short, but if the caller requested at least 256 bytes it will definitely return 256 bytes. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sys/t_getrandom.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.