diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-02-08 08:47:37 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-02-12 18:09:14 +0100 |
| commit | 98682e5e2aefc9aad61354f4f3ac93be96002a2a (patch) | |
| tree | 04d0977ddcf677cc32fe7c8376e79765058406be /pkg/repro | |
| parent | 394d4bf77bc71747a74968f49ef153a8c9ff0cd4 (diff) | |
sys/linux: add ieee802154 descriptions
Diffstat (limited to 'pkg/repro')
| -rw-r--r-- | pkg/repro/repro.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/repro/repro.go b/pkg/repro/repro.go index aca892cb9..4433c84a9 100644 --- a/pkg/repro/repro.go +++ b/pkg/repro/repro.go @@ -204,6 +204,9 @@ func createStartOptions(cfg *mgrconfig.Config, features *host.Features, crashTyp if !features[host.FeatureWifiEmulation].Enabled { opts.Wifi = false } + if !features[host.Feature802154Emulation].Enabled { + opts.IEEE802154 = false + } } return opts } @@ -969,6 +972,13 @@ var cSimplifies = append(progSimplifies, []Simplify{ return true }, func(opts *csource.Options) bool { + if !opts.IEEE802154 { + return false + } + opts.IEEE802154 = false + return true + }, + func(opts *csource.Options) bool { if !opts.UseTmpDir || opts.Sandbox == "namespace" || opts.Cgroups { return false } |
