From 8f21dde490fc8e7e837c4cc438978dd7d9cc1e72 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Fri, 20 Mar 2009 19:46:44 -0700 Subject: 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. --- debian/changelog | 3 +++ debian/patches-applied/027_pam_limits_better_init_allow_explicit_root | 4 ++-- 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 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: -- cgit v1.2.3