On 2020-08-21 18:40:17 [-0700], Lokesh Gidra wrote: > --- a/fs/userfaultfd.c > +++ b/fs/userfaultfd.c > @@ -1966,6 +1969,7 @@ static void init_once_userfaultfd_ctx(void *mem) > > SYSCALL_DEFINE1(userfaultfd, int, flags) > { > + static const int uffd_flags = UFFD_USER_MODE_ONLY; > struct userfaultfd_ctx *ctx; > int fd; Why? Sebastian