syscall.sh / x64 / userfaultfd
userfaultfd
create a file descriptor for handling page faults in user space
sys_userfaultfd(int flags)
| number | 323 (0x143) |
|---|---|
| abi | common |
| entry point | sys_userfaultfd |
| since | Linux 4.3 |
| man page | userfaultfd(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 323, the syscall number |
rdi | int flags |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x86 374
- arm64 282
- arm 388
- riscv64 282
- x32 1073742147
- loongarch64 282
- ppc64 364
- ppc 364
- s390x 355
- mips64 5317
- mipsn32 6321
- mipso32 4357
- alpha 516
- arc 282
- csky 282
- hexagon 282
- m68k 373
- microblaze 389
- nios2 282
- openrisc 282
- parisc 344
- sh 377
- sparc 352
- sparc64 352
- xtensa 342
Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/userfaultfd