[ALPS04763240] SeLinux permission

Remove unused policies.

MTK-Commit-Id: fb08d7258914676e713d5a4522b8ecb3b35d56d9

Change-Id: I1be805ef301abfefc1723be2ebd97153ddba1d23
CR-Id: ALPS04763240
Feature: DSDS (Dual SIM Dual Standby) Framework-Common Framework(RIL)
This commit is contained in:
Cosmo Sung 2020-01-18 10:19:29 +08:00
parent 0ae7f56165
commit a49221caf7
2 changed files with 5 additions and 5 deletions

View File

@ -54,7 +54,7 @@ allow mtkrild bluetooth_efs_file:dir r_dir_perms;
allow mtkrild sdcardfs:dir r_dir_perms; allow mtkrild sdcardfs:dir r_dir_perms;
# Violate Android P rule # Violate Android P rule
#allow mtkrild system_file:file x_file_perms; #allow mtkrild system_file:file x_file_perms;
allow mtkrild proc:file rw_file_perms; #allow mtkrild proc:file rw_file_perms;
allow mtkrild proc_net:file w_file_perms; allow mtkrild proc_net:file w_file_perms;
# Set and get routes directly via netlink. # Set and get routes directly via netlink.
@ -68,14 +68,14 @@ allow mtkrild mtd_device:dir search;
allow mtkrild tty_device:chr_file rw_file_perms; allow mtkrild tty_device:chr_file rw_file_perms;
allow mtkrild eemcs_device:chr_file { rw_file_perms }; allow mtkrild eemcs_device:chr_file { rw_file_perms };
allow mtkrild Vcodec_device:chr_file { rw_file_perms }; #allow mtkrild Vcodec_device:chr_file { rw_file_perms };
allow mtkrild devmap_device:chr_file { r_file_perms }; allow mtkrild devmap_device:chr_file { r_file_perms };
allow mtkrild devpts:chr_file { rw_file_perms }; allow mtkrild devpts:chr_file { rw_file_perms };
allow mtkrild ccci_device:chr_file { rw_file_perms }; allow mtkrild ccci_device:chr_file { rw_file_perms };
allow mtkrild misc_device:chr_file { rw_file_perms }; allow mtkrild misc_device:chr_file { rw_file_perms };
allow mtkrild proc_lk_env:file rw_file_perms; allow mtkrild proc_lk_env:file rw_file_perms;
allow mtkrild sysfs_vcorefs_pwrctrl:file { w_file_perms }; allow mtkrild sysfs_vcorefs_pwrctrl:file { w_file_perms };
allow mtkrild bootdevice_block_device:blk_file { rw_file_perms }; #allow mtkrild bootdevice_block_device:blk_file { rw_file_perms };
allow mtkrild para_block_device:blk_file { rw_file_perms }; allow mtkrild para_block_device:blk_file { rw_file_perms };
# Allow dir search, fd uses # Allow dir search, fd uses

View File

@ -58,14 +58,14 @@ allow rild mtd_device:dir search;
allow rild tty_device:chr_file rw_file_perms; allow rild tty_device:chr_file rw_file_perms;
allow rild eemcs_device:chr_file { rw_file_perms }; allow rild eemcs_device:chr_file { rw_file_perms };
allow rild Vcodec_device:chr_file { rw_file_perms }; #allow rild Vcodec_device:chr_file { rw_file_perms };
allow rild devmap_device:chr_file { r_file_perms }; allow rild devmap_device:chr_file { r_file_perms };
allow rild devpts:chr_file { rw_file_perms }; allow rild devpts:chr_file { rw_file_perms };
allow rild ccci_device:chr_file { rw_file_perms }; allow rild ccci_device:chr_file { rw_file_perms };
allow rild misc_device:chr_file { rw_file_perms }; allow rild misc_device:chr_file { rw_file_perms };
allow rild proc_lk_env:file rw_file_perms; allow rild proc_lk_env:file rw_file_perms;
allow rild sysfs_vcorefs_pwrctrl:file { w_file_perms }; allow rild sysfs_vcorefs_pwrctrl:file { w_file_perms };
allow rild bootdevice_block_device:blk_file { rw_file_perms }; #allow rild bootdevice_block_device:blk_file { rw_file_perms };
allow rild para_block_device:blk_file { rw_file_perms }; allow rild para_block_device:blk_file { rw_file_perms };
# Allow dir search, fd uses # Allow dir search, fd uses