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 /tools | |
| parent | 394d4bf77bc71747a74968f49ef153a8c9ff0cd4 (diff) | |
sys/linux: add ieee802154 descriptions
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/syz-prog2c/prog2c.go | 1 | ||||
| -rw-r--r-- | tools/syz-reprolist/reprolist.go | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/syz-prog2c/prog2c.go b/tools/syz-prog2c/prog2c.go index 680b5ce64..6c298d479 100644 --- a/tools/syz-prog2c/prog2c.go +++ b/tools/syz-prog2c/prog2c.go @@ -95,6 +95,7 @@ func main() { USB: features["usb"].Enabled, VhciInjection: features["vhci"].Enabled, Wifi: features["wifi"].Enabled, + IEEE802154: features["ieee802154"].Enabled, UseTmpDir: *flagUseTmpDir, HandleSegv: *flagHandleSegv, Repro: *flagRepro, diff --git a/tools/syz-reprolist/reprolist.go b/tools/syz-reprolist/reprolist.go index 585eea449..44dae95fe 100644 --- a/tools/syz-reprolist/reprolist.go +++ b/tools/syz-reprolist/reprolist.go @@ -239,6 +239,9 @@ func createProg2CArgs(bug *dashapi.BugReport, opts csource.Options, file string) enable = append(enable, "wifi") flags = append(flags, "-wifi") } + if opts.IEEE802154 { + enable = append(enable, "wifi") + } if !haveEnableFlag { args = append(args, flags...) } else if len(enable) != 0 { |
