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
This commit is contained in:
Kevin F. Haggerty 2020-09-04 14:28:05 -06:00
parent 8462d2ec5b
commit 98dd537e3c
No known key found for this signature in database
GPG Key ID: 6D95512933112729

View File

@ -3,7 +3,11 @@ allow hal_bluetooth_default {
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 firmware_file:dir r_dir_perms;
allow hal_bluetooth_default proc_bt_sleep:dir w_dir_perms;
allow hal_bluetooth_default proc_bt_sleep:file w_file_perms;