From 6e045ca26d969f7465819984668417c9c3b47520 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 28 Oct 2018 19:04:28 +0100 Subject: 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. --- executor/syscalls.h | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) (limited to 'executor/syscalls.h') 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}, -- cgit mrf-deployment