[sudo-commits] sudo changeset 13792:bef0b1a14771

Todd C. Miller Todd.Miller at sudo.ws
Fri Feb 11 12:05:27 MST 2022


changeset:	13792:bef0b1a14771 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/bef0b1a14771
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Feb 10 18:26:24 2022 -0700

Log Message:
	Add support for matching command and args using regular expressions.
	Either the command, its arguments or both may be (separate)
	regular expressions.

diffstat:

 MANIFEST                                            |    13 +
 configure                                           |    18 +
 configure.ac                                        |    17 +
 docs/sudoers.man.in                                 |   149 +-
 docs/sudoers.mdoc.in                                |   143 +-
 examples/sudoers                                    |    10 +-
 plugins/sudoers/fmtsudoers.c                        |    19 +-
 plugins/sudoers/match_command.c                     |   105 +-
 plugins/sudoers/parse.h                             |     6 +-
 plugins/sudoers/regress/sudoers/test28.in           |    33 +
 plugins/sudoers/regress/sudoers/test28.json.ok      |   186 +
 plugins/sudoers/regress/sudoers/test28.ldif.ok      |   110 +
 plugins/sudoers/regress/sudoers/test28.ldif2sudo.ok |    10 +
 plugins/sudoers/regress/sudoers/test28.out.ok       |    12 +
 plugins/sudoers/regress/sudoers/test28.toke.ok      |    29 +
 plugins/sudoers/regress/sudoers/test29.in           |    11 +
 plugins/sudoers/regress/sudoers/test29.out.ok       |     1 +
 plugins/sudoers/regress/sudoers/test29.toke.ok      |    11 +
 plugins/sudoers/regress/testsudoers/test18.out.ok   |    60 +
 plugins/sudoers/regress/testsudoers/test18.sh       |    40 +
 plugins/sudoers/toke.c                              |  5249 ++++++++++--------
 plugins/sudoers/toke.h                              |     1 +
 plugins/sudoers/toke.l                              |    85 +-
 plugins/sudoers/toke_util.c                         |    81 +-
 24 files changed, 3881 insertions(+), 2518 deletions(-)



More information about the sudo-commits mailing list