Skip to contentSkip to conversation

New policy for consolekit.

PATCH Daniel J Walsh 2 participants 3 messages Feb 28, 2007 – Apr 11, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

This is a new policy for the User Switching capability coming in gnome.

consolekit is a daemon that communicates with xdm_t and hal through dbus to change the ownership/access on certain devices when the login session changes from one user to another.

policy/modules/services/consolekit.fc +2 -0
@@ -0,0 +1,2 @@
+
+/usr/sbin/console-kit-daemon		--	gen_context(system_u:object_r:consolekit_exec_t,s0)
policy/modules/services/consolekit.if +46 -0

46 lines not on this page · raw message

policy/modules/services/consolekit.te +62 -0

62 lines not on this page · raw message

#1 lore raw
Quoted 6 lines · Daniel J Walsh

This is a new policy for the User Switching capability coming in gnome.

consolekit is a daemon that communicates with xdm_t and hal through dbus to change the
ownership/access on certain devices when the login session changes from one user to another.

I'm going to merge this with some organization fixes, but can you doublecheck to see if this works with term_dontaudit_use_console() instead of allowing the console access? This goes back to if it will work with denying init_t:fd use.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
Quoted 4 lines · Christopher J. PeBenito
Quoted 2 lines · Daniel J Walsh

This is a new policy for the User Switching capability coming in gnome.

Quoted 10 lines
Quoted 3 lines

consolekit is a daemon that communicates with xdm_t and hal through dbus to change the ownership/access on certain devices when the login session changes from one user to another.

I'm going to merge this with some organization fixes, but can you doublecheck to see if this works with term_dontaudit_use_console() instead of allowing the console access? This goes back to if it will work with denying init_t:fd use.

Also consolekit actually needs to use the terminals to determine if a users is logged in. So these should not be dontaudited.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.