From aa2f39e93f22e9da9b0cd90d1f2b620d814dd954 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 11 Apr 2012 02:28:46 +0000 Subject: [PATCH] Add sigquit for completeness to the list of blocked signals with int and tstp. Does not have any security implication. From Pierre Carrier --- external/bsd/openpam/dist/lib/openpam_ttyconv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/external/bsd/openpam/dist/lib/openpam_ttyconv.c b/external/bsd/openpam/dist/lib/openpam_ttyconv.c index 4b95775c8db1..f4c1a8da44e3 100644 --- a/external/bsd/openpam/dist/lib/openpam_ttyconv.c +++ b/external/bsd/openpam/dist/lib/openpam_ttyconv.c @@ -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 @@ prompt(const char *msg, FILE *infp, FILE *outfp, FILE *errfp) saved_alarm = 0; sigemptyset(&sigs); sigaddset(&sigs, SIGINT); + sigaddset(&sigs, SIGQUIT); sigaddset(&sigs, SIGTSTP); sigprocmask(SIG_SETMASK, &sigs, &saved_sigset); action.sa_handler = &timeout;