1 #include <linux/userfaultfd.h> 2 #ifndef UFFD_USER_MODE_ONLY 3 // this definition is not available before Linux 5.11. It is provided so 4 // userfaultfd-sys has the same exports on all kernels 5 #define UFFD_USER_MODE_ONLY 1 6 #endif 7
1 #include <linux/userfaultfd.h> 2 #ifndef UFFD_USER_MODE_ONLY 3 // this definition is not available before Linux 5.11. It is provided so 4 // userfaultfd-sys has the same exports on all kernels 5 #define UFFD_USER_MODE_ONLY 1 6 #endif 7