Sepolicy: Give system server fd rights to perfprofd

So that perfprofd can send larger packets to dropbox.

Follow-up of commit 3fa95acb1e.

(cherry picked from commit c9df843773)

Bug: 73175642
Test: m
Test: manual
Merged-In: I88d1f83962243589909ff1ce3d02195e7c494256
Change-Id: I88d1f83962243589909ff1ce3d02195e7c494256
This commit is contained in:
Andreas Gampe 2018-03-19 13:31:38 -07:00
parent cb9ac32bed
commit 0193620bec

View file

@ -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;