Add SEPolicy for gxp_logging
This commit adds the SEPolicy for gxp_logging service Bug: 245903377 Change-Id: I1b9bde7327b131c768ea8a91bc6bfb52f219044b Signed-off-by: Dinesh Yadav <dkyadav@google.com>
This commit is contained in:
parent
5a314cab17
commit
bab8aa16e8
2 changed files with 10 additions and 0 deletions
|
@ -39,6 +39,7 @@
|
|||
/vendor/bin/hw/rild_exynos u:object_r:rild_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.qorvo\.uwb\.service u:object_r:hal_uwb_vendor_default_exec:s0
|
||||
/vendor/bin/rlsservice u:object_r:rlsservice_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.gxp\.logging@service-gxp-logging u:object_r:gxp_logging_exec:s0
|
||||
|
||||
# Vendor Firmwares
|
||||
/vendor/firmware(/.*)? u:object_r:vendor_fw_file:s0
|
||||
|
|
9
whitechapel_pro/gxp_logging.te
Normal file
9
whitechapel_pro/gxp_logging.te
Normal file
|
@ -0,0 +1,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)')
|
Loading…
Add table
Add a link
Reference in a new issue