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: <20250516132938.356627-1-ziy@nvidia.com>
Date: Fri, 16 May 2025 09:29:36 -0400
From: Zi Yan <ziy@...dia.com>
To: Pedro Falcato <pfalcato@...e.de>,
	Lorenzo Stoakes <lorenzo.stoakes@...cle.com>,
	Adam Sindelar <adam@...signal.io>,
	linux-mm@...ck.org
Cc: Andrew Morton <akpm@...ux-foundation.org>,
	linux-kselftest@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Zi Yan <ziy@...dia.com>
Subject: [PATCH v2 0/2] Skip mm selftests instead when kernel features are not present

Two guard_regions tests on userfaultfd fail when userfaultfd is not
present. Skip them instead.

hugevm test reads kernel config to get page table level information and
fails when neither /proc/config.gz nor /boot/config-* is present. Skip
it instead.

Zi Yan (2):
  selftests/mm: skip guard_regions.uffd tests when uffd is not present.
  selftests/mm: skip hugevm test if kernel config file is not present.

 tools/testing/selftests/mm/guard-regions.c    | 17 ++++++++++--
 .../selftests/mm/va_high_addr_switch.sh       | 26 +++++++------------
 2 files changed, 24 insertions(+), 19 deletions(-)

-- 
2.47.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ