mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 13:46:26 -08:00
LG8n: sepolicy: Fix dt2w nodes
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
1ed39b01a9
commit
2d965b6d0a
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
|
# Gesture
|
||||||
type proc_gesture_function, fs_type, proc_type, sysfs_type;
|
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
|
# OTG
|
||||||
type sysfs_OTG_STATE_file, fs_type, sysfs_type;
|
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
|
# Gesture
|
||||||
genfscon proc /gesture_function u:object_r:proc_gesture_function:s0
|
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
|
# Label wakeup nodes
|
||||||
genfscon sysfs /devices/platform/11cb0000.i2c3/i2c-3/3-0018/wakeup u:object_r:sysfs_wakeup:s0
|
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_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 libperfmgr to control cgroups
|
||||||
allow hal_power_default cgroup:file rw_file_perms;
|
allow hal_power_default cgroup:file rw_file_perms;
|
||||||
|
|
2
sepolicy/vendor/mtk_hal_power.te
vendored
2
sepolicy/vendor/mtk_hal_power.te
vendored
|
@ -1,3 +1,3 @@
|
||||||
allow mtk_hal_power proc_meminfo:file r_file_perms;
|
allow mtk_hal_power proc_meminfo:file r_file_perms;
|
||||||
allow mtk_hal_power proc_gesture_function:file rw_file_perms;
|
allow mtk_hal_power proc_gesture_function:file rw_file_perms;
|
||||||
allow mtk_hal_power proc_main_gesture_function:file rw_file_perms;
|
allow mtk_hal_power proc_gesture_state:file rw_file_perms;
|
||||||
|
|
Loading…
Reference in a new issue