From b771b17ec95715c24715d730363f6f07bc46fd4f Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Tue, 28 Aug 2018 19:07:26 +0200 Subject: Add mandatory OpenBSD bits (#689) all: add openbsd support squash of the following commits: * openbsd: add mandatory bits * report: add OpenBSD support * executor: skip building kvm on OpenBSD * executor: add OpenBSD support Linking against libutil is necessary due to usage of openpty(3). * executor: fix typo in fail() message * fixup! report: add OpenBSD support * fixup! openbsd: add mandatory bits * fixup! openbsd: add mandatory bits * fixup! openbsd: add mandatory bits * fixup! report: add OpenBSD support * gometalinter: skip sys/openbsd --- pkg/host/host_openbsd.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pkg/host/host_openbsd.go (limited to 'pkg/host') diff --git a/pkg/host/host_openbsd.go b/pkg/host/host_openbsd.go new file mode 100644 index 000000000..238edd46d --- /dev/null +++ b/pkg/host/host_openbsd.go @@ -0,0 +1,16 @@ +// 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. + +package host + +import ( + "github.com/google/syzkaller/prog" +) + +func isSupported(c *prog.Syscall, sandbox string) (bool, string) { + return true, "" +} + +func init() { + checkFeature[FeatureCoverage] = unconditionallyEnabled +} -- cgit mrf-deployment