Files
Linux/include/uapi/linux
Peter Xu b1f9e87686 mm/uffd: enable write protection for shmem & hugetlbfs
We've had all the necessary changes ready for both shmem and hugetlbfs. 
Turn on all the shmem/hugetlbfs switches for userfaultfd-wp.

We can expand UFFD_API_RANGE_IOCTLS_BASIC with _UFFDIO_WRITEPROTECT too
because all existing types now support write protection mode.

Since vma_can_userfault() will be used elsewhere, move into userfaultfd_k.h.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Peter Xu <[email protected]>
Cc: Alistair Popple <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Axel Rasmussen <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Jerome Glisse <[email protected]>
Cc: "Kirill A . Shutemov" <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: Nadav Amit <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
2022-05-13 07:20:11 -07:00
..
…
…
…
2022-02-21 19:33:05 +00:00
…
2021-01-25 18:44:44 +01:00
…
…
2020-12-28 14:21:31 +00:00
…
…
…
…
…
…
2021-11-01 13:36:08 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-11-26 16:48:59 +01:00
…
…
…
…
…
…
…
…
…
…
…
2022-04-04 08:55:23 +02:00
…
…
…
…
…
2021-10-07 13:51:11 +02:00
2021-02-08 13:01:24 +01:00
…
2022-03-11 08:28:05 -08:00
…
…
…
…
…
…
2021-11-15 07:53:10 -08:00
…
…
2021-06-03 15:31:34 -07:00
…
2022-03-01 18:29:27 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-02-26 09:41:03 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-03-10 09:34:06 +01:00
…
…
…
…
…
…
…
…
2022-03-08 22:06:11 -08:00
…
…
…
…
…
…
…
2021-10-14 23:06:28 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
2021-07-06 10:37:46 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-03-18 13:09:17 +02:00
…
…
…
…
…
…
…
2021-03-10 09:34:06 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
2021-01-07 16:17:32 +01:00
…
…
…
…
…
…
2021-09-16 14:36:26 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-10-23 11:55:28 -04:00
…
…
…
…
2021-06-12 13:16:45 -07:00
…
…
…