Revert converting ext4 to f2fs

Revert the below commits:

commit bf900e2ae5 "allow to convert /efs to f2fs"
commit 54b0addb16 "convert_to_f2fs.sh: add sepolicy"

And, tracking_denials WA.

Bug: 207031989
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Id3dd1c5b8cad962845fd7a88b9069315819e5f3d
This commit is contained in:
Jaegeuk Kim 2021-12-29 15:16:04 -08:00
parent a781d5020b
commit 5134bb2094
3 changed files with 0 additions and 28 deletions

View file

@ -1,16 +0,0 @@
# b/205657040
dontaudit convert-to-f2fs-sh kmsg_device:chr_file { open };
dontaudit convert-to-f2fs-sh kmsg_device:chr_file { write };
dontaudit convert-to-f2fs-sh modem_userdata_block_device:blk_file { open };
dontaudit convert-to-f2fs-sh modem_userdata_block_device:blk_file { read };
# b/205779877
dontaudit convert-to-f2fs-sh shell_exec:file { execute };
dontaudit convert-to-f2fs-sh shell_exec:file { getattr };
dontaudit convert-to-f2fs-sh shell_exec:file { map };
dontaudit convert-to-f2fs-sh shell_exec:file { read };
dontaudit convert-to-f2fs-sh toolbox_exec:file { execute };
dontaudit convert-to-f2fs-sh toolbox_exec:file { execute_no_trans };
dontaudit convert-to-f2fs-sh toolbox_exec:file { getattr };
dontaudit convert-to-f2fs-sh toolbox_exec:file { read open };
# b/205904438
dontaudit convert-to-f2fs-sh toolbox_exec:file { map };

View file

@ -1,11 +0,0 @@
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;

View file

@ -14,7 +14,6 @@
/vendor/bin/init\.insmod\.sh u:object_r:init-insmod-sh_exec:s0
/vendor/bin/trusty_apploader u:object_r:trusty_apploader_exec:s0
/vendor/bin/trusty_metricsd u:object_r:trusty_metricsd_exec:s0
/vendor/bin/convert_to_f2fs\.sh u:object_r:convert-to-f2fs-sh_exec:s0
/vendor/bin/usf_stats u:object_r:vendor_usf_stats:s0
/vendor/bin/usf_reg_edit u:object_r:vendor_usf_reg_edit:s0
/vendor/bin/dumpsys u:object_r:vendor_dumpsys:s0