aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2023-04-06 21:20:28 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2023-04-06 21:20:28 +0200
commita26711a2d1464167be4ebc990fe21a3809a2da34 (patch)
treec48559fea73287479418e5f10d38157f5377cae4 /include
parent05f2bedaebd694605abd1f199fc25d93ad73840b (diff)
downloadbusybox-w32-a26711a2d1464167be4ebc990fe21a3809a2da34.tar.gz
busybox-w32-a26711a2d1464167be4ebc990fe21a3809a2da34.tar.bz2
busybox-w32-a26711a2d1464167be4ebc990fe21a3809a2da34.zip
libbb: consolidate NOMMU fix of restoring high bit in argv[0][0]
function old new delta fork_or_rexec 46 56 +10 bootchartd_main 1087 1079 -8 cpio_main 674 661 -13 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 10/-21) Total: -11 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index cca33a177..6191debb1 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1319,7 +1319,7 @@ enum {
1319# define bb_daemonize(flags) bb_daemonize_or_rexec(flags, bogus) 1319# define bb_daemonize(flags) bb_daemonize_or_rexec(flags, bogus)
1320#else 1320#else
1321 extern bool re_execed; 1321 extern bool re_execed;
1322 /* Note: re_exec() and fork_or_rexec() do argv[0][0] |= 0x80 on NOMMU! 1322 /* Note: re_exec() sets argv[0][0] |= 0x80 on NOMMU!
1323 * _Parent_ needs to undo it if it doesn't want to have argv[0] mangled. 1323 * _Parent_ needs to undo it if it doesn't want to have argv[0] mangled.
1324 */ 1324 */
1325 void re_exec(char **argv) NORETURN FAST_FUNC; 1325 void re_exec(char **argv) NORETURN FAST_FUNC;