From 3ac17b302b98b5c290800d0bdd47a481f6546e1c Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 15 Sep 2015 12:24:19 -0600 Subject: [PATCH] SIGHUP is now relayed to the command. Bug #719 --- doc/sudo.cat | 8 ++++---- doc/sudo.man.in | 3 +-- doc/sudo.mdoc.in | 3 +-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/doc/sudo.cat b/doc/sudo.cat index 17df9fd25..d6f2046af 100644 --- a/doc/sudo.cat +++ b/doc/sudo.cat @@ -375,9 +375,9 @@ CCOOMMMMAANNDD EEXXEECCUUTTIIOONN SSiiggnnaall hhaannddlliinngg When the command is run as a child of the ssuuddoo process, ssuuddoo will relay signals it receives to the command. Unless the command is being run in a - new pty, the SIGHUP, SIGINT and SIGQUIT signals are not relayed unless - they are sent by a user process, not the kernel. Otherwise, the command - would receive SIGINT twice every time the user entered control-C. Some + new pty, the SIGINT and SIGQUIT signals are not relayed unless they are + sent by a user process, not the kernel. Otherwise, the command would + receive SIGINT twice every time the user entered control-C. Some signals, such as SIGSTOP and SIGKILL, cannot be caught and thus will not be relayed to the command. As a general rule, SIGTSTP should be used instead of SIGSTOP when you wish to suspend a command being run by ssuuddoo. @@ -608,4 +608,4 @@ DDIISSCCLLAAIIMMEERR file distributed with ssuuddoo or http://www.sudo.ws/license.html for complete details. -Sudo 1.8.15 August 9, 2015 Sudo 1.8.15 +Sudo 1.8.15 September 15, 2015 Sudo 1.8.15 diff --git a/doc/sudo.man.in b/doc/sudo.man.in index 118177344..adb4128a9 100644 --- a/doc/sudo.man.in +++ b/doc/sudo.man.in @@ -21,7 +21,7 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.TH "SUDO" "8" "August 9, 2015" "Sudo @PACKAGE_VERSION@" "System Manager's Manual" +.TH "SUDO" "8" "September 15, 2015" "Sudo @PACKAGE_VERSION@" "System Manager's Manual" .nh .if n .ad l .SH "NAME" @@ -731,7 +731,6 @@ process, \fBsudo\fR will relay signals it receives to the command. Unless the command is being run in a new pty, the -\fRSIGHUP\fR, \fRSIGINT\fR and \fRSIGQUIT\fR diff --git a/doc/sudo.mdoc.in b/doc/sudo.mdoc.in index 8cf2f22f3..bca29f49f 100644 --- a/doc/sudo.mdoc.in +++ b/doc/sudo.mdoc.in @@ -19,7 +19,7 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.Dd August 9, 2015 +.Dd September 15, 2015 .Dt SUDO @mansectsu@ .Os Sudo @PACKAGE_VERSION@ .Sh NAME @@ -666,7 +666,6 @@ process, .Nm will relay signals it receives to the command. Unless the command is being run in a new pty, the -.Dv SIGHUP , .Dv SIGINT and .Dv SIGQUIT -- 2.40.0