linux/Documentation/userspace-api
Jeff Xu 1834300798 mseal: update mseal.rst
Pedro Falcato's optimization [1] for checking sealed VMAs, which replaces
the can_modify_mm() function with an in-loop check, necessitates an update
to the mseal.rst documentation to reflect this change.

Furthermore, the document has received offline comments regarding the code
sample and suggestions for sentence clarification to enhance reader
comprehension.

[1] https://lore.kernel.org/linux-mm/20240817-mseal-depessimize-v3-0-d8d2e037df30@gmail.com/

Update doc after in-loop change: mprotect/madvise can have
partially updated and munmap is atomic.

Fix indentation and clarify some sections to improve readability.

Link: https://lkml.kernel.org/r/20241008040942.1478931-2-jeffxu@chromium.org
Fixes: df2a7df9a9 ("mm/munmap: replace can_modify_mm with can_modify_vma")
Fixes: 4a2dd02b09 ("mm/mprotect: replace can_modify_mm with can_modify_vma")
Fixes: 38075679b5 ("mm/mremap: replace can_modify_mm with can_modify_vma")
Fixes: 23c57d1fa2 ("mseal: replace can_modify_mm_madv with a vma variant")
Signed-off-by: Jeff Xu <jeffxu@chromium.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Elliott Hughes <enh@google.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Guenter Roeck <groeck@chromium.org>
Cc: Jann Horn <jannh@google.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Jorge Lucangeli Obes <jorgelo@chromium.org>
Cc: Kees Cook <keescook@chromium.org>
Cc: "Liam R. Howlett" <Liam.Howlett@oracle.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: Pedro Falcato <pedro.falcato@gmail.com>
Cc: Stephen Röttger <sroettger@google.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: "Theo de Raadt" <deraadt@openbsd.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-10-28 21:40:41 -07:00
..
accelerators
ebpf
gpio Documentation: gpio: Reconfiguration with unset direction (uAPI v2) 2024-07-01 09:38:45 +02:00
ioctl Documentation: add ublk driver ioctl numbers 2024-08-26 15:34:14 -06:00
media media: docs: Add V4L2_CAP_EDID 2024-09-05 20:11:28 +02:00
netlink ynl: support binary and integer sub-type for indexed-array 2024-04-05 22:32:49 -07:00
dcdbas.rst
dma-buf-alloc-exchange.rst
ELF.rst
futex2.rst
index.rst IOMMU Updates for Linux v6.11 2024-07-19 09:59:58 -07:00
iommufd.rst
isapnp.rst
landlock.rst landlock: Document LANDLOCK_SCOPE_SIGNAL 2024-09-16 23:50:55 +02:00
lsm.rst
mfd_noexec.rst mm/memfd: add documentation for MFD_NOEXEC_SEAL MFD_EXEC 2024-06-15 10:43:07 -07:00
mseal.rst mseal: update mseal.rst 2024-10-28 21:40:41 -07:00
no_new_privs.rst
perf_ring_buffer.rst
seccomp_filter.rst
spec_ctrl.rst
sysfs-platform_profile.rst
tee.rst
unshare.rst
vduse.rst