Skip to content
Snippets Groups Projects
Commit 0bfa7b53 authored by Nick Kralevich's avatar Nick Kralevich
Browse files

Switch to r_file_perms

The current rule is missing mmap. r_file_perm implicitly adds mmap, so
we should just use that instead.

Test: policy compiles.
Change-Id: I4051d1eb4c36a2b6ff2b5f26ce53355287cbe2b4
parent 3eae9de2
No related branches found
No related tags found
No related merge requests found
...@@ -108,7 +108,7 @@ allow untrusted_app_all preloads_data_file:dir search; ...@@ -108,7 +108,7 @@ allow untrusted_app_all preloads_data_file:dir search;
# TODO (b/37784178) Consider creating a special type for /vendor/app installed # TODO (b/37784178) Consider creating a special type for /vendor/app installed
# apps. # apps.
allow untrusted_app_all vendor_app_file:dir { open getattr read search }; allow untrusted_app_all vendor_app_file:dir { open getattr read search };
allow untrusted_app_all vendor_app_file:file { open getattr read execute }; allow untrusted_app_all vendor_app_file:file { r_file_perms execute };
allow untrusted_app_all vendor_app_file:lnk_file { open getattr read }; allow untrusted_app_all vendor_app_file:lnk_file { open getattr read };
# Write app-specific trace data to the Perfetto traced damon. This requires # Write app-specific trace data to the Perfetto traced damon. This requires
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment