mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-28 12:57:50 +00:00
added User_Alias support
This commit is contained in:
parent
ea57effc3a
commit
166d2b78ba
@ -122,6 +122,10 @@ N [0-9][0-9]?[0-9]?
|
|||||||
LEXTRACE("CMNDALIAS ");
|
LEXTRACE("CMNDALIAS ");
|
||||||
return CMNDALIAS;
|
return CMNDALIAS;
|
||||||
}
|
}
|
||||||
|
if (strcmp(yytext, "User_Alias") == 0) {
|
||||||
|
LEXTRACE("USERALIAS ");
|
||||||
|
return USERALIAS;
|
||||||
|
}
|
||||||
|
|
||||||
l = strlen(yytext) - 1;
|
l = strlen(yytext) - 1;
|
||||||
if (isalpha(yytext[l]) || isdigit(yytext[l])) {
|
if (isalpha(yytext[l]) || isdigit(yytext[l])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user