]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r294125:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 23 Jan 2016 21:04:34 +0000 (21:04 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 23 Jan 2016 21:04:34 +0000 (21:04 +0000)
commit499fa7bd4d56648acbf8231ed22f34f38d048c56
treebea4f7885c9484ff94015130b7ed96fad3539939
parent12e211150407c5d23f7a25a4e9b6cb1927aa05a9
MFC r294125:

Test for EPROTOTYPE not EPROTONOSUPPORT

- `SOCK_RAW` is the implied supported type parameter for socket(2) per route(4)
- localsw in `sys/kern/uipc_usrreq.c` doesn't have an entry for `SOCK_RAW`, so
  the prototype is invalid (this isn't explicitly documented anywhere I could
  find)

git-svn-id: svn://svn.freebsd.org/base/stable/10@294641 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
tools/regression/sockets/rtsocket/rtsocket.c
tools/regression/sockets/unix_socket/unix_socket.c