Merge "Sepolicy: Fix perfprofd permissions"
This commit is contained in:
commit
bdac534cc0
2 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
')
|
||||
|
||||
|
|
Loading…
Reference in a new issue