[sudo-commits] sudo changeset 14208:c4e4c3f74ea4

Todd C. Miller Todd.Miller at sudo.ws
Thu Sep 22 10:42:41 MDT 2022


changeset:	14208:c4e4c3f74ea4 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/c4e4c3f74ea4
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Sep 21 19:08:10 2022 -0600

Log Message:
	Use sudo_secure_open_file() instead of sudo_secure_file() where possible.
	Both sudo_secure_open_file() and sudo_secure_open_dir() are now passed
	a struct stat pointer like sudo_secure_file() and sudo_secure_dir().

diffstat:

 docs/sudoers.man.in                               |   2 +-
 docs/sudoers.mdoc.in                              |   2 +-
 include/sudo_util.h                               |  12 +-
 lib/util/secure_path.c                            |  23 ++++--
 lib/util/sudo_conf.c                              |  65 ++++++++++-------
 plugins/sudoers/regress/testsudoers/test11.out.ok |   4 +-
 plugins/sudoers/sudoers.c                         |  32 ++------
 plugins/sudoers/testsudoers.c                     |  51 +++++++------
 plugins/sudoers/timestamp.c                       |  82 ++++++++++++----------
 9 files changed, 145 insertions(+), 128 deletions(-)



More information about the sudo-commits mailing list