|
@@ -131,17 +131,17 @@ config BUSYBOX_FEATURE_DEVPTS
|
|
/dev/ttyp<number> will be used. To use this option, you should have
|
|
/dev/ttyp<number> will be used. To use this option, you should have
|
|
devpts mounted.
|
|
devpts mounted.
|
|
|
|
|
|
-config BUSYBOX_FEATURE_CLEAN_UP
|
|
+#config BUSYBOX_FEATURE_CLEAN_UP
|
|
- bool "Clean up all memory before exiting (usually not needed)"
|
|
+# bool "Clean up all memory before exiting (usually not needed)"
|
|
- default n
|
|
+# default n
|
|
- help
|
|
+# help
|
|
- As a size optimization, busybox normally exits without explicitly
|
|
+# As a size optimization, busybox normally exits without explicitly
|
|
- freeing dynamically allocated memory or closing files. This saves
|
|
+# freeing dynamically allocated memory or closing files. This saves
|
|
- space since the OS will clean up for us, but it can confuse debuggers
|
|
+# space since the OS will clean up for us, but it can confuse debuggers
|
|
- like valgrind, which report tons of memory and resource leaks.
|
|
+# like valgrind, which report tons of memory and resource leaks.
|
|
-
|
|
+#
|
|
- Don't enable this unless you have a really good reason to clean
|
|
+# Don't enable this unless you have a really good reason to clean
|
|
- things up manually.
|
|
+# things up manually.
|
|
|
|
|
|
config BUSYBOX_FEATURE_PIDFILE
|
|
config BUSYBOX_FEATURE_PIDFILE
|
|
bool "Support writing pidfiles"
|
|
bool "Support writing pidfiles"
|
|
@@ -167,47 +167,47 @@ config BUSYBOX_FEATURE_SUID
|
|
crontab, dnsd, findfs, ipcrm, ipcs, login, passwd, ping, su,
|
|
crontab, dnsd, findfs, ipcrm, ipcs, login, passwd, ping, su,
|
|
traceroute, vlock.
|
|
traceroute, vlock.
|
|
|
|
|
|
-config BUSYBOX_FEATURE_SUID_CONFIG
|
|
+#config BUSYBOX_FEATURE_SUID_CONFIG
|
|
- bool "Runtime SUID/SGID configuration via /etc/busybox.conf"
|
|
+# bool "Runtime SUID/SGID configuration via /etc/busybox.conf"
|
|
- default n if FEATURE_SUID
|
|
+# default n if FEATURE_SUID
|
|
- depends on BUSYBOX_FEATURE_SUID
|
|
+# depends on BUSYBOX_FEATURE_SUID
|
|
- help
|
|
+# help
|
|
- Allow the SUID / SGID state of an applet to be determined at runtime
|
|
+# Allow the SUID / SGID state of an applet to be determined at runtime
|
|
- by checking /etc/busybox.conf. (This is sort of a poor man's sudo.)
|
|
+# by checking /etc/busybox.conf. (This is sort of a poor man's sudo.)
|
|
- The format of this file is as follows:
|
|
+# The format of this file is as follows:
|
|
-
|
|
+#
|
|
- <applet> = [Ssx-][Ssx-][x-] (<username>|<uid>).(<groupname>|<gid>)
|
|
+# <applet> = [Ssx-][Ssx-][x-] (<username>|<uid>).(<groupname>|<gid>)
|
|
-
|
|
+#
|
|
- An example might help:
|
|
+# An example might help:
|
|
-
|
|
+#
|
|
- [SUID]
|
|
+# [SUID]
|
|
- su = ssx root.0 # applet su can be run by anyone and runs with
|
|
+# su = ssx root.0 # applet su can be run by anyone and runs with
|
|
- # euid=0/egid=0
|
|
+# # euid=0/egid=0
|
|
- su = ssx # exactly the same
|
|
+# su = ssx # exactly the same
|
|
-
|
|
+#
|
|
- mount = sx- root.disk # applet mount can be run by root and members
|
|
+# mount = sx- root.disk # applet mount can be run by root and members
|
|
- # of group disk and runs with euid=0
|
|
+# # of group disk and runs with euid=0
|
|
-
|
|
+#
|
|
- cp = --- # disable applet cp for everyone
|
|
+# cp = --- # disable applet cp for everyone
|
|
-
|
|
+#
|
|
- The file has to be owned by user root, group root and has to be
|
|
+# The file has to be owned by user root, group root and has to be
|
|
- writeable only by root:
|
|
+# writeable only by root:
|
|
- (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
|
|
+# (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
|
|
- The busybox executable has to be owned by user root, group
|
|
+# The busybox executable has to be owned by user root, group
|
|
- root and has to be setuid root for this to work:
|
|
+# root and has to be setuid root for this to work:
|
|
- (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
|
|
+# (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
|
|
-
|
|
+#
|
|
- Robert 'sandman' Griebl has more information here:
|
|
+# Robert 'sandman' Griebl has more information here:
|
|
- <url: http://www.softforge.de/bb/suid.html >.
|
|
+# <url: http://www.softforge.de/bb/suid.html >.
|
|
|
|
|
|
-config BUSYBOX_FEATURE_SUID_CONFIG_QUIET
|
|
+#config BUSYBOX_FEATURE_SUID_CONFIG_QUIET
|
|
- bool "Suppress warning message if /etc/busybox.conf is not readable"
|
|
+# bool "Suppress warning message if /etc/busybox.conf is not readable"
|
|
- default y
|
|
+# default y
|
|
- depends on BUSYBOX_FEATURE_SUID_CONFIG
|
|
+# depends on BUSYBOX_FEATURE_SUID_CONFIG
|
|
- help
|
|
+# help
|
|
- /etc/busybox.conf should be readable by the user needing the SUID,
|
|
+# /etc/busybox.conf should be readable by the user needing the SUID,
|
|
- check this option to avoid users to be notified about missing
|
|
+# check this option to avoid users to be notified about missing
|
|
- permissions.
|
|
+# permissions.
|
|
|
|
|
|
#config BUSYBOX_SELINUX
|
|
#config BUSYBOX_SELINUX
|
|
# bool "Support NSA Security Enhanced Linux"
|
|
# bool "Support NSA Security Enhanced Linux"
|
|
@@ -229,29 +229,29 @@ config BUSYBOX_FEATURE_SUID_CONFIG_QUIET
|
|
#
|
|
#
|
|
# Most people will leave this set to 'N'.
|
|
# Most people will leave this set to 'N'.
|
|
|
|
|
|
-config BUSYBOX_FEATURE_PREFER_APPLETS
|
|
+#config BUSYBOX_FEATURE_PREFER_APPLETS
|
|
- bool "exec prefers applets"
|
|
+## bool "exec prefers applets"
|
|
- default n
|
|
+# default n
|
|
- help
|
|
+# help
|
|
- This is an experimental option which directs applets about to
|
|
+# This is an experimental option which directs applets about to
|
|
- call 'exec' to try and find an applicable busybox applet before
|
|
+# call 'exec' to try and find an applicable busybox applet before
|
|
- searching the PATH. This is typically done by exec'ing
|
|
+# searching the PATH. This is typically done by exec'ing
|
|
- /proc/self/exe.
|
|
+# /proc/self/exe.
|
|
- This may affect shell, find -exec, xargs and similar applets.
|
|
+# This may affect shell, find -exec, xargs and similar applets.
|
|
- They will use applets even if /bin/<applet> -> busybox link
|
|
+# They will use applets even if /bin/<applet> -> busybox link
|
|
- is missing (or is not a link to busybox). However, this causes
|
|
+# is missing (or is not a link to busybox). However, this causes
|
|
- problems in chroot jails without mounted /proc and with ps/top
|
|
+# problems in chroot jails without mounted /proc and with ps/top
|
|
- (command name can be shown as 'exe' for applets started this way).
|
|
+# (command name can be shown as 'exe' for applets started this way).
|
|
-
|
|
+
|
|
-config BUSYBOX_BUSYBOX_EXEC_PATH
|
|
+#config BUSYBOX_BUSYBOX_EXEC_PATH
|
|
- string "Path to BusyBox executable"
|
|
+# string "Path to BusyBox executable"
|
|
- default "/proc/self/exe"
|
|
+# default "/proc/self/exe"
|
|
- help
|
|
+# help
|
|
- When Busybox applets need to run other busybox applets, BusyBox
|
|
+# When Busybox applets need to run other busybox applets, BusyBox
|
|
- sometimes needs to exec() itself. When the /proc filesystem is
|
|
+# sometimes needs to exec() itself. When the /proc filesystem is
|
|
- mounted, /proc/self/exe always points to the currently running
|
|
+# mounted, /proc/self/exe always points to the currently running
|
|
- executable. If you haven't got /proc, set this to wherever you
|
|
+# executable. If you haven't got /proc, set this to wherever you
|
|
- want to run BusyBox from.
|
|
+# want to run BusyBox from.
|
|
|
|
|
|
# These are auto-selected by other options
|
|
# These are auto-selected by other options
|
|
|
|
|
|
@@ -426,16 +426,16 @@ config BUSYBOX_DEBUG
|
|
|
|
|
|
Most people should answer N.
|
|
Most people should answer N.
|
|
|
|
|
|
-config BUSYBOX_DEBUG_PESSIMIZE
|
|
+#config BUSYBOX_DEBUG_PESSIMIZE
|
|
- bool "Disable compiler optimizations"
|
|
+# bool "Disable compiler optimizations"
|
|
- default n
|
|
+# default n
|
|
- depends on BUSYBOX_DEBUG
|
|
+# depends on BUSYBOX_DEBUG
|
|
- help
|
|
+# help
|
|
- The compiler's optimization of source code can eliminate and reorder
|
|
+# The compiler's optimization of source code can eliminate and reorder
|
|
- code, resulting in an executable that's hard to understand when
|
|
+# code, resulting in an executable that's hard to understand when
|
|
- stepping through it with a debugger. This switches it off, resulting
|
|
+# stepping through it with a debugger. This switches it off, resulting
|
|
- in a much bigger executable that more closely matches the source
|
|
+# in a much bigger executable that more closely matches the source
|
|
- code.
|
|
+# code.
|
|
|
|
|
|
# triggers problems on cris with __attribute__((packed))
|
|
# triggers problems on cris with __attribute__((packed))
|
|
#config BUSYBOX_WERROR
|
|
#config BUSYBOX_WERROR
|
|
@@ -488,14 +488,14 @@ config BUSYBOX_EFENCE
|
|
|
|
|
|
endchoice
|
|
endchoice
|
|
|
|
|
|
-config BUSYBOX_INCLUDE_SUSv2
|
|
+#config BUSYBOX_INCLUDE_SUSv2
|
|
- bool "Enable obsolete features removed before SUSv3?"
|
|
+# bool "Enable obsolete features removed before SUSv3?"
|
|
- default y
|
|
+# default y
|
|
- help
|
|
+# help
|
|
- This option will enable backwards compatibility with SuSv2,
|
|
+# This option will enable backwards compatibility with SuSv2,
|
|
- specifically, old-style numeric options ('command -1 <file>')
|
|
+# specifically, old-style numeric options ('command -1 <file>')
|
|
- will be supported in head, tail, and fold. (Note: should
|
|
+# will be supported in head, tail, and fold. (Note: should
|
|
- affect renice too.)
|
|
+# affect renice too.)
|
|
|
|
|
|
### config PARSE
|
|
### config PARSE
|
|
### bool "Uniform config file parser debugging applet: parse"
|
|
### bool "Uniform config file parser debugging applet: parse"
|
|
@@ -504,12 +504,12 @@ endmenu
|
|
|
|
|
|
menu 'Installation Options'
|
|
menu 'Installation Options'
|
|
|
|
|
|
-config BUSYBOX_INSTALL_NO_USR
|
|
+#config BUSYBOX_INSTALL_NO_USR
|
|
- bool "Don't use /usr"
|
|
+# bool "Don't use /usr"
|
|
- default n
|
|
+# default n
|
|
- help
|
|
+# help
|
|
- Disable use of /usr. Don't activate this option if you don't know
|
|
+# Disable use of /usr. Don't activate this option if you don't know
|
|
- that you really want this behaviour.
|
|
+# that you really want this behaviour.
|
|
|
|
|
|
choice
|
|
choice
|
|
prompt "Applets links"
|
|
prompt "Applets links"
|