aboutsummaryrefslogtreecommitdiffstats
path: root/recovery.te
blob: abcf0cfd4251813f286f95e7173bfe6739ad2e64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# recovery console (used in recovery init.rc for /sbin/recovery)
type recovery, domain;
allow recovery rootfs:file entrypoint;
unconfined_domain(recovery)
relabelto_domain(recovery)

allow recovery self:capability2 mac_admin;

allow recovery {fs_type dev_type -kmem_device file_type}:dir_file_class_set relabelto;
allow recovery unlabeled:filesystem mount;

allow recovery self:process execmem;
allow recovery ashmem_device:chr_file execute;
allow recovery tmpfs:file rx_file_perms;