]> git.ipfire.org Git - people/stevee/selinux-policy.git/commitdiff
Allow colord to read mislabeled icc file in the users homedir
authorDan Walsh <dwalsh@redhat.com>
Fri, 18 Nov 2011 18:29:12 +0000 (13:29 -0500)
committerDan Walsh <dwalsh@redhat.com>
Fri, 18 Nov 2011 18:29:12 +0000 (13:29 -0500)
policy/modules/services/colord.te
policy/modules/system/authlogin.fc

index e7c70b526fd3503f93926af6e5dc06de6fe11d72..16763e2b0f1fa4a45e16ad5c3676bf84d60672f6 100644 (file)
@@ -100,6 +100,8 @@ optional_policy(`
 
 optional_policy(`
        gnome_read_home_icc_data_content(colord_t)
+       # Fixes lots of breakage in F16 on upgrade
+       gnome_read_generic_data_home_files(colord_t)
 ')
 
 optional_policy(`
index db5441ecab48fc52f0eb7e6ce2f53926f6305c9f..c547c8486712d3c2cf310b802c011dc6e8568c99 100644 (file)
@@ -38,6 +38,7 @@ ifdef(`distro_gentoo', `
 /var/lib/abl(/.*)?             gen_context(system_u:object_r:var_auth_t,s0)
 /var/lib/pam_ssh(/.*)?         gen_context(system_u:object_r:var_auth_t,s0)
 /var/lib/pam_shield(/.*)?      gen_context(system_u:object_r:var_auth_t,s0)
+/var/lib/google-authenticator(/.*)?    gen_context(system_u:object_r:var_auth_t,s0)
 
 /var/log/btmp.*                --      gen_context(system_u:object_r:faillog_t,s0)
 /var/log/dmesg         --      gen_context(system_u:object_r:var_log_t,s0)