Merge "Sepolicy: Fix perfprofd permissions"

am: bdac534cc0

Change-Id: I9fcbd703774de4bcdd34da06b0c8bda6a69a6fd5
This commit is contained in:
Andreas Gampe 2018-05-14 15:57:44 -07:00 committed by android-build-merger
commit 09fd609d33
2 changed files with 4 additions and 1 deletions

View file

@ -50,6 +50,9 @@ domain_auto_trans(statsd, perfetto_exec, perfetto)
allow statsd {
app_api_service
incident_service
userdebug_or_eng(`
perfprofd_service
')
statscompanion_service
system_api_service
}:service_manager find;

View file

@ -389,7 +389,7 @@ allow system_server perfetto:fd use;
# Allow dropbox to read /data/misc/perfprofd. Only the fd is sent over binder.
userdebug_or_eng(`
allow system_server perfprofd_data_file:file read;
allow system_server perfprofd_data_file:file { getattr read };
allow system_server perfprofd:fd use;
')