summaryrefslogtreecommitdiff
path: root/common/sepolicy/vold_ext.te (plain)
blob: 41338551e956de275b5482163cb0924cf5b1edb4
1type vold_ext, domain;
2type vold_ext_exec, exec_type, file_type;
3
4init_daemon_domain(vold_ext)
5
6allow vold_ext self:capability { setgid setuid };
7
8allow vold_ext cpuctl_device:dir search;
9
10allow vold_ext device:dir { open read };
11allow vold_ext usb_device:dir { open read search };
12allow vold_ext system_data_file:fifo_file { open read write };
13
14allow vold_ext block_device:dir rw_dir_perms;
15allow vold_ext fuseblk:filesystem mount;
16allow vold_ext rootfs:dir mounton;
17allow vold_ext self:capability { dac_override sys_admin };
18allow vold_ext vold:fd use;
19allow vold_ext vold:fifo_file { read write };
20allow vold_ext vold:unix_stream_socket { read write };
21
22allow vold_ext tmpfs:dir create_dir_perms;
23allow vold_ext tmpfs:dir mounton;
24
25allow vold_ext kernel:system module_request;
26allow vold_ext mnt_media_rw_file:dir { r_dir_perms };
27allow vold_ext mnt_media_rw_stub_file:dir { r_dir_perms mounton };