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/nbd_arm.const | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/linux/nbd_arm.const') diff --git a/sys/linux/nbd_arm.const b/sys/linux/nbd_arm.const index e056ff2e6..e52162383 100644 --- a/sys/linux/nbd_arm.const +++ b/sys/linux/nbd_arm.const @@ -1,5 +1,5 @@ # AUTOGENERATED FILE -AF_INET = 2 +AF_UNIX = 1 NBD_ATTR_BLOCK_SIZE_BYTES = 3 NBD_ATTR_CLIENT_FLAGS = 6 NBD_ATTR_DEAD_CONN_TIMEOUT = 8 -- cgit mrf-deployment