aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-08-19 00:13:24 -0700
committerDmitry Vyukov <dvyukov@google.com>2018-08-19 00:13:24 -0700
commit2dc4378f0225c80d2755f7531ad0de4c2044727a (patch)
treeae59cc84d52549a29d23b69b49db596247881bc0 /executor
parent4e1e8035f3a8696dbf410a4576b51f68f62e6830 (diff)
prog: don't add fallback signal after seccomp
seccomp filter can produce arbitrary errno values for subsequent syscalls. Don't trust anything afterwards.
Diffstat (limited to 'executor')
-rw-r--r--executor/defs.h2
-rw-r--r--executor/syscalls.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/executor/defs.h b/executor/defs.h
index fa49c4cff..225c05684 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -150,7 +150,7 @@
#if GOARCH_64
#define GOARCH "64"
-#define SYZ_REVISION "285bb68296c57fc93062731e5c0ecfbfc105d685"
+#define SYZ_REVISION "3a71e90e1d9f2ae8b0cbfa9e76a429a74ca2ce90"
#define SYZ_EXECUTOR_USES_FORK_SERVER 0
#define SYZ_EXECUTOR_USES_SHMEM 0
#define SYZ_PAGE_SIZE 4096
diff --git a/executor/syscalls.h b/executor/syscalls.h
index 6aaa5d7be..47c7b1af8 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -11628,6 +11628,8 @@ const call_t syscalls[] = {
#if GOARCH_64
const call_t syscalls[] = {
+ {"fallback$0", 0},
+ {"fallback$1", 0},
{"foo$any0", 0},
{"foo$anyres", 0},
{"foo$fmt0", 0},
@@ -11645,6 +11647,7 @@ const call_t syscalls[] = {
{"mutate6", 0},
{"mutate7", 0},
{"mutate8", 0},
+ {"seccomp", 0},
{"serialize0", 0},
{"serialize1", 0},
{"syz_compare", 0, (syscall_t)syz_compare},