https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230153

--- Comment #1 from commit-h...@freebsd.org ---
A commit references this bug:

Author: asomers
Date: Sun Jul 29 18:22:26 UTC 2018
New revision: 336871
URL: https://svnweb.freebsd.org/changeset/base/336871

Log:
  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

Changes:
  head/sys/compat/freebsd32/freebsd32_misc.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to