/[base]
ViewVC logotype

Revision 336871


Jump to revision: Previous Next
Author: asomers
Date: Sun Jul 29 18:22:26 2018 UTC (5 years, 11 months ago)
Changed paths: 1
Log Message:
getrusage(2): fix return value under 32-bit emulation

According to the man page, getrusage(2) should return EFAULT if the rusage
argument lies outside of the process's address space. But due to an
oversight in r100384, that's never been the case during 32-bit emulation.
Fix it.

PR:		230153
Reported by:	tests(7)
Reviewed by:	cem
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D16500


Changed paths

Path Details
Directoryhead/sys/compat/freebsd32/freebsd32_misc.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27