diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-08-19 00:13:24 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-08-19 00:13:24 -0700 |
| commit | 2dc4378f0225c80d2755f7531ad0de4c2044727a (patch) | |
| tree | ae59cc84d52549a29d23b69b49db596247881bc0 /executor/syscalls.h | |
| parent | 4e1e8035f3a8696dbf410a4576b51f68f62e6830 (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/syscalls.h')
| -rw-r--r-- | executor/syscalls.h | 3 |
1 files changed, 3 insertions, 0 deletions
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}, |
