[sudo-commits] sudo changeset 13936:cf5d1ae47dbe

Todd C. Miller Todd.Miller at sudo.ws
Mon May 9 11:08:08 MDT 2022


changeset:	13936:cf5d1ae47dbe in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/cf5d1ae47dbe
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon May 09 10:09:30 2022 -0600

Log Message:
	Use the entire word in ptrace_get_vec_len() and ptrace_read_vec().
	For compat binaries, use the upper 32-bits as the next word instead
	of calling ptrace(2) to get it.  This reduces the number of ptrace(2)
	calls when reading argv and envp for compat binaries.

diffstat:

 src/exec_ptrace.c |  72 ++++++++++++++++++++++++++++++++++++------------------
 src/exec_ptrace.h |   3 +-
 2 files changed, 49 insertions(+), 26 deletions(-)



More information about the sudo-commits mailing list