CVSROOT: /cvs Module name: src Changes by: [email protected] 2014/06/11 14:39:18
Modified files:
sys/kern : kern_exit.c
Log message:
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
