[sudo-commits] sudo changeset 14572:6065f5e76387

Todd C. Miller Todd.Miller at sudo.ws
Tue Feb 21 13:39:49 MST 2023


changeset:	14572:6065f5e76387 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/6065f5e76387
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Feb 21 13:24:33 2023 -0700

Log Message:
	Add canon_path(), a realpath() wrapper that performs caching.
	This also adds a new user_cmnd_dir variable that stores the
	canonicalized parent directory of the command to be run.

diffstat:

 MANIFEST                     |    1 +
 plugins/sudoers/Makefile.in  |   32 ++++++-
 plugins/sudoers/canon_path.c |  199 +++++++++++++++++++++++++++++++++++++++++++
 plugins/sudoers/sudoers.c    |   15 +++
 plugins/sudoers/sudoers.h    |    7 +
 5 files changed, 250 insertions(+), 4 deletions(-)



More information about the sudo-commits mailing list