summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2018-05-01 16:19:01 +0900
committerLorenzo Colitti <lorenzo@google.com>2018-05-09 01:04:05 +0900
commit5f02720c880de23c053d6054fe8a3165f23ed749 (patch)
treeffd987f278962975c51d4af222d53dc4825be72c /libc/malloc_hooks/malloc_hooks.cpp
parent1d509bc8785ef00cc57426ee79076623008da105 (diff)
fchown DNS lookup sockets to AID_DNS.
Currently DNS lookups are all sent as UID 0. In N we added an AID_DNS user, but we never used it. A separate UID allows us to account for and route DNS traffic differently from other UID 0 traffic such as kernel-originated traffic. Bug: 70673901 Test: DNS lookups continue to work Test: netd_{unit,integration}_test pass Change-Id: Ife3ca7df45de51b92437d2cfe627fb4703b672fb
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions