aboutsummaryrefslogtreecommitdiffstats
path: root/sys/syz-extract/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-02-08 08:47:37 +0100
committerDmitry Vyukov <dvyukov@google.com>2021-02-12 18:09:14 +0100
commit98682e5e2aefc9aad61354f4f3ac93be96002a2a (patch)
tree04d0977ddcf677cc32fe7c8376e79765058406be /sys/syz-extract/linux.go
parent394d4bf77bc71747a74968f49ef153a8c9ff0cd4 (diff)
sys/linux: add ieee802154 descriptions
Diffstat (limited to 'sys/syz-extract/linux.go')
-rw-r--r--sys/syz-extract/linux.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/syz-extract/linux.go b/sys/syz-extract/linux.go
index 53dd8b09a..c7f1f02e3 100644
--- a/sys/syz-extract/linux.go
+++ b/sys/syz-extract/linux.go
@@ -98,6 +98,8 @@ func (*linux) prepareArch(arch *Arch) error {
// security/smack/smack.h requires this to build.
"-e", "SECURITY",
"-e", "SECURITY_SMACK",
+ // include/net/nl802154.h does not define some consts without this.
+ "-e", "IEEE802154", "-e", "IEEE802154_NL802154_EXPERIMENTAL",
)
if err != nil {
return err