[sudo-commits] sudo changeset 14286:1e12d9b0ce53

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


changeset:	14286:1e12d9b0ce53 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/1e12d9b0ce53
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Nov 07 14:51:43 2022 -0700

Log Message:
	Pass sudo's process ID to suspend_sudo_nopty() since we already know it.
	Saves an unnecessary getpid(2) call.

diffstat:

 src/exec_nopty.c                    |   6 ++++--
 src/regress/intercept/test_ptrace.c |   8 +++++---
 src/sudo_exec.h                     |   2 +-
 src/suspend_nopty.c                 |  14 +++++++-------
 4 files changed, 17 insertions(+), 13 deletions(-)



More information about the sudo-commits mailing list