userfaultfd on score
create a file descriptor for handling page faults in user space
sys_userfaultfd(int flags)
| number | 282 (0x11a) |
|---|---|
| abi | common |
| kconfig | CONFIG_USERFAULTFD |
| entry point | sys_userfaultfd |
| since | Linux 4.3 |
| man page | userfaultfd(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 282, the syscall number |
r4 | 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 323
- x86 374
- arm64 282
- arm 388
- riscv64 282
- ia32 374
- x32 1073742147
- loongarch64 282
- ppc64 364
- ppc 364
- s390x 355
- mips64 5317
- mipsn32 6321
- mipso32 4357
- alpha 516
- arc 282
- csky 282
- hexagon 282
- ia64 1343, removed in 6.7
- m68k 373
- metag 282, removed in 4.17
- microblaze 389
- nds32 282, removed in 5.18
- nios2 282
- openrisc 282
- parisc 344
- sh 377
- sparc 352
- sparc64 352
- tilegx 282, removed in 4.17
- tilepro 282, removed in 4.17
- xtensa 342
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/userfaultfd?kernel=all