diff options
author | Kees Cook <kees@debian.org> | 2011-10-13 12:55:42 -0700 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2019-01-08 22:11:47 -0800 |
commit | 4c8f5ad6ee34b2f65e0a52a59a15af2ddef8b250 (patch) | |
tree | f3faf3b6c456378e2c435c0f524e1a326b9f2c76 /debian/patches-applied/055_pam_unix_nullok_secure | |
parent | 3195e234fc0eb981e64c1ec2528405e7fbbe7748 (diff) |
debian/patches-applied/{007_modules_pam_unix,055_pam_unix_nullok_secure}:
drop unneeded no-op change to reduce delta from upstream.
Diffstat (limited to 'debian/patches-applied/055_pam_unix_nullok_secure')
-rw-r--r-- | debian/patches-applied/055_pam_unix_nullok_secure | 49 |
1 files changed, 24 insertions, 25 deletions
diff --git a/debian/patches-applied/055_pam_unix_nullok_secure b/debian/patches-applied/055_pam_unix_nullok_secure index 5e694e12..c30b2cf6 100644 --- a/debian/patches-applied/055_pam_unix_nullok_secure +++ b/debian/patches-applied/055_pam_unix_nullok_secure @@ -7,11 +7,11 @@ Authors: Sam Hartman <hartmans@debian.org>, Upstream status: not yet submitted -Index: pam.deb/modules/pam_unix/support.c +Index: pam-debian/modules/pam_unix/support.c =================================================================== ---- pam.deb.orig/modules/pam_unix/support.c -+++ pam.deb/modules/pam_unix/support.c -@@ -85,15 +85,22 @@ +--- pam-debian.orig/modules/pam_unix/support.c 2011-10-10 16:25:36.000000000 -0700 ++++ pam-debian/modules/pam_unix/support.c 2011-10-10 17:51:23.078413270 -0700 +@@ -84,14 +84,22 @@ /* now parse the arguments to this module */ while (argc-- > 0) { @@ -22,8 +22,7 @@ Index: pam.deb/modules/pam_unix/support.c for (j = 0; j < UNIX_CTRLS_; ++j) { - if (unix_args[j].token -- && !strncmp(*argv, unix_args[j].token, strlen(unix_args[j].token))) -- { +- && !strncmp(*argv, unix_args[j].token, strlen(unix_args[j].token))) { - break; + if (unix_args[j].token) { + sl = strlen(unix_args[j].token); @@ -39,7 +38,7 @@ Index: pam.deb/modules/pam_unix/support.c } } -@@ -452,6 +459,7 @@ +@@ -448,6 +456,7 @@ child = fork(); if (child == 0) { int i=0; @@ -47,7 +46,7 @@ Index: pam.deb/modules/pam_unix/support.c struct rlimit rlim; static char *envp[] = { NULL }; char *args[] = { NULL, NULL, NULL, NULL }; -@@ -479,7 +487,18 @@ +@@ -475,7 +484,18 @@ /* exec binary helper */ args[0] = strdup(CHKPWD_HELPER); args[1] = x_strdup(user); @@ -67,7 +66,7 @@ Index: pam.deb/modules/pam_unix/support.c args[2]=strdup("nullok"); } else { args[2]=strdup("nonull"); -@@ -560,6 +579,17 @@ +@@ -556,6 +576,17 @@ if (on(UNIX__NONULL, ctrl)) return 0; /* will fail but don't let on yet */ @@ -85,7 +84,7 @@ Index: pam.deb/modules/pam_unix/support.c /* UNIX passwords area */ retval = get_pwd_hash(pamh, name, &pwd, &salt); -@@ -646,7 +676,8 @@ +@@ -642,7 +673,8 @@ } } } else { @@ -95,10 +94,10 @@ Index: pam.deb/modules/pam_unix/support.c } if (retval == PAM_SUCCESS) { -Index: pam.deb/modules/pam_unix/support.h +Index: pam-debian/modules/pam_unix/support.h =================================================================== ---- pam.deb.orig/modules/pam_unix/support.h -+++ pam.deb/modules/pam_unix/support.h +--- pam-debian.orig/modules/pam_unix/support.h 2011-10-10 16:24:49.000000000 -0700 ++++ pam-debian/modules/pam_unix/support.h 2011-10-10 17:51:23.078413270 -0700 @@ -91,8 +91,9 @@ #define UNIX_BLOWFISH_PASS 26 /* new password hashes will use blowfish */ #define UNIX_MIN_PASS_LEN 27 /* min length for password */ @@ -137,10 +136,10 @@ Index: pam.deb/modules/pam_unix/support.h extern int _unix_run_verify_binary(pam_handle_t *pamh, unsigned int ctrl, const char *user, int *daysleft); #endif /* _PAM_UNIX_SUPPORT_H */ -Index: pam.deb/modules/pam_unix/Makefile.am +Index: pam-debian/modules/pam_unix/Makefile.am =================================================================== ---- pam.deb.orig/modules/pam_unix/Makefile.am -+++ pam.deb/modules/pam_unix/Makefile.am +--- pam-debian.orig/modules/pam_unix/Makefile.am 2011-10-10 16:24:49.000000000 -0700 ++++ pam-debian/modules/pam_unix/Makefile.am 2011-10-10 17:51:23.078413270 -0700 @@ -29,7 +29,8 @@ pam_unix_la_LDFLAGS += -Wl,--version-script=$(srcdir)/../modules.map endif @@ -151,10 +150,10 @@ Index: pam.deb/modules/pam_unix/Makefile.am securelib_LTLIBRARIES = pam_unix.la -Index: pam.deb/modules/pam_unix/README +Index: pam-debian/modules/pam_unix/README =================================================================== ---- pam.deb.orig/modules/pam_unix/README -+++ pam.deb/modules/pam_unix/README +--- pam-debian.orig/modules/pam_unix/README 2011-10-10 16:21:55.000000000 -0700 ++++ pam-debian/modules/pam_unix/README 2011-10-10 17:51:23.078413270 -0700 @@ -57,7 +57,16 @@ The default action of this module is to not permit the user access to a @@ -173,10 +172,10 @@ Index: pam.deb/modules/pam_unix/README try_first_pass -Index: pam.deb/modules/pam_unix/pam_unix.8 +Index: pam-debian/modules/pam_unix/pam_unix.8 =================================================================== ---- pam.deb.orig/modules/pam_unix/pam_unix.8 -+++ pam.deb/modules/pam_unix/pam_unix.8 +--- pam-debian.orig/modules/pam_unix/pam_unix.8 2011-10-10 16:24:49.000000000 -0700 ++++ pam-debian/modules/pam_unix/pam_unix.8 2011-10-10 17:51:23.078413270 -0700 @@ -79,7 +79,14 @@ .RS 4 The default action of this module is to not permit the user access to a service if their official password is blank\&. The @@ -193,10 +192,10 @@ Index: pam.deb/modules/pam_unix/pam_unix.8 .RE .PP \fBtry_first_pass\fR -Index: pam.deb/modules/pam_unix/pam_unix.8.xml +Index: pam-debian/modules/pam_unix/pam_unix.8.xml =================================================================== ---- pam.deb.orig/modules/pam_unix/pam_unix.8.xml -+++ pam.deb/modules/pam_unix/pam_unix.8.xml +--- pam-debian.orig/modules/pam_unix/pam_unix.8.xml 2011-10-10 16:24:49.000000000 -0700 ++++ pam-debian/modules/pam_unix/pam_unix.8.xml 2011-10-10 17:51:23.078413270 -0700 @@ -135,7 +135,24 @@ <para> The default action of this module is to not permit the |