aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2018-12-04 09:58:22 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-12-04 08:58:22 +0000
commit6ad0ae6171ea0891838243683f174c6d6eecc90c (patch)
tree18b8054e787e7d6a4a4227e9ac925d9d27917b07 /executor
parent49e1764c75b166f3959a18f131a88b667e880f83 (diff)
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
Diffstat (limited to 'executor')
-rw-r--r--executor/defs.h16
-rw-r--r--executor/syscalls.h114
2 files changed, 8 insertions, 122 deletions
diff --git a/executor/defs.h b/executor/defs.h
index 102ab71ae..e3af6e007 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -20,7 +20,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "a3944f6fbcf482566af6a7a77f6663b51b659575"
+#define SYZ_REVISION "14c28af7b40c606be84ee475c6e8a7f63d052890"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -60,7 +60,7 @@
#if GOARCH_386
#define GOARCH "386"
-#define SYZ_REVISION "6e6a2062a3cc5953f137d8199586b94364189f09"
+#define SYZ_REVISION "6d227a9a03ecce9745700ad98d62ffd93d80932d"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -70,7 +70,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "0cdc8d9cbf84951a2994538b3469abc697843981"
+#define SYZ_REVISION "a3b0db78f1d13350633d25563406d7e4200bcdcd"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -80,7 +80,7 @@
#if GOARCH_arm
#define GOARCH "arm"
-#define SYZ_REVISION "f2451183a3e31258c017df2917e442a1613e6008"
+#define SYZ_REVISION "4ddbdf777a179a83f94f1fd6dfef1c5fe3aaade9"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -90,7 +90,7 @@
#if GOARCH_arm64
#define GOARCH "arm64"
-#define SYZ_REVISION "3e0f6d4c473b6511ab51349004402459aaa0b625"
+#define SYZ_REVISION "17b0faaa313b3bfe3fc9a522feaac6b533aab607"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -100,7 +100,7 @@
#if GOARCH_ppc64le
#define GOARCH "ppc64le"
-#define SYZ_REVISION "08c8ff693cfb6c813c4cafb9ccdc24035f2def3e"
+#define SYZ_REVISION "e62e590013fe97eeb28934d4e2eb3dd5ff98166d"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -115,7 +115,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "f7c2c212cb60211857a9c1c50c9336f899bb9ce9"
+#define SYZ_REVISION "136ada16687ed07573bc6919442f35d4dc4d2f8b"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -130,7 +130,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "05e6185f1ea57bbe311ffe3829b1cca890f472fc"
+#define SYZ_REVISION "c2110f93ae48e34a74b88b9a72075b7a376f55cb"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
diff --git a/executor/syscalls.h b/executor/syscalls.h
index 34131e947..98c9f99f4 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -463,16 +463,6 @@ const call_t syscalls[] = {
{"socket$inet_udplite", 97},
{"socket$unix", 97},
{"socketpair", 135},
- {"socketpair$inet", 135},
- {"socketpair$inet6", 135},
- {"socketpair$inet6_icmp", 135},
- {"socketpair$inet6_icmp_raw", 135},
- {"socketpair$inet6_tcp", 135},
- {"socketpair$inet6_udp", 135},
- {"socketpair$inet_icmp", 135},
- {"socketpair$inet_icmp_raw", 135},
- {"socketpair$inet_tcp", 135},
- {"socketpair$inet_udp", 135},
{"socketpair$unix", 135},
{"stat", 188},
{"symlink", 57},
@@ -3385,27 +3375,7 @@ const call_t syscalls[] = {
{"socket$vsock_stream", 359},
{"socket$xdp", 359},
{"socketpair", 360},
- {"socketpair$ax25", 360},
- {"socketpair$inet", 360},
- {"socketpair$inet6", 360},
- {"socketpair$inet6_dccp", 360},
- {"socketpair$inet6_icmp", 360},
- {"socketpair$inet6_icmp_raw", 360},
- {"socketpair$inet6_sctp", 360},
- {"socketpair$inet6_tcp", 360},
- {"socketpair$inet6_udp", 360},
- {"socketpair$inet6_udplite", 360},
- {"socketpair$inet_dccp", 360},
- {"socketpair$inet_icmp", 360},
- {"socketpair$inet_icmp_raw", 360},
- {"socketpair$inet_sctp", 360},
- {"socketpair$inet_smc", 360},
- {"socketpair$inet_tcp", 360},
- {"socketpair$inet_udp", 360},
- {"socketpair$inet_udplite", 360},
- {"socketpair$ipx", 360},
{"socketpair$nbd", 360},
- {"socketpair$packet", 360},
{"socketpair$unix", 360},
{"splice", 313},
{"stat", 106},
@@ -5754,27 +5724,7 @@ const call_t syscalls[] = {
{"socket$vsock_stream", 41},
{"socket$xdp", 41},
{"socketpair", 53},
- {"socketpair$ax25", 53},
- {"socketpair$inet", 53},
- {"socketpair$inet6", 53},
- {"socketpair$inet6_dccp", 53},
- {"socketpair$inet6_icmp", 53},
- {"socketpair$inet6_icmp_raw", 53},
- {"socketpair$inet6_sctp", 53},
- {"socketpair$inet6_tcp", 53},
- {"socketpair$inet6_udp", 53},
- {"socketpair$inet6_udplite", 53},
- {"socketpair$inet_dccp", 53},
- {"socketpair$inet_icmp", 53},
- {"socketpair$inet_icmp_raw", 53},
- {"socketpair$inet_sctp", 53},
- {"socketpair$inet_smc", 53},
- {"socketpair$inet_tcp", 53},
- {"socketpair$inet_udp", 53},
- {"socketpair$inet_udplite", 53},
- {"socketpair$ipx", 53},
{"socketpair$nbd", 53},
- {"socketpair$packet", 53},
{"socketpair$unix", 53},
{"splice", 275},
{"stat", 4},
@@ -8076,27 +8026,7 @@ const call_t syscalls[] = {
{"socket$vsock_stream", 281},
{"socket$xdp", 281},
{"socketpair", 288},
- {"socketpair$ax25", 288},
- {"socketpair$inet", 288},
- {"socketpair$inet6", 288},
- {"socketpair$inet6_dccp", 288},
- {"socketpair$inet6_icmp", 288},
- {"socketpair$inet6_icmp_raw", 288},
- {"socketpair$inet6_sctp", 288},
- {"socketpair$inet6_tcp", 288},
- {"socketpair$inet6_udp", 288},
- {"socketpair$inet6_udplite", 288},
- {"socketpair$inet_dccp", 288},
- {"socketpair$inet_icmp", 288},
- {"socketpair$inet_icmp_raw", 288},
- {"socketpair$inet_sctp", 288},
- {"socketpair$inet_smc", 288},
- {"socketpair$inet_tcp", 288},
- {"socketpair$inet_udp", 288},
- {"socketpair$inet_udplite", 288},
- {"socketpair$ipx", 288},
{"socketpair$nbd", 288},
- {"socketpair$packet", 288},
{"socketpair$unix", 288},
{"splice", 340},
{"stat", 106},
@@ -10375,27 +10305,7 @@ const call_t syscalls[] = {
{"socket$vsock_stream", 198},
{"socket$xdp", 198},
{"socketpair", 199},
- {"socketpair$ax25", 199},
- {"socketpair$inet", 199},
- {"socketpair$inet6", 199},
- {"socketpair$inet6_dccp", 199},
- {"socketpair$inet6_icmp", 199},
- {"socketpair$inet6_icmp_raw", 199},
- {"socketpair$inet6_sctp", 199},
- {"socketpair$inet6_tcp", 199},
- {"socketpair$inet6_udp", 199},
- {"socketpair$inet6_udplite", 199},
- {"socketpair$inet_dccp", 199},
- {"socketpair$inet_icmp", 199},
- {"socketpair$inet_icmp_raw", 199},
- {"socketpair$inet_sctp", 199},
- {"socketpair$inet_smc", 199},
- {"socketpair$inet_tcp", 199},
- {"socketpair$inet_udp", 199},
- {"socketpair$inet_udplite", 199},
- {"socketpair$ipx", 199},
{"socketpair$nbd", 199},
- {"socketpair$packet", 199},
{"socketpair$unix", 199},
{"splice", 76},
{"statfs", 43},
@@ -12543,27 +12453,7 @@ const call_t syscalls[] = {
{"socket$vsock_stream", 326},
{"socket$xdp", 326},
{"socketpair", 333},
- {"socketpair$ax25", 333},
- {"socketpair$inet", 333},
- {"socketpair$inet6", 333},
- {"socketpair$inet6_dccp", 333},
- {"socketpair$inet6_icmp", 333},
- {"socketpair$inet6_icmp_raw", 333},
- {"socketpair$inet6_sctp", 333},
- {"socketpair$inet6_tcp", 333},
- {"socketpair$inet6_udp", 333},
- {"socketpair$inet6_udplite", 333},
- {"socketpair$inet_dccp", 333},
- {"socketpair$inet_icmp", 333},
- {"socketpair$inet_icmp_raw", 333},
- {"socketpair$inet_sctp", 333},
- {"socketpair$inet_smc", 333},
- {"socketpair$inet_tcp", 333},
- {"socketpair$inet_udp", 333},
- {"socketpair$inet_udplite", 333},
- {"socketpair$ipx", 333},
{"socketpair$nbd", 333},
- {"socketpair$packet", 333},
{"socketpair$unix", 333},
{"splice", 283},
{"stat", 106},
@@ -12991,8 +12881,6 @@ const call_t syscalls[] = {
{"socket$inet6", 394},
{"socket$unix", 394},
{"socketpair", 135},
- {"socketpair$inet", 135},
- {"socketpair$inet6", 135},
{"socketpair$unix", 135},
{"stat", 439},
{"symlink", 57},
@@ -13225,8 +13113,6 @@ const call_t syscalls[] = {
{"socket$inet6", 97},
{"socket$unix", 97},
{"socketpair", 135},
- {"socketpair$inet", 135},
- {"socketpair$inet6", 135},
{"socketpair$unix", 135},
{"stat", 38},
{"symlink", 57},