signalfd4 on score
create a file descriptor for accepting signals
sys_signalfd4(int ufd, sigset_t *user_mask, size_t sizemask, int flags)
| number | 74 (0x4a) |
|---|---|
| abi | common |
| kconfig | CONFIG_SIGNALFD |
| entry point | sys_signalfd4 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | signalfd4(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 74, the syscall number |
r4 | int ufd |
r5 | sigset_t *user_mask |
r6 | size_t sizemask |
r7 | int flags |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 289
- x86 327
- arm64 74
- arm 355
- riscv64 74
- ia32 327
- x32 1073742113
- loongarch64 74
- ppc64 313
- ppc 313
- s390x 322
- mips64 5283
- mipsn32 6287
- mipso32 4324
- alpha 484
- arc 74
- blackfin 360, removed in 4.17
- cris 327, removed in 4.17
- csky 74
- frv 327, removed in 4.17
- hexagon 74
- ia64 1313, removed in 6.7
- m68k 323
- metag 74, removed in 4.17
- microblaze 339
- mn10300 328, removed in 4.17
- nds32 74, removed in 5.18
- nios2 74
- openrisc 74
- parisc 309
- sh 327
- sparc 317
- sparc64 317
- tilegx 74, removed in 4.17
- tilepro 74, removed in 4.17
- xtensa 309
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/signalfd4?kernel=all