mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 21:56:26 -08:00
LG8n: sepolicy: Fix dt2w nodes
* Lol Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
20fda16312
commit
89f6aa4a44
2
sepolicy/vendor/file.te
vendored
2
sepolicy/vendor/file.te
vendored
|
@ -17,7 +17,7 @@ type nfc_vendor_data_file, file_type, data_file_type;
|
|||
|
||||
# Gesture
|
||||
type proc_gesture_function, fs_type, proc_type, sysfs_type;
|
||||
type proc_main_gesture_function, fs_type, proc_type, sysfs_type;
|
||||
type proc_gesture_state, fs_type, proc_type, sysfs_type;
|
||||
|
||||
# OTG
|
||||
type sysfs_OTG_STATE_file, fs_type, sysfs_type;
|
||||
|
|
2
sepolicy/vendor/genfs_contexts
vendored
2
sepolicy/vendor/genfs_contexts
vendored
|
@ -21,7 +21,7 @@ genfscon sysfs /devices/platform/soc/11017000.i2c/i2c-5/5-006b/power_supply/char
|
|||
|
||||
# Gesture
|
||||
genfscon proc /gesture_function u:object_r:proc_gesture_function:s0
|
||||
genfscon proc /main_gesture_function u:object_r:proc_main_gesture_function:s0
|
||||
genfscon proc /gesture_state u:object_r:proc_gesture_state:s0
|
||||
|
||||
# Label wakeup nodes
|
||||
genfscon sysfs /devices/platform/11cb0000.i2c3/i2c-3/3-0018/wakeup u:object_r:sysfs_wakeup:s0
|
||||
|
|
3
sepolicy/vendor/hal_power_default.te
vendored
3
sepolicy/vendor/hal_power_default.te
vendored
|
@ -1,5 +1,6 @@
|
|||
# Allow libperfmgr to access Transsion DT2W Nodes
|
||||
allow hal_power_default proc_gesture_function:file rw_file_perms;
|
||||
allow hal_power_default proc_main_gesture_function:file rw_file_perms;
|
||||
allow hal_power_default proc_gesture_state:file rw_file_perms;
|
||||
|
||||
# Allow libperfmgr to control cgroups
|
||||
allow hal_power_default cgroup:file rw_file_perms;
|
||||
|
|
Loading…
Reference in a new issue