Merge "sepolicy: add perfetto_producer for platform_app and system_app"

This commit is contained in:
Lalit Maganti 2021-06-14 11:46:20 +00:00 committed by Gerrit Code Review
commit ebdc2c2ea8
2 changed files with 6 additions and 0 deletions

View file

@ -99,6 +99,9 @@ allow platform_app app_data_file:lnk_file create_file_perms;
# suppress denials caused by debugfs_tracing
dontaudit platform_app debugfs_tracing:file rw_file_perms;
# Allow platform apps to act as Perfetto producers.
perfetto_producer(platform_app)
###
### Neverallow rules
###

View file

@ -169,6 +169,9 @@ allow system_app system_server:udp_socket {
# Settings app reads ro.oem_unlock_supported
get_prop(system_app, oem_unlock_prop)
# Allow system apps to act as Perfetto producers.
perfetto_producer(system_app)
###
### Neverallow rules
###