diff options
| author | Sehee Park <sehee32.park@samsung.com> | 2019-05-07 13:02:45 +0900 |
|---|---|---|
| committer | Lorenzo Colitti <lorenzo@google.com> | 2019-06-27 18:51:48 +0900 |
| commit | 2f84ab0aa00874d856cff1599e08a73f70d2ed4e (patch) | |
| tree | 15e05ad0166e4b6c6ea499955830ab80de02183c /server/ControllersTest.cpp | |
| parent | 3f52faeeffb8c5d0522d759a446bef9c3465c2a5 (diff) | |
fchown DNS lookup sockets to UID of the app that sent the DNS lookup.
Currently DNS lookups are all sent as AID_DNS. A seperate UID of the
app that sent the DNS lookup allows us to account for and route DNS
traffic differently from AID_DNS.
Also, currently DNS over TLS lookups are all sent as UID 0.
A seperate UID(AID_DNS) allows us to account for and route DNS over
TLS traffic differently from other UID 0 traffic.
Bug: 132125333
Test: system/netd && atest resolv_integration_test
Change-Id: I47a8d41d2a9bfd9af44efe291b56b46c7da9c346
Signed-off-by: Sehee Park <sehee32.park@samsung.com>
Diffstat (limited to 'server/ControllersTest.cpp')
0 files changed, 0 insertions, 0 deletions
