summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv/utilities/hv_shutdown.c
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2016-10-11 18:51:03 +0000
committerjilles <jilles@FreeBSD.org>2016-10-11 18:51:03 +0000
commit869c696c42a93d91f91468cb3e5eb89d51d024b8 (patch)
tree94481d3ae1b8715eae8a325b99a2380fbf25aaae /sys/dev/hyperv/utilities/hv_shutdown.c
parent34a2159fba1475d12ce7171ff4e0f4ace8822623 (diff)
downloadFreeBSD-src-869c696c42a93d91f91468cb3e5eb89d51d024b8.zip
FreeBSD-src-869c696c42a93d91f91468cb3e5eb89d51d024b8.tar.gz
wait: Do not copyout uninitialized status/rusage/wrusage.
If wait4() or wait6() return 0 because of WNOHANG, the status, rusage and wrusage information should not be returned. PR: 212048 Reported by: Casey Lucas
Diffstat (limited to 'sys/dev/hyperv/utilities/hv_shutdown.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud