SIGHUP is now relayed to the command. Bug #719

This commit is contained in:
Todd C. Miller
2015-09-15 12:24:19 -06:00
parent 3f6f1cd15c
commit 3ac17b302b
3 changed files with 6 additions and 8 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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