signalfd on score
create a file descriptor for accepting signals
sys_signalfd(int ufd, sigset_t *user_mask, size_t sizemask)
| number | 1045 (0x415) |
|---|---|
| abi | common |
| kconfig | CONFIG_SIGNALFD |
| entry point | sys_signalfd |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | signalfd(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1045, the syscall number |
r4 | int ufd |
r5 | sigset_t *user_mask |
r6 | size_t sizemask |
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 282
- x86 321
- arm 349
- ia32 321
- x32 1073742106
- ppc64 305
- ppc 305
- s390x 316
- mips64 5276
- mipsn32 6280
- mipso32 4317
- alpha 476
- blackfin 348, removed in 4.17
- cris 321, removed in 4.17
- frv 321, removed in 4.17
- ia64 1307, removed in 6.7
- m32r 321, removed in 4.17
- m68k 317
- microblaze 321
- mn10300 322, removed in 4.17
- parisc 302
- sh 321
- sparc 311
- sparc64 311
- xtensa 304
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/signalfd?kernel=all