diff options
author | Davide Garberi <dade.garberi@gmail.com> | 2019-09-18 23:18:04 +0200 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-04-30 00:48:53 +0300 |
commit | af3204fd849f5ff6f60f7de23f878444f6e3f69a (patch) | |
tree | 6bf825f21e38ec23d4ede979d2e8d4b86ebee795 /sepolicy/vendor | |
parent | 5cabf8ffd867e630bb7bae364cbe255abe466a62 (diff) |
sdm660-common: sepolicy: vendor_init: Use set_prop
Change-Id: Ica6c87d562f257e7395fab7a80dfc8f4e5b8553c
Diffstat (limited to 'sepolicy/vendor')
-rw-r--r-- | sepolicy/vendor/vendor_init.te | 7 |
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; |