[sudo-commits] sudo changeset 13897:bddcc0d9fee6
Todd C. Miller
Todd.Miller at sudo.ws
Wed Apr 20 15:53:09 MDT 2022
changeset: 13897:bddcc0d9fee6 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/bddcc0d9fee6
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Wed Apr 20 11:56:26 2022 -0600
Log Message:
Don't require a pty for intercept or log_subcmmds.
The code to take back control of the tty before a policy check
doesn't appear to be needed. If the command is run in its own pty,
sudo has control over the user's tty. If the command is run in
the user's tty, sudo should be in the foreground process group.
diffstat:
src/exec.c | 2 +-
src/exec_intercept.c | 23 -----------------------
2 files changed, 1 insertions(+), 24 deletions(-)
More information about the sudo-commits
mailing list