comparison Config.in @ 1528:ec07449e8e4a draft

Add TOYBOX_NORECURSE so xexec() won't make internal function calls.
author Rob Landley <rob@landley.net>
date Mon, 20 Oct 2014 19:52:29 -0500
parents 87d95673a398
children b84024067049
comparison
equal deleted inserted replaced
1527:49410d68ee40 1528:ec07449e8e4a
69 (free memory, close files, etc). To save size, toybox usually relies 69 (free memory, close files, etc). To save size, toybox usually relies
70 on this behavior. If you're running toybox under a debugger or 70 on this behavior. If you're running toybox under a debugger or
71 without a real OS (ala newlib+libgloss), enable this to make toybox 71 without a real OS (ala newlib+libgloss), enable this to make toybox
72 clean up after itself. 72 clean up after itself.
73 73
74 config TOYBOX_NORECURSE
75 bool "Disable recursive execution"
76 default n
77 help
78 When one toybox command calls another, usually it just calls the new
79 command's main() function rather than searching the $PATH and calling
80 exec on another file (which is much slower).
81
82 This disables that optimization, so toybox will run external commands
83 even when it has a built-in version of that command. This requires
84 toybox symlinks to be installed in the $PATH, or re-invoking the
85 "toybox" multiplexer command by name.
86
74 config TOYBOX_DEBUG 87 config TOYBOX_DEBUG
75 bool "Debugging tests" 88 bool "Debugging tests"
76 default n 89 default n
77 help 90 help
78 Enable extra checks for debugging purposes. All of them catch 91 Enable extra checks for debugging purposes. All of them catch
87 config TOYBOX_UID_USR 100 config TOYBOX_UID_USR
88 int "First user UID" 101 int "First user UID"
89 default 500 102 default 500
90 help 103 help
91 When commands like useradd/groupadd allocate user IDs, start here. 104 When commands like useradd/groupadd allocate user IDs, start here.
92
93 endmenu 105 endmenu