bpfilter: document build requirements for bpfilter_umh
authorValdis Kl ē tnieks <valdis.kletnieks@vt.edu>
Sat, 9 May 2020 04:47:19 +0000 (00:47 -0400)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 25 May 2020 15:03:16 +0000 (00:03 +0900)
It's not intuitively obvious that bpfilter_umh is a statically linked binary.
Mention the toolchain requirement in the Kconfig help, so people
have an easier time figuring out what's needed.

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
net/bpfilter/Kconfig

index 045144d..84015ef 100644 (file)
@@ -13,4 +13,8 @@ config BPFILTER_UMH
        default m
        help
          This builds bpfilter kernel module with embedded user mode helper
+
+         Note: your toolchain must support building static binaries, since
+         rootfs isn't mounted at the time when __init functions are called
+         and do_execv won't be able to find the elf interpreter.
 endif