Skip to content

Commit 281897f

Browse files
committed
0.3.0 version (fix: src/arm64/signals.S)
Signed-off-by: roots666 <m0980701299@gmail.com>
1 parent 17ca934 commit 281897f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- Real-time signals: `EP_SIGNALS=RT*` now requires explicit `EP_SIGRTMIN`/`EP_SIGRTMAX` (avoids hardcoded SIGRTMIN/SIGRTMAX assumptions).
66
- `EP_SIGNALS` now supports numeric signal tokens (`1..64`, excluding SIGKILL/SIGSTOP).
77
- Logging and fd I/O: add `write_all` handling partial writes and `EINTR`; harden `signalfd`/`timerfd` reads.
8-
- ARM64 correctness: fix AArch64 call/return ABI issues in helper paths (preserve `x30` where required) and ensure `do_spawn` is instruction-aligned (avoid native SIGILL).
8+
- ARM64 correctness: fix AArch64 call/return ABI issues (preserve `x30` where required), ensure `do_spawn` is instruction-aligned (avoid native SIGILL), and fix `EP_SIGNALS` parsing crash (token parsing no longer relies on a clobbered register).
99
- Correctness: avoid forwarding signals after the main child has exited while restart backoff is pending (prevents accidental signaling of a reused PGID).
1010
- Debian readiness: add `mini-init-asm(1)` and an initial `debian/` packaging skeleton with autopkgtest and CI lintian build.
1111

src/arm64/signals.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ setup_signals_and_fd:
184184
add x1, x1, #1
185185
b .tok_scan
186186
.tok_done:
187-
mov x4, x1 // token end (delimiter or NUL)
187+
mov x24, x1 // token end (delimiter or NUL)
188188
// trim trailing spaces
189-
mov x10, x4
189+
mov x10, x24
190190
.trim_end:
191191
cmp x10, x3
192192
ble .trim_done
@@ -382,7 +382,7 @@ setup_signals_and_fd:
382382
bl set_sig_bit
383383

384384
.after_token:
385-
mov x1, x4
385+
mov x1, x24
386386
ldrb w2, [x1]
387387
cbz w2, .after_env
388388
add x1, x1, #1

0 commit comments

Comments
 (0)