From 98c1bf1cfb0f9530ab2107c29a52ba15fc4fefa3 Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Thu, 28 Mar 2019 21:24:19 +0100 Subject: sys/openbsd: add bpf descriptions --- executor/defs.h | 2 +- executor/syscalls.h | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) (limited to 'executor') diff --git a/executor/defs.h b/executor/defs.h index 10c220ca3..abc55e1e7 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -130,7 +130,7 @@ #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "c733e73f8e86521a832739688afba80475b07ef0" +#define SYZ_REVISION "fed31a69d794e7ddd91acc058a2fb8e2ca8ea87a" #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 f513a33c8..905e14105 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -14791,6 +14791,30 @@ const call_t syscalls[] = { {"getsockopt$sock_linger", 118}, {"getsockopt$sock_timeval", 118}, {"getuid", 24}, + {"ioctl$BIOCFLUSH", 54}, + {"ioctl$BIOCGBLEN", 54}, + {"ioctl$BIOCGDIRFILT", 54}, + {"ioctl$BIOCGDLTLIST", 54}, + {"ioctl$BIOCGETIF", 54}, + {"ioctl$BIOCGFILDROP", 54}, + {"ioctl$BIOCGHDRCMPLT", 54}, + {"ioctl$BIOCGRSIG", 54}, + {"ioctl$BIOCGRTIMEOUT", 54}, + {"ioctl$BIOCGSTATS", 54}, + {"ioctl$BIOCIMMEDIATE", 54}, + {"ioctl$BIOCLOCK", 54}, + {"ioctl$BIOCPROMISC", 54}, + {"ioctl$BIOCSBLEN", 54}, + {"ioctl$BIOCSDIRFILT", 54}, + {"ioctl$BIOCSDLT", 54}, + {"ioctl$BIOCSETF", 54}, + {"ioctl$BIOCSETIF", 54}, + {"ioctl$BIOCSETWF", 54}, + {"ioctl$BIOCSFILDROP", 54}, + {"ioctl$BIOCSHDRCMPLT", 54}, + {"ioctl$BIOCSRSIG", 54}, + {"ioctl$BIOCSRTIMEOUT", 54}, + {"ioctl$BIOCVERSION", 54}, {"ioctl$KDDISABIO", 54}, {"ioctl$KDENABIO", 54}, {"ioctl$KDGETLED", 54}, @@ -14899,6 +14923,7 @@ const call_t syscalls[] = { {"open", 5}, {"open$dir", 5}, {"openat", 321}, + {"openat$bpf", 321}, {"openat$null", 321}, {"openat$tty", 321}, {"openat$wsdisplay", 321}, -- cgit mrf-deployment