[Bug 209729] Defining RLIM_SAVED_MAX and RLIM_SAVED_CUR in sys/sys/resource.h according to POSIX.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 14 17:44:38 UTC 2017


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

--- Comment #4 from commit-hook at freebsd.org ---
A commit references this bug:

Author: kib
Date: Tue Feb 14 17:44:30 UTC 2017
New revision: 313734
URL: https://svnweb.freebsd.org/changeset/base/313734

Log:
  Add RLIM_SAVED_MAX and RLIM_SAVED_CUR symbols.

  Define them as RLIM_INFINITY.  This is allowed by POSIX in case all
  resource limits are representable in an object of type rlim_t.  Since
  we do not allow negative rlim_t, with some strength this definition is
  conforming.

  We are not conforming fully still because POSIX requires rlim_t to be
  unsigned type.  Fixing this without breaking ABI to redefine
  RLIM_INFINITY is impossible.

  PR:   209729
  Submitted by: bltsrc at mail.ru
  Exp-run done by:      antoine
  MFC after:    2 weeks

Changes:
  head/sys/sys/resource.h

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-standards mailing list