Skip to contentSkip to conversation

missed a bit from the last message

PATCH Russell Coker 1 participant 1 message Sep 29, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Here's a line that was missed from my last message. Needed to allow games to read .Xauthority with the new policy.

Signature · 4 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page
usr/share/selinux/policy/current/macros/program/x_client_macros.te renamed from usr/share/selinux/policy/default/macros/program/x_client_macros.te +2 -0
diff -ru /usr/share/selinux/policy/default/macros/program/x_client_macros.te /usr/share/selinux/policy/current/macros/program/x_client_macros.te
@@ -39,6 +39,8 @@
 # Use this type for files created in /tmp.
 file_type_auto_trans($1_$2_t, tmp_t, $1_$2_rw_t)
 
+allow $1_$2_t $1_home_xauth_t:file { getattr read };
+
 # Allow the user domain to relabel to or create files with this type
 # to provide the domain with write access to particular files.
 allow $1_t $1_$2_rw_t:{ dir file lnk_file } { relabelfrom relabelto };