create a file descriptor for handling page faults in user space NAME userfaultfd - create a file descriptor for handling page faults in user space LIBRARY Standard C libr...enable operation of the userfaultfd and perform API handshake NAME UFFDIO_API - enable operation of the userfaultfd and perfo...write-protect or write-unprotect a userfaultfd-registered memory range NAME UFFDIO_WRITEPROTECT - write-protect or write-unprotect a use...unregister a memory address range from userfaultfd NAME UFFDIO_UNREGISTER - unregister a memory address range from userfaultfd LIBRARY Stand...register a memory address range with the userfaultfd object NAME UFFDIO_REGISTER - register a memory address range with the userfaultfd object...zero out a memory range registered with userfaultfd NAME UFFDIO_ZEROPAGE - zero out a memory range registered with userfaultfd LIBRARY Standa...create a file descriptor for handling page faults in user space NAME ioctl_userfaultfd - create a file descriptor for handling page faults in user space LIBRARY Standard C libr......page-fault resolution LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <linux/userfaultfd.h> /* Definition of UFFD* constants */ #include <sys/ioctl.h> int ioctl(int …...lve a minor page fault LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <linux/userfaultfd.h> /* Definition of UFFD* constants */ #include <sys/ioctl.h> int ioctl(int…...ss range as "poisoned" LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <linux/userfaultfd.h> /* Definition of UFFD* constants */ #include <sys/ioctl.h> int ioctl(int…...fault registered range LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <linux/userfaultfd.h> /* Definition of UFFD* constants */ #include <sys/ioctl.h> int ioctl(int…...old_address and old_size will result in a page fault. The page fault will be handled by a userfaultfd (2) handler if the address is in a range previously registered with userfau…...or range of memory, the UFFD_FEATURE_WP_ASYNC must be enabled by UFFDIO_API ioctl (2) on userfaultfd and memory range must be registered with UFFDIO_REGISTER ioctl (2) in UFFDIO…...hg - huge page advise flag nh - no-huge page advise flag mg - mergeable advise flag um - userfaultfd missing pages tracking (since Linux 4.3) uw - userfaultfd wprotect pages tra…...this file takes effect whenever an application requests memory. /proc/sys/vm/unprivileged_userfaultfd (since Linux 5.2) This (writable) file exposes a flag that controls whether…...(since Linux 3.11) Zero 57 (since Linux 5.14) If set, the page is write-protected through userfaultfd (2). 56 (since Linux 4.2) The page is exclusively mapped. 55 (since Linux 3…...eventfd (2), inotify_init (2), perf_event_open (2), signalfd (2), timerfd_create (2), and userfaultfd (2)), the entry will be a symbolic link with contents of the form anon_inod…...e (2), ioctl_fat (2), ioctl_fs (2), ioctl_fsmap (2), ioctl_nsfs (2), ioctl_tty (2), ioctl_userfaultfd (2), ioctl_eventpoll (2), open (2), sd (4), tty (4)map or unmap files or devices into memory NAME mmap, munmap - map or unmap files or devices into memory LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/mman.h> voi…map or unmap files or devices into memory NAME mmap, munmap - map or unmap files or devices into memory LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <sys/mman.h> voi…