From 3ed5cc82f2b8742186d8fd3fc2d715d07e1d88b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valdis=20Kl=20=C4=93=20tnieks?= Date: Sat, 9 May 2020 00:47:19 -0400 Subject: [PATCH] UPSTREAM: 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. Change-Id: I06d348723791d67a56271cb39f2445de562f763d Signed-off-by: Valdis Kletnieks Signed-off-by: Masahiro Yamada Signed-off-by: Tashfin Shakeer Rhythm --- net/bpfilter/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net/bpfilter/Kconfig b/net/bpfilter/Kconfig index c3142b9d5e2f..e30ae242b909 100644 --- a/net/bpfilter/Kconfig +++ b/net/bpfilter/Kconfig @@ -14,4 +14,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