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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250320063903.2685882-1-avagin@google.com>
Date: Thu, 20 Mar 2025 06:39:01 +0000
From: Andrei Vagin <avagin@...gle.com>
To: Lorenzo Stoakes <lorenzo.stoakes@...cle.com>, Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org, 
	linux-fsdevel@...r.kernel.org, linux-doc@...r.kernel.org, 
	David Hildenbrand <david@...hat.com>, Shuah Khan <shuah@...nel.org>, Jonathan Corbet <corbet@....net>, 
	Andrei Vagin <avagin@...gle.com>
Subject: [PATCH 0/2] fs/proc: extend the PAGEMAP_SCAN ioctl to report

Introduce the PAGE_IS_GUARD flag in the PAGEMAP_SCAN ioctl to expose
information about guard regions. This allows userspace tools, such as
CRIU, to detect and handle guard regions.

This series should be applied on top of "[PATCH 0/2] fs/proc/task_mmu:
add guard region bit to pagemap":
https://lore.kernel.org/all/2025031926-engraved-footer-3e9b@gregkh/T/

The series includes updates to the documentation and selftests to
reflect the new functionality.

Andrei Vagin (2):
  fs/proc: extend the PAGEMAP_SCAN ioctl to report guard regions
  selftests/mm: add PAGEMAP_SCAN guard region test

 Documentation/admin-guide/mm/pagemap.rst   |  1 +
 fs/proc/task_mmu.c                         |  8 +++-
 include/uapi/linux/fs.h                    |  1 +
 tools/testing/selftests/mm/guard-regions.c | 53 ++++++++++++++++++++++
 4 files changed, 61 insertions(+), 2 deletions(-)

-- 
2.49.0.rc1.451.g8f38331e32-goog


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ