[sudo-commits] sudo changeset 13471:fae58e1962cc

Todd C. Miller Todd.Miller at sudo.ws
Wed Sep 8 09:41:37 MDT 2021


changeset:	13471:fae58e1962cc in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/fae58e1962cc
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Sep 07 19:55:47 2021 -0600

Log Message:
	Implement simple PATH resolution for execvp().
	We want to use PATH from the current value of the environment, not
	the initial value of PATH when the policy was opened.
	This is a little different from how real execvp() works since we
	use stat() instead of just execve().

diffstat:

 src/sudo_intercept.c |  79 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 76 insertions(+), 3 deletions(-)



More information about the sudo-commits mailing list