48ea2c34d1
On ARM64, when ptrace stops on a system call, it uses the x7 register to indicate whether the stop has been signalled from syscall entry or syscall exit. This means that we can't get a value of this register and we can't change it. More details are in the comment for tracehook_report_syscall in arch/arm64/kernel/ptrace.c. This happens only if we stop on a system call, so let's queue a signal, resume a stub thread and catch it on a signal handling. Fixes: #5238 PiperOrigin-RevId: 352668695 |
||
---|---|---|
.. | ||
BUILD | ||
filters.go | ||
ptrace.go | ||
ptrace_amd64.go | ||
ptrace_arm64.go | ||
ptrace_arm64_unsafe.go | ||
ptrace_unsafe.go | ||
stub_amd64.s | ||
stub_arm64.s | ||
stub_unsafe.go | ||
subprocess.go | ||
subprocess_amd64.go | ||
subprocess_arm64.go | ||
subprocess_linux.go | ||
subprocess_linux_unsafe.go | ||
subprocess_unsafe.go |