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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <176169820461.1433624.4704430685173473309.stgit@frogsfrogsfrogs>
Date: Tue, 28 Oct 2025 18:27:12 -0700
From: "Darrick J. Wong" <djwong@...nel.org>
To: djwong@...nel.org, zlang@...hat.com
Cc: neal@...pa.dev, fstests@...r.kernel.org, linux-ext4@...r.kernel.org,
 linux-fsdevel@...r.kernel.org, joannelkoong@...il.com, bernd@...ernd.com
Subject: [PATCH 26/33] generic/622: check that strictatime/lazytime actually
 work

From: Darrick J. Wong <djwong@...nel.org>

Make sure that we can mount with these options before testing their
behaviors.

Signed-off-by: "Darrick J. Wong" <djwong@...nel.org>
---
 tests/generic/622 |    4 ++++
 1 file changed, 4 insertions(+)


diff --git a/tests/generic/622 b/tests/generic/622
index a67931ad877fde..559943d5403805 100755
--- a/tests/generic/622
+++ b/tests/generic/622
@@ -88,6 +88,10 @@ _require_xfs_io_command "syncfs"
 # test that timestamp updates aren't persisted when they shouldn't be.
 
 _scratch_mkfs &>> $seqres.full
+_try_scratch_mount -o strictatime || _notrun "strictatime not supported"
+_scratch_unmount
+_try_scratch_mount -o lazytime || _notrun "lazytime not supported"
+_scratch_unmount
 _scratch_mount
 
 # Create the test file for which we'll update and check the timestamps.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ