]> 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:19:42 +0000 (16:19 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 20 Jan 2011 21:19:42 +0000 (16:19 -0500)
commit96767abfe402898c451ffdc8593fcb37e617e693
tree31bb02155ce8b1113d4d86eaa5ba72d84e11a08e
parent215500bb55c4e56be1d155b875d2440177790e30
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".
plugins/sudoers/sudo_nss.c