Config.in revision 7e2af1c7489cbf974a57d482bb9d23c884d2aa49
15bcc7ea10f4dc37f387d4951e67ba24887edaebcRob Landleymainmenu "Toybox Configuration"
25257cf54a5810105bc4a75703a06740d756d8e8landley
376ec485eb607b94b8a5d4cde85df606aa086ad94Rob Landley
476ec485eb607b94b8a5d4cde85df606aa086ad94Rob Landleysource generated/Config.probed
576ec485eb607b94b8a5d4cde85df606aa086ad94Rob Landleysource generated/Config.in
676ec485eb607b94b8a5d4cde85df606aa086ad94Rob Landley
776ec485eb607b94b8a5d4cde85df606aa086ad94Rob Landleycomment ""
876ec485eb607b94b8a5d4cde85df606aa086ad94Rob Landley
93a9241add947cb6d24b5de7a8927517426a78795Rob Landleymenu "Toybox global settings"
105257cf54a5810105bc4a75703a06740d756d8e8landley
11a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landley# This entry controls the multiplexer, disabled for single command builds
122896480c4918f2accccb8301bec457a7bff7377eRob Landleyconfig TOYBOX
132896480c4918f2accccb8301bec457a7bff7377eRob Landley	bool
14d04dc1feb92a279e27e4487c502944f454d43837Rob Landley	default y
15d06c58df5c723594c4f214dd5d1842a178d2a5e1Rob Landley	help
168431692738dc14412c236ab4ebc6464463b6327aRob Landley	  usage: toybox [--long | [command] [arguments...]]
17d06c58df5c723594c4f214dd5d1842a178d2a5e1Rob Landley
1826c0045a6eb061e180f58b6b4c029a5df5a2818eRob Landley	  With no arguments, shows available commands. First argument is
192896480c4918f2accccb8301bec457a7bff7377eRob Landley	  name of a command to run, followed by any arguments to that command.
20d06c58df5c723594c4f214dd5d1842a178d2a5e1Rob Landley
218431692738dc14412c236ab4ebc6464463b6327aRob Landley	  --long	Show path to each command
228431692738dc14412c236ab4ebc6464463b6327aRob Landley
238431692738dc14412c236ab4ebc6464463b6327aRob Landley	  To install command symlinks, try:
248431692738dc14412c236ab4ebc6464463b6327aRob Landley	    for i in $(/bin/toybox --long); do ln -s /bin/toybox $i; done
258431692738dc14412c236ab4ebc6464463b6327aRob Landley
26e0377fb294821a68112d4da09f836ac42e3d5956Rob Landleyconfig TOYBOX_SUID
27e0377fb294821a68112d4da09f836ac42e3d5956Rob Landley	bool "SUID support"
28e0377fb294821a68112d4da09f836ac42e3d5956Rob Landley	default y
29e0377fb294821a68112d4da09f836ac42e3d5956Rob Landley	help
3026c0045a6eb061e180f58b6b4c029a5df5a2818eRob Landley	  Support for the Set User ID bit, to install toybox suid root and drop
3126c0045a6eb061e180f58b6b4c029a5df5a2818eRob Landley	  permissions for commands which do not require root access. To use
3226c0045a6eb061e180f58b6b4c029a5df5a2818eRob Landley	  this change ownership of the file to the root user and set the suid
3326c0045a6eb061e180f58b6b4c029a5df5a2818eRob Landley	  bit in the file permissions:
3426c0045a6eb061e180f58b6b4c029a5df5a2818eRob Landley
3526c0045a6eb061e180f58b6b4c029a5df5a2818eRob Landley	  chown root:root toybox; chmod +s toybox
36e0377fb294821a68112d4da09f836ac42e3d5956Rob Landley
377e2af1c7489cbf974a57d482bb9d23c884d2aa49Elliott Hughesconfig TOYBOX_SELINUX
387e2af1c7489cbf974a57d482bb9d23c884d2aa49Elliott Hughes bool "SELinux support"
397e2af1c7489cbf974a57d482bb9d23c884d2aa49Elliott Hughes default n
407e2af1c7489cbf974a57d482bb9d23c884d2aa49Elliott Hughes help
417e2af1c7489cbf974a57d482bb9d23c884d2aa49Elliott Hughes  Include SELinux options in commands such as ls, and add
427e2af1c7489cbf974a57d482bb9d23c884d2aa49Elliott Hughes  SELinux-specific commands such as chcon.
437e2af1c7489cbf974a57d482bb9d23c884d2aa49Elliott Hughes
44f01503d18a35c71706edf8b1801af55cfcb19733Rob Landleyconfig TOYBOX_FLOAT
45f01503d18a35c71706edf8b1801af55cfcb19733Rob Landley	bool "Floating point support"
46f01503d18a35c71706edf8b1801af55cfcb19733Rob Landley	default y
47f01503d18a35c71706edf8b1801af55cfcb19733Rob Landley	help
48f01503d18a35c71706edf8b1801af55cfcb19733Rob Landley	  Include floating point support infrastructure and commands that
49f01503d18a35c71706edf8b1801af55cfcb19733Rob Landley	  require it.
50f01503d18a35c71706edf8b1801af55cfcb19733Rob Landley
5136ffc5aa3e6bfcab5d628208f4f1508f9b1c2620Rob Landleyconfig TOYBOX_HELP
52d683b17f4e106509753bc458178490a306988b8bRob Landley	bool "Help messages"
5336ffc5aa3e6bfcab5d628208f4f1508f9b1c2620Rob Landley	default y
5436ffc5aa3e6bfcab5d628208f4f1508f9b1c2620Rob Landley	help
5536ffc5aa3e6bfcab5d628208f4f1508f9b1c2620Rob Landley	  Include help text for each command.
5636ffc5aa3e6bfcab5d628208f4f1508f9b1c2620Rob Landley
57953722e3826c779f261a4c8a3649e36b1333a86fRob Landleyconfig TOYBOX_HELP_DASHDASH
58953722e3826c779f261a4c8a3649e36b1333a86fRob Landley	bool "--help"
59953722e3826c779f261a4c8a3649e36b1333a86fRob Landley	default y
60953722e3826c779f261a4c8a3649e36b1333a86fRob Landley	depends on TOYBOX_HELP
61953722e3826c779f261a4c8a3649e36b1333a86fRob Landley	help
62953722e3826c779f261a4c8a3649e36b1333a86fRob Landley	  Support --help argument in all commands, even ones with a NULL
63953722e3826c779f261a4c8a3649e36b1333a86fRob Landley	  optstring. Produces the same output as "help command".
64953722e3826c779f261a4c8a3649e36b1333a86fRob Landley
65250e0055fe0596f0f13d6e30f0bfe086702f5a25Felix Jandaconfig TOYBOX_I18N
6626c0045a6eb061e180f58b6b4c029a5df5a2818eRob Landley	bool "Internationalization support"
67250e0055fe0596f0f13d6e30f0bfe086702f5a25Felix Janda	default y
68250e0055fe0596f0f13d6e30f0bfe086702f5a25Felix Janda	help
6926c0045a6eb061e180f58b6b4c029a5df5a2818eRob Landley	  Support for UTF-8 character sets, and some locale support.
70250e0055fe0596f0f13d6e30f0bfe086702f5a25Felix Janda
71de05a7024f4be6826d05c40aa029fe2bbf6d2818Rob Landleyconfig TOYBOX_FREE
725257cf54a5810105bc4a75703a06740d756d8e8landley	bool "Free memory unnecessarily"
735257cf54a5810105bc4a75703a06740d756d8e8landley	default n
745257cf54a5810105bc4a75703a06740d756d8e8landley	help
755257cf54a5810105bc4a75703a06740d756d8e8landley	  When a program exits, the operating system will clean up after it
7626c0045a6eb061e180f58b6b4c029a5df5a2818eRob Landley	  (free memory, close files, etc). To save size, toybox usually relies
7726c0045a6eb061e180f58b6b4c029a5df5a2818eRob Landley	  on this behavior. If you're running toybox under a debugger or
785257cf54a5810105bc4a75703a06740d756d8e8landley	  without a real OS (ala newlib+libgloss), enable this to make toybox
795257cf54a5810105bc4a75703a06740d756d8e8landley	  clean up after itself.
805257cf54a5810105bc4a75703a06740d756d8e8landley
81977e48e1626b3e3f1f1f9b14f05ffc11e252455fRob Landleyconfig TOYBOX_NORECURSE
82977e48e1626b3e3f1f1f9b14f05ffc11e252455fRob Landley	bool "Disable recursive execution"
83977e48e1626b3e3f1f1f9b14f05ffc11e252455fRob Landley	default n
84977e48e1626b3e3f1f1f9b14f05ffc11e252455fRob Landley	help
85977e48e1626b3e3f1f1f9b14f05ffc11e252455fRob Landley	  When one toybox command calls another, usually it just calls the new
86977e48e1626b3e3f1f1f9b14f05ffc11e252455fRob Landley	  command's main() function rather than searching the $PATH and calling
87977e48e1626b3e3f1f1f9b14f05ffc11e252455fRob Landley	  exec on another file (which is much slower).
88977e48e1626b3e3f1f1f9b14f05ffc11e252455fRob Landley
89977e48e1626b3e3f1f1f9b14f05ffc11e252455fRob Landley	  This disables that optimization, so toybox will run external commands
90977e48e1626b3e3f1f1f9b14f05ffc11e252455fRob Landley          even when it has a built-in version of that command. This requires
91977e48e1626b3e3f1f1f9b14f05ffc11e252455fRob Landley          toybox symlinks to be installed in the $PATH, or re-invoking the
92977e48e1626b3e3f1f1f9b14f05ffc11e252455fRob Landley          "toybox" multiplexer command by name.
93977e48e1626b3e3f1f1f9b14f05ffc11e252455fRob Landley
94de05a7024f4be6826d05c40aa029fe2bbf6d2818Rob Landleyconfig TOYBOX_DEBUG
958324b89598b2aee0957a0378f0f63ff5755498beRob Landley	bool "Debugging tests"
968324b89598b2aee0957a0378f0f63ff5755498beRob Landley	default n
978324b89598b2aee0957a0378f0f63ff5755498beRob Landley	help
98a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landley	  Enable extra checks for debugging purposes. All of them catch
99a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landley          things that can only go wrong at development time, not runtime.
100a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landley
101a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landleyconfig TOYBOX_UID_SYS
102a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landley	int "First system UID"
103a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landley	default 100
104a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landley	help
105a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landley	  When commands like useradd/groupadd allocate system IDs, start here.
106a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landley
107a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landleyconfig TOYBOX_UID_USR
108a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landley	int "First user UID"
109a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landley	default 500
110a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landley	help
111a8bee46cfebcf1ae9c3749b820c483054be81295Rob Landley	  When commands like useradd/groupadd allocate user IDs, start here.
1125257cf54a5810105bc4a75703a06740d756d8e8landleyendmenu
113