device_google_gs201/whitechapel_pro/convert-to-f2fs-sh.te
Jaegeuk Kim bf900e2ae5 allow to convert /efs to f2fs
Bug: 201348703
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: If69f1443a0ee4d46a468a33524e8a51f774b2d28
2021-10-14 02:17:56 +00:00

11 lines
439 B
Text

type convert-to-f2fs-sh, domain;
type convert-to-f2fs-sh_exec, vendor_file_type, exec_type, file_type;
init_daemon_domain(convert-to-f2fs-sh)
allow convert-to-f2fs-sh vendor_file:file execute_no_trans;
allow convert-to-f2fs-sh persist_block_device:blk_file r_file_perms;
allow convert-to-f2fs-sh efs_block_device:blk_file r_file_perms;
allow convert-to-f2fs-sh block_device:dir search;
allow convert-to-f2fs-sh kernel:process setsched;