blob: 31c92c556029cc940ba403ac4e98676f1c9b38cb [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 Smalley9a407022014-01-13 14:03:47 -050011allow recovery ashmem_device:file execute;
12allow recovery tmpfs:file rx_file_perms;