kunlun2: sepolicy: Address hal_sensors_default denials

Change-Id: I211841e7709e6e54edcce9951f5a52f7b7be6158
Signed-off-by: DennySPb <dennyspb@gmail.com>
This commit is contained in:
LuK1337 2019-07-09 20:55:20 +02:00 committed by Giammarco Senatore
parent cd50185651
commit ff0ea35f8a
No known key found for this signature in database
GPG key ID: 661348FC1E144F04
2 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,5 @@
type display_data_file, file_type, data_file_type, core_data_file_type;
type proc_touchpanel, fs_type;
type proc_touchpanel, fs_type, proc_type;
type sysfs_oem, sysfs_type, fs_type;
type sysfs_msm_subsys, sysfs_type, fs_type;
@ -14,5 +14,3 @@ type sysfs_power_stats, sysfs_type, fs_type;
#type sysfs_scsi_devices, sysfs_type, fs_type;
type debugfs_wlan, debugfs_type, fs_type;
type debugfs_sched_features, debugfs_type, fs_type;
type proc_sysctl_schedboost, proc_type, fs_type;

View file

@ -0,0 +1,3 @@
# Allow hal_sensors_default to read and write to proc_touchpanel
allow hal_sensors_default proc_touchpanel:dir search;
allow hal_sensors_default proc_touchpanel:file rw_file_perms;