[Detail] New sepolicy path declared and also support legacy android. MTK-Commit-Id: 8982268bbef8f852c153428f1a5f83849953c7c2 Change-Id: Ic10f297a312ff2e89e44a0aa323ffa11bc78ff6e CR-Id: ALPS04767749 Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
20 lines
633 B
Plaintext
20 lines
633 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 spm_device:chr_file r_file_perms;
|