From 6ad0ae6171ea0891838243683f174c6d6eecc90c Mon Sep 17 00:00:00 2001 From: Michael Tüxen Date: Tue, 4 Dec 2018 09:58:22 +0100 Subject: sys: remove socketpair for AF_INET and AF_INET6 * OpebBSD: remove socketpair() for AF_INET and AF_INET6. socketpair() is only supported on AF_UNIX. * NetBSD: remove socketpair() for AF_INET and AF_INET6. socketpair() is only supported for AF_UNIX. * FreeBSD: remove socketpair() for AF_INET and AF_INET6. socketpair() only supports AF_UNIX. * Linux: remove socketpair for AF_INET and AF_INET6. socketpair only supports AF_UNIX. * Autogenerated files. These are manually generated for all platforms you are not running on. FreeBSD in this case. * executor: rebase. * sys/freebsd: rebase. * sys/linux: use AF_UNIX based socketpair for nbd. This was suggested by Dmitry. Fixes #845 --- sys/linux/socket_inet_dccp.txt | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'sys/linux/socket_inet_dccp.txt') diff --git a/sys/linux/socket_inet_dccp.txt b/sys/linux/socket_inet_dccp.txt index dc903a711..4812c87f8 100644 --- a/sys/linux/socket_inet_dccp.txt +++ b/sys/linux/socket_inet_dccp.txt @@ -7,23 +7,11 @@ include resource sock_dccp[sock_in] -dccp_pair { - f0 sock_dccp - f1 sock_dccp -} - socket$inet_dccp(domain const[AF_INET], type const[SOCK_DCCP], proto const[0]) sock_dccp -socketpair$inet_dccp(domain const[AF_INET], type const[SOCK_DCCP], proto const[0], fds ptr[out, dccp_pair]) resource sock_dccp6[sock_in6] -dccp6_pair { - f0 sock_dccp6 - f1 sock_dccp6 -} - socket$inet6_dccp(domain const[AF_INET6], type const[SOCK_DCCP], proto const[0]) sock_dccp6 -socketpair$inet6_dccp(domain const[AF_INET6], type const[SOCK_DCCP], proto const[0], fds ptr[out, dccp6_pair]) # Generic DCCP socket options -- cgit mrf-deployment