[ALPS03503758] Revert "[ALPS03503758]P migration selinux build failed fix"

This reverts commit c2f372432b08f78b8e5b9f7cc08b1b436bfe7161.

MTK-Commit-Id: 95e449825c77815d477a926f0244165934aef748

Change-Id: Ic2c4ee2de46803679c01b0bc83bbef3f9d585b32
CR-Id: ALPS03503758
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
This commit is contained in:
Browse Zhang 2020-01-18 09:39:10 +08:00
parent 340e51e71c
commit db6998fe2a
3 changed files with 2 additions and 9 deletions

View File

@ -256,6 +256,3 @@ type consyslog_data_file, file_type, data_file_type;
# Purpose : for meta to get com port type and uart port info
type sysfs_comport_type, fs_type, sysfs_type;
type sysfs_uart_info, fs_type, sysfs_type;
# Purpose : for /proc/uid_procstat/set from UsageStatsService
type proc_uid_procstat, fs_type, proc_type;

View File

@ -561,8 +561,7 @@
/(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.pq@2\.0-service u:object_r:mtk_hal_pq_exec:s0
# Keymaster Attestation Hal
/(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.keymaster_attestation@1\.1-service u:object_r:hal_keymaster_attestation_exec:s0
#For /proc/uid_procstat/set from UsageStatsService
/proc/uid_procstat/set u:object_r:proc_uid_procstat:s0
#############################
# System/bin files

View File

@ -17,6 +17,7 @@ allow system_server wmtWifi_device:chr_file w_file_perms;
#allow system_server proc:file w_file_perms;
# /data/dontpanic access.
typeattribute system_server data_between_core_and_vendor_violators;
allow system_server dontpanic_data_file:dir search;
# /data/agps_supl access.
@ -215,7 +216,3 @@ allow system_server mtk_thermal_config_prop:property_service set;
# Purpose : perfmgr permission
allow system_server proc_perfmgr:dir {read search};
allow system_server proc_perfmgr:file {open read ioctl};
# Date :WK1817
# Purpose : for /proc/uid_procstat/set from UsageStatsService
allow system_server proc_uid_procstat:file w_file_perms;