summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/objects/obj_dat.c
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2014-06-11 20:39:18 +0000
committermatthew <matthew@openbsd.org>2014-06-11 20:39:18 +0000
commit2ea18d853ded9e71461a266bd211991fef8aed9c (patch)
treef7dd776dfa1c1a1bc0fd08b674401c524e5e0967 /lib/libcrypto/objects/obj_dat.c
parentReject negative file offsets in /dev/ksyms. (diff)
downloadwireguard-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