Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2017 17:44:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-standards@FreeBSD.org
Subject:   [Bug 209729] Defining RLIM_SAVED_MAX and RLIM_SAVED_CUR in sys/sys/resource.h according to POSIX.
Message-ID:  <bug-209729-15-EE9SNJz7Aw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209729-15@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209729-15@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209729

--- Comment #4 from commit-hook@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@mail.ru
  Exp-run done by:      antoine
  MFC after:    2 weeks

Changes:
  head/sys/sys/resource.h

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209729-15-EE9SNJz7Aw>