aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-10-28 19:04:28 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-10-28 19:10:11 +0100
commit6e045ca26d969f7465819984668417c9c3b47520 (patch)
tree0048f316cbc9cabedcc6680294b9adfa1d85cae0 /executor
parent6d8b3311b9280ec497cd67855653c3e452ce02c9 (diff)
sys/syz-extract: support missing arch headers
The latest Linux kernel misses some arch-specific headers on some archs: asm/a.out.h asm/prctl.h asm/mce.h Support that.
Diffstat (limited to 'executor')
-rw-r--r--executor/defs.h10
-rw-r--r--executor/syscalls.h50
2 files changed, 55 insertions, 5 deletions
diff --git a/executor/defs.h b/executor/defs.h
index c7f5eeee6..5fbdcc586 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -60,7 +60,7 @@
#if GOARCH_386
#define GOARCH "386"
-#define SYZ_REVISION "19d08eea29fb1a170319a86df783d31aa4d29b93"
+#define SYZ_REVISION "08dfe051b3382d620914abd11b9bfb3e2a1ad1e3"
#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 "c65d8903b787f6f35b4f1794adc1558f95956a2f"
+#define SYZ_REVISION "e75911ad4c7f227f02de1d9b6ba937a5265304a7"
#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 "159cd727c1551ba9f1ddb35408ab61c3866826a3"
+#define SYZ_REVISION "b92ca200efb674df22cba2ed604a0036e14c3ae7"
#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 "ce615e0bea35e137e9751e3fb6e89bdcddf375c5"
+#define SYZ_REVISION "4c770e24a3b557a8745d4c710868546a05f0215a"
#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 "faade1eb57ce44523c093c0a30cd5067758c1953"
+#define SYZ_REVISION "3b4bcf2cc4eab89fd9c72d2b0943a2565608925a"
#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 be077dec8..8a47bb1e2 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -1897,6 +1897,31 @@ const call_t syscalls[] = {
{"ioctl$FIGETBSZ", 54},
{"ioctl$FIONREAD", 54},
{"ioctl$FITRIM", 54},
+ {"ioctl$FLOPPY_FDCLRPRM", 54},
+ {"ioctl$FLOPPY_FDDEFPRM", 54},
+ {"ioctl$FLOPPY_FDEJECT", 54},
+ {"ioctl$FLOPPY_FDFLUSH", 54},
+ {"ioctl$FLOPPY_FDFMTBEG", 54},
+ {"ioctl$FLOPPY_FDFMTEND", 54},
+ {"ioctl$FLOPPY_FDFMTTRK", 54},
+ {"ioctl$FLOPPY_FDGETDRVPRM", 54},
+ {"ioctl$FLOPPY_FDGETDRVSTAT", 54},
+ {"ioctl$FLOPPY_FDGETDRVTYP", 54},
+ {"ioctl$FLOPPY_FDGETFDCSTAT", 54},
+ {"ioctl$FLOPPY_FDGETMAXERRS", 54},
+ {"ioctl$FLOPPY_FDGETPRM", 54},
+ {"ioctl$FLOPPY_FDMSGOFF", 54},
+ {"ioctl$FLOPPY_FDMSGON", 54},
+ {"ioctl$FLOPPY_FDPOLLDRVSTAT", 54},
+ {"ioctl$FLOPPY_FDRAWCMD", 54},
+ {"ioctl$FLOPPY_FDRESET", 54},
+ {"ioctl$FLOPPY_FDSETDRVPRM", 54},
+ {"ioctl$FLOPPY_FDSETEMSGTRESH", 54},
+ {"ioctl$FLOPPY_FDSETMAXERRS", 54},
+ {"ioctl$FLOPPY_FDSETPRM", 54},
+ {"ioctl$FLOPPY_FDTWADDLE", 54},
+ {"ioctl$FLOPPY_FDWERRORCLR", 54},
+ {"ioctl$FLOPPY_FDWERRORGET", 54},
{"ioctl$FS_IOC_FIEMAP", 54},
{"ioctl$FS_IOC_FSGETXATTR", 54},
{"ioctl$FS_IOC_FSSETXATTR", 54},
@@ -6421,6 +6446,31 @@ const call_t syscalls[] = {
{"ioctl$FIGETBSZ", 54},
{"ioctl$FIONREAD", 54},
{"ioctl$FITRIM", 54},
+ {"ioctl$FLOPPY_FDCLRPRM", 54},
+ {"ioctl$FLOPPY_FDDEFPRM", 54},
+ {"ioctl$FLOPPY_FDEJECT", 54},
+ {"ioctl$FLOPPY_FDFLUSH", 54},
+ {"ioctl$FLOPPY_FDFMTBEG", 54},
+ {"ioctl$FLOPPY_FDFMTEND", 54},
+ {"ioctl$FLOPPY_FDFMTTRK", 54},
+ {"ioctl$FLOPPY_FDGETDRVPRM", 54},
+ {"ioctl$FLOPPY_FDGETDRVSTAT", 54},
+ {"ioctl$FLOPPY_FDGETDRVTYP", 54},
+ {"ioctl$FLOPPY_FDGETFDCSTAT", 54},
+ {"ioctl$FLOPPY_FDGETMAXERRS", 54},
+ {"ioctl$FLOPPY_FDGETPRM", 54},
+ {"ioctl$FLOPPY_FDMSGOFF", 54},
+ {"ioctl$FLOPPY_FDMSGON", 54},
+ {"ioctl$FLOPPY_FDPOLLDRVSTAT", 54},
+ {"ioctl$FLOPPY_FDRAWCMD", 54},
+ {"ioctl$FLOPPY_FDRESET", 54},
+ {"ioctl$FLOPPY_FDSETDRVPRM", 54},
+ {"ioctl$FLOPPY_FDSETEMSGTRESH", 54},
+ {"ioctl$FLOPPY_FDSETMAXERRS", 54},
+ {"ioctl$FLOPPY_FDSETPRM", 54},
+ {"ioctl$FLOPPY_FDTWADDLE", 54},
+ {"ioctl$FLOPPY_FDWERRORCLR", 54},
+ {"ioctl$FLOPPY_FDWERRORGET", 54},
{"ioctl$FS_IOC_FIEMAP", 54},
{"ioctl$FS_IOC_FSGETXATTR", 54},
{"ioctl$FS_IOC_FSSETXATTR", 54},