syscall.sh / xtensa / userfaultfd
userfaultfd
create a file descriptor for handling page faults in user space
sys_userfaultfd(int flags)
| number | 342 (0x156) |
|---|---|
| abi | common |
| entry point | sys_userfaultfd |
| since | Linux 5.0 |
| man page | userfaultfd(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 342, the syscall number |
a6 | int flags |
a2 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 323
- 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
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/userfaultfd