Skip to contentSkip to conversation

using the xdm_t:fifo_file sometimes requires ioctl

PATCH Daniel J Walsh 2 participants 2 messages Mar 8, 2007 – Mar 19, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

Also needs to communicate with consolekit via dbus.

policy/modules/services/xserver.if +1 -1
@@ -826,7 +826,7 @@
 		type xdm_t;
 	')
 
-	dontaudit $1 xdm_t:fifo_file { getattr read write }; 
+	dontaudit $1 xdm_t:fifo_file rw_fifo_file_perms; 
 ')
 
 ########################################
policy/modules/services/xserver.te +4 -0
@@ -345,6 +345,10 @@
 ')
 
 optional_policy(`
+	consolekit_dbus_chat(xdm_t)
+')
+
+optional_policy(`
 	userhelper_dontaudit_search_config(xdm_t)
 ')
 
#1 lore raw
Quoted 1 line · Daniel J Walsh

Also needs to communicate with consolekit via dbus.

Merged. Moved the TE change up in the file.

Quoted 24 lines
policy/modules/services/xserver.if 2007-03-08 08:42:37.000000000 -0500 renamed from policy/modules/services/xserver.if 2007-02-19 11:32:53.000000000 -0500 +1 -1
@@ -826,7 +826,7 @@
                type xdm_t;
        ')
 
-       dontaudit $1 xdm_t:fifo_file { getattr read write }; 
+       dontaudit $1 xdm_t:fifo_file rw_fifo_file_perms; 
 ')
 
 ########################################
policy/modules/services/xserver.te 2007-03-08 08:42:37.000000000 -0500 renamed from policy/modules/services/xserver.te 2007-02-19 11:32:53.000000000 -0500 +4 -0
@@ -345,6 +345,10 @@
 ')
 
 optional_policy(`
+       consolekit_dbus_chat(xdm_t)
+')
+
+optional_policy(`
        userhelper_dontaudit_search_config(xdm_t)
 ')
 
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.