[sudo-commits] sudo changeset 13971:ddef421918b7

Todd C. Miller Todd.Miller at sudo.ws
Wed May 18 07:51:40 MDT 2022


changeset:	13971:ddef421918b7 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/ddef421918b7
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed May 18 07:29:55 2022 -0600

Log Message:
	Move code to suspend sudo when no pty is in use to separate file.
	Use this in test_ptrace.c to be able to suspend just like sudo does.

diffstat:

 MANIFEST                            |    1 +
 src/Makefile.in                     |   90 ++++++++++++++++++-----------
 src/exec_nopty.c                    |   80 +------------------------
 src/exec_pty.c                      |    8 +-
 src/regress/intercept/test_ptrace.c |   15 +++-
 src/sudo_exec.h                     |    3 +
 src/suspend_nopty.c                 |  111 ++++++++++++++++++++++++++++++++++++
 7 files changed, 190 insertions(+), 118 deletions(-)



More information about the sudo-commits mailing list