[sudo-commits] sudo changeset 10180:6d3f43b95a1f

Todd C. Miller Todd.Miller at courtesan.com
Mon Aug 10 15:13:40 MDT 2015


changeset:	10180:6d3f43b95a1f in /media/repos/sudo
details:	http://www.sudo.ws/repos/sudo/rev/6d3f43b95a1f
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Mon Aug 10 15:13:37 2015 -0600

Log Message:
	Linux sets si_pid in struct siginfo to 0 when the process that sent
	the signal is in a different container since the PID namespaces in
	different conatiners are separate.  Avoid looking up the process
	group by id when si_pid is 0 since getpgid(0) returns the process
	group of the current process.  Since sudo ignores signals sent
	by processes in its own process group, this had the effect of
	ignoring signals sent from other containers.  From Maarten de Vries

diffstat:

 doc/CONTRIBUTORS |   1 +
 src/exec.c       |  14 ++++++++------
 src/exec_pty.c   |   2 +-
 3 files changed, 10 insertions(+), 7 deletions(-)


More information about the sudo-commits mailing list