Bug#326555: libpam-runtime: Please apply this patch instead (take 2)

2005-09-28 Thread Will Dyson
Of course, that patch got the RTLMIT_NICE range wrong :p Attatched patch properly limits the "nice" value to the range of [-20, 19]. diff -ru pam-0.79/Linux-PAM/modules/pam_limits/pam_limits.c pam-0.79.rtlimit/Linux-PAM/modules/pam_limits/pam_limits.c --- pam-0.79/Linux-PAM/modules/pam_limits/pam

Bug#326555: libpam-runtime: Please apply this patch instead

2005-09-27 Thread Will Dyson
Package: libpam-runtime Version: 0.79-1 Followup-For: Bug #326555 This is my backport of the version of the rtlimits patch now merged in the linux-pam CVS. Differences to previous patch are: - item name in limits.conf is "rt_prio" rather than "rt_priority" - nice value goes from