diff options
author | 2014-06-11 20:39:18 +0000 | |
---|---|---|
committer | 2014-06-11 20:39:18 +0000 | |
commit | 2ea18d853ded9e71461a266bd211991fef8aed9c (patch) | |
tree | f7dd776dfa1c1a1bc0fd08b674401c524e5e0967 /lib/libcrypto/objects/obj_dat.c | |
parent | Reject negative file offsets in /dev/ksyms. (diff) | |
download | wireguard-openbsd-2ea18d853ded9e71461a266bd211991fef8aed9c.tar.xz wireguard-openbsd-2ea18d853ded9e71461a266bd211991fef8aed9c.zip |
Fix wait4 to not modify status or rusage if we return 0 because of
WNOHANG, in accordance with POSIX. Additionally, if rusage is
requested but the waited-on process did not terminate, return zero
bytes instead of kernel stack garbage.
ok deraadt, millert
Diffstat (limited to 'lib/libcrypto/objects/obj_dat.c')
0 files changed, 0 insertions, 0 deletions