summaryrefslogtreecommitdiff
path: root/net/bpfilter
diff options
context:
space:
mode:
authorValdis Kl ē tnieks <valdis.kletnieks@vt.edu>2020-05-09 00:47:19 -0400
committerMasahiro Yamada <masahiroy@kernel.org>2020-05-26 00:03:16 +0900
commit9f64fbdb774838db1445268fa8c46041fb1c28ab (patch)
tree4520331e28e7fe3514aae0b840235782c984825e /net/bpfilter
parent6ce16f2bc879fb8943d2165f81862c6f89ec1b77 (diff)
bpfilter: document build requirements for bpfilter_umh
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>
Diffstat (limited to 'net/bpfilter')
-rw-r--r--net/bpfilter/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/bpfilter/Kconfig b/net/bpfilter/Kconfig
index 045144d4a42c..84015ef3ee27 100644
--- a/net/bpfilter/Kconfig
+++ b/net/bpfilter/Kconfig
@@ -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