public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v2 00/18] io_uring, struct filename and audit
@ 2025-11-29 17:01 Al Viro
  2025-11-29 17:01 ` [RFC PATCH v2 01/18] do_faccessat(): import pathname only once Al Viro
                   ` (18 more replies)
  0 siblings, 19 replies; 26+ messages in thread
From: Al Viro @ 2025-11-29 17:01 UTC (permalink / raw)
  To: linux-fsdevel
  Cc: torvalds, brauner, jack, mjguzik, paul, axboe, audit, io-uring

Changes compared to v1:
	* putname_to_delayed(): new primitive, hopefully solving the
io_openat2() breakage spotted by Jens
	* Linus' suggestion re saner allocation for struct filename
implemented and carved up [##11--15]

It's obviously doing to slip to the next cycle at this point - I'm not
proposing to merge it in the coming window.

Please, review.  Branch in
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git #work.filename-refcnt
individual patches in followups.

Al Viro (17):
  do_faccessat(): import pathname only once
  do_fchmodat(): import pathname only once
  do_fchownat(): import pathname only once
  do_utimes_path(): import pathname only once
  chdir(2): import pathname only once
  chroot(2): import pathname only once
  user_statfs(): import pathname only once
  do_sys_truncate(): import pathname only once
  do_readlinkat(): import pathname only once
  get rid of audit_reusename()
  ntfs: ->d_compare() must not block
  getname_flags() massage, part 1
  getname_flags() massage, part 2
  struct filename: use names_cachep only for getname() and friends
  struct filename: saner handling of long names
  allow incomplete imports of filenames
  struct filename ->refcnt doesn't need to be atomic

Mateusz Guzik (1):
  fs: touch up predicts in putname()

 fs/dcache.c           |   8 +-
 fs/internal.h         |   2 +
 fs/namei.c            | 218 +++++++++++++++++++++++++++---------------
 fs/ntfs3/namei.c      |   8 +-
 fs/open.c             |  39 +++++---
 fs/stat.c             |   6 +-
 fs/statfs.c           |   4 +-
 fs/utimes.c           |  13 +--
 include/linux/audit.h |  11 ---
 include/linux/fs.h    |  28 +++---
 io_uring/fs.c         | 101 ++++++++++---------
 io_uring/openclose.c  |  26 ++---
 io_uring/statx.c      |  17 ++--
 io_uring/xattr.c      |  30 ++----
 kernel/auditsc.c      |  23 +----
 15 files changed, 286 insertions(+), 248 deletions(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2025-12-16  2:18 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-29 17:01 [RFC PATCH v2 00/18] io_uring, struct filename and audit Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 01/18] do_faccessat(): import pathname only once Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 02/18] do_fchmodat(): " Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 03/18] do_fchownat(): " Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 04/18] do_utimes_path(): " Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 05/18] chdir(2): " Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 06/18] chroot(2): " Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 07/18] user_statfs(): " Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 08/18] do_sys_truncate(): " Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 09/18] do_readlinkat(): " Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 10/18] get rid of audit_reusename() Al Viro
2025-12-16  2:14   ` Paul Moore
2025-11-29 17:01 ` [RFC PATCH v2 11/18] ntfs: ->d_compare() must not block Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 12/18] getname_flags() massage, part 1 Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 13/18] getname_flags() massage, part 2 Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 14/18] struct filename: use names_cachep only for getname() and friends Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 15/18] struct filename: saner handling of long names Al Viro
2025-11-29 17:33   ` Mateusz Guzik
2025-11-30  4:06     ` Al Viro
2025-11-30  4:38       ` Mateusz Guzik
2025-11-29 17:01 ` [RFC PATCH v2 16/18] allow incomplete imports of filenames Al Viro
2025-11-29 17:01 ` [RFC PATCH v2 17/18] fs: touch up predicts in putname() Al Viro
2025-11-29 17:34   ` Mateusz Guzik
2025-11-29 17:01 ` [RFC PATCH v2 18/18] struct filename ->refcnt doesn't need to be atomic Al Viro
2025-12-16  2:18   ` Paul Moore
2025-12-10  1:31 ` [RFC PATCH v2 00/18] io_uring, struct filename and audit Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox