diff options
author | Steve Langasek <vorlon@debian.org> | 2019-01-02 12:24:44 -0800 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2019-01-02 12:27:24 -0800 |
commit | a6f4ab0bebc76acf85cc0244bd21c1036009c28c (patch) | |
tree | df0d6a57d2b91ab9038e8d7b0d62f28c2daa66db /debian/patches-applied/misc_conv_allow_sigint.patch | |
parent | 10b6243f4664747e815372070142d6c5853176da (diff) | |
download | pam-a6f4ab0bebc76acf85cc0244bd21c1036009c28c.tar.gz pam-a6f4ab0bebc76acf85cc0244bd21c1036009c28c.tar.bz2 pam-a6f4ab0bebc76acf85cc0244bd21c1036009c28c.zip |
fix-up commit for grafting svn history onto git history
Diffstat (limited to 'debian/patches-applied/misc_conv_allow_sigint.patch')
-rw-r--r-- | debian/patches-applied/misc_conv_allow_sigint.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/patches-applied/misc_conv_allow_sigint.patch b/debian/patches-applied/misc_conv_allow_sigint.patch new file mode 100644 index 00000000..75ffe8b7 --- /dev/null +++ b/debian/patches-applied/misc_conv_allow_sigint.patch @@ -0,0 +1,28 @@ +Patch for Debian bug #1708 + +Don't block SIGINT in misc_conv, it's perfectly valid to allow the user +to interrupt at a prompt if the application hasn't otherwise blocked the +signal. + +Authors: Steve Langasek <vorlon@debian.org> + +Upstream status: committed to CVS + +Index: pam/Linux-PAM/libpam_misc/misc_conv.c +=================================================================== +--- pam.orig/Linux-PAM/libpam_misc/misc_conv.c ++++ pam/Linux-PAM/libpam_misc/misc_conv.c +@@ -150,12 +150,11 @@ + have_term = 1; + + /* +- * We make a simple attempt to block TTY signals from terminating ++ * We make a simple attempt to block TTY signals from suspending + * the conversation without giving PAM a chance to clean up. + */ + + sigemptyset(&nset); +- sigaddset(&nset, SIGINT); + sigaddset(&nset, SIGTSTP); + (void) sigprocmask(SIG_BLOCK, &nset, &oset); + |