Add suport for negated user/host/command lists in a Defaults entry.

E.g. Defaults:!baduser noexec
This commit is contained in:
Todd C. Miller
2010-07-07 14:33:27 -04:00
parent 3f33f75b7a
commit fd6b72f48e
2 changed files with 596 additions and 590 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -257,7 +257,7 @@ DEFVAR [a-z_]+
yyterminate();
}
<INITIAL>^[[:blank:]]*Defaults([:@>\!]{WORD})? {
<INITIAL>^[[:blank:]]*Defaults([:@>\!]\!?{WORD})? {
int n;
for (n = 0; isblank((unsigned char)yytext[n]); n++)
continue;