Skip to content
Snippets Groups Projects
Commit 835881aa authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Sepolicy: Fix perfprofd permissions

Let statsd find the service. The system server wants to read file
attributes for the perfprofd dropbox file.

Bug: 73175642
Test: m
Test: manual
Change-Id: I0c0b1dac057af90fff440286226093ec15b5e247
parent 11bfc05c
No related branches found
No related tags found
No related merge requests found
...@@ -50,6 +50,9 @@ domain_auto_trans(statsd, perfetto_exec, perfetto) ...@@ -50,6 +50,9 @@ domain_auto_trans(statsd, perfetto_exec, perfetto)
allow statsd { allow statsd {
app_api_service app_api_service
incident_service incident_service
userdebug_or_eng(`
perfprofd_service
')
statscompanion_service statscompanion_service
system_api_service system_api_service
}:service_manager find; }:service_manager find;
......
...@@ -389,7 +389,7 @@ allow system_server perfetto:fd use; ...@@ -389,7 +389,7 @@ allow system_server perfetto:fd use;
# Allow dropbox to read /data/misc/perfprofd. Only the fd is sent over binder. # Allow dropbox to read /data/misc/perfprofd. Only the fd is sent over binder.
userdebug_or_eng(` 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; allow system_server perfprofd:fd use;
') ')
......
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