[Detail] Google add new neverallows rules on android P, some rule violate the rules [Solution] Remove the rules which violate google new rules MTK-Commit-Id: ff683b4eee0a6dd95ff25fbb6c7d1fc3a79c604d Change-Id: Iead494212c6adcec234eaef14c83d1f8c7a49deb CR-Id: ALPS03825066 Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
21 lines
701 B
Plaintext
21 lines
701 B
Plaintext
# ==============================================
|
|
# Policy File of /system/bin/spm_loader Executable File
|
|
|
|
# ==============================================
|
|
# Type Declaration
|
|
# ==============================================
|
|
type spm_loader_exec , exec_type, file_type, vendor_file_type;
|
|
type spm_loader ,domain;
|
|
|
|
# ==============================================
|
|
# MTK Policy Rule
|
|
# ==============================================
|
|
# date: 2015/6/18 wk1525
|
|
# purpose: load spm firmware
|
|
# ==============================================
|
|
init_daemon_domain(spm_loader)
|
|
|
|
# Read to /dev/spm
|
|
#allow spm_loader self:capability { dac_read_search dac_override };
|
|
allow spm_loader spm_device:chr_file r_file_perms;
|