[sudo-commits] sudo changeset 10712:ac66bd690d05

Todd C. Miller Todd.Miller at courtesan.com
Tue Nov 1 15:50:54 MDT 2016


changeset:	10712:ac66bd690d05 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/ac66bd690d05
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Tue Nov 01 14:22:32 2016 -0600

Log Message:
	Instead of checking Defaults values after the fact, check them at
	sudoers parse time.  This makes it possible to display the file and
	line number with the problem and for visudo to go right to the
	error.

diffstat:

 plugins/sudoers/defaults.c |  32 +++++++++++++-------------------
 plugins/sudoers/defaults.h |   6 ++++--
 plugins/sudoers/gram.c     |  38 +++++++++++++++++++++++++++++---------
 plugins/sudoers/gram.y     |  34 +++++++++++++++++++++++++++-------
 plugins/sudoers/visudo.c   |   6 ++----
 5 files changed, 75 insertions(+), 41 deletions(-)


More information about the sudo-commits mailing list