commit | eabc5da4df01564063eed65351d7973b7aa44341 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Tue Apr 24 18:54:58 2018 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Thu Apr 26 11:25:02 2018 +0900 |
tree | 049f09504dcd6025ccd22bccc4e60b3dd699050c | |
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