[sudo-commits] sudo changeset 11373:50de9302de01

Todd C. Miller Todd.Miller at sudo.ws
Mon May 14 10:28:14 MDT 2018


changeset:	11373:50de9302de01 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/50de9302de01
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon May 14 09:05:03 2018 -0600

Log Message:
	Simplify the nss interface such that each sudoers provider fills
	in a per-nss list of userspecs and defaults instead of using separate
	lookup and list functions.  This makes it possible to have a single
	implementation of the code for sudoers lookup and listing.

diffstat:

 MANIFEST                      |    1 +
 plugins/sudoers/Makefile.in   |   19 +-
 plugins/sudoers/defaults.c    |    8 +-
 plugins/sudoers/defaults.h    |    3 +-
 plugins/sudoers/file.c        |  145 ++++++
 plugins/sudoers/ldap.c        |  789 ++++++-------------------------------
 plugins/sudoers/ldap_util.c   |   61 ++-
 plugins/sudoers/parse.c       |  752 +++++++++++++++++++----------------
 plugins/sudoers/parse.h       |    7 +-
 plugins/sudoers/sssd.c        |  880 +++++++----------------------------------
 plugins/sudoers/sudo_ldap.h   |    3 +-
 plugins/sudoers/sudo_nss.c    |  168 +------
 plugins/sudoers/sudo_nss.h    |   15 +-
 plugins/sudoers/sudoers.c     |   74 +--
 plugins/sudoers/sudoers.h     |    5 -
 plugins/sudoers/testsudoers.c |    2 +-
 plugins/sudoers/visudo.c      |    9 +-
 17 files changed, 981 insertions(+), 1960 deletions(-)


More information about the sudo-commits mailing list