diff options
| author | Greg Steuck <syzkaller@nest.cx> | 2018-11-18 11:29:12 -0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-11-19 20:29:38 -0800 |
| commit | 9bc2a903f0cb0556e011b580d8be93a897245653 (patch) | |
| tree | a445e9a2798ba7f2d30aa7b0bc67727f311610e3 /pkg | |
| parent | 99721ceaabeb03e93e05ea4a7c623c9adffebe9a (diff) | |
openbsd: enable packet injection
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/host/host.go | 2 | ||||
| -rw-r--r-- | pkg/host/host_openbsd.go | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/pkg/host/host.go b/pkg/host/host.go index 36c42de65..4b9b7be18 100644 --- a/pkg/host/host.go +++ b/pkg/host/host.go @@ -82,7 +82,7 @@ func Check(target *prog.Target) (*Features, error) { FeatureSandboxAndroidUntrustedApp: {Name: "Android sandbox", Reason: unsupported}, FeatureFaultInjection: {Name: "fault injection", Reason: unsupported}, FeatureLeakChecking: {Name: "leak checking", Reason: unsupported}, - FeatureNetworkInjection: {Name: "net packed injection", Reason: unsupported}, + FeatureNetworkInjection: {Name: "net packet injection", Reason: unsupported}, FeatureNetworkDevices: {Name: "net device setup", Reason: unsupported}, } if target.OS == "akaros" || target.OS == "test" { diff --git a/pkg/host/host_openbsd.go b/pkg/host/host_openbsd.go index 238edd46d..f750929a5 100644 --- a/pkg/host/host_openbsd.go +++ b/pkg/host/host_openbsd.go @@ -13,4 +13,5 @@ func isSupported(c *prog.Syscall, sandbox string) (bool, string) { func init() { checkFeature[FeatureCoverage] = unconditionallyEnabled + checkFeature[FeatureNetworkInjection] = unconditionallyEnabled } |
