diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2012-10-19 21:01:58 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2012-10-19 21:01:58 +0200 |
commit | fab23cdd6e3500844318d98cc5280524d5353d64 (patch) | |
tree | 92b6a569171fb0aeef9cdf8bb01b48e3ab907639 /busybox-libbb.kconfig | |
parent | 058ad821283c7c88a89efcd918b860483167e4a7 (diff) | |
download | embtk-busybox-kconfigs-busybox-1.20.2.tar.gz embtk-busybox-kconfigs-busybox-1.20.2.tar.bz2 embtk-busybox-kconfigs-busybox-1.20.2.tar.xz |
Bump busybox-1.20.2 kconfig symbolsbusybox-1.20.2
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'busybox-libbb.kconfig')
-rw-r--r-- | busybox-libbb.kconfig | 65 |
1 files changed, 55 insertions, 10 deletions
diff --git a/busybox-libbb.kconfig b/busybox-libbb.kconfig index 340230c..886dbbc 100644 --- a/busybox-libbb.kconfig +++ b/busybox-libbb.kconfig @@ -7,7 +7,20 @@ comment "-------------------------------------------------" comment "Busybox Library Tuning" comment "-------------------------------------------------" - +config KEMBTK_BUSYB_FEATURE_SYSTEMD + bool "Enable systemd support" + default y + help + If you plan to use busybox daemons on a system where daemons + are controlled by systemd, enable this option. + If you don't use systemd, it is still safe to enable it, + but the downside is increased code size. +config KEMBTK_BUSYB_FEATURE_RTMINMAX + bool "Support RTMIN[+n] and RTMAX[-n] signal names" + default y + help + Support RTMIN[+n] and RTMAX[-n] signal names + in kill, killall etc. This costs ~250 bytes. config KEMBTK_BUSYB_PASSWORD_MINLEN int "Minimum password length" @@ -16,9 +29,9 @@ config KEMBTK_BUSYB_PASSWORD_MINLEN help Minimum allowable password length. -config KEMBTK_BUSYB_MD5_SIZE_VS_SPEED +config KEMBTK_BUSYB_MD5_SMALL int "MD5: Trade bytes for speed (0:fast, 3:slow)" - default 2 + default 1 range 0 3 help Trade binary size versus speed for the md5sum algorithm. @@ -80,11 +93,12 @@ config KEMBTK_BUSYB_FEATURE_EDITING_VI config KEMBTK_BUSYB_FEATURE_EDITING_HISTORY int "History size" - range 0 99999 + # Don't allow way too big values here, code uses fixed "char *history[N]" struct member + range 0 9999 default 255 depends on KEMBTK_BUSYB_FEATURE_EDITING help - Specify command history size. + Specify command history size (0 - disable). config KEMBTK_BUSYB_FEATURE_EDITING_SAVEHISTORY bool "History saving" @@ -93,6 +107,20 @@ config KEMBTK_BUSYB_FEATURE_EDITING_SAVEHISTORY help Enable history saving in shells. +config KEMBTK_BUSYB_FEATURE_EDITING_SAVE_ON_EXIT + bool "Save history on shell exit, not after every command" + depends on KEMBTK_BUSYB_FEATURE_EDITING_SAVEHISTORY + help + Save history on shell exit, not after every command. + +config KEMBTK_BUSYB_FEATURE_REVERSE_SEARCH + bool "Reverse history search" + default y + depends on KEMBTK_BUSYB_FEATURE_EDITING_SAVEHISTORY + help + Enable readline-like Ctrl-R combination for reverse history search. + Increases code by about 0.5k. + config KEMBTK_BUSYB_FEATURE_TAB_COMPLETION bool "Tab completion" default y @@ -117,7 +145,6 @@ config KEMBTK_BUSYB_FEATURE_EDITING_FANCY_PROMPT config KEMBTK_BUSYB_FEATURE_EDITING_ASK_TERMINAL bool "Query cursor position from terminal" depends on KEMBTK_BUSYB_FEATURE_EDITING - depends on EMBTK_BB_VERSION_1_15_X || EMBTK_BB_VERSION_1_16_X || EMBTK_BB_VERSION_1_17_X || EMBTK_BB_VERSION_1_18_X help Allow usage of "ESC [ 6 n" sequence. Terminal answers back with current cursor position. This information is used to make line @@ -128,14 +155,13 @@ config KEMBTK_BUSYB_FEATURE_EDITING_ASK_TERMINAL config KEMBTK_BUSYB_FEATURE_NON_POSIX_CP bool "Non-POSIX, but safer, copying to special nodes" - depends on EMBTK_BB_VERSION_1_15_X || EMBTK_BB_VERSION_1_16_X || EMBTK_BB_VERSION_1_17_X || EMBTK_BB_VERSION_1_18_X default y help With this option, "cp file symlink" will delete symlink and create a regular file. This does not conform to POSIX, but prevents a symlink attack. Similarly, "cp file device" will not send file's data - to the device. + to the device. (To do that, use "cat file >device") config KEMBTK_BUSYB_FEATURE_VERBOSE_CP_MESSAGE bool "Give more precise messages when copy fails (cp, mv etc)" @@ -155,14 +181,33 @@ config KEMBTK_BUSYB_FEATURE_COPYBUF_KB range 1 1024 default 4 help - Size of buffer used by cp, mv, install etc. + Size of buffer used by cp, mv, install, wget etc. Buffers which are 4 kb or less will be allocated on stack. Bigger buffers will be allocated with mmap, with fallback to 4 kb stack buffer if mmap fails. +config KEMBTK_BUSYB_FEATURE_SKIP_ROOTFS + bool "Skip rootfs in mount table" + default y + help + Ignore rootfs entry in mount table. + + In Linux, kernel has a special filesystem, rootfs, which is initially + mounted on /. It contains initramfs data, if kernel is configured + to have one. Usually, another file system is mounted over / early + in boot process, and therefore most tools which manipulate + mount table, such as df, will skip rootfs entry. + + However, some systems do not mount anything on /. + If you need to configure busybox for one of these systems, + you may find it useful to turn this option off to make df show + initramfs statistics. + + Otherwise, choose Y. + config KEMBTK_BUSYB_MONOTONIC_SYSCALL bool "Use clock_gettime(CLOCK_MONOTONIC) syscall" - depends on KEMBTK_BUSYB_PLATFORM_LINUX + select KEMBTK_BUSYB_PLATFORM_LINUX help Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring time intervals (time, ping, traceroute etc need this). |