Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2f84ab0a authored by Sehee Park's avatar Sehee Park Committed by Lorenzo Colitti
Browse files

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: default avatarSehee Park <sehee32.park@samsung.com>
parent 3f52faee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment