summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2009-03-20 19:46:44 -0700
committerSteve Langasek <vorlon@debian.org>2019-01-08 19:41:19 -0800
commit8f21dde490fc8e7e837c4cc438978dd7d9cc1e72 (patch)
tree00b6007b56f1ab4ad8998b45437cf62d5be505d4 /debian
parent81cf50c71ebddd35a113420f1b732011a0de840b (diff)
027_pam_limits_better_init_allow_explicit_root: defaults need to be
declared as LIMITS_DEF_DEFAULT instead of LIMITS_DEF_ALL, otherwise global limits will fail to be applied. LP: #314222.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
-rw-r--r--debian/patches-applied/027_pam_limits_better_init_allow_explicit_root4
2 files changed, 5 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 5944adea..4e8737b7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
pam (1.0.1-9) UNRELEASED; urgency=low
* Move the pam module packages to section 'admin'.
+ * 027_pam_limits_better_init_allow_explicit_root: defaults need to be
+ declared as LIMITS_DEF_DEFAULT instead of LIMITS_DEF_ALL, otherwise
+ global limits will fail to be applied. LP: #314222.
-- Steve Langasek <vorlon@debian.org> Fri, 20 Mar 2009 19:17:30 -0700
diff --git a/debian/patches-applied/027_pam_limits_better_init_allow_explicit_root b/debian/patches-applied/027_pam_limits_better_init_allow_explicit_root
index 574c99b1..157e4514 100644
--- a/debian/patches-applied/027_pam_limits_better_init_allow_explicit_root
+++ b/debian/patches-applied/027_pam_limits_better_init_allow_explicit_root
@@ -48,8 +48,8 @@ Index: pam.deb/modules/pam_limits/pam_limits.c
pl->limits[i].supported = 1;
- pl->limits[i].src_soft = LIMITS_DEF_NONE;
- pl->limits[i].src_hard = LIMITS_DEF_NONE;
-+ pl->limits[i].src_soft = LIMITS_DEF_ALL;
-+ pl->limits[i].src_hard = LIMITS_DEF_ALL;
++ pl->limits[i].src_soft = LIMITS_DEF_DEFAULT;
++ pl->limits[i].src_hard = LIMITS_DEF_DEFAULT;
+ switch(i) {
+ case RLIMIT_CPU:
+ case RLIMIT_FSIZE: