We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63b2d41 commit e06f1e1Copy full SHA for e06f1e1
include/uapi/linux/userfaultfd.h
@@ -19,7 +19,8 @@
19
* means the userland is reading).
20
*/
21
#define UFFD_API ((__u64)0xAA)
22
-#define UFFD_API_FEATURES (UFFD_FEATURE_EVENT_FORK | \
+#define UFFD_API_FEATURES (UFFD_FEATURE_PAGEFAULT_FLAG_WP | \
23
+ UFFD_FEATURE_EVENT_FORK | \
24
UFFD_FEATURE_EVENT_REMAP | \
25
UFFD_FEATURE_EVENT_REMOVE | \
26
UFFD_FEATURE_EVENT_UNMAP | \
@@ -34,7 +35,8 @@
34
35
#define UFFD_API_RANGE_IOCTLS \
36
((__u64)1 << _UFFDIO_WAKE | \
37
(__u64)1 << _UFFDIO_COPY | \
- (__u64)1 << _UFFDIO_ZEROPAGE)
38
+ (__u64)1 << _UFFDIO_ZEROPAGE | \
39
+ (__u64)1 << _UFFDIO_WRITEPROTECT)
40
#define UFFD_API_RANGE_IOCTLS_BASIC \
41
42
(__u64)1 << _UFFDIO_COPY)
0 commit comments