From 9641c4f1921692fe2546ac83faa818f810d8e59e Mon Sep 17 00:00:00 2001 From: Rajshekar Eashwarappa Date: Mon, 6 May 2019 14:46:14 +0530 Subject: msm8996-common: sepolicy: bluetooth: Adding permission for rfkill failure - Create label for RFKILL node and add sepolicy for its access. Change-Id: Id16dce0818aa1f6233b75f35344b4eca9259c7b1 Signed-off-by: Davide Garberi --- sepolicy/file_contexts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sepolicy/file_contexts') diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 37c5fe6..d0d9c61 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -2,6 +2,10 @@ /(vendor|system/vendor)/bin/init.wlan.sh u:object_r:qti_init_shell_exec:s0 /(vendor|system/vendor)/bin/wcg_mac_tool u:object_r:wcg_mac_exec:s0 +# Bluetooth +/sys/devices/vendor/vendor:bt_qca6174/extldo u:object_r:sysfs_bluetooth_writable:s0 +/sys/devices/vendor/vendor:bt_qca6174/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0 + # Data files /data/fpc(/.*)? u:object_r:fpc_data_file:s0 /data/decrypt\.txt u:object_r:thermal_data_file:s0 -- cgit v1.2.3