commit | 38ffbde17ee75e212f09ea5ac66859250b862a01 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Jul 14 14:35:12 2021 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Wed Jul 14 14:35:17 2021 -0600 |
tree | 1b2b33a76079ba4bf62d5cea39c3b737e796f521 | |
parent | ab7b0e89918d8db03830378d5520076cd0a2b970 [diff] |
Root UID can synthesize AttributionSource values. We trust any incoming value from the system UID, so we should also trust values coming from the root UID, which includes many shell commands such as "svc". Bug: 193659633 Test: atest BluetoothInstrumentationTests:com.android.bluetooth.btservice.AdapterServiceTest --rerun-until-failure 100 Change-Id: Ied07731345f08fc3c4df465a3773e35c8df7c59a