]> granicus.if.org Git - sudo/commit
Set NewArgv[0] to the name of the pseudo-command we are running.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 7 Sep 2010 21:00:32 +0000 (17:00 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 7 Sep 2010 21:00:32 +0000 (17:00 -0400)
commit5d6812ab311a10828d42af34a498a9930d9a2ace
tree03e239baad4be31607d786c3da299e2e0294f71d
parent93ca5e645128b68ee1ee2d17fe09c683930d76b7
Set NewArgv[0] to the name of the pseudo-command we are running.
Fixes a problem with "sudo -l" when auditing is enabled and the
user is not allowed to run any commands on the host.
Adapted from a patch from Daniel Kopecek.

--HG--
branch : 1.7
sudo.c