From b655d91b8cb3b60be16c940d7bf4b192c2624a7b Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Wed, 4 Mar 2020 16:46:46 +0100 Subject: 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. --- sys/openbsd/dev_pf_amd64.const | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sys/openbsd/dev_pf_amd64.const (limited to 'sys/openbsd/dev_pf_amd64.const') diff --git a/sys/openbsd/dev_pf_amd64.const b/sys/openbsd/dev_pf_amd64.const new file mode 100644 index 000000000..f5a32c62a --- /dev/null +++ b/sys/openbsd/dev_pf_amd64.const @@ -0,0 +1,4 @@ +# AUTOGENERATED FILE +AT_FDCWD = 18446744073709551516 +DIOCKILLSTATES = 3235922985 +SYS_openat = 321 -- cgit mrf-deployment