[sudo-commits] sudo changeset 14403:60a811d58138

Todd C. Miller Todd.Miller at sudo.ws
Mon Dec 26 07:54:05 MST 2022


changeset:	14403:60a811d58138 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/60a811d58138
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Dec 26 07:43:55 2022 -0700

Log Message:
	Remove the owner and mode checks when loading a sudo plugin.
	The sudo.conf file is considered a trusted source of information
	and these checks suffer from TOCTOU issues anyway.  The checks
	complicate loading of shared objects since we need to perform
	fallback processing twice.

diffstat:

 plugins/sudoers/group_plugin.c |   24 +-----
 src/load_plugins.c             |  141 +++++++---------------------------------
 2 files changed, 29 insertions(+), 136 deletions(-)



More information about the sudo-commits mailing list