Expand the userfaultfd_register/unregister routines to allow shared memory VMAs. Currently, there is no UFFDIO_ZEROPAGE and write-protection support for shared memory VMAs, which is reflected in ioctl methods supported by uffdio_register.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -30,7 +30,7 @@ · 29 unmodified lines | |||
| 30 | ((__u64)1 << _UFFDIO_WAKE | \ | 30 | ((__u64)1 << _UFFDIO_WAKE | \ |
| 31 | (__u64)1 << _UFFDIO_COPY | \ | 31 | (__u64)1 << _UFFDIO_COPY | \ |
| 32 | (__u64)1 << _UFFDIO_ZEROPAGE) | 32 | (__u64)1 << _UFFDIO_ZEROPAGE) |
| 33 | #define UFFD_API_RANGE_IOCTLS_HPAGE \ | 33 | #define UFFD_API_RANGE_IOCTLS_BASIC \ |
| 34 | ((__u64)1 << _UFFDIO_WAKE | \ | 34 | ((__u64)1 << _UFFDIO_WAKE | \ |
| 35 | (__u64)1 << _UFFDIO_COPY) | 35 | (__u64)1 << _UFFDIO_COPY) |
| 36 | 36 | ||