[sudo-commits] sudo changeset 12448:c422a5c8ea5d
Todd C. Miller
Todd.Miller at sudo.ws
Wed May 20 14:34:39 MDT 2020
changeset: 12448:c422a5c8ea5d in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/c422a5c8ea5d
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Wed May 20 13:10:53 2020 -0600
Log Message:
Add support for @include and @includedir
These are less confusing than #include and #includedir when the
hash character is also the comment character.
This commit also adds real parsing of include directives as opposed
to the pure lexer approach used previously. As a result, it is now
possible to include files with spaces by either using a double-quoted
string or escaping the space characters with a backslash.
diffstat:
MANIFEST | 6 +
NEWS | 5 +
doc/sudoers.man.in | 46 +-
doc/sudoers.mdoc.in | 46 +-
plugins/sudoers/gram.c | 1042 ++--
plugins/sudoers/gram.h | 78 +-
plugins/sudoers/gram.y | 16 +
plugins/sudoers/regress/testsudoers/test10.out.ok | 51 +
plugins/sudoers/regress/testsudoers/test10.sh | 44 +
plugins/sudoers/regress/testsudoers/test11.out.ok | 27 +
plugins/sudoers/regress/testsudoers/test11.sh | 26 +
plugins/sudoers/regress/testsudoers/test2.out.ok | 15 +
plugins/sudoers/regress/testsudoers/test2.sh | 12 +-
plugins/sudoers/regress/testsudoers/test3.out.ok | 41 +
plugins/sudoers/regress/testsudoers/test3.sh | 28 +-
plugins/sudoers/regress/testsudoers/test4.sh | 2 +-
plugins/sudoers/regress/testsudoers/test5.sh | 4 +-
plugins/sudoers/regress/testsudoers/test8.out.ok | 15 +
plugins/sudoers/regress/testsudoers/test8.sh | 11 +-
plugins/sudoers/regress/testsudoers/test9.out.ok | 10 +
plugins/sudoers/regress/testsudoers/test9.sh | 13 +
plugins/sudoers/sudoers_version.h | 3 +-
plugins/sudoers/testsudoers.c | 4 +-
plugins/sudoers/toke.c | 3916 ++++++++++----------
plugins/sudoers/toke.h | 3 +-
plugins/sudoers/toke.l | 228 +-
26 files changed, 3080 insertions(+), 2612 deletions(-)
More information about the sudo-commits
mailing list