Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/Config.in


Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/Config.in

    r2859 r3232  
    8484
    8585config 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.
    9394
    9495config FEATURE_VERBOSE_USAGE
     
    9798    depends on SHOW_USAGE
    9899    help
    99       All BusyBox applets will show more verbose help messages when
     100      All BusyBox applets will show verbose help messages when
    100101      busybox is invoked with --help. This will add a lot of text to the
    101102      busybox binary. In the default configuration, this will add about
     
    107108    depends on SHOW_USAGE
    108109    help
    109       Store usage messages in compressed form, uncompress them on-the-fly
    110       when <applet> --help is called.
     110      Store usage messages in .bz compressed form, uncompress them
     111      on-the-fly when <applet> --help is called.
    111112
    112113      If you have a really tiny busybox with few applets enabled (and
     
    249250    depends on UNICODE_SUPPORT
    250251    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.
    253255      For example, this means that entering 'l', 's', ' ', 0xff, [Enter]
    254256      at shell prompt will list file named 0xff (single char name
     
    284286      things up manually.
    285287
     288config 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
    286297config FEATURE_WTMP
    287298    bool "Support wtmp file"
    288299    default y
    289     select FEATURE_UTMP
     300    depends on FEATURE_UTMP
    290301    help
    291302      The file /var/run/wtmp is used to track when users have logged into
     
    295306      "last" applet requires this option.
    296307
    297 config FEATURE_UTMP
    298     bool "Support utmp file"
    299     default y
    300     help
    301       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 
    306308config FEATURE_PIDFILE
    307309    bool "Support writing pidfiles"
     
    309311    help
    310312      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
     316config 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.
    312325
    313326config FEATURE_SUID
     
    320333      (for example, mounting of user mounts in fstab needs this).
    321334
    322       Busybox will automatically drop priviledges for applets
     335      Busybox will automatically drop privileges for applets
    323336      that don't need root access.
    324337
     
    328341      one that needs it.
    329342
    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").
    334355
    335356config FEATURE_SUID_CONFIG
    336357    bool "Runtime SUID/SGID configuration via /etc/busybox.conf"
    337     default y if FEATURE_SUID
     358    default y
    338359    depends on FEATURE_SUID
    339360    help
     
    342363      The format of this file is as follows:
    343364
    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.
    345376
    346377      An example might help:
     
    352383
    353384      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)
    355387
    356388      cp = --- # disable applet cp for everyone
     
    378410    bool "Support NSA Security Enhanced Linux"
    379411    default n
    380     depends on PLATFORM_LINUX
     412    select PLATFORM_LINUX
    381413    help
    382414      Enable support for SELinux in applets ls, ps, and id. Also provide
     
    459491    depends on !STATIC
    460492    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
    462497      Most people will leave this set to 'N'.
    463498
     
    556591    bool "Build with Large File Support (for accessing files > 2 GB)"
    557592    default y
    558     select FDISK_SUPPORT_LARGE_DISKS
    559593    help
    560594      If you want to build BusyBox with large file support, then enable
     
    578612      Native builds leave this empty.
    579613
     614config 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
    580629config EXTRA_CFLAGS
    581630    string "Additional CFLAGS"
     
    583632    help
    584633      Additional CFLAGS to pass to the compiler verbatim.
     634
     635config EXTRA_LDFLAGS
     636    string "Additional LDFLAGS"
     637    default ""
     638    help
     639      Additional LDFLAGS to pass to the linker verbatim.
     640
     641config EXTRA_LDLIBS
     642    string "Additional LDLIBS"
     643    default ""
     644    help
     645      Additional LDLIBS to pass to the linker with -l.
    585646
    586647endmenu
     
    660721endchoice
    661722
    662 ### config PARSE
    663 ### bool "Uniform config file parser debugging applet: parse"
    664 
    665723endmenu
    666724
     
    693751config INSTALL_APPLET_DONT
    694752    bool "not installed"
    695     depends on FEATURE_INSTALLER || FEATURE_SH_STANDALONE || FEATURE_PREFER_APPLETS
    696753    help
    697754      Do not install applet links. Useful when you plan to use
Note: See TracChangeset for help on using the changeset viewer.