aboutsummaryrefslogtreecommitdiff
path: root/mDNSCore
diff options
context:
space:
mode:
authorJorge Lucangeli Obes <jorgelo@google.com>2017-01-24 16:18:21 -0500
committerJorge Lucangeli Obes <jorgelo@google.com>2017-01-24 16:36:30 -0500
commit918d4611096dbb72ea44f46c2d72ce2e36f38e3b (patch)
tree650be76a3def7d7728400a7f43bac99f6ca7f252 /mDNSCore
parent36db250fcc1cca4ca58516e6d203b820fdd27757 (diff)
downloadmdnsresponder-918d4611096dbb72ea44f46c2d72ce2e36f38e3b.tar.gz
mdnsd: Remove 'net_raw' GID.
The 'net_raw' GID is an Android addition that does not exist upstream. It grants the CAP_NET_RAW capability. However, it does not appear to be required for mdnsd. There are no raw sockets being created in the code: mdnsresponder$ grep -R "socket(" * shows no use of raw sockets. As per 'man capabilities(7)', CAP_NET_RAW is used for: """ * use RAW and PACKET sockets; * bind to any address for transparent proxying. """ Removing this use of 'net_raw' will allow us to drop the kernel patches that grant CAP_NET_RAW with the 'net_raw' GID. Bug: 33938230 Test: 'start mdnsd' works. Test: Install "Bonjour Browser" app, do a scan. Test: 'adb logcat -b all -d | grep mDNS' shows mDNSResponder starting. Change-Id: Idb67788d56115c1b36a97c1962fd03eb26e82a68
Diffstat (limited to 'mDNSCore')
0 files changed, 0 insertions, 0 deletions