kunlun2: sepolicy: Allow power hal to access tap to wake node
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
540f36f22b
commit
d660d30e22
3 changed files with 6 additions and 0 deletions
|
@ -2,3 +2,4 @@ type adsprpcd_file, file_type;
|
||||||
type bt_firmware_file, file_type;
|
type bt_firmware_file, file_type;
|
||||||
type firmware_file, file_type;
|
type firmware_file, file_type;
|
||||||
type persist_file, file_type;
|
type persist_file, file_type;
|
||||||
|
type sysfs_tp, fs_type, sysfs_type;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# DT2W
|
||||||
|
/sys/class/touch/tp_dev/gesture_on u:object_r:sysfs_tp:s0
|
||||||
|
|
||||||
# Files in rootfs
|
# Files in rootfs
|
||||||
/bt_firmware(/.*)? u:object_r:bt_firmware_file:s0
|
/bt_firmware(/.*)? u:object_r:bt_firmware_file:s0
|
||||||
/dsp(/.*)? u:object_r:adsprpcd_file:s0
|
/dsp(/.*)? u:object_r:adsprpcd_file:s0
|
||||||
|
|
2
sepolicy/private/hal_power.te
Normal file
2
sepolicy/private/hal_power.te
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
allow hal_power sysfs_tp:dir search;
|
||||||
|
allow hal_power sysfs_tp:file w_file_perms;
|
Loading…
Reference in a new issue