diff options
| author | Sreeram Ramachandran <sreeram@google.com> | 2014-05-30 19:59:51 -0700 |
|---|---|---|
| committer | Sreeram Ramachandran <sreeram@google.com> | 2014-06-02 16:22:27 +0000 |
| commit | 414173882a87ded2fdd4f5181cd7dff3842a8917 (patch) | |
| tree | bff6b58e9677426f3bdfb55088ea10f1b23a757b /server/InterfaceController.cpp | |
| parent | 82eab785bd5cb2eff0a263f5b0dcde13e9139588 (diff) | |
Use AF_INET sockets when checking netIds in setNetworkFor{Process,Resolv}(). DO NOT MERGE
AF_UNIX sockets don't need to be marked, so we don't give netd the permission to
operate on them (cf: netd.te). I.e., netd doesn't expect to receive them.
Make sure that the creation of the AF_INET socket doesn't trigger another
wasteful check with netd by calling the libc version directly.
Bug: 13885501
Change-Id: I6b549232e57cacd47501edcefa4c0b4b79df9da0
(cherry picked from commit 2756045bebaac342f7cb70dad11519f896d44833)
Diffstat (limited to 'server/InterfaceController.cpp')
0 files changed, 0 insertions, 0 deletions
