From 2420edb02ee04fc1b7dc39e7d5e17f98e3e3a24b Mon Sep 17 00:00:00 2001 From: Zach Riggle Date: Mon, 26 Jun 2017 08:32:38 -0500 Subject: Port console to Darwin (#253) * Port console to Darwin * Get syz-executor to build correctly * Do not export unix and syscall constants * Add presubmit test * Add myself to contributors --- vm/vmimpl/linux.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 vm/vmimpl/linux.go (limited to 'vm/vmimpl/linux.go') diff --git a/vm/vmimpl/linux.go b/vm/vmimpl/linux.go new file mode 100644 index 000000000..d25b263fc --- /dev/null +++ b/vm/vmimpl/linux.go @@ -0,0 +1,18 @@ +// Copyright 2017 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. + +// +build linux + +package vmimpl + +import ( + "syscall" + "unix" +) + +const ( + unix_CBAUD = unix.CBAUD + unix_CRTSCTS = unix.CRTSCTS + syscall_TCGETS = syscall.TCGETS + syscall_TCSETS = syscall.TCSETS +) -- cgit mrf-deployment