]> granicus.if.org Git - sudo/commit
Instead of checking Defaults values after the fact, check them at
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Nov 2016 20:22:32 +0000 (14:22 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Nov 2016 20:22:32 +0000 (14:22 -0600)
commit8a48085184412932d2f8ead12b0e1ec1e0fd8027
tree7ba02f3955c0e1488e45eb0cf8dc939416273ea0
parent0aa216ed5519d9fefb2121d33e62af8f2abf840e
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.
plugins/sudoers/defaults.c
plugins/sudoers/defaults.h
plugins/sudoers/gram.c
plugins/sudoers/gram.y
plugins/sudoers/visudo.c