aboutsummaryrefslogtreecommitdiffstats
path: root/vm
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-16 06:41:23 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-16 06:41:23 +0100
commit4198e58824a73e58caba891994ce19e1cae7e503 (patch)
tree83e7a4d2d3db8d929cadc515c5f6e49596f9cdb5 /vm
parente17f4a5dfb4e9ad6fc12d6a94a6a978e8bec42aa (diff)
vm/vmimpl: unbreak freebsd build
Also add freebsd/netbsd host build to presubmit.
Diffstat (limited to 'vm')
-rw-r--r--vm/vmimpl/console_freebsd.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/vm/vmimpl/console_freebsd.go b/vm/vmimpl/console_freebsd.go
new file mode 100644
index 000000000..1bc79c439
--- /dev/null
+++ b/vm/vmimpl/console_freebsd.go
@@ -0,0 +1,12 @@
+// Copyright 2018 syzkaller project authors. All rights reserved.
+// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+package vmimpl
+
+// Merely to fix build.
+const (
+ unix_CBAUD = 0
+ unix_CRTSCTS = 0
+ syscall_TCGETS = 0
+ syscall_TCSETS = 0
+)