Grant all processes the domain_deprecated attribute

Bug: 25433265
Change-Id: I9563b9a4eb26856db021622f8217e4e3ab20f4cd
diff --git a/sepolicy/atfwd.te b/sepolicy/atfwd.te
index 3da49d4..4872da6 100644
--- a/sepolicy/atfwd.te
+++ b/sepolicy/atfwd.te
@@ -1,4 +1,4 @@
-type atfwd, domain;
+type atfwd, domain, domain_deprecated;
 type atfwd_exec, exec_type, file_type;
 
 # Started by init
diff --git a/sepolicy/camera.te b/sepolicy/camera.te
index b6027b8..77f0bfa 100644
--- a/sepolicy/camera.te
+++ b/sepolicy/camera.te
@@ -1,4 +1,4 @@
-type camera, domain;
+type camera, domain, domain_deprecated;
 type camera_exec, exec_type, file_type;
 
 # Started by init
diff --git a/sepolicy/cnd.te b/sepolicy/cnd.te
index d1b1035..1b9178e 100644
--- a/sepolicy/cnd.te
+++ b/sepolicy/cnd.te
@@ -1,4 +1,4 @@
-type cnd, domain;
+type cnd, domain, domain_deprecated;
 type cnd_exec, exec_type, file_type;
 
 # Started by init
diff --git a/sepolicy/diag.te b/sepolicy/diag.te
index 251301b..0631322 100644
--- a/sepolicy/diag.te
+++ b/sepolicy/diag.te
@@ -1,4 +1,4 @@
-type diag, domain;
+type diag, domain, domain_deprecated;
 type diag_exec, exec_type, file_type;
 
 init_daemon_domain(diag)
diff --git a/sepolicy/ims.te b/sepolicy/ims.te
index 92ab2f5..d781c03 100644
--- a/sepolicy/ims.te
+++ b/sepolicy/ims.te
@@ -1,4 +1,4 @@
-type ims, domain;
+type ims, domain, domain_deprecated;
 type ims_exec, exec_type, file_type;
 
 init_daemon_domain(ims)
diff --git a/sepolicy/init-mcfg-sh.te b/sepolicy/init-mcfg-sh.te
index 9b65658..1c335b6 100644
--- a/sepolicy/init-mcfg-sh.te
+++ b/sepolicy/init-mcfg-sh.te
@@ -1,4 +1,4 @@
-type init-mcfg-sh, domain;
+type init-mcfg-sh, domain, domain_deprecated;
 type init-mcfg-sh_exec, exec_type, file_type;
 
 init_daemon_domain(init-mcfg-sh)
diff --git a/sepolicy/init-power-sh.te b/sepolicy/init-power-sh.te
index 39645c1..27300bb 100644
--- a/sepolicy/init-power-sh.te
+++ b/sepolicy/init-power-sh.te
@@ -1,4 +1,4 @@
-type init-power-sh, domain;
+type init-power-sh, domain, domain_deprecated;
 type init-power-sh_exec, exec_type, file_type;
 
 init_daemon_domain(init-power-sh)
diff --git a/sepolicy/inputeventfind.te b/sepolicy/inputeventfind.te
index 58d4dd9..867994d 100644
--- a/sepolicy/inputeventfind.te
+++ b/sepolicy/inputeventfind.te
@@ -1,4 +1,4 @@
-type inputeventfind, domain;
+type inputeventfind, domain, domain_deprecated;
 type inputeventfind_exec, exec_type, file_type;
 
 init_daemon_domain(inputeventfind)
diff --git a/sepolicy/irqbalance.te b/sepolicy/irqbalance.te
index 24c07b0..e097645 100644
--- a/sepolicy/irqbalance.te
+++ b/sepolicy/irqbalance.te
@@ -1,4 +1,4 @@
-type irqbalance, domain;
+type irqbalance, domain, domain_deprecated;
 type irqbalance_exec, exec_type, file_type;
 
 init_daemon_domain(irqbalance);
diff --git a/sepolicy/irsc_util.te b/sepolicy/irsc_util.te
index c1dce2d..a6d1d47 100644
--- a/sepolicy/irsc_util.te
+++ b/sepolicy/irsc_util.te
@@ -1,4 +1,4 @@
-type irsc_util, domain;
+type irsc_util, domain, domain_deprecated;
 type irsc_util_exec, exec_type, file_type;
 
 init_daemon_domain(irsc_util);
diff --git a/sepolicy/location.te b/sepolicy/location.te
index 0f91c08..40793c1 100644
--- a/sepolicy/location.te
+++ b/sepolicy/location.te
@@ -1,4 +1,4 @@
-type location, domain;
+type location, domain, domain_deprecated;
 type location_exec, exec_type, file_type;
 
 # Started by init
diff --git a/sepolicy/netmgrd.te b/sepolicy/netmgrd.te
old mode 100755
new mode 100644
index 18a6f79..7610a36
--- a/sepolicy/netmgrd.te
+++ b/sepolicy/netmgrd.te
@@ -1,5 +1,5 @@
 # Network utilities (radio process)
-type netmgrd, domain;
+type netmgrd, domain, domain_deprecated;
 type netmgrd_exec, exec_type, file_type;
 
 # Started by init
diff --git a/sepolicy/oem_qmi_server.te b/sepolicy/oem_qmi_server.te
index e5a9a44..a169237 100644
--- a/sepolicy/oem_qmi_server.te
+++ b/sepolicy/oem_qmi_server.te
@@ -1,4 +1,4 @@
-type oem_qmi_server, domain, mlstrustedsubject;
+type oem_qmi_server, domain, domain_deprecated, mlstrustedsubject;
 type oem_qmi_server_exec, exec_type, file_type;
 
 init_daemon_domain(oem_qmi_server)
diff --git a/sepolicy/perfd.te b/sepolicy/perfd.te
index cd2f532..f25a37b 100644
--- a/sepolicy/perfd.te
+++ b/sepolicy/perfd.te
@@ -1,4 +1,4 @@
-type perfd, domain;
+type perfd, domain, domain_deprecated;
 type perfd_exec, exec_type, file_type;
 
 init_daemon_domain(perfd)
diff --git a/sepolicy/peripheral_manager.te b/sepolicy/peripheral_manager.te
index e411439..9acbb21 100644
--- a/sepolicy/peripheral_manager.te
+++ b/sepolicy/peripheral_manager.te
@@ -1,4 +1,4 @@
-type per_mgr, domain;
+type per_mgr, domain, domain_deprecated;
 type per_mgr_exec, exec_type, file_type;
 init_daemon_domain(per_mgr);
 
diff --git a/sepolicy/peripheral_proxy.te b/sepolicy/peripheral_proxy.te
index 204a6cc..6b57da7 100644
--- a/sepolicy/peripheral_proxy.te
+++ b/sepolicy/peripheral_proxy.te
@@ -1,4 +1,4 @@
-type per_proxy, domain;
+type per_proxy, domain, domain_deprecated;
 type per_proxy_exec, exec_type, file_type;
 init_daemon_domain(per_proxy);
 
diff --git a/sepolicy/platform_app.te b/sepolicy/platform_app.te
old mode 100755
new mode 100644
diff --git a/sepolicy/postprocd.te b/sepolicy/postprocd.te
index be5c79b..9c32849 100644
--- a/sepolicy/postprocd.te
+++ b/sepolicy/postprocd.te
@@ -1,4 +1,4 @@
-type postprocd, domain;
+type postprocd, domain, domain_deprecated;
 type postprocd_exec, exec_type, file_type;
 
 # Started by init
diff --git a/sepolicy/qmux.te b/sepolicy/qmux.te
index 9e6a040..2a36ea2 100644
--- a/sepolicy/qmux.te
+++ b/sepolicy/qmux.te
@@ -1,5 +1,5 @@
 # Qualcomm Management Interface Multiplexer
-type qmux, domain;
+type qmux, domain, domain_deprecated;
 type qmux_exec, exec_type, file_type;
 
 init_daemon_domain(qmux)
diff --git a/sepolicy/qti.te b/sepolicy/qti.te
index e557777..81d6e07 100644
--- a/sepolicy/qti.te
+++ b/sepolicy/qti.te
@@ -1,4 +1,4 @@
-type qti, domain;
+type qti, domain, domain_deprecated;
 type qti_exec, exec_type, file_type;
 
 init_daemon_domain(qti)
diff --git a/sepolicy/rmt.te b/sepolicy/rmt.te
index 7ac6c68..b56c03f 100644
--- a/sepolicy/rmt.te
+++ b/sepolicy/rmt.te
@@ -1,5 +1,5 @@
 # remote storage process
-type rmt, domain;
+type rmt, domain, domain_deprecated;
 type rmt_exec, exec_type, file_type;
 
 init_daemon_domain(rmt)
diff --git a/sepolicy/sensortool.te b/sepolicy/sensortool.te
index 11f6017..05441c8 100644
--- a/sepolicy/sensortool.te
+++ b/sepolicy/sensortool.te
@@ -1,4 +1,4 @@
-type sensortool, domain;
+type sensortool, domain, domain_deprecated;
 type sensortool_exec, exec_type, file_type;
 
 init_daemon_domain(sensortool)
diff --git a/sepolicy/ssr.te b/sepolicy/ssr.te
index ee1899d..a8cc721 100644
--- a/sepolicy/ssr.te
+++ b/sepolicy/ssr.te
@@ -1,4 +1,4 @@
-type ssr, domain;
+type ssr, domain, domain_deprecated;
 type ssr_exec, exec_type, file_type;
 
 # Started by init
diff --git a/sepolicy/ssr_setup.te b/sepolicy/ssr_setup.te
index 207d50e..9829c3a 100644
--- a/sepolicy/ssr_setup.te
+++ b/sepolicy/ssr_setup.te
@@ -1,4 +1,4 @@
-type ssr_setup, domain;
+type ssr_setup, domain, domain_deprecated;
 type ssr_setup_exec, exec_type, file_type;
 init_daemon_domain(ssr_setup);
 
diff --git a/sepolicy/thermald.te b/sepolicy/thermald.te
index 43f5856..ac47395 100644
--- a/sepolicy/thermald.te
+++ b/sepolicy/thermald.te
@@ -1,4 +1,4 @@
-type thermald, domain;
+type thermald, domain, domain_deprecated;
 type thermald_exec, exec_type, file_type;
 
 init_daemon_domain(thermald)
diff --git a/sepolicy/time.te b/sepolicy/time.te
index 4559bd0..ed8f685 100644
--- a/sepolicy/time.te
+++ b/sepolicy/time.te
@@ -1,4 +1,4 @@
-type time, domain;
+type time, domain, domain_deprecated;
 type time_exec, exec_type, file_type;
 
 # Started by init