]> granicus.if.org Git - sudo/commit
Only inherit SELinux role/type and Solaris privilege sets if
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 14 Feb 2017 22:56:34 +0000 (15:56 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 14 Feb 2017 22:56:34 +0000 (15:56 -0700)
commitd7f7cf7a79f53cfd8fd8a3e7e138cd62a5fc0179
tree3871869fe5f5e0229b423621c6b041d78b3e2b9a
parent24cdbb8de148492168b07f62204437aa366f642e
Only inherit SELinux role/type and Solaris privilege sets if
the command does not include any.  Previously, a command with
only a role would inherit a type from the previous command
which is not what was intended.
plugins/sudoers/gram.c
plugins/sudoers/gram.y