mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-24 04:45:32 -04:00
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:
parent
90eb28369e
commit
9506c382c4
82 changed files with 1108 additions and 98 deletions
|
|
@ -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;
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
# domain.te
|
||||
|
||||
# Make sure that labels are used correctly
|
||||
neverallow { domain -vendor_init -ueventd } r_fs_type:file write;
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
# file.te
|
||||
|
||||
### DATA
|
||||
type zram_data_file, file_type, data_file_type, core_data_file_type;
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
### RFKILL
|
||||
type rfkilldisabled_prop, property_type;
|
||||
Loading…
Reference in a new issue