blob: 2c16520b379bd54e85148dcf840b0ff3e0e538ef [file] [log] [blame]
Keith Mok520dfe02015-12-15 13:24:34 -08001type mkfs, coredomain, domain;
LuK13371c2cd252019-09-12 19:41:45 +02002type mkfs_exec, system_file_type, exec_type, file_type;
Keith Mok520dfe02015-12-15 13:24:34 -08003
4init_daemon_domain(mkfs)
5
6# Allow formatting userdata or cache partitions
7allow mkfs block_device:dir search;
8allow mkfs userdata_block_device:blk_file rw_file_perms;
9allow mkfs cache_block_device:blk_file rw_file_perms;