diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2026-01-27 07:28:39 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2026-01-27 08:03:15 +0100 |
| commit | 22b96c0ddfc546a7dd9344f7bf7f40cc25364e57 (patch) | |
| tree | 15a0170cba36babf117ccc4305592b12d5c4e4b0 /scripts | |
| parent | 28e4d2b854d7072c510f416acd2eea5dcdbc346a (diff) | |
| download | busybox-w32-22b96c0ddfc546a7dd9344f7bf7f40cc25364e57.tar.gz busybox-w32-22b96c0ddfc546a7dd9344f7bf7f40cc25364e57.tar.bz2 busybox-w32-22b96c0ddfc546a7dd9344f7bf7f40cc25364e57.zip | |
ash: unset traps before entering NOEXEC programs after [v]fork
If we don't do that, if INT trap was set, ^C will set a flag
"run trap later" and _return_, which is not expected by the NOFORK!
function old new delta
clear_traps - 107 +107
evalcommand 1617 1631 +14
shellexec 471 476 +5
setsignal 333 327 -6
forkchild 620 480 -140
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/2 up/down: 126/-146) Total: -20 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
