Home
last modified time | relevance | path

Searched refs:UFFD_USER_MODE_ONLY (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/mm/
H A Duffd-common.h41 #define UFFD_FLAGS (O_CLOEXEC | O_NONBLOCK | UFFD_USER_MODE_ONLY)
H A Duffd-common.c696 int fd = uffd_open(UFFD_USER_MODE_ONLY); in uffd_get_features()
H A Dpagemap_ioctl.c96 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK | UFFD_USER_MODE_ONLY); in init_uffd()
/linux/include/uapi/linux/
H A Duserfaultfd.h384 #define UFFD_USER_MODE_ONLY 1 macro
/linux/fs/
H A Duserfaultfd.c395 if (!(vmf->flags & FAULT_FLAG_USER) && (ctx->flags & UFFD_USER_MODE_ONLY)) in handle_userfault()
2097 BUILD_BUG_ON(UFFD_USER_MODE_ONLY & UFFD_SHARED_FCNTL_FLAGS); in new_userfaultfd()
2101 if (flags & ~(UFFD_SHARED_FCNTL_FLAGS | UFFD_USER_MODE_ONLY)) in new_userfaultfd()
2141 if (flags & UFFD_USER_MODE_ONLY) in userfaultfd_syscall_allowed()
/linux/Documentation/admin-guide/mm/
H A Duserfaultfd.rst65 with the flag UFFD_USER_MODE_ONLY.
/linux/Documentation/admin-guide/sysctl/
H A Dvm.rst974 SYS_CAP_PTRACE must pass UFFD_USER_MODE_ONLY in order for userfaultfd to