[sudo-commits] sudo changeset 14284:3d9862963e92

Todd C. Miller Todd.Miller at sudo.ws
Mon Nov 7 14:54:21 MST 2022

changeset:	14284:3d9862963e92 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/3d9862963e92
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Nov 07 14:51:42 2022 -0700

Log Message:
	Call terminate_command() with use_pgrp = false when not running in a pty.
	When sudo runs a command in the user's existing terminal the command
	is run in the same process group as sudo itself.  The proper way
	to terminate it is to use kill(2), not killpg(3)


 src/exec_nopty.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

More information about the sudo-commits mailing list