universal7885: sepolicy: Move some sysfs genfscons

* To public so private rules can access it too
* Also, remove rebundant genfscon
* Fix neverallows due to previous commit
This commit is contained in:
roynatech2544 2022-04-27 13:47:51 +09:00
commit 657050b9b3
No known key found for this signature in database
GPG key ID: 50ABF73F0D19445D
5 changed files with 25 additions and 29 deletions

View file

@ -4,5 +4,11 @@
type zram_data_file, file_type, data_file_type, core_data_file_type;
## SYSFS
type sysfs_gpu_tmu, sysfs_type, rw_fs_type, fs_type;
type sysfs_virtual, fs_type, sysfs_type, mlstrustedobject;
type sysfs_sec_switch, sysfs_type, r_fs_type, fs_type;
type sysfs_battery, sysfs_type, r_fs_type, fs_type;
type sysfs_sec_touchscreen, sysfs_type, r_fs_type, fs_type;
type sysfs_sec_switch_writable, sysfs_type, rw_fs_type, fs_type;
type sysfs_touchscreen_writable, sysfs_type, rw_fs_type, fs_type;
type sysfs_battery_writable, sysfs_type, rw_fs_type, fs_type;
type sysfs_flashlight, sysfs_type, rw_fs_type, fs_type;