To load GPLONLY symbols its is required that CHECK_TAINTED_MODULES be
[oweals/busybox.git] / modutils / Config.in
1 #
2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
4 #
5
6 menu "Linux Module Utilities"
7
8 config CONFIG_INSMOD
9         bool "insmod"
10         default n
11         help
12           insmod is used to load specified modules in the running kernel.
13
14 config CONFIG_FEATURE_OLD_MODULE_INTERFACE
15         bool "  Support older (pre 2.1) Linux kernels"
16         default n
17         depends on CONFIG_INSMOD
18         help
19           Provide insmod support for older (pre 2.1) Linux kernels.
20
21 if CONFIG_INSMOD && !CONFIG_FEATURE_OLD_MODULE_INTERFACE
22     config CONFIG_FEATURE_NEW_MODULE_INTERFACE
23             default y
24     comment "  Support new (post 2.1) Linux kernels (Forced enabled)"
25 endif
26
27 if CONFIG_FEATURE_OLD_MODULE_INTERFACE
28 config CONFIG_FEATURE_NEW_MODULE_INTERFACE
29         bool "  Support new (post 2.1) Linux kernels"
30         default y
31         depends on CONFIG_INSMOD
32         help
33           Support module loading for newer (post 2.1) Linux kernels.
34 endif
35
36 config CONFIG_FEATURE_INSMOD_VERSION_CHECKING
37         bool "  Module version checking"
38         default n
39         depends on CONFIG_INSMOD
40         help
41           Support checking of versions for modules.  This is used to
42           ensure that the kernel and module are made for each other.
43
44 config CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
45         bool "  Add module symbols to kernel symbol table"
46         default n
47         depends on CONFIG_INSMOD
48         help
49           By adding module symbols to the kernel symbol table, Oops messages 
50           occuring within kernel modules can be properly debugged.  By enabling
51           this feature, module symbols will always be added to the kernel symbol 
52           table for properly debugging support.  If you are not interested in
53           Oops messages from kernel modules, say N.
54
55 config CONFIG_FEATURE_INSMOD_LOADINKMEM
56         bool "  In kernel memory optimization (uClinux only)"
57         default n
58         depends on CONFIG_INSMOD
59         help
60           This is a special uClinux only memory optimization that lets insmod
61           load the specified kernel module directly into kernel space, reducing
62           memory usage by preventing the need for two copies of the module
63           being loaded into memory.
64
65 config CONFIG_FEATURE_INSMOD_LOAD_MAP
66         bool "  Enable load map (-m) option" 
67         default n
68         depends on CONFIG_INSMOD
69         help
70           Enabling this, one would be able to get a load map
71           output on stdout. This makes kernel module debugging
72           easier.
73           If you don't plan to debug kernel modules, you
74           don't need this option.
75
76 config CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
77         bool "  Symbols in load map"
78         default y
79         depends on CONFIG_FEATURE_INSMOD_LOAD_MAP
80         help
81           Without this option, -m will only output section
82           load map.
83           With this option, -m will also output symbols
84           load map.
85
86 config CONFIG_LSMOD
87         bool "lsmod"
88         default n
89         help
90           lsmod is used to display a list of loaded modules.
91
92 config CONFIG_FEATURE_QUERY_MODULE_INTERFACE
93         bool "  Support lsmod query_module interface (add 638 bytes)"
94         default y
95         depends on CONFIG_LSMOD && CONFIG_FEATURE_NEW_MODULE_INTERFACE
96         help
97           This will provide some extra information about each module when
98           running lsmod.  The fields provided are address, size, flags and
99           usage count.
100
101 config CONFIG_MODPROBE
102         bool "modprobe"
103         default n
104         help
105           Handle the loading of modules, and their dependancies on a high 
106           level.
107
108 config CONFIG_RMMOD
109         bool "rmmod"
110         default n
111         help
112           rmmod is used to unload specified modules from the kernel.
113
114 config CONFIG_FEATURE_CHECK_TAINTED_MODULE
115         bool "Support tainted module checking with new kernels"
116         default y
117         depends on CONFIG_INSMOD || CONFIG_LSMOD
118         help
119           Support checking for tainted modules.  These are usually binary
120           only modules that will make the linux-kernel list ignore your
121           support request.
122           This option is required to support GPLONLY modules.
123
124
125 endmenu
126