Keith Mok | 520dfe0 | 2015-12-15 13:24:34 -0800 | [diff] [blame] | 1 | type mkfs, coredomain, domain; |
LuK1337 | 1c2cd25 | 2019-09-12 19:41:45 +0200 | [diff] [blame^] | 2 | type mkfs_exec, system_file_type, exec_type, file_type; |
Keith Mok | 520dfe0 | 2015-12-15 13:24:34 -0800 | [diff] [blame] | 3 | |
4 | init_daemon_domain(mkfs) | ||||
5 | |||||
6 | # Allow formatting userdata or cache partitions | ||||
7 | allow mkfs block_device:dir search; | ||||
8 | allow mkfs userdata_block_device:blk_file rw_file_perms; | ||||
9 | allow mkfs cache_block_device:blk_file rw_file_perms; |