rseq_slice_yield on x64
sys_rseq_slice_yield(void)
| number | 471 (0x1d7) |
|---|---|
| abi | common |
| entry point | sys_rseq_slice_yield |
| since | Linux 7.0 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 471, the syscall number |
rax | the return value |
Then run syscall to enter the kernel.
The syscall instruction clobbers rcx (the return address lands in rcx) and r11 (the flags land in r11).
Since Linux 5.14 the kernel reads the syscall number from eax and ignores the upper 32 bits of rax. Older kernels fail with ENOSYS when those bits are not zero, and mov eax, N clears them, so it works on both.
Same syscall on other architectures
- x86 471
- arm64 471
- arm 471
- riscv64 471
- ia32 471
- x32 1073742295
- loongarch64 471
- ppc64 471
- ppc 471
- s390x 471
- mips64 5471
- mipsn32 6471
- mipso32 4471
- alpha 581
- arc 471
- csky 471
- hexagon 471
- m68k 471
- microblaze 471
- nios2 471
- openrisc 471
- parisc 471
- sh 471
- sparc 471
- sparc64 471
- xtensa 471
Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/rseq_slice_yield