[RFC PATCH v2 00/18] io_uring, struct filename and audit
Al Viro <[email protected]>
| Newsgroups | org.kernel.vger.audit,org.kernel.vger.io-uring,org.kernel.vger.linux-fsdevel |
|---|---|
| Message-ID | <[email protected]> |
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