]> granicus.if.org Git - sudo/commit
Move the -C (user_closefrom) check until after set_cmnd() so that
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Aug 2013 15:56:17 +0000 (09:56 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Aug 2013 15:56:17 +0000 (09:56 -0600)
commitc376c71618890cbc484b2862d653977c9bafc5da
treef538bf96ba1885103e202364b50c97c68bd80506
parent299a881fe28846ca897ebe0be3d86e7c5919440f
Move the -C (user_closefrom) check until after set_cmnd() so that
closefrom_override can be used in a command-specific Defaults line.
Fixes bug #610 from Mengtao Sun.
plugins/sudoers/sudoers.c