linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] add mseal to /proc/pid/smaps
@ 2024-06-14 23:20 jeffxu
  2024-06-14 23:20 ` [PATCH v2 1/1] /proc/pid/smaps: add mseal info for vma jeffxu
  0 siblings, 1 reply; 4+ messages in thread
From: jeffxu @ 2024-06-14 23:20 UTC (permalink / raw)
  To: akpm, jannh, sroettger, rdunlap, david, adhemerval.zanella
  Cc: linux-kernel, linux-mm, jorgelo, keescook, Jeff Xu

From: Jeff Xu <jeffxu@chromium.org>

Add mseal information in /proc/pid/smaps to indicate the VMA is sealed.

I appreicate Adhemerval Zanella Netto to bring this to my attention. [1]

[1] https://public-inbox.org/libc-alpha/743ac2ce-817b-42ef-a0a1-7edf9a85d8e5@linaro.org/#t

History:

v2:
update from Jann Horn's comments:
- change 'sp' to 'sl'
- change 'sealed page' to 'sealed'
- move VM_SEALED define after VM_ALLOW_ANY_UNCACHED

v1:
https://lore.kernel.org/lkml/20240614182327.752156-1-jeffxu@google.com/

Jeff Xu (1):
  /proc/pid/smaps: add mseal info for vma

 Documentation/filesystems/proc.rst | 1 +
 fs/proc/task_mmu.c                 | 3 +++
 include/linux/mm.h                 | 5 +++++
 mm/internal.h                      | 5 -----
 4 files changed, 9 insertions(+), 5 deletions(-)

-- 
2.45.2.627.g7a2c4fd464-goog



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-17 11:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-14 23:20 [PATCH v2 0/1] add mseal to /proc/pid/smaps jeffxu
2024-06-14 23:20 ` [PATCH v2 1/1] /proc/pid/smaps: add mseal info for vma jeffxu
2024-06-15  1:12   ` Andrew Morton
2024-06-17 11:29   ` David Hildenbrand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox