diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2019-02-04 10:25:11 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2019-02-04 10:25:11 +0900 |
commit | d68c025ac7d3e61708747560f5b4803923c3c4f5 (patch) | |
tree | 0f5dab6c63cb6c670498784927fb229eea7b9234 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 2638587995dbaacf8c71300c6c306e9ae60b9555 (diff) |
Call clearCallingIdentity before notifyDnsResponse
The NetworkStack only expects calls from UID 1000 (system_server) or the
Bluetooth app. onDnsEvent is triggered by Netd which has UID 0.
One alternative would be to allow UID 0 to call the NetworkStack
directly, but being more restrictive on callers sounds like a better
option.
Test: Flashed, booted, atest FrameworksNetTests
Change-Id: Id7fb30f1e25ec70fbfbc90f3c7fc95ba18c274e6
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions