Your message dated Wed, 9 Jul 2008 15:39:22 -0700
with message-id <[EMAIL PROTECTED]>
and subject line rlimits fixed
has caused the Debian Bug report #403716,
regarding pam: RLIMIT_NICE calculation off by one?
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
403716: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403716
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: pam
Version: 0.79-4
Severity: normal
While merging pam 0.79-4 into Ubuntu, I noticed that the new version of
pam_limits calculates the RLIMIT_NICE value passed to setrlimit() using
"19 - int_value". However, setpriority(2) says that unice = 20 - knice,
implying of course that knice = 20 - unice; the current pam_limits
behaviour will map the range [-20,19] onto [39,0] rather than [40,1] as
indicated by setpriority(2). Isn't this off by one?
Thanks,
--
Colin Watson [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Version: 0.99.7.1-2
This has been fixed upstream, and is no longer a problem in Debian.
--
Kees Cook @outflux.net
--- End Message ---