lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240614232014.806352-1-jeffxu@google.com>
Date: Fri, 14 Jun 2024 23:20:13 +0000
From: jeffxu@...omium.org
To: akpm@...ux-foundation.org,
	jannh@...gle.com,
	sroettger@...gle.com,
	rdunlap@...radead.org,
	david@...hat.com,
	adhemerval.zanella@...aro.org
Cc: linux-kernel@...r.kernel.org,
	linux-mm@...ck.org,
	jorgelo@...omium.org,
	keescook@...omium.org,
	Jeff Xu <jeffxu@...omium.org>
Subject: [PATCH v2 0/1] add mseal to /proc/pid/smaps

From: Jeff Xu <jeffxu@...omium.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ