port-bridge: allow qti_init_shell to set properties on port-bridge
Create new property contexts for port-bridge and allow init_shell
to set ctl properties on these daemons to successfully start the
processes.
Fix the following denials
init: avc: denied { set } for property=ctl.port-bridge
scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:
ctl_default_prop:s0 tclass=property_service
init: sys_prop: Unable to start service ctl [port-bridge]
uid:0 gid:0 pid:944
Change-Id: Ifee9c78d02eae33321c07aa349fcd6c3f123a7e2
diff --git a/common/property_contexts b/common/property_contexts
index 9354134..f23e47d 100644
--- a/common/property_contexts
+++ b/common/property_contexts
@@ -9,6 +9,7 @@
radio.atfwd. u:object_r:radio_prop:s0
ctl.qmuxd u:object_r:ctl_qmuxd_prop:s0
ctl.netmgrd u:object_r:ctl_netmgrd_prop:s0
+ctl.port-bridge u:object_r:ctl_port-bridge_prop:s0
min_freq_0 u:object_r:freq_prop:s0
min_freq_4 u:object_r:freq_prop:s0
ctl.perfd u:object_r:perfd_prop:s0