[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
Thu May 26 06:38:54 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209729
Konstantin Belousov <kib at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|freebsd-bugs at FreeBSD.org |freebsd-standards at FreeBSD.o
| |rg
CC| |kib at FreeBSD.org
Component|kern |standards
--- Comment #1 from Konstantin Belousov <kib at FreeBSD.org> ---
Is there a consensus that the patch is the right thing to do ?
POSIX specifies that RLIM_SAVED_MAX and RLIM_SAVED_CUR can be same as
RLIM_INFINITY, if all limit values are represented as rlim_t. Our rlim_t is
64-bit signed (which is already non-conforming), and e.g. RLIMIT_FSIZE file
sizes larger than (1ULL<<63) cannot be represented by our rlim_t without some
strength of interpretation.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list