Todd C. Miller
3bb69ffe81
Remove CVS $Sudo$ tags.
2010-01-17 19:51:28 -05:00
Todd C. Miller
777c82a4d4
remove unused variable
2009-10-22 13:47:43 +00:00
Todd C. Miller
7d19478501
First cut at refactoring some of the selinux code so it can be used
...
in conjunction with sudo's transcript support.
2009-09-27 13:03:56 +00:00
Todd C. Miller
9c3a47892b
Ignore setexeccon() failing in permissive mode. Also add a
...
call to setkeycreatecon() (though this is probably insufficient).
From Dan Walsh.
2008-02-22 20:33:00 +00:00
Todd C. Miller
1a347284ea
Don't free the new tty context, we need to keep it around when we restore the tty context after the command completes
2008-02-20 17:00:40 +00:00
Todd C. Miller
361280501f
s/newrole/sudo/
2008-02-19 21:04:20 +00:00
Todd C. Miller
cc47d67b4f
add Sudo tag
2008-02-09 14:43:32 +00:00
Todd C. Miller
f2b70188b6
Add support for SELinux RBAC. Sudoers entries may specify a role and type.
...
There are also role and type defaults that may be used. To make sure a
transition occurs, when using RBAC commands are executed via the new sesh
binary. Based on initial changes from Dan Walsh.
2008-02-09 14:30:06 +00:00