summaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2019-09-18 23:18:04 +0200
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:53 +0300
commitaf3204fd849f5ff6f60f7de23f878444f6e3f69a (patch)
tree6bf825f21e38ec23d4ede979d2e8d4b86ebee795 /sepolicy
parent5cabf8ffd867e630bb7bae364cbe255abe466a62 (diff)
sdm660-common: sepolicy: vendor_init: Use set_prop
Change-Id: Ica6c87d562f257e7395fab7a80dfc8f4e5b8553c
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/vendor/vendor_init.te7
1 files changed, 4 insertions, 3 deletions
diff --git a/sepolicy/vendor/vendor_init.te b/sepolicy/vendor/vendor_init.te
index 9f602b1..d53b2c7 100644
--- a/sepolicy/vendor/vendor_init.te
+++ b/sepolicy/vendor/vendor_init.te
@@ -6,8 +6,9 @@ allow vendor_init {
}:dir { create search getattr open read setattr ioctl write add_name remove_name rmdir relabelfrom };
set_prop(vendor_init, camera_prop)
+set_prop(vendor_init, persist_debug_prop)
+set_prop(vendor_init, persist_dpm_prop)
+set_prop(vendor_init, qcom_ims_prop)
+
allow vendor_init rootfs:dir { add_name create setattr write };
-allow vendor_init persist_debug_prop:property_service set;
-allow vendor_init persist_dpm_prop:property_service set;
-allow vendor_init qcom_ims_prop:property_service set;
allow vendor_init rootfs:lnk_file setattr;