mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-11-24 10:22:47 +08:00
Relevant BUGIDs: Red Hat bz 168790
Purpose of commit: bugfix Commit summary: --------------- pam_limits: Fix regression from RLIMIT_NICE support (wrong limit values for other limits are applied) patch by Anton Guda
This commit is contained in:
parent
0c3724a3e1
commit
ed7ae465dd
@ -60,6 +60,8 @@ bug report - outstanding bugs are listed here:
|
||||
PAM modules (kukuk).
|
||||
* pam_tally, pam_time, pam_userdb: use pam_syslog and pam_prompt (ldv)
|
||||
* pam_issue: major cleanup (ldv)
|
||||
* pam_limits: Fix regression from RLIMIT_NICE support (wrong limit
|
||||
values for other limits are applied) patch by Anton Guda
|
||||
|
||||
0.80: Wed Jul 13 13:23:20 CEST 2005
|
||||
* pam_tally: test for NULL data before dereferencing them (t8m)
|
||||
|
@ -380,6 +380,7 @@ process_limit (const pam_handle_t *pamh, int source, const char *lim_type,
|
||||
case RLIMIT_AS:
|
||||
if (rlimit_value != RLIM_INFINITY)
|
||||
rlimit_value *= 1024;
|
||||
break;
|
||||
#ifdef RLIMIT_NICE
|
||||
case RLIMIT_NICE:
|
||||
if (int_value > 19)
|
||||
|
Loading…
Reference in New Issue
Block a user