]> granicus.if.org Git - sudo/commit
When listing, use separate lbufs for the defaults and the privileges and
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 20 Jan 2011 21:11:31 +0000 (16:11 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 20 Jan 2011 21:11:31 +0000 (16:11 -0500)
commitc9e3bc10788e88687a1006a87d04f445b4d4b766
tree0e717d49791fb86f2b1c66f63fd67c3603d588f0
parent14ac157f8d84a60234cb607e62bbe571fb1df657
When listing, use separate lbufs for the defaults and the privileges and
only print something if the number of privileges is non-zero.  Fixes
extraneous Defaults output for "sudo -U unauthorized_user -l".

--HG--
branch : 1.7
sudo_nss.c