[sudo-commits] sudo changeset 13865:601915bb6265
Todd C. Miller
Todd.Miller at sudo.ws
Thu Mar 10 14:02:39 MST 2022
changeset: 13865:601915bb6265 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/601915bb6265
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Thu Mar 10 13:30:56 2022 -0700
Log Message:
Add a hook for sudoers parse errors (including defaults and aliases).
The hook can be used to log parser errors (sudoers module) or keep
track of which files have an error (visudo).
Previously, we only kept track of a single parse error.
diffstat:
plugins/sudoers/audit.c | 2 +-
plugins/sudoers/check_aliases.c | 60 +-
plugins/sudoers/cvtsudoers.c | 3 -
plugins/sudoers/defaults.c | 151 ++---
plugins/sudoers/file.c | 18 +-
plugins/sudoers/gram.c | 589 ++++++++++++------------
plugins/sudoers/gram.h | 2 +-
plugins/sudoers/gram.y | 39 +-
plugins/sudoers/logging.c | 31 +
plugins/sudoers/logging.h | 3 +
plugins/sudoers/parse.h | 5 +-
plugins/sudoers/policy.c | 2 +-
plugins/sudoers/regress/fuzz/fuzz_policy.c | 8 +
plugins/sudoers/regress/sudoers/test18.toke.ok | 4 +-
plugins/sudoers/regress/visudo/test2.err.ok | 2 +-
plugins/sudoers/sudoers.c | 32 +-
plugins/sudoers/sudoers.h | 6 +-
plugins/sudoers/visudo.c | 69 +-
18 files changed, 504 insertions(+), 522 deletions(-)
More information about the sudo-commits
mailing list