diff options
author | 2008-12-08 16:50:05 +0000 | |
---|---|---|
committer | 2008-12-08 16:50:05 +0000 | |
commit | 872f4611f99e4658dfa027eca5310992b5d40d45 (patch) | |
tree | 656194a5235eb8e6ea007ab28ce8a43a1e103e87 /usr.bin/sudo/parse.c | |
parent | The iSight in my Apple MacBook Pro just works. Add it here. (diff) | |
download | wireguard-openbsd-872f4611f99e4658dfa027eca5310992b5d40d45.tar.xz wireguard-openbsd-872f4611f99e4658dfa027eca5310992b5d40d45.zip |
Do not short circuit pseudo commands when we get a match since, depending
on the settings, we may need to examine all commands for tags.
Diffstat (limited to '')
-rw-r--r-- | usr.bin/sudo/parse.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.bin/sudo/parse.c b/usr.bin/sudo/parse.c index c955097c1f9..7452bcdf442 100644 --- a/usr.bin/sudo/parse.c +++ b/usr.bin/sudo/parse.c @@ -192,12 +192,9 @@ sudo_file_lookup(nss, validated, pwflag) if ((pwcheck == any && nopass != TRUE) || (pwcheck == all && nopass != FALSE)) nopass = cs->tags.nopasswd; - if (match == ALLOW) - goto matched_pseudo; } } } - matched_pseudo: if (match == ALLOW || user_uid == 0) { /* User has an entry for this host. */ SET(validated, VALIDATE_OK); |