summaryrefslogtreecommitdiff
path: root/debian/patches/045_pam_dispatch_jump_is_ignore
diff options
context:
space:
mode:
authorSam Hartman <hartmans@debian.org>2023-09-11 14:25:48 -0600
committerSam Hartman <hartmans@debian.org>2023-09-11 14:25:48 -0600
commit7ae7ed41ad1d32a258fd8ab2c48a0c2920f06db7 (patch)
treea147944bd7566bdd7231f249a777fcc1084b7d37 /debian/patches/045_pam_dispatch_jump_is_ignore
parent42408448b00a7a2150b5853dc4f63296b6827e0e (diff)
WIP initial set of 1.5.3 patches
Just an initial rebase of the patches against 1.5.3. * I'm not sure I handled pam_wheel correctly * I removed most of the generated nroff man page patches; my plan is to add a single patch at the end that includes the nroff manpage updates.
Diffstat (limited to 'debian/patches/045_pam_dispatch_jump_is_ignore')
-rw-r--r--debian/patches/045_pam_dispatch_jump_is_ignore16
1 files changed, 11 insertions, 5 deletions
diff --git a/debian/patches/045_pam_dispatch_jump_is_ignore b/debian/patches/045_pam_dispatch_jump_is_ignore
index e19a5456..af08a9e4 100644
--- a/debian/patches/045_pam_dispatch_jump_is_ignore
+++ b/debian/patches/045_pam_dispatch_jump_is_ignore
@@ -1,14 +1,20 @@
+From: Sam Hartman <hartmans@debian.org>
+Date: Mon, 11 Sep 2023 14:00:42 -0600
+Subject: _pam_dispatch_jump_is_ignore
Previously jumps were treated as PAM_IGNORE in the freezing part of
the chain and PAM_OK (aka required) in the frozen part of the chain.
No one on pam-list was able to explain this behavior, so I changed it
to be consistent.
+---
+ libpam/pam_dispatch.c | 17 +----------------
+ 1 file changed, 1 insertion(+), 16 deletions(-)
-Index: pam/libpam/pam_dispatch.c
-===================================================================
---- pam.orig/libpam/pam_dispatch.c
-+++ pam/libpam/pam_dispatch.c
-@@ -260,22 +260,7 @@
+diff --git a/libpam/pam_dispatch.c b/libpam/pam_dispatch.c
+index 974104a..15cad01 100644
+--- a/libpam/pam_dispatch.c
++++ b/libpam/pam_dispatch.c
+@@ -260,22 +260,7 @@ static int _pam_dispatch_aux(pam_handle_t *pamh, int flags, struct handler *h,
if ( _PAM_ACTION_IS_JUMP(action) ) {
/* If we are evaluating a cached chain, we treat this