Shanshan Guo 62cf1a413a [ALPS04639771] SEPolicy: Modify workaround
[Detail]
There is a workaround for bring-up,
now it needs to be modified.

[Solution]
1.Split workaround to sepcial *.te
2.Modify ged sepolicy
3.Modify mistake
4.Add sepolicy

MTK-Commit-Id: 5a2b7e3fdc826a7ca6bc70a3810f14c1661e7d79

Change-Id: I0894de45e014a5eae754e35b57fbc9b21bc4bf90
CR-Id: ALPS04639771
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 10:15:29 +08:00

15 lines
439 B
Plaintext

# Date : WK17.12
# Purpose: Fix bootup fail
allow ueventd proc_net:file r_file_perms;
# Date: W17.22
# Operation : New Feature
# Purpose : Add for A/B system
allow ueventd device:chr_file { relabelfrom relabelto };
allow ueventd m_acc_misc_device:chr_file { relabelfrom relabelto };
allow ueventd m_mag_misc_device:chr_file { relabelfrom relabelto };
# Date: 2019/06/14
# Operation : Migration
allow ueventd tmpfs:lnk_file r_file_perms;