aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls.h
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@basename.se>2020-03-04 16:46:46 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-03-05 09:14:28 +0100
commitb655d91b8cb3b60be16c940d7bf4b192c2624a7b (patch)
tree106c7619ff6e501845f4da6538458170c74cd000 /executor/syscalls.h
parent576fb9bc341530127b33f5c588a305f085f39a4f (diff)
sys/openbsd: prevent killing the ssh VM connection
This is one of the root causes of the 'no output from test machine' panic. Issuing a DIOCKILLSTATES ioctl on a /dev/pf file descriptor will cause state associated with ongoing connections to be purged; effectively killing the ssh connection to the VM. Including net/pfvar.h is necessary in order to make use of the DIOCKILLSTATES define.
Diffstat (limited to 'executor/syscalls.h')
-rw-r--r--executor/syscalls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/executor/syscalls.h b/executor/syscalls.h
index ada3902d4..410c1d816 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -22281,6 +22281,7 @@ const call_t syscalls[] = {
{"openat$klog", 321},
{"openat$null", 321},
{"openat$pci", 321},
+ {"openat$pf", 321},
{"openat$speaker", 321},
{"openat$tty", 321},
{"openat$vmm", 321},