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/uprobestats.te b/private/uprobestats.te
index 2c5711f..f6dd906 100644
--- a/private/uprobestats.te
+++ b/private/uprobestats.te
@@ -16,7 +16,7 @@
allow uprobestats sysfs_uprobe:dir { search };
# Allow uprobestats to popen oatdump.
-allow uprobestats system_file:file rx_file_perms;
+allow uprobestats oatdump_exec:file rx_file_perms;
# Allow uprobestats to write atoms to statsd
unix_socket_send(uprobestats, statsdw, statsd)