should load kernel rlimits instead of hardcoding internal defaults
Bug #746655 reported by
Kees Cook
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pam (Ubuntu) |
Fix Released
|
Medium
|
Kees Cook |
Bug Description
Since the kernel sets a number of dynamic rlimits based on the system properities (e.g. physical memory for nproc), these rlimits should be respected by PAM. Parse /proc/1/limits for the kernel-defined rlimits.
E.g. see bug 391761.
Related branches
To post a comment you must log in.
Here is a first-pass at the kernel rlimit parser...