[sudo-commits] sudo changeset 15033:6cece4f67add

Todd C. Miller Todd.Miller at sudo.ws
Sat Sep 2 15:28:53 MDT 2023


changeset:	15033:6cece4f67add in /raid/repos/sudo
tags:		tip
details:	https://www.sudo.ws/repos/sudo/rev/6cece4f67add
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sat Sep 02 15:25:58 2023 -0600
files:		MANIFEST plugins/sudoers/Makefile.in plugins/sudoers/cvtsudoers.c plugins/sudoers/cvtsudoers.h plugins/sudoers/policy.c plugins/sudoers/sethost.c plugins/sudoers/stubs.c plugins/sudoers/sudoers.h plugins/sudoers/testsudoers.c plugins/sudoers/visudo.c

Log Message:
	sudoers_sethost: refactor code to set host names in sudoers_context.

	The sudoers_sethost() function can be shared by the sudoers plugin,
	visudo, cvtsudoers and testsudoers.


diffstat:

 MANIFEST                      |   1 +
 plugins/sudoers/Makefile.in   |  41 +++++++++++++++----
 plugins/sudoers/cvtsudoers.c  |   3 +-
 plugins/sudoers/cvtsudoers.h  |   3 -
 plugins/sudoers/policy.c      |  34 ++-------------
 plugins/sudoers/sethost.c     |  87 +++++++++++++++++++++++++++++++++++++++++++
 plugins/sudoers/stubs.c       |  39 -------------------
 plugins/sudoers/sudoers.h     |   3 +
 plugins/sudoers/testsudoers.c |  31 +-------------
 plugins/sudoers/visudo.c      |   5 +-
 10 files changed, 137 insertions(+), 110 deletions(-)



More information about the sudo-commits mailing list