uClibc: disable sha256 and sha512 for libcrypt - saves about 13k uncompressed in...
[openwrt.git] / package / utils / busybox / config / libbb / Config.in
1 # DO NOT EDIT. This file is generated from Config.src
2 #
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-language.txt.
5 #
6
7 menu "Busybox Library Tuning"
8
9 config BUSYBOX_CONFIG_FEATURE_SYSTEMD
10         bool "Enable systemd support"
11         default n
12         help
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"
19         default n
20         help
21           Support RTMIN[+n] and RTMAX[-n] signal names
22           in kill, killall etc. This costs ~250 bytes.
23
24 config BUSYBOX_CONFIG_PASSWORD_MINLEN
25         int "Minimum password length"
26         default 6
27         range 5 32
28         help
29           Minimum allowable password length.
30
31 config BUSYBOX_CONFIG_MD5_SIZE_VS_SPEED
32         int "MD5: Trade bytes for speed (0:fast, 3:slow)"
33         default 2
34         range 0 3
35         help
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)
40           0 (fastest)         1.1                6144
41           1                   1.4                5392
42           2                   3.0                5088
43           3 (smallest)        5.1                4912
44
45 config BUSYBOX_CONFIG_FEATURE_FAST_TOP
46         bool "Faster /proc scanning code (+100 bytes)"
47         default y
48         help
49           This option makes top (and ps) ~20% faster (or 20% less CPU hungry),
50           but code size is slightly bigger.
51
52 config BUSYBOX_CONFIG_FEATURE_ETC_NETWORKS
53         bool "Support for /etc/networks"
54         default n
55         help
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.
59
60 config BUSYBOX_CONFIG_FEATURE_USE_TERMIOS
61         bool "Use termios to manipulate the screen"
62         default n
63         depends on BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TOP || BUSYBOX_CONFIG_POWERTOP
64         help
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.
70
71 config BUSYBOX_CONFIG_FEATURE_EDITING
72         bool "Command line editing"
73         default y
74         help
75           Enable line editing (mainly for shell command line).
76
77 config BUSYBOX_CONFIG_FEATURE_EDITING_MAX_LEN
78         int "Maximum length of input"
79         range 128 8192
80         default 512
81         depends on BUSYBOX_CONFIG_FEATURE_EDITING
82         help
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.
86
87 config BUSYBOX_CONFIG_FEATURE_EDITING_VI
88         bool "vi-style line editing commands"
89         default n
90         depends on BUSYBOX_CONFIG_FEATURE_EDITING
91         help
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".
94
95 config BUSYBOX_CONFIG_FEATURE_EDITING_HISTORY
96         int "History size"
97         # Don't allow way too big values here, code uses fixed "char *history[N]" struct member
98         range 0 9999
99         default 256
100         depends on BUSYBOX_CONFIG_FEATURE_EDITING
101         help
102           Specify command history size (0 - disable).
103
104 config BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY
105         bool "History saving"
106         default n
107         depends on BUSYBOX_CONFIG_FEATURE_EDITING
108         help
109           Enable history saving in shells.
110
111 config BUSYBOX_CONFIG_FEATURE_REVERSE_SEARCH
112         bool "Reverse history search"
113         default n
114         depends on BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY
115         help
116           Enable readline-like Ctrl-R combination for reverse history search.
117           Increases code by about 0.5k.
118
119 config BUSYBOX_CONFIG_FEATURE_TAB_COMPLETION
120         bool "Tab completion"
121         default y
122         depends on BUSYBOX_CONFIG_FEATURE_EDITING
123         help
124           Enable tab completion.
125
126 config BUSYBOX_CONFIG_FEATURE_USERNAME_COMPLETION
127         bool "Username completion"
128         default n
129         depends on BUSYBOX_CONFIG_FEATURE_TAB_COMPLETION
130         help
131           Enable username completion.
132
133 config BUSYBOX_CONFIG_FEATURE_EDITING_FANCY_PROMPT
134         bool "Fancy shell prompts"
135         default y
136         depends on BUSYBOX_CONFIG_FEATURE_EDITING
137         help
138           Setting this option allows for prompts to use things like \w and
139           \$ and escape codes.
140
141 config BUSYBOX_CONFIG_FEATURE_EDITING_ASK_TERMINAL
142         bool "Query cursor position from terminal"
143         default n
144         depends on BUSYBOX_CONFIG_FEATURE_EDITING
145         help
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.
152
153 config BUSYBOX_CONFIG_FEATURE_NON_POSIX_CP
154         bool "Non-POSIX, but safer, copying to special nodes"
155         default y
156         help
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")
162
163 config BUSYBOX_CONFIG_FEATURE_VERBOSE_CP_MESSAGE
164         bool "Give more precise messages when copy fails (cp, mv etc)"
165         default n
166         help
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.
176
177 config BUSYBOX_CONFIG_FEATURE_COPYBUF_KB
178         int "Copy buffer size, in kilobytes"
179         range 1 1024
180         default 4
181         help
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.
186
187 config BUSYBOX_CONFIG_FEATURE_SKIP_ROOTFS
188         bool "Skip rootfs in mount table"
189         default n
190         help
191           Ignore rootfs entry in mount table.
192
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.
198
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
202           initramfs statistic.
203
204           Otherwise, choose Y.
205
206 config BUSYBOX_CONFIG_MONOTONIC_SYSCALL
207         bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
208         default n
209         select BUSYBOX_CONFIG_PLATFORM_LINUX
210         help
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
215           is reset).
216
217 config BUSYBOX_CONFIG_IOCTL_HEX2STR_ERROR
218         bool "Use ioctl names rather than hex values in error messages"
219         default y
220         help
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.
224
225 config BUSYBOX_CONFIG_FEATURE_HWIB
226         bool "Support infiniband HW"
227         default n
228         help
229           Support for printing infiniband addresses in
230           network applets.
231
232 endmenu