From 1852eb1814586da4d527df5b75a2850eff3f7144 Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Thu, 2 May 2019 04:30:36 +0200 Subject: sys/openbsd: add vmm descriptions (#1152) Most probably limited to input validation for now. In the future, it could be extended to provide a bootable kernel during vm create (/bsd) and turn vmid into a proper resource. The OpenBSD VMs on GCE does support vmm(4). --- executor/defs.h | 2 +- executor/syscalls.h | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'executor') diff --git a/executor/defs.h b/executor/defs.h index f183b7110..40234bb3c 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -130,7 +130,7 @@ #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "66d66a3830b5b4fd591a3693f4ba004395ee7fb6" +#define SYZ_REVISION "216c98ad3498631ce9d36fbfa6fa8f98d1f2c5cb" #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 2f0c0dce7..afbc2493f 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -15115,6 +15115,14 @@ const call_t syscalls[] = { {"ioctl$TIOCSTOP", 54}, {"ioctl$TIOCSTSTAMP", 54}, {"ioctl$TIOCSWINSZ", 54}, + {"ioctl$VMM_IOC_CREATE", 54}, + {"ioctl$VMM_IOC_INFO", 54}, + {"ioctl$VMM_IOC_INTR", 54}, + {"ioctl$VMM_IOC_READREGS", 54}, + {"ioctl$VMM_IOC_RESETCPU", 54}, + {"ioctl$VMM_IOC_RUN", 54}, + {"ioctl$VMM_IOC_TERM", 54}, + {"ioctl$VMM_IOC_WRITEREGS", 54}, {"ioctl$VT_ACTIVATE", 54}, {"ioctl$VT_GETACTIVE", 54}, {"ioctl$VT_GETMODE", 54}, @@ -15184,6 +15192,7 @@ const call_t syscalls[] = { {"openat$null", 321}, {"openat$pci", 321}, {"openat$tty", 321}, + {"openat$vmm", 321}, {"openat$wsdisplay", 321}, {"openat$wskbd", 321}, {"openat$wsmouse", 321}, -- cgit mrf-deployment