aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/host
diff options
context:
space:
mode:
authorGreg Steuck <blackgnezdo@gmail.com>2018-12-10 02:20:16 -0800
committerDmitry Vyukov <dvyukov@google.com>2018-12-10 11:20:16 +0100
commit6565f24da9f4eb36702339ba290213995fcc902f (patch)
treee1e14f1299c8ce54fa8098b2226e80cdccdf1c45 /pkg/host
parent96cc4c50c3e0bd42e1a0ebad8539fc6734b60ecf (diff)
executor: add setuid sandbox for openbsd
* executor/common_bsd: add setuid sandbox Fixes #833 cc @mptre * Reduced duplications, resolved TODO.
Diffstat (limited to 'pkg/host')
-rw-r--r--pkg/host/host_openbsd.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/host/host_openbsd.go b/pkg/host/host_openbsd.go
index f750929a5..35e8a0298 100644
--- a/pkg/host/host_openbsd.go
+++ b/pkg/host/host_openbsd.go
@@ -14,4 +14,5 @@ func isSupported(c *prog.Syscall, sandbox string) (bool, string) {
func init() {
checkFeature[FeatureCoverage] = unconditionallyEnabled
checkFeature[FeatureNetworkInjection] = unconditionallyEnabled
+ checkFeature[FeatureSandboxSetuid] = unconditionallyEnabled
}