diff options
-rw-r--r-- | prebuilts/api/29.0/private/adbd.te | 4 | ||||
-rw-r--r-- | private/adbd.te | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/prebuilts/api/29.0/private/adbd.te b/prebuilts/api/29.0/private/adbd.te index 2fa4af63..ec5c57ee 100644 --- a/prebuilts/api/29.0/private/adbd.te +++ b/prebuilts/api/29.0/private/adbd.te @@ -23,6 +23,10 @@ recovery_only(` unix_socket_connect(adbd, recovery, recovery) ') +# Control Perfetto traced and obtain traces from it. +# Needed to allow port forwarding directly to traced. +unix_socket_connect(adbd, traced_consumer, traced) + # Do not sanitize the environment or open fds of the shell. Allow signaling # created processes. allow adbd shell:process { noatsecure signal }; diff --git a/private/adbd.te b/private/adbd.te index 2fa4af63..ec5c57ee 100644 --- a/private/adbd.te +++ b/private/adbd.te @@ -23,6 +23,10 @@ recovery_only(` unix_socket_connect(adbd, recovery, recovery) ') +# Control Perfetto traced and obtain traces from it. +# Needed to allow port forwarding directly to traced. +unix_socket_connect(adbd, traced_consumer, traced) + # Do not sanitize the environment or open fds of the shell. Allow signaling # created processes. allow adbd shell:process { noatsecure signal }; |