mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-28 21:07:55 +00:00
Add suport for negated user/host/command lists in a Defaults entry.
E.g. Defaults:!baduser noexec
This commit is contained in:
parent
3f33f75b7a
commit
fd6b72f48e
File diff suppressed because it is too large
Load Diff
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user