Merge "Add SEPolicy settings for android logging/tracing service for GXP"

This commit is contained in:
Dinesh Yadav 2023-01-16 08:05:51 +00:00 committed by Android (Google) Code Review
commit 1ac5ca8485
2 changed files with 6 additions and 4 deletions

View file

@ -1,4 +0,0 @@
# b/264489388
userdebug_or_eng(`
permissive gxp_logging;
')

View file

@ -2,3 +2,9 @@ type gxp_logging, domain;
type gxp_logging_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(gxp_logging)
# The logging service accesses /dev/gxp
allow gxp_logging gxp_device:chr_file rw_file_perms;
# Allow gxp tracing service to send packets to Perfetto
userdebug_or_eng(`perfetto_producer(gxp_logging)')