K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-02-09T22:30:51.070933Z K 7 svn:log V 395 - Return EAFNOSUPPORT instead of EINVAL for unsupported address family, this matches the Linux behavior. - Check if we have sufficient space allocated for socket structure, which fixes a buffer overflow when wrong length is being passed into the emulation layer. [1] PR: kern/138860 Submitted by: Mateusz Guzik Reported by: Alexander Best [1] MFC after: 2 weeks END