diff --git a/touch/gti/sepolicy/dump_gti.te b/touch/gti/sepolicy/dump_gti.te index af99a07..7482246 100644 --- a/touch/gti/sepolicy/dump_gti.te +++ b/touch/gti/sepolicy/dump_gti.te @@ -1,6 +1,6 @@ pixel_bugreport(dump_gti) -allow dump_gti sysfs_touch:dir r_dir_perms; -allow dump_gti sysfs_touch:file rw_file_perms; +allow dump_gti sysfs_touch_gti:dir r_dir_perms; +allow dump_gti sysfs_touch_gti:file rw_file_perms; allow dump_gti vendor_toolbox_exec:file execute_no_trans; diff --git a/touch/gti/sepolicy/file.te b/touch/gti/sepolicy/file.te index 3e53ec3..9776707 100644 --- a/touch/gti/sepolicy/file.te +++ b/touch/gti/sepolicy/file.te @@ -1,2 +1,2 @@ -type sysfs_touch, sysfs_type, fs_type; +type sysfs_touch_gti, sysfs_type, fs_type; diff --git a/touch/gti/sepolicy/genfs_contexts b/touch/gti/sepolicy/genfs_contexts index 9a2ce7a..a64e39b 100644 --- a/touch/gti/sepolicy/genfs_contexts +++ b/touch/gti/sepolicy/genfs_contexts @@ -1,2 +1,2 @@ # Touch -genfscon sysfs /devices/virtual/goog_touch_interface u:object_r:sysfs_touch:s0 +genfscon sysfs /devices/virtual/goog_touch_interface u:object_r:sysfs_touch_gti:s0