2020-01-18 09:29:32 +08:00
|
|
|
# ==============================================
|
|
|
|
# MTK Policy Rule
|
|
|
|
# ==============================================
|
|
|
|
|
2020-01-18 09:50:34 +08:00
|
|
|
# ==============================================
|
|
|
|
# Type Declaration
|
|
|
|
# ==============================================
|
|
|
|
type pre_meta, domain;
|
|
|
|
type pre_meta_exec , exec_type, file_type, vendor_file_type;
|
|
|
|
init_daemon_domain(pre_meta)
|
|
|
|
|
2020-01-18 09:29:32 +08:00
|
|
|
allow pre_meta proc_lk_env:file rw_file_perms;
|
2020-01-18 09:50:34 +08:00
|
|
|
allow pre_meta para_block_device:blk_file rw_file_perms;set_prop(meta_tst, powerctl_prop);
|