Up to [local] / src / usr.bin / sudo
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_5_3_BASE
Revision 1.10 / (download) - annotate - [select for diffs], Sun May 1 14:42:06 2011 UTC (13 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7,
OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.9: +25 -15 lines
Diff to previous 1.9 (colored)
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. Prodded by and with help from espie@