syscall.sh / x86 / userfaultfd

userfaultfd

create a file descriptor for handling page faults in user space

sys_userfaultfd(int flags)
number374 (0x176)
abii386
entry pointsys_userfaultfd
sinceLinux 4.3
man pageuserfaultfd(2)
sourceelixir.bootlin.com

Registers

registervalue
eax374, the syscall number
ebxint flags
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/userfaultfd