[sudo-commits] sudo changeset 11432:bddb4676ad0e
Todd C. Miller
Todd.Miller at sudo.ws
Thu Jul 26 15:14:32 MDT 2018
changeset: 11432:bddb4676ad0e in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/bddb4676ad0e
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Thu Jul 26 15:12:33 2018 -0600
Log Message:
o Move userspecs, defaults and aliases into a new struct sudoers_parse_tree.
o The parse tree is now passed to the alias, match and defaults functions.
o The nss API has been changed so that the nss parse() function returns
a pointer to a struct sudoers_parse_tree which will be filled in
by the getdefs() and query() functions.
diffstat:
plugins/sudoers/alias.c | 184 ++++++++++++------------
plugins/sudoers/cvtsudoers.c | 58 ++++---
plugins/sudoers/cvtsudoers_json.c | 12 +-
plugins/sudoers/cvtsudoers_ldif.c | 16 +-
plugins/sudoers/defaults.c | 27 +-
plugins/sudoers/defaults.h | 8 +-
plugins/sudoers/file.c | 64 +++-----
plugins/sudoers/fmtsudoers.c | 61 ++++---
plugins/sudoers/gram.c | 274 +++++++++++++++++++++----------------
plugins/sudoers/gram.y | 68 +++++++--
plugins/sudoers/ldap.c | 137 +++++++++---------
plugins/sudoers/match.c | 66 +++++---
plugins/sudoers/parse.c | 148 ++++++++++----------
plugins/sudoers/parse.h | 58 ++++---
plugins/sudoers/sssd.c | 94 +++++++-----
plugins/sudoers/sudo_nss.h | 11 +-
plugins/sudoers/sudoers.c | 29 +--
plugins/sudoers/testsudoers.c | 27 +-
plugins/sudoers/visudo.c | 26 +-
19 files changed, 732 insertions(+), 636 deletions(-)
More information about the sudo-commits
mailing list