diff options
| author | Remi NGUYEN VAN <reminv@google.com> | 2018-04-24 18:54:58 +0900 |
|---|---|---|
| committer | Remi NGUYEN VAN <reminv@google.com> | 2018-04-26 11:25:02 +0900 |
| commit | eabc5da4df01564063eed65351d7973b7aa44341 (patch) | |
| tree | 049f09504dcd6025ccd22bccc4e60b3dd699050c /server/InterfaceController.cpp | |
| parent | 05827de37e5413d165bf655bdfd13e3d49c906d1 (diff) | |
Return -EAFNOSUPPORT for invalid sockets
Previously NetworkTest#testBindSocketOfLocalSocketThrows would fail when
selinux is disabled because netd does not check for local sockets.
Bug: b/78484123
Test: NetworkTest#testBindSocketOfLocalSocketThrows passes w/o selinux
Change-Id: Ia696bb9f25df46177303bac5127ed2f6ada56e7d
Diffstat (limited to 'server/InterfaceController.cpp')
0 files changed, 0 insertions, 0 deletions
