1 # DO NOT EDIT. This file is generated from Config.src
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-language.txt.
7 menu "Busybox Library Tuning"
9 config BUSYBOX_CONFIG_FEATURE_SYSTEMD
10 bool "Enable systemd support"
13 If you plan to use busybox daemons on a system where daemons
14 are controlled by systemd, enable this option.
15 If you don't use systemd, it is still safe to enable it,
16 but the downside is increased code size.
17 config BUSYBOX_CONFIG_FEATURE_RTMINMAX
18 bool "Support RTMIN[+n] and RTMAX[-n] signal names"
21 Support RTMIN[+n] and RTMAX[-n] signal names
22 in kill, killall etc. This costs ~250 bytes.
24 config BUSYBOX_CONFIG_PASSWORD_MINLEN
25 int "Minimum password length"
29 Minimum allowable password length.
31 config BUSYBOX_CONFIG_MD5_SIZE_VS_SPEED
32 int "MD5: Trade bytes for speed (0:fast, 3:slow)"
36 Trade binary size versus speed for the md5sum algorithm.
37 Approximate values running uClibc and hashing
38 linux-2.4.4.tar.bz2 were:
39 user times (sec) text size (386)
45 config BUSYBOX_CONFIG_FEATURE_FAST_TOP
46 bool "Faster /proc scanning code (+100 bytes)"
49 This option makes top (and ps) ~20% faster (or 20% less CPU hungry),
50 but code size is slightly bigger.
52 config BUSYBOX_CONFIG_FEATURE_ETC_NETWORKS
53 bool "Support for /etc/networks"
56 Enable support for network names in /etc/networks. This is
57 a rarely used feature which allows you to use names
58 instead of IP/mask pairs in route command.
60 config BUSYBOX_CONFIG_FEATURE_USE_TERMIOS
61 bool "Use termios to manipulate the screen"
63 depends on BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TOP || BUSYBOX_CONFIG_POWERTOP
65 This option allows utilities such as 'more' and 'top' to determine
66 the size of the screen. If you leave this disabled, your utilities
67 that display things on the screen will be especially primitive and
68 will be unable to determine the current screen size, and will be
69 unable to move the cursor.
71 config BUSYBOX_CONFIG_FEATURE_EDITING
72 bool "Command line editing"
75 Enable line editing (mainly for shell command line).
77 config BUSYBOX_CONFIG_FEATURE_EDITING_MAX_LEN
78 int "Maximum length of input"
81 depends on BUSYBOX_CONFIG_FEATURE_EDITING
83 Line editing code uses on-stack buffers for storage.
84 You may want to decrease this parameter if your target machine
85 benefits from smaller stack usage.
87 config BUSYBOX_CONFIG_FEATURE_EDITING_VI
88 bool "vi-style line editing commands"
90 depends on BUSYBOX_CONFIG_FEATURE_EDITING
92 Enable vi-style line editing. In shells, this mode can be
93 turned on and off with "set -o vi" and "set +o vi".
95 config BUSYBOX_CONFIG_FEATURE_EDITING_HISTORY
97 # Don't allow way too big values here, code uses fixed "char *history[N]" struct member
100 depends on BUSYBOX_CONFIG_FEATURE_EDITING
102 Specify command history size (0 - disable).
104 config BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY
105 bool "History saving"
107 depends on BUSYBOX_CONFIG_FEATURE_EDITING
109 Enable history saving in shells.
111 config BUSYBOX_CONFIG_FEATURE_REVERSE_SEARCH
112 bool "Reverse history search"
114 depends on BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY
116 Enable readline-like Ctrl-R combination for reverse history search.
117 Increases code by about 0.5k.
119 config BUSYBOX_CONFIG_FEATURE_TAB_COMPLETION
120 bool "Tab completion"
122 depends on BUSYBOX_CONFIG_FEATURE_EDITING
124 Enable tab completion.
126 config BUSYBOX_CONFIG_FEATURE_USERNAME_COMPLETION
127 bool "Username completion"
129 depends on BUSYBOX_CONFIG_FEATURE_TAB_COMPLETION
131 Enable username completion.
133 config BUSYBOX_CONFIG_FEATURE_EDITING_FANCY_PROMPT
134 bool "Fancy shell prompts"
136 depends on BUSYBOX_CONFIG_FEATURE_EDITING
138 Setting this option allows for prompts to use things like \w and
141 config BUSYBOX_CONFIG_FEATURE_EDITING_ASK_TERMINAL
142 bool "Query cursor position from terminal"
144 depends on BUSYBOX_CONFIG_FEATURE_EDITING
146 Allow usage of "ESC [ 6 n" sequence. Terminal answers back with
147 current cursor position. This information is used to make line
148 editing more robust in some cases.
149 If you are not sure whether your terminals respond to this code
150 correctly, or want to save on code size (about 400 bytes),
151 then do not turn this option on.
153 config BUSYBOX_CONFIG_FEATURE_NON_POSIX_CP
154 bool "Non-POSIX, but safer, copying to special nodes"
157 With this option, "cp file symlink" will delete symlink
158 and create a regular file. This does not conform to POSIX,
159 but prevents a symlink attack.
160 Similarly, "cp file device" will not send file's data
161 to the device. (To do that, use "cat file >device")
163 config BUSYBOX_CONFIG_FEATURE_VERBOSE_CP_MESSAGE
164 bool "Give more precise messages when copy fails (cp, mv etc)"
167 Error messages with this feature enabled:
168 $ cp file /does_not_exist/file
169 cp: cannot create '/does_not_exist/file': Path does not exist
170 $ cp file /vmlinuz/file
171 cp: cannot stat '/vmlinuz/file': Path has non-directory component
172 If this feature is not enabled, they will be, respectively:
173 cp: cannot create '/does_not_exist/file': No such file or directory
174 cp: cannot stat '/vmlinuz/file': Not a directory
175 This will cost you ~60 bytes.
177 config BUSYBOX_CONFIG_FEATURE_COPYBUF_KB
178 int "Copy buffer size, in kilobytes"
182 Size of buffer used by cp, mv, install, wget etc.
183 Buffers which are 4 kb or less will be allocated on stack.
184 Bigger buffers will be allocated with mmap, with fallback to 4 kb
185 stack buffer if mmap fails.
187 config BUSYBOX_CONFIG_FEATURE_SKIP_ROOTFS
188 bool "Skip rootfs in mount table"
191 Ignore rootfs entry in mount table.
193 In Linux, kernel has a special filesystem, rootfs, which is initially
194 mounted on /. It contains initramfs data, if kernel is configured
195 to have one. Usually, another file system is mounted over / early
196 in boot process, and therefore most tools which manipulate
197 mount table, such as df, will skip rootfs entry.
199 However, some systems do not mount anything on /.
200 If you need to configure busybox for one of these systems,
201 you may find useful to turn this option off to make df show
206 config BUSYBOX_CONFIG_MONOTONIC_SYSCALL
207 bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
209 select BUSYBOX_CONFIG_PLATFORM_LINUX
211 Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring
212 time intervals (time, ping, traceroute etc need this).
213 Probably requires Linux 2.6+. If not selected, gettimeofday
214 will be used instead (which gives wrong results if date/time
217 config BUSYBOX_CONFIG_IOCTL_HEX2STR_ERROR
218 bool "Use ioctl names rather than hex values in error messages"
221 Use ioctl names rather than hex values in error messages
222 (e.g. VT_DISALLOCATE rather than 0x5608). If disabled this
223 saves about 1400 bytes.
225 config BUSYBOX_CONFIG_FEATURE_HWIB
226 bool "Support infiniband HW"
229 Support for printing infiniband addresses in