[sudo-commits] sudo changeset 14811:3e9fc5fd7bb9

Todd C. Miller Todd.Miller at sudo.ws
Fri Jun 30 16:19:31 MDT 2023


changeset:	14811:3e9fc5fd7bb9 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/3e9fc5fd7bb9
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Jun 29 20:02:32 2023 -0600

Log Message:
	testsudoers: use allowed/denied/unmatched instead of just matched/unmatched

	This makes it possible to tell whether an entry was rejected due
	to a negative match (explicitly denied) as opposed to a non-match.
	Also fixes a bug where the runas status was only printed for positive
	matches.

diffstat:

 plugins/sudoers/regress/testsudoers/test1.out.ok  |   3 +-
 plugins/sudoers/regress/testsudoers/test10.out.ok |  16 ++++----
 plugins/sudoers/regress/testsudoers/test15.out.ok |   8 ++--
 plugins/sudoers/regress/testsudoers/test16.out.ok |   4 +-
 plugins/sudoers/regress/testsudoers/test17.out.ok |   4 +-
 plugins/sudoers/regress/testsudoers/test18.out.ok |  24 ++++++------
 plugins/sudoers/regress/testsudoers/test19.out.ok |   8 ++--
 plugins/sudoers/regress/testsudoers/test2.out.ok  |   8 ++--
 plugins/sudoers/regress/testsudoers/test20.out.ok |   4 +-
 plugins/sudoers/regress/testsudoers/test21.out.ok |   4 +-
 plugins/sudoers/regress/testsudoers/test22.out.ok |   3 +-
 plugins/sudoers/regress/testsudoers/test23.out.ok |   3 +-
 plugins/sudoers/regress/testsudoers/test24.out.ok |  20 +++++-----
 plugins/sudoers/regress/testsudoers/test3.out.ok  |  16 ++++----
 plugins/sudoers/regress/testsudoers/test6.out.ok  |   4 +-
 plugins/sudoers/regress/testsudoers/test7.out.ok  |   4 +-
 plugins/sudoers/regress/testsudoers/test8.out.ok  |   8 ++--
 plugins/sudoers/regress/testsudoers/test9.out.ok  |   4 +-
 plugins/sudoers/testsudoers.c                     |  41 ++++++----------------
 19 files changed, 85 insertions(+), 101 deletions(-)



More information about the sudo-commits mailing list