syscall.sh / x64 / signalfd4
signalfd4
create a file descriptor for accepting signals
sys_signalfd4(int ufd, sigset_t *user_mask, size_t sizemask, int flags)
| number | 289 (0x121) |
|---|---|
| abi | common |
| entry point | sys_signalfd4 |
| since | Linux 3.3 |
| man page | signalfd4(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 289, the syscall number |
rdi | int ufd |
rsi | sigset_t *user_mask |
rdx | size_t sizemask |
r10 | int flags |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x86 327
- arm64 74
- arm 355
- riscv64 74
- x32 1073742113
- loongarch64 74
- ppc64 313
- ppc 313
- s390x 322
- mips64 5283
- mipsn32 6287
- mipso32 4324
- alpha 484
- arc 74
- csky 74
- hexagon 74
- m68k 323
- microblaze 339
- nios2 74
- openrisc 74
- parisc 309
- sh 327
- sparc 317
- sparc64 317
- xtensa 309
Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/signalfd4