Skip to content
Snippets Groups Projects
Commit acbda504 authored by Calin Juravle's avatar Calin Juravle
Browse files

Allow system server to getattr profile_data_files

This is needed in order to get the stat-size of the files.

Bug: 30934496
Test: gts-tradefed -m GtsAndroidRuntimeManagerHostTestCases
Change-Id: I1df0ba941e8f9ff13a23df4063acc3c4f1555c1b
parent 33ba9c54
Branches
Tags
No related merge requests found
......@@ -727,7 +727,7 @@ with_asan(`
# System server never reads the actual content. It passes the descriptor to
# to privileged apps which acquire the permissions to inspect the profiles.
allow system_server user_profile_data_file:dir { search };
allow system_server user_profile_data_file:file { open read };
allow system_server user_profile_data_file:file { getattr open read };
###
### Neverallow rules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment