Return to match.c CVS log | Up to [local] / src / usr.bin / sudo |
version 1.4, 2009/12/07 18:43:10 | version 1.5, 2010/02/22 22:41:10 | ||
---|---|---|---|
|
|
||
char *sudoers_args; | char *sudoers_args; | ||
{ | { | ||
/* Check for pseudo-commands */ | /* Check for pseudo-commands */ | ||
if (strchr(user_cmnd, '/') == NULL) { | if (sudoers_cmnd[0] != '/') { | ||
/* | /* | ||
* Return true if both sudoers_cmnd and user_cmnd are "sudoedit" AND | * Return true if both sudoers_cmnd and user_cmnd are "sudoedit" AND | ||
* a) there are no args in sudoers OR | * a) there are no args in sudoers OR |