summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi Kumar Siddojigari <rsiddoji@codeaurora.org>2015-12-03 11:34:27 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2015-12-15 10:02:17 -0800
commitf4ffc9e00666d834236b8cad930e35198096a877 (patch)
tree9c5ae940a6c5e40af1bd86928f1b3cce7725fe3b
parent5cac56b345dd9f30d47e0936682ca23d687097b1 (diff)
downloadandroid_device_qcom_sepolicy-f4ffc9e00666d834236b8cad930e35198096a877.tar.gz
android_device_qcom_sepolicy-f4ffc9e00666d834236b8cad930e35198096a877.tar.bz2
android_device_qcom_sepolicy-f4ffc9e00666d834236b8cad930e35198096a877.zip
sepolicy : add radio.noril property and allow set rule.
differentiation of non-mobile targets from mobile we need this property to be updated. Change-Id: If4dda33708e539bdeb8cc375b9bca41bff5447a8
-rw-r--r--common/init_shell.te1
-rw-r--r--common/property.te3
-rw-r--r--common/property_contexts1
3 files changed, 5 insertions, 0 deletions
diff --git a/common/init_shell.te b/common/init_shell.te
index 84c54991..8e7d3764 100644
--- a/common/init_shell.te
+++ b/common/init_shell.te
@@ -84,6 +84,7 @@ allow qti_init_shell {
ctl_hbtp_prop
#Needed for starting vm_bms executable post-boot
vm_bms_prop
+ radio_noril_prop
}:property_service set;
allow qti_init_shell efs_boot_dev:blk_file r_file_perms;
diff --git a/common/property.te b/common/property.te
index bed35cd1..996c61e6 100644
--- a/common/property.te
+++ b/common/property.te
@@ -40,3 +40,6 @@ type coresight_prop, property_type;
type ctl_hbtp_prop, property_type;
type alarm_boot_prop, property_type;
type boot_animation_prop, property_type;
+
+#properties set from script read from apps
+type radio_noril_prop, property_type;
diff --git a/common/property_contexts b/common/property_contexts
index 33d5d445..f3e41fa5 100644
--- a/common/property_contexts
+++ b/common/property_contexts
@@ -40,3 +40,4 @@ ctl.hbtp u:object_r:ctl_hbtp_prop:s0
sys.audio.init u:object_r:audio_prop:s0
alarm_boot u:object_r:alarm_boot_prop:s0
debug.sf.nobootanimation u:object_r:boot_animation_prop:s0
+radio.noril u:object_r:radio_noril_prop:s0