diff options
| author | Anton Lindqvist <anton@basename.se> | 2019-05-02 04:30:36 +0200 |
|---|---|---|
| committer | Greg Steuck <gnezdo@google.com> | 2019-05-01 19:30:36 -0700 |
| commit | 1852eb1814586da4d527df5b75a2850eff3f7144 (patch) | |
| tree | 85f58f3e7b58858332594a8e838dcdca27423407 /executor | |
| parent | c7c3f772cad4718f4c777362d5183ad20bce85db (diff) | |
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).
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/defs.h | 2 | ||||
| -rw-r--r-- | executor/syscalls.h | 9 |
2 files changed, 10 insertions, 1 deletions
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}, |
