aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/md_ctrl.te
blob: b261ec33af166ecce666a92b3d20046beeeec8d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
type md_ctrl_exec, exec_type, file_type;
type md_ctrl, domain, domain_deprecated;

init_daemon_domain(md_ctrl)

allow md_ctrl ccci_device:chr_file rw_file_perms;
allow md_ctrl devpts:chr_file rw_file_perms;
allow md_ctrl muxreport_exec:file rx_file_perms;
allow md_ctrl self:capability dac_override;

# sysfs_ccci
allow md_ctrl sysfs_ccci:dir { r_file_perms search };
allow md_ctrl sysfs_ccci:file r_file_perms;

set_prop(md_ctrl,vold_encryption_type_prop);