Revert "Fix the sepolicy issue around shell and oatdump"
This reverts commit d84b3436cd40364865ac087a1e7f9cb179ed5d0d.
Reason for revert: b/352184427
Change-Id: I64eb51ce7aa4e6dda1bacac1fb26eb0a3b9a9b43
diff --git a/private/shell.te b/private/shell.te
index 9944bd1..d613a94 100644
--- a/private/shell.te
+++ b/private/shell.te
@@ -261,6 +261,9 @@
# Allow shell to read the build properties for attestation feature
get_prop(shell, build_attestation_prop)
+# Allow shell to execute oatdump.
+allow shell oatdump_exec:file rx_file_perms;
+
# Allow shell access to socket for test
userdebug_or_eng(`
allow shell aconfigd_socket:sock_file write;