Change-Id: Ic78db8195c5c51f85c9c6fd3ef8333489afd6e79 MTK-Commit-Id: 848bf57127be9d01fd1df4aab95737855456afee
21 lines
700 B
Plaintext
21 lines
700 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;
|