Module Name:    src
Committed By:   rtr
Date:           Sat May  2 20:10:26 UTC 2015

Modified Files:
        src/sys/kern: uipc_socket.c

Log Message:
make soconnect() fail with EAFNOSUPPORT if the domain of the socket does
not match family received in the sockaddr.

* connect() now fails as documented in connect(2).
* atf test t_connect:connect_foreign_family now passes.


To generate a diff of this commit:
cvs rdiff -u -r1.240 -r1.241 src/sys/kern/uipc_socket.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to