dnsd: fixes various segfaults.
[oweals/busybox.git] / libbb / Config.in
index f82a2b1cec71521f828540d5e4285501bcf69643..5bf0d2ea220eb117bb0b592f68cd70df72fd13bc 100644 (file)
@@ -13,7 +13,7 @@ config PASSWORD_MINLEN
          Minimum allowable password length.
 
 config MD5_SIZE_VS_SPEED
-       int " MD5: Trade Bytes for Speed"
+       int "MD5: Trade Bytes for Speed"
        default 2
        range 0 3
        help
@@ -57,14 +57,6 @@ config FEATURE_EDITING_MAX_LEN
          You may want to decrease this parameter if your target machine
          benefits from smaller stack usage.
 
-config FEATURE_EDITING_FANCY_KEYS
-       bool "Additional editing keys"
-       default n
-       depends on FEATURE_EDITING
-       help
-         Enable additonal editing keys (Ctrl-E, Ctrl-U etc).
-         Arrow keys, Home/End/Delete and Ctrl-W work even without this option.
-
 config FEATURE_EDITING_VI
        bool "vi-style line editing commands"
        default n
@@ -110,6 +102,31 @@ config FEATURE_EDITING_FANCY_PROMPT
          Setting this option allows for prompts to use things like \w and
          \$ and escape codes.
 
+config FEATURE_VERBOSE_CP_MESSAGE
+       bool "Give more precise messages when copy fails (cp, mv etc)"
+       default n
+       help
+         Error messages with this feature enabled:
+           $ cp file /does_not_exist/file
+           cp: cannot create '/does_not_exist/file': Path does not exist
+           $ cp file /vmlinuz/file
+           cp: cannot stat '/vmlinuz/file': Path has non-directory component
+         If this feature is not enabled, they will be, respectively:
+           cp: cannot remove '/does_not_exist/file': No such file or directory
+           cp: cannot stat '/vmlinuz/file': Not a directory
+         respectively.
+         This will cost you ~60 bytes.
+
+config FEATURE_COPYBUF_KB
+       int "Copy buffer size, in kilobytes"
+       range 1 1024
+       default 4
+       help
+         Size of buffer used by cp, mv, install 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 MONOTONIC_SYSCALL
        bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
        default y
@@ -120,4 +137,18 @@ config MONOTONIC_SYSCALL
          will be used instead (which gives wrong results if date/time
          is reset).
 
+config IOCTL_HEX2STR_ERROR
+       bool "Use ioctl names rather than hex values in error messages"
+       default y
+       help
+         Use ioctl names rather than hex values in error messages
+         (e.g. VT_DISALLOCATE rather than 0x5608). If disabled this
+         saves about 1400 bytes.
+
+config FEATURE_HWIB
+       bool "Support infiniband HW"
+       default y
+       help
+         Support for printing infiniband addresses in
+         network applets.
 endmenu