summaryrefslogtreecommitdiff
path: root/sepolicy/vendor
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/vendor')
-rw-r--r--sepolicy/vendor/file.te2
-rw-r--r--sepolicy/vendor/genfs_contexts2
-rw-r--r--sepolicy/vendor/hal_power_default.te2
3 files changed, 3 insertions, 3 deletions
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)