[sudo-commits] sudo changeset 15040:44a7540fb761
Todd C. Miller
Todd.Miller at sudo.ws
Sat Sep 9 14:07:48 MDT 2023
changeset: 15040:44a7540fb761 in /raid/repos/sudo
tags: tip
details: https://www.sudo.ws/repos/sudo/rev/44a7540fb761
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Sat Sep 09 14:07:28 2023 -0600
files: plugins/sudoers/check_util.c plugins/sudoers/pwutil.c plugins/sudoers/pwutil.h plugins/sudoers/pwutil_impl.c plugins/sudoers/regress/fuzz/fuzz_policy.c plugins/sudoers/sudoers.c plugins/sudoers/sudoers.h plugins/sudoers/testsudoers.c
Log Message:
Move check_user_shell() to pwutil.c as user_shell_valid()
This will make it possible to support a different backend which may
be used by testsudoers in the future.
diffstat:
plugins/sudoers/check_util.c | 25 -------------------------
plugins/sudoers/pwutil.c | 14 ++++++++++++++
plugins/sudoers/pwutil.h | 1 +
plugins/sudoers/pwutil_impl.c | 23 +++++++++++++++++++++++
plugins/sudoers/regress/fuzz/fuzz_policy.c | 7 -------
plugins/sudoers/sudoers.c | 2 +-
plugins/sudoers/sudoers.h | 2 +-
plugins/sudoers/testsudoers.c | 2 +-
8 files changed, 41 insertions(+), 35 deletions(-)
More information about the sudo-commits
mailing list