Searched refs:UFFD_USER_MODE_ONLY (Results 1 – 7 of 7) sorted by relevance
41 #define UFFD_FLAGS (O_CLOEXEC | O_NONBLOCK | UFFD_USER_MODE_ONLY)
665 int fd = uffd_open(UFFD_USER_MODE_ONLY); in uffd_get_features()
350 #define UFFD_USER_MODE_ONLY 1 macro
384 #define UFFD_USER_MODE_ONLY 1 macro
451 if (!(vmf->flags & FAULT_FLAG_USER) && (ctx->flags & UFFD_USER_MODE_ONLY)) in handle_userfault()2197 BUILD_BUG_ON(UFFD_USER_MODE_ONLY & UFFD_SHARED_FCNTL_FLAGS); in new_userfaultfd()2201 if (flags & ~(UFFD_SHARED_FCNTL_FLAGS | UFFD_USER_MODE_ONLY)) in new_userfaultfd()2229 if (flags & UFFD_USER_MODE_ONLY) in userfaultfd_syscall_allowed()
65 with the flag UFFD_USER_MODE_ONLY.
920 SYS_CAP_PTRACE must pass UFFD_USER_MODE_ONLY in order for userfaultfd to