aboutsummaryrefslogtreecommitdiffstats
path: root/sys/syz-extract/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-11-25 14:28:32 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-11-25 14:30:28 +0100
commit6bfd3dd23bb76adbc71f245930d5969243843641 (patch)
treeddcc652b5506ebfe77176919d758177240e2594a /sys/syz-extract/linux.go
parent371caf773385df0a40211aa2f91c5fe131a338ee (diff)
sys/linux: update to current linux-next
Regenerate consts on linux-next next-20191125. DEVLINK_ATTR_NETNS_* consts were chifted by 1. __BPF_FUNC_MAX_ID increased as usual. CRYPTO_ALG_TYPE_BLKCIPHER, CRYPTO_ALG_TYPE_ABLKCIPHER were removed, replace them with CRYPTO_ALG_TYPE_SKCIPHER.
Diffstat (limited to 'sys/syz-extract/linux.go')
-rw-r--r--sys/syz-extract/linux.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/syz-extract/linux.go b/sys/syz-extract/linux.go
index c5932e30b..b57375b55 100644
--- a/sys/syz-extract/linux.go
+++ b/sys/syz-extract/linux.go
@@ -90,7 +90,11 @@ func (*linux) prepareArch(arch *Arch) error {
"-e", "NETFILTER",
// include/net/mptcp.h is the only header in kernel that guards some
// of the consts with own config, so we need to enable CONFIG_MPTCP.
- "-e", "MPTCP")
+ "-e", "MPTCP",
+ // security/smack/smack.h requires this to build.
+ "-e", "SECURITY",
+ "-e", "SECURITY_SMACK",
+ )
if err != nil {
return err
}