blob: eb2a2b0aec01d0865d5c730d3b1b36039e3f61a1 [file] [log] [blame]
Stephen Smalley6d10ca82014-01-13 09:45:45 -05001# recovery console (used in recovery init.rc for /sbin/recovery)
2type recovery, domain;
3allow recovery rootfs:file entrypoint;
4unconfined_domain(recovery)
5relabelto_domain(recovery)
6
7allow recovery {fs_type dev_type -kmem_device file_type}:dir_file_class_set relabelto;
8allow recovery unlabeled:filesystem mount;
9
10allow recovery self:process execmem;
Stephen Smalley9fe4e7b2014-01-13 15:32:11 -050011allow recovery ashmem_device:chr_file execute;
Stephen Smalley9a407022014-01-13 14:03:47 -050012allow recovery tmpfs:file rx_file_perms;