aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-01-12 00:09:20 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-01-12 00:09:20 +0000
commit6cc2625a872d01ba5d36538e8399422a5913ecb7 (patch)
treedd9163105f8b072dec0246cd6af9022ac74f3ab2
parenta28a9dc8a693e5e8a85bc0693c1975c40b625994 (diff)
parent49807a6c26c11d592f175adbad31ed587b9a3927 (diff)
downloadandroid_system_sepolicy-6cc2625a872d01ba5d36538e8399422a5913ecb7.tar.gz
android_system_sepolicy-6cc2625a872d01ba5d36538e8399422a5913ecb7.tar.bz2
android_system_sepolicy-6cc2625a872d01ba5d36538e8399422a5913ecb7.zip
Snap for 6128439 from 49807a6c26c11d592f175adbad31ed587b9a3927 to qt-qpr2-release
Change-Id: I273fc16913682a13804adbe627adcb66e592ba7a
-rw-r--r--prebuilts/api/29.0/private/adbd.te4
-rw-r--r--private/adbd.te4
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 };