xattr stuff
Al Viro
maintainerThe following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:
Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-xattr
for you to fetch changes up to 46a7fcec097da5b3188dce608362fe6bf4ea26ee:
xattr: remove redundant check on variable err (2024-11-06 13:00:01 -0500)
----------------------------------------------------------------
sanitize xattr and io_uring interactions with it,
add *xattrat() syscalls, sanitize struct filename handling in there.
----------------------------------------------------------------
Al Viro (9):
teach filename_lookup() to treat NULL filename as "" getname_maybe_null() - the third variant of pathname copy-in io_[gs]etxattr_prep(): just use getname()
xattr: switch to CLASS(fd)
new helper: import_xattr_name()
replace do_setxattr() with saner helpers.
replace do_getxattr() with saner helpers.
new helpers: file_listxattr(), filename_listxattr() new helpers: file_removexattr(), filename_removexattr()
Christian Göttsche (2):
fs: rename struct xattr_ctx to kernel_xattr_ctx fs/xattr: add *at family syscalls
Colin Ian King (1):
xattr: remove redundant check on variable err
Jens Axboe (1):
io_uring: IORING_OP_F[GS]ETXATTR is fine with REQ_F_FIXED_FILE
arch/alpha/kernel/syscalls/syscall.tbl | 4 + arch/arm/tools/syscall.tbl | 4 + arch/arm64/tools/syscall_32.tbl | 4 + arch/m68k/kernel/syscalls/syscall.tbl | 4 + arch/microblaze/kernel/syscalls/syscall.tbl | 4 + arch/mips/kernel/syscalls/syscall_n32.tbl | 4 + arch/mips/kernel/syscalls/syscall_n64.tbl | 4 + arch/mips/kernel/syscalls/syscall_o32.tbl | 4 + arch/parisc/kernel/syscalls/syscall.tbl | 4 + arch/powerpc/kernel/syscalls/syscall.tbl | 4 + arch/s390/kernel/syscalls/syscall.tbl | 4 + arch/sh/kernel/syscalls/syscall.tbl | 4 + arch/sparc/kernel/syscalls/syscall.tbl | 4 + arch/x86/entry/syscalls/syscall_32.tbl | 4 + arch/x86/entry/syscalls/syscall_64.tbl | 4 + arch/xtensa/kernel/syscalls/syscall.tbl | 4 + fs/internal.h | 17 +- fs/namei.c | 34 ++- fs/stat.c | 28 +- fs/xattr.c | 446 ++++++++++++++++++---------- include/asm-generic/audit_change_attr.h | 6 + include/linux/fs.h | 10 + include/linux/syscalls.h | 13 + include/linux/xattr.h | 4 + include/uapi/asm-generic/unistd.h | 11 +- include/uapi/linux/xattr.h | 7 + io_uring/xattr.c | 97 ++---- scripts/syscall.tbl | 4 + 28 files changed, 474 insertions(+), 267 deletions(-)
Al Viro
maintainerOn Fri, Nov 15, 2024 at 03:08:06PM +0000, Al Viro wrote:
[snip]
Quoted 3 lines
Al Viro (9):
teachfilename_lookup()to treat NULL filename as ""getname_maybe_null()- the third variant of pathname copy-in
PS: there's one more pile in -next (statx stuff), but it shares the first two commits with this branch, so I'll probably send a pull request once this one gets merged, if that's OK by you.
The pull request you sent on Fri, 15 Nov 2024 15:08:06 +0000:
The pull request you sent on Fri, 15 Nov 2024 15:08:06 +0000:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.gittags/pull-xattr
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/82339c49119f5e38ca3c81d698b84134c342373f
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html
Al Viro
maintainer[git pull] statx stuff
In reply to Al Viro[now that the part shared with vfs.xattr2 is merged...]
The following changes since commit e896474fe4851ffc4dd860c92daa906783090346:
getname_maybe_null() - the third variant of pathname copy-in (2024-10-19 20:33:34 -0400)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-statx
for you to fetch changes up to 6c056ae4b27575d9230b883498d3cd02315ce6cc:
libfs: kill empty_dir_getattr() (2024-11-13 11:46:44 -0500)
----------------------------------------------------------------
sanitize struct filename and lookup flags handling in statx and friends
----------------------------------------------------------------
Al Viro (4):
io_statx_prep(): use getname_uflags()
kill getname_statx_lookup_flags()
fs/stat.c: switch to CLASS(fd_raw)
libfs: kill empty_dir_getattr()
Stefan Berger (1):
fs: Simplify getattr interface function checking AT_GETATTR_NOSEC flag
fs/ecryptfs/inode.c | 12 ++---------- fs/internal.h | 1 - fs/libfs.c | 11 ----------- fs/overlayfs/inode.c | 10 +++++----- fs/overlayfs/overlayfs.h | 8 -------- fs/stat.c | 24 +++++++----------------- include/uapi/linux/fcntl.h | 4 ---- io_uring/statx.c | 3 +-- 8 files changed, 15 insertions(+), 58 deletions(-)
Re: [git pull] statx stuff
The pull request you sent on Mon, 18 Nov 2024 21:38:08 +0000:
The pull request you sent on Mon, 18 Nov 2024 21:38:08 +0000:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.gittags/pull-statx
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c6d64479d6093a5c3d709d4cc992a5344877cc3c
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html