universal7885: Adapt SELinux rules to match our A20/A20e's needs

* Additionally, adapt LineageOS's rules too

Change-Id: Ie253afd9052c700705861d618253445ef4b8c728
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
roynatech2544 2021-10-21 23:04:54 +09:00
commit 9506c382c4
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
82 changed files with 1108 additions and 98 deletions

View file

@ -14,6 +14,9 @@ type debugfs_mali_mem, fs_type, debugfs_type;
type debugfs_ion, fs_type, debugfs_type;
type debugfs_ion_dma, fs_type, debugfs_type;
# cache
type boot_logcat_file, file_type, data_file_type;
# proc
type proc_extra, fs_type, proc_type;
type proc_reset_reason, fs_type, proc_type;
@ -26,7 +29,11 @@ type mediadrm_data_file, file_type, data_file_type;
type nfc_vendor_data_file, file_type, data_file_type;
# sysfs types
type sysfs_battery_info, sysfs_type, fs_type;
type sysfs_battery_supply, sysfs_type, rw_fs_type, fs_type;
type sysfs_abox_writable, sysfs_type, rw_fs_type, fs_type;
type sysfs_sensor_writable, sysfs_type, rw_fs_type, fs_type;
type sysfs_input_writable, sysfs_type, rw_fs_type, fs_type;
type sysfs_batteryinfo_charger_writable, sysfs_type, rw_fs_type, fs_type;
type sysfs_camera_writable, sysfs_type, rw_fs_type, fs_type;
type sysfs_decon, sysfs_type, r_fs_type, fs_type;
@ -42,6 +49,7 @@ type sysfs_sec, fs_type, sysfs_type, mlstrustedobject;
type sysfs_gps, fs_type, sysfs_type, mlstrustedobject;
type sysfs_brightness, fs_type, sysfs_type, mlstrustedobject;
type sysfs_virtual, fs_type, sysfs_type, mlstrustedobject;
type sysfs_fuelgauge, fs_type, sysfs_type, mlstrustedobject;
type sysfs_charger, fs_type, sysfs_type, mlstrustedobject;
type sysfs_modem, fs_type, sysfs_type, mlstrustedobject;
type sysfs_camera, fs_type, sysfs_type, mlstrustedobject;