author: Rasmus Villemoes <linux@rasmusvillemoes.dk> 2021-05-06 18:05:45 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-05-07 00:26:33 -0700
commit: 17652f4240f7a501ecc13e9fdb06982569cde51f
parent: e7cb072eb988e46295512617c39d004f9e1c26f8
Commit Summary:
Diffstat:
1 file changed, 12 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 1413413fcb9f..d83cb634c24f 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -2299,6 +2299,18 @@ config MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS
If unsure, say N.
+config MODPROBE_PATH
+ string "Path to modprobe binary"
+ default "/sbin/modprobe"
+ help
+ When kernel code requests a module, it does so by calling
+ the "modprobe" userspace utility. This option allows you to
+ set the path where that binary is found. This can be changed
+ at runtime via the sysctl file
+ /proc/sys/kernel/modprobe. Setting this to the empty string
+ removes the kernel's ability to request modules (but
+ userspace can still load modules explicitly).
+
config TRIM_UNUSED_KSYMS
bool "Trim unused exported kernel symbols" if EXPERT
depends on !COMPILE_TEST