2014-01-13 15:45:45 +01:00
|
|
|
# recovery console (used in recovery init.rc for /sbin/recovery)
|
|
|
|
type recovery, domain;
|
|
|
|
allow recovery rootfs:file entrypoint;
|
|
|
|
unconfined_domain(recovery)
|
|
|
|
relabelto_domain(recovery)
|
|
|
|
|
2014-01-30 19:23:08 +01:00
|
|
|
allow recovery self:capability2 mac_admin;
|
|
|
|
|
2014-01-13 15:45:45 +01:00
|
|
|
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;
|
2014-01-13 21:32:11 +01:00
|
|
|
allow recovery ashmem_device:chr_file execute;
|
2014-01-13 20:03:47 +01:00
|
|
|
allow recovery tmpfs:file rx_file_perms;
|