[sudo-commits] sudo changeset 12709:1c9d86b88517

Todd C. Miller Todd.Miller at sudo.ws
Mon Nov 2 05:44:47 MST 2020


changeset:	12709:1c9d86b88517 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/1c9d86b88517
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Nov 02 05:39:06 2020 -0700

Log Message:
	Store column number for aliases, defaults and userspecs too.
	This is used to provided the column number along with the line
	number in error messages.  For aliases we store the column of the
	alias name, not the value since that is what visudo generally needs.

diffstat:

 plugins/sudoers/alias.c                        |    5 +-
 plugins/sudoers/cvtsudoers_ldif.c              |    4 +-
 plugins/sudoers/defaults.c                     |   78 +-
 plugins/sudoers/defaults.h                     |    4 +-
 plugins/sudoers/gram.c                         |  897 +++++++++++++-----------
 plugins/sudoers/gram.h                         |    2 +-
 plugins/sudoers/gram.y                         |   36 +-
 plugins/sudoers/parse.c                        |    4 +-
 plugins/sudoers/parse.h                        |   11 +-
 plugins/sudoers/regress/sudoers/test18.toke.ok |    4 +-
 plugins/sudoers/regress/sudoers/test2.ldif.ok  |   18 +-
 plugins/sudoers/regress/sudoers/test3.ldif.ok  |    8 +-
 plugins/sudoers/regress/sudoers/test6.ldif.ok  |    8 +-
 plugins/sudoers/regress/visudo/test2.err.ok    |    2 +-
 plugins/sudoers/regress/visudo/test3.err.ok    |    4 +-
 plugins/sudoers/visudo.c                       |   36 +-
 16 files changed, 594 insertions(+), 527 deletions(-)



More information about the sudo-commits mailing list