-+##
-+## Allow docker to transition to unconfined containers.
-+##
-+##
-+gen_tunable(docker_transition_unconfined, false)
-+
+type docker_t;
+type docker_exec_t;
+init_daemon_domain(docker_t, docker_exec_t)
+domain_subj_id_change_exemption(docker_t)
+domain_role_change_exemption(docker_t)
+
++type spc_t;
++domain_type(spc_t)
++
+type docker_var_lib_t;
+files_type(docker_var_lib_t)
+
@@ -25562,12 +25558,20 @@ index 0000000..4561111
+ corenet_tcp_sendrecv_all_ports(docker_t)
+')
+
-+tunable_policy(`docker_transition_unconfined',`
-+ unconfined_transition(docker_t, docker_share_t)
-+ unconfined_transition(docker_t, docker_var_lib_t)
-+ unconfined_setsched(docker_t)
-+ userdom_attach_admin_tun_iface(docker_t)
++########################################
++#
++# spc local policy
++#
++role system_r types spc_t;
++allow docker_t spc_t:process setsched;
++
++domtrans_pattern(docker_t, docker_share_t, spc_t)
++domtrans_pattern(docker_t, docker_var_lib_t, spc_t)
++
++optional_policy(`
++ unconfined_domain(spc_t)
+')
++
diff --git a/dovecot.fc b/dovecot.fc
index c880070..4448055 100644
--- a/dovecot.fc
@@ -55596,7 +55600,7 @@ index 86dc29d..219892b 100644
+ logging_log_filetrans($1, NetworkManager_var_lib_t, file, "wpa_supplicant.log")
')
diff --git a/networkmanager.te b/networkmanager.te
-index 55f2009..476d363 100644
+index 55f2009..694f99e 100644
--- a/networkmanager.te
+++ b/networkmanager.te
@@ -9,15 +9,18 @@ type NetworkManager_t;
@@ -55794,7 +55798,8 @@ index 55f2009..476d363 100644
sysnet_search_dhcp_state(NetworkManager_t)
+# in /etc created by NetworkManager will be labelled net_conf_t.
sysnet_manage_config(NetworkManager_t)
- sysnet_etc_filetrans_config(NetworkManager_t)
+-sysnet_etc_filetrans_config(NetworkManager_t)
++sysnet_filetrans_named_content(NetworkManager_t)
-# certificates in user home directories (cert_home_t in ~/\.pki)
-userdom_read_user_home_content_files(NetworkManager_t)
diff --git a/selinux-policy.spec b/selinux-policy.spec
index dcb4d60..9dfee1f 100644
--- a/selinux-policy.spec
+++ b/selinux-policy.spec
@@ -19,7 +19,7 @@
Summary: SELinux policy configuration
Name: selinux-policy
Version: 3.13.1
-Release: 110%{?dist}
+Release: 111%{?dist}
License: GPLv2+
Group: System Environment/Base
Source: serefpolicy-%{version}.tgz
@@ -605,6 +605,13 @@ SELinux Reference policy mls base module.
%endif
%changelog
+* Tue Feb 10 2015 Lukas Vrabec