Allow dexopt_chroot_setup to mount and unmount binfmt_miscfs.
Some devices have /proc/sys/fs/binfmt_misc. The reason we need to mount
and unmount it is stated in the comments above the SELinux rules.
Bug: 349576449
Change-Id: I321324c599bb163092bbc3bbea22bf7669e85133
diff --git a/private/dexopt_chroot_setup.te b/private/dexopt_chroot_setup.te
index 4267d09..4a964fd 100644
--- a/private/dexopt_chroot_setup.te
+++ b/private/dexopt_chroot_setup.te
@@ -52,6 +52,7 @@
apex_mnt_dir
apk_data_file
binderfs
+ binfmt_miscfs
cgroup
cgroup_v2
userdebug_or_eng(debugfs)
@@ -81,6 +82,7 @@
allow dexopt_chroot_setup {
binderfs
+ binfmt_miscfs
cgroup
cgroup_v2
userdebug_or_eng(debugfs)