]> granicus.if.org Git - sudo/commit
Split ALL, ROLE and TYPE into their own actions. Since you can
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 29 Apr 2011 20:05:50 +0000 (16:05 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 29 Apr 2011 20:05:50 +0000 (16:05 -0400)
commit4dd3440cb60d6bd73726c196c57b73e6abb66db9
tree802f1f9f49c9bd99d37c66aec839dc2de1b05983
parent189817a31363e3e0c03e8096bf87f058f048e3ae
Split ALL, ROLE and TYPE into their own actions.  Since you can
only have #ifdefs inside of braces, ROLE and TYPE use a naughty
goto in the non-SELinux case.  This is safe because the actions are
in one big switch() statement.
plugins/sudoers/toke.c
plugins/sudoers/toke.l