/[base]
ViewVC logotype

Revision 339065


Jump to revision: Previous Next
Author: asomers
Date: Mon Oct 1 16:23:00 2018 UTC (5 years, 9 months ago)
Changed paths: 2
Log Message:
MFC r336871, r336874

r336871:
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
Differential Revision:	https://reviews.freebsd.org/D16500

r336874:
freebsd32_getrusage(2): skip freebsd32_rusage_out on error

PR:		230153
Reported by:	kib
X-MFC-With:	336871
Differential Revision:	https://reviews.freebsd.org/D16500


Changed paths

Path Details
Directorystable/10/ modified , props changed
Directorystable/10/sys/compat/freebsd32/freebsd32_misc.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27