summaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-11-23 07:54:52 +0100
committerDenys Vlasenko2016-11-23 07:54:52 +0100
commite32b64c4ec9272295df6852fb2a2888d7799d2f0 (patch)
treefa64292eb0697f7963060ad6d41f1d76b4978dff /modutils/insmod.c
parent5467d268f09ddddd200ab14fd402831708be5dfd (diff)
downloadbusybox-e32b64c4ec9272295df6852fb2a2888d7799d2f0.zip
busybox-e32b64c4ec9272295df6852fb2a2888d7799d2f0.tar.gz
Convert all modutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r--modutils/insmod.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 9c3c992..2ebf4be 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -6,9 +6,18 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+//config:config INSMOD
+//config: bool "insmod"
+//config: default n
+//config: depends on !MODPROBE_SMALL
+//config: select PLATFORM_LINUX
+//config: help
+//config: insmod is used to load specified modules in the running kernel.
//applet:IF_INSMOD(APPLET(insmod, BB_DIR_SBIN, BB_SUID_DROP))
+//kbuild:lib-$(CONFIG_INSMOD) += insmod.o modutils.o
+
#include "libbb.h"
#include "modutils.h"