Add kern_listen(), kern_shutdown(), and kern_socket(), and use them
authortrasz <trasz@FreeBSD.org>
Mon, 30 Jan 2017 12:57:22 +0000 (12:57 +0000)
committertrasz <trasz@FreeBSD.org>
Mon, 30 Jan 2017 12:57:22 +0000 (12:57 +0000)
commita5463064988ebab24f5bd2837bb9cb09e4fc97f7
treefddc442e34ea7fd321bf53e72757ece5efeb86e6
parent3612389ea7fb87e55eda228e5d2bc0e2b8f20dda
Add kern_listen(), kern_shutdown(), and kern_socket(), and use them
instead of their sys_*() counterparts in various compats. The svr4
is left untouched, because there's no point.

Reviewed by: ed@, kib@
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D9367
sys/compat/cloudabi/cloudabi_fd.c
sys/compat/cloudabi/cloudabi_sock.c
sys/compat/linux/linux_socket.c
sys/kern/uipc_syscalls.c
sys/sys/syscallsubr.h