syscall.sh / m68k / ptrace

ptrace

process trace

sys_ptrace(long request, long pid, unsigned long addr, unsigned long data)
number26 (0x1a)
abicommon
entry pointsys_ptrace
sinceLinux 5.0
man pageptrace(2)
sourceelixir.bootlin.com

Registers

registervalue
d026, the syscall number
d1long request
d2long pid
d3unsigned long addr
d4unsigned long data
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/ptrace