diff options
author | Rajshekar Eashwarappa <reashw@codeaurora.org> | 2019-05-06 14:46:14 +0530 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2019-05-11 14:29:02 +0200 |
commit | 9641c4f1921692fe2546ac83faa818f810d8e59e (patch) | |
tree | 77bd127a75f8fd182d0504e8d5c6a186005f1a17 /sepolicy/file_contexts | |
parent | c3d328b6be521feff20f9d10f755716d4d639cc7 (diff) |
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 <dade.garberi@gmail.com>
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r-- | sepolicy/file_contexts | 4 |
1 files changed, 4 insertions, 0 deletions
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 |