goldfish-ndk: allow init to mount/rw binfmt_misc

also allow shell to load modules

BUG: 121031669
Change-Id: I3935f5e15763682a1016ee7625a6a11889a4a01f
(cherry picked from commit 97d3afb24c57962a48b3dc81054f2818e5052ad4)
diff --git a/sepolicy/common/init.te b/sepolicy/common/init.te
index 40a6328..15d6814 100644
--- a/sepolicy/common/init.te
+++ b/sepolicy/common/init.te
@@ -2,3 +2,5 @@
 allow init proc:dir { mounton };
 dontaudit init kernel:system module_request;
 allow init serial_device:chr_file { ioctl open read write };
+allow init proc:dir mounton;
+allow init binfmt_miscfs:file write;
\ No newline at end of file
diff --git a/sepolicy/common/shell.te b/sepolicy/common/shell.te
index b246d7e..c96ca31 100644
--- a/sepolicy/common/shell.te
+++ b/sepolicy/common/shell.te
@@ -1 +1,2 @@
 allow shell serial_device:chr_file rw_file_perms;
+allow shell kernel:system module_request;