syscall.sh / ppc / sys_debug_setcontext
sys_debug_setcontext
sys_debug_setcontext(struct ucontext *ctx, int ndbg, struct sig_dbg_op *dbg)
| number | 256 (0x100) |
|---|---|
| abi | 32 |
| entry point | sys_debug_setcontext |
| since | Linux 5.0 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 256, the syscall number |
r3 | struct ucontext *ctx |
r4 | int ndbg |
r5 | struct sig_dbg_op *dbg |
r3 | the return value |
Then run sc to enter the kernel.
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/sys_debug_setcontext