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: <20250822000818.1086550-1-neil@brown.name>
Date: Fri, 22 Aug 2025 10:00:18 +1000
From: NeilBrown <neil@...wn.name>
To: Alexander Viro <viro@...iv.linux.org.uk>,
	Christian Brauner <brauner@...nel.org>
Cc: Jan Kara <jack@...e.cz>,
	linux-fsdevel@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Peter Zijlstra <peterz@...radead.org>
Subject: [PATCH v2 00/16] VFS: prepare for changes to directory locking

This is a partial revised set of patches based on review comments.
Apart from the first five which received generally positive review and
could possibly land now, they focus only on centralising the locking of
directories for dirops, and only focus on create/remove, leaving rename
for later.

Each time an interface is introduced, many new uses are included.
overlayfs, smb/server, and ecryptfs (at least) will also make use of
these interface, but that requires large patches which would distract
from the introduction.

I haven't included the change to vfs_mkdir() to have it unlock the
directory.  Consequently there is a different "unlock" interface that
must be used after vfs_mkdir() calls (end_dirop_mkdir()).  If we
eventually make that change to vfs_mkdir(), end_dirop_mkdir() can be
discarded.

[peterz added for this intro and patch 03]

Thanks,
NeilBrown

 [PATCH v2 01/16] VFS: discard err2 in filename_create()
 [PATCH v2 02/16] VFS: unify old_mnt_idmap and new_mnt_idmap in
 [PATCH v2 03/16] Introduce wake_up_key()
 [PATCH v2 04/16] VFS: use global wait-queue table for
 [PATCH v2 05/16] VFS: use d_alloc_parallel() in
 [PATCH v2 06/16] VFS: introduce start_dirop()
 [PATCH v2 07/16] VFS: introduce end_dirop() and end_dirop_mkdir()
 [PATCH v2 08/16] VFS: implement simple_start_creating() with
 [PATCH v2 09/16] VFS: introduce simple_end_creating() and
 [PATCH v2 10/16] Use simple_start_creating() in various places.
 [PATCH v2 11/16] VFS/nfsd/cachefiles: add start_creating() and
 [PATCH v2 12/16] nfsd: move name lookup out of nfsd4_list_rec_dir()
 [PATCH v2 13/16] VFS/nfsd/cachefiles: introduce start_removing()
 [PATCH v2 14/16] VFS: introduce start_creating_noperm() and
 [PATCH v2 15/16] VFS: introduce start_removing_dentry()
 [PATCH v2 16/16] VFS: add start_creating_killable() and

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ