android_device_samsung_msm8.../sepolicy/common/hal_bluetooth_default.te
Kevin F. Haggerty 98dd537e3c
msm8974-common: sepolicy: Allow the BT HAL to read /efs
avc: denied { search } for name="/" dev="mmcblk0p11" ino=2
scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:efs_file:s0
tclass=dir permissive=0

Change-Id: I1a8abfb3d02c5cb3c63c93ff20a2974ff70ecb87
2020-09-06 04:12:09 -06:00

14 lines
347 B
Plaintext

allow hal_bluetooth_default {
bt_fw_file
wifi_data_file
}:file r_file_perms;
allow hal_bluetooth_default {
efs_file
firmware_file
}:dir r_dir_perms;
allow hal_bluetooth_default bluetooth_device:chr_file w_file_perms;
allow hal_bluetooth_default proc_bt_sleep:dir w_dir_perms;
allow hal_bluetooth_default proc_bt_sleep:file w_file_perms;