Sepolicy: Give system server fd rights to perfprofd
So that perfprofd can send larger packets to dropbox. Follow-up of commit3fa95acb1e
. (cherry picked from commitc9df843773
) Bug: 73175642 Test: m Test: manual Merged-In: I88d1f83962243589909ff1ce3d02195e7c494256 Change-Id: I88d1f83962243589909ff1ce3d02195e7c494256
This commit is contained in:
parent
cb9ac32bed
commit
0193620bec
1 changed files with 6 additions and 0 deletions
|
@ -381,6 +381,12 @@ allow system_server incident_data_file:file read;
|
|||
allow system_server perfetto_traces_data_file:file read;
|
||||
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:fd use;
|
||||
')
|
||||
|
||||
# Manage /data/backup.
|
||||
allow system_server backup_data_file:dir create_dir_perms;
|
||||
allow system_server backup_data_file:file create_file_perms;
|
||||
|
|
Loading…
Reference in a new issue