Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/Config.in
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/Config.in
r2859 r3232 84 84 85 85 config SHOW_USAGE 86 bool "Show terse applet usage messages" 87 default y 88 help 89 All BusyBox applets will show help messages when invoked with 90 wrong arguments. You can turn off printing these terse usage 91 messages if you say no here. 92 This will save you up to 7k. 86 bool "Show applet usage messages" 87 default y 88 help 89 Enabling this option, BusyBox applets will show terse help messages 90 when invoked with wrong arguments. 91 If you do not want to show any (helpful) usage message when 92 issuing wrong command syntax, you can say 'N' here, 93 saving approximately 7k. 93 94 94 95 config FEATURE_VERBOSE_USAGE … … 97 98 depends on SHOW_USAGE 98 99 help 99 All BusyBox applets will show moreverbose help messages when100 All BusyBox applets will show verbose help messages when 100 101 busybox is invoked with --help. This will add a lot of text to the 101 102 busybox binary. In the default configuration, this will add about … … 107 108 depends on SHOW_USAGE 108 109 help 109 Store usage messages in compressed form, uncompress them on-the-fly110 when <applet> --help is called.110 Store usage messages in .bz compressed form, uncompress them 111 on-the-fly when <applet> --help is called. 111 112 112 113 If you have a really tiny busybox with few applets enabled (and … … 249 250 depends on UNICODE_SUPPORT 250 251 help 251 With this option on, invalid UTF-8 bytes are not substituted 252 with the selected substitution character. 252 With this option on, on line-editing input (such as used by shells) 253 invalid UTF-8 bytes are not substituted with the selected 254 substitution character. 253 255 For example, this means that entering 'l', 's', ' ', 0xff, [Enter] 254 256 at shell prompt will list file named 0xff (single char name … … 284 286 things up manually. 285 287 288 config FEATURE_UTMP 289 bool "Support utmp file" 290 default y 291 help 292 The file /var/run/utmp is used to track who is currently logged in. 293 With this option on, certain applets (getty, login, telnetd etc) 294 will create and delete entries there. 295 "who" applet requires this option. 296 286 297 config FEATURE_WTMP 287 298 bool "Support wtmp file" 288 299 default y 289 selectFEATURE_UTMP300 depends on FEATURE_UTMP 290 301 help 291 302 The file /var/run/wtmp is used to track when users have logged into … … 295 306 "last" applet requires this option. 296 307 297 config FEATURE_UTMP298 bool "Support utmp file"299 default y300 help301 The file /var/run/utmp is used to track who is currently logged in.302 With this option on, certain applets (getty, login, telnetd etc)303 will create and delete entries there.304 "who" applet requires this option.305 306 308 config FEATURE_PIDFILE 307 309 bool "Support writing pidfiles" … … 309 311 help 310 312 This option makes some applets (e.g. crond, syslogd, inetd) write 311 a pidfile in /var/run. Some applications rely on them. 313 a pidfile at the configured PID_FILE_PATH. It has no effect 314 on applets which require pidfiles to run. 315 316 config PID_FILE_PATH 317 string "Path to directory for pidfile" 318 default "/var/run" 319 depends on FEATURE_PIDFILE 320 help 321 This is the default path where pidfiles are created. Applets which 322 allow you to set the pidfile path on the command line will override 323 this value. The option has no effect on applets that require you to 324 specify a pidfile path. 312 325 313 326 config FEATURE_SUID … … 320 333 (for example, mounting of user mounts in fstab needs this). 321 334 322 Busybox will automatically drop privile dges for applets335 Busybox will automatically drop privileges for applets 323 336 that don't need root access. 324 337 … … 328 341 one that needs it. 329 342 330 The applets currently marked to need the suid bit are: 331 332 crontab, dnsd, findfs, ipcrm, ipcs, login, passwd, ping, su, 333 traceroute, vlock. 343 The applets which require root rights (need suid bit or 344 to be run by root) and will refuse to execute otherwise: 345 crontab, login, passwd, su, vlock, wall. 346 347 The applets which will use root rights if they have them 348 (via suid bit, or because run by root), but would try to work 349 without root right nevertheless: 350 findfs, ping[6], traceroute[6], mount. 351 352 Note that if you DONT select this option, but DO make busybox 353 suid root, ALL applets will run under root, which is a huge 354 security hole (think "cp /some/file /etc/passwd"). 334 355 335 356 config FEATURE_SUID_CONFIG 336 357 bool "Runtime SUID/SGID configuration via /etc/busybox.conf" 337 default y if FEATURE_SUID358 default y 338 359 depends on FEATURE_SUID 339 360 help … … 342 363 The format of this file is as follows: 343 364 344 <applet> = [Ssx-][Ssx-][x-] (<username>|<uid>).(<groupname>|<gid>) 365 APPLET = [Ssx-][Ssx-][x-] [USER.GROUP] 366 367 s: USER or GROUP is allowed to execute APPLET. 368 APPLET will run under USER or GROUP 369 (reagardless of who's running it). 370 S: USER or GROUP is NOT allowed to execute APPLET. 371 APPLET will run under USER or GROUP. 372 This option is not very sensical. 373 x: USER/GROUP/others are allowed to execute APPLET. 374 No UID/GID change will be done when it is run. 375 -: USER/GROUP/others are not allowed to execute APPLET. 345 376 346 377 An example might help: … … 352 383 353 384 mount = sx- root.disk # applet mount can be run by root and members 354 # of group disk and runs with euid=0 385 # of group disk (but not anyone else) 386 # and runs with euid=0 (egid is not changed) 355 387 356 388 cp = --- # disable applet cp for everyone … … 378 410 bool "Support NSA Security Enhanced Linux" 379 411 default n 380 depends onPLATFORM_LINUX412 select PLATFORM_LINUX 381 413 help 382 414 Enable support for SELinux in applets ls, ps, and id. Also provide … … 459 491 depends on !STATIC 460 492 help 461 (TODO: what is it and why/when is it useful?) 493 Hardened code option. PIE binaries are loaded at a different 494 address at each invocation. This has some overhead, 495 particularly on x86-32 which is short on registers. 496 462 497 Most people will leave this set to 'N'. 463 498 … … 556 591 bool "Build with Large File Support (for accessing files > 2 GB)" 557 592 default y 558 select FDISK_SUPPORT_LARGE_DISKS559 593 help 560 594 If you want to build BusyBox with large file support, then enable … … 578 612 Native builds leave this empty. 579 613 614 config SYSROOT 615 string "Path to sysroot" 616 default "" 617 help 618 If you want to build BusyBox with a cross compiler, then you 619 might also need to specify where /usr/include and /usr/lib 620 will be found. 621 622 For example, BusyBox can be built against an installed 623 Android NDK, platform version 9, for ARM ABI with 624 625 CONFIG_SYSROOT=/opt/android-ndk/platforms/android-9/arch-arm 626 627 Native builds leave this empty. 628 580 629 config EXTRA_CFLAGS 581 630 string "Additional CFLAGS" … … 583 632 help 584 633 Additional CFLAGS to pass to the compiler verbatim. 634 635 config EXTRA_LDFLAGS 636 string "Additional LDFLAGS" 637 default "" 638 help 639 Additional LDFLAGS to pass to the linker verbatim. 640 641 config EXTRA_LDLIBS 642 string "Additional LDLIBS" 643 default "" 644 help 645 Additional LDLIBS to pass to the linker with -l. 585 646 586 647 endmenu … … 660 721 endchoice 661 722 662 ### config PARSE663 ### bool "Uniform config file parser debugging applet: parse"664 665 723 endmenu 666 724 … … 693 751 config INSTALL_APPLET_DONT 694 752 bool "not installed" 695 depends on FEATURE_INSTALLER || FEATURE_SH_STANDALONE || FEATURE_PREFER_APPLETS696 753 help 697 754 Do not install applet links. Useful when you plan to use
Note:
See TracChangeset
for help on using the changeset viewer.