Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/openpam/dist/lib Add sigquit for completeness t...
details: https://anonhg.NetBSD.org/src/rev/13750922d39c
branches: trunk
changeset: 778729:13750922d39c
user: christos <christos%NetBSD.org@localhost>
date: Wed Apr 11 02:28:46 2012 +0000
description:
Add sigquit for completeness to the list of blocked signals with int and tstp.
Does not have any security implication. From Pierre Carrier
diffstat:
external/bsd/openpam/dist/lib/openpam_ttyconv.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r f7917097b47a -r 13750922d39c external/bsd/openpam/dist/lib/openpam_ttyconv.c
--- a/external/bsd/openpam/dist/lib/openpam_ttyconv.c Wed Apr 11 00:41:41 2012 +0000
+++ b/external/bsd/openpam/dist/lib/openpam_ttyconv.c Wed Apr 11 02:28:46 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: openpam_ttyconv.c,v 1.3 2012/01/03 18:56:49 christos Exp $ */
+/* $NetBSD: openpam_ttyconv.c,v 1.4 2012/04/11 02:28:46 christos Exp $ */
/*-
* Copyright (c) 2002-2003 Networks Associates Technology, Inc.
@@ -82,6 +82,7 @@
saved_alarm = 0;
sigemptyset(&sigs);
sigaddset(&sigs, SIGINT);
+ sigaddset(&sigs, SIGQUIT);
sigaddset(&sigs, SIGTSTP);
sigprocmask(SIG_SETMASK, &sigs, &saved_sigset);
action.sa_handler = &timeout;
Home |
Main Index |
Thread Index |
Old Index