From af3204fd849f5ff6f60f7de23f878444f6e3f69a Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Wed, 18 Sep 2019 23:18:04 +0200 Subject: sdm660-common: sepolicy: vendor_init: Use set_prop Change-Id: Ica6c87d562f257e7395fab7a80dfc8f4e5b8553c --- sepolicy/vendor/vendor_init.te | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sepolicy') 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; -- cgit v1.2.3