From 4f576a0beea712233e362bd9c4c44fe510573997 Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Wed, 19 Feb 2020 20:45:47 +0800 Subject: sdm660-common: sepolicy: Label new TP node Change-Id: Id55db9b6614320650c8c61e698f71ddc9f04d086 --- sepolicy/vendor/file.te | 2 +- sepolicy/vendor/genfs_contexts | 2 +- sepolicy/vendor/hal_power_default.te | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sepolicy') diff --git a/sepolicy/vendor/file.te b/sepolicy/vendor/file.te index 7015eff..c9eeaf7 100644 --- a/sepolicy/vendor/file.te +++ b/sepolicy/vendor/file.te @@ -1,5 +1,5 @@ type debugfs_wlan, debugfs_type, fs_type; type ir_dev_file, file_type; -type proc_dt2w, fs_type, proc_type; +type sysfs_touchpanel, fs_type, sysfs_type; type fingerprint_sysfs, fs_type, sysfs_type; type thermal_data_file, file_type, data_file_type; diff --git a/sepolicy/vendor/genfs_contexts b/sepolicy/vendor/genfs_contexts index 8da8baa..59d0cbe 100644 --- a/sepolicy/vendor/genfs_contexts +++ b/sepolicy/vendor/genfs_contexts @@ -1,4 +1,4 @@ -genfscon proc /wake_node u:object_r:proc_dt2w:s0 +genfscon sysfs /touchpanel u:object_r:sysfs_touchpanel:s0 genfscon debugfs /wlan0 u:object_r:debugfs_wlan:s0 # sysfs diff --git a/sepolicy/vendor/hal_power_default.te b/sepolicy/vendor/hal_power_default.te index 2df04b0..6ecf0a0 100644 --- a/sepolicy/vendor/hal_power_default.te +++ b/sepolicy/vendor/hal_power_default.te @@ -1,2 +1,2 @@ -allow hal_power_default proc_dt2w:file rw_file_perms; +allow hal_power_default sysfs_touchpanel:file rw_file_perms; r_dir_file(hal_power_default, debugfs_wlan) -- cgit v1.2.3