]> git.ipfire.org Git - people/stevee/selinux-policy.git/commitdiff
Move permissive blueman to permissivedomains.te
authorDan Walsh <dwalsh@redhat.com>
Thu, 10 Nov 2011 23:56:54 +0000 (18:56 -0500)
committerDan Walsh <dwalsh@redhat.com>
Thu, 10 Nov 2011 23:56:54 +0000 (18:56 -0500)
policy/modules/admin/permissivedomains.te
policy/modules/services/blueman.te

index a48161f63f91102831b33fd91f67d073c1723d7f..9c8b64f9e7fcf8fc431b87ddf93ce8e82a011624 100644 (file)
@@ -1,2 +1,10 @@
 policy_module(permissivedomains,17)
 
+
+optional_policy(`
+       gen_require(`
+               type blueman_t;
+       ')
+
+       permissive blueman_t;
+')
index 1b48c0037fd5467a91971f34510e09ac6ad4c279..fde1531de21b572d026735ad2f15509c062b7907 100644 (file)
@@ -9,8 +9,6 @@ type blueman_t;
 type blueman_exec_t;
 dbus_system_domain(blueman_t, blueman_exec_t)
 
-permissive blueman_t;
-
 ########################################
 #
 # blueman local policy
@@ -36,4 +34,4 @@ miscfiles_read_localization(blueman_t)
 
 optional_policy(`
        avahi_domtrans(blueman_t)
-')
\ No newline at end of file
+')