mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-20 08:41:19 -08:00
gokrazy-debug-kernel.sh builds the gokrazy kernel package's kernel again with KASAN, lockdep, DEBUG_VM and DEBUG_NET, for tailscale.com's lean harness to boot (TSWG_DEBUG_KERNEL=1). build-for-gokrazy.sh builds against it when given TSWG_KDIR, since those options change kernel data structures. Its first find: our slab caches had upstream WireGuard's names (via KMEM_CACHE), which clash with wireguard.ko or a built-in WireGuard, as gokrazy has, and make slab_common warn at load. Give them tswg_ names. Updates #426 Signed-off-by: Brad Fitzpatrick <[email protected]> Change-Id: I2e7d5448bcf8b2fb68810486f7e5d4bf2af4558d