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

@ -0,0 +1,8 @@
# Tag for read only filesystem type
attribute r_fs_type;
# Tag for read/write filesystem type
attribute rw_fs_type;
# Tag for read/execute filesystem type
attribute rx_fs_type;

View file

@ -0,0 +1,4 @@
# domain.te
# Make sure that labels are used correctly
neverallow { domain -vendor_init -ueventd } r_fs_type:file write;

View file

@ -0,0 +1,4 @@
# file.te
### DATA
type zram_data_file, file_type, data_file_type, core_data_file_type;

View file

@ -0,0 +1,2 @@
### RFKILL
type rfkilldisabled_prop, property_type;