summaryrefslogtreecommitdiff
path: root/patches-applied/limits_wrong_strncpy
diff options
context:
space:
mode:
authorvorlon <Unknown>2007-09-04 08:55:38 +0000
committervorlon <Unknown>2007-09-04 08:55:38 +0000
commita4636af1e19d197450a1c98ee8f8440c2c6ab217 (patch)
tree4561b5adec93472edd90a990816b7a7f20a4650b /patches-applied/limits_wrong_strncpy
parent3582410766c20950a7c6aeca55963c04dc57b0af (diff)
Drop the local patch for Linux capabilities in pam_limits; Linux
capabilities are not generally useful in a PAM context, and the PAM capabilities patch has been broken through much of its life. Closes: #440130.
Diffstat (limited to 'patches-applied/limits_wrong_strncpy')
-rw-r--r--patches-applied/limits_wrong_strncpy6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches-applied/limits_wrong_strncpy b/patches-applied/limits_wrong_strncpy
index 529d5ebe..155eab51 100644
--- a/patches-applied/limits_wrong_strncpy
+++ b/patches-applied/limits_wrong_strncpy
@@ -11,7 +11,7 @@ Index: pam/Linux-PAM/modules/pam_limits/pam_limits.c
===================================================================
--- pam.orig/Linux-PAM/modules/pam_limits/pam_limits.c
+++ pam/Linux-PAM/modules/pam_limits/pam_limits.c
-@@ -516,8 +516,6 @@
+@@ -492,8 +492,6 @@
}
#undef CONF_FILE
@@ -20,7 +20,7 @@ Index: pam/Linux-PAM/modules/pam_limits/pam_limits.c
/* start the show */
while (fgets(buf, LINE_LENGTH, fil) != NULL) {
char domain[LINE_LENGTH];
-@@ -526,46 +524,40 @@
+@@ -502,46 +500,40 @@
char value[LINE_LENGTH];
int i;
size_t j;
@@ -81,7 +81,7 @@ Index: pam/Linux-PAM/modules/pam_limits/pam_limits.c
if (strcmp(uname, domain) == 0) /* this user have a limit */
process_limit(pamh, LIMITS_DEF_USER, ltype, item, value, ctrl, pl);
else if (domain[0]=='@' && !pl->root) {
-@@ -611,7 +603,7 @@
+@@ -587,7 +579,7 @@
return PAM_IGNORE;
}
} else {