From 8c68646954c20b656aaac0d2eec59c226705492a Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Sun, 1 Nov 2020 13:00:42 +0600 Subject: [PATCH] sdm660-common: Allow qti_init_shell to start & stop ril-daemon [ 9.057234] type=1107 audit(71454275.676:6): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=ctl.stop$ril-daemon pid=1122 uid=0 gid=0 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:ctl_stop_prop:s0 tclass=property_service permissive=0' Ref: [0]: https://source.codeaurora.org/quic/la/device/qcom/sepolicy/commit/?h=LA.UM.9.2.1.r1-03800-sdm660.0&id=79488292273efa5ab89bc405a5f6ae4dec5d011d Signed-off-by: Aayush Gupta Change-Id: I5f062f8c6be56380b40a9428358c5f6c93dd71c8 --- sepolicy/vendor/qti_init_shell.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sepolicy/vendor/qti_init_shell.te b/sepolicy/vendor/qti_init_shell.te index 09cf60bd..020eca29 100644 --- a/sepolicy/vendor/qti_init_shell.te +++ b/sepolicy/vendor/qti_init_shell.te @@ -1,3 +1,5 @@ +allow qti_init_shell ctl_start_prop:property_service set; +allow qti_init_shell ctl_stop_prop:property_service set; allow qti_init_shell sysfs_cpu_boost:file write; allow qti_init_shell sysfs:file write; allow qti_init_shell vendor_radio_data_file:dir { getattr read search };