* [GIT PULL for v6.7] vfs xattr updates
@ 2023-10-27 14:44 Christian Brauner
2023-10-30 20:05 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: Christian Brauner @ 2023-10-27 14:44 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel
Hey Linus,
/* Summary */
The 's_xattr' field of 'struct super_block' currently requires a mutable
table of 'struct xattr_handler' entries (although each handler itself is
const). However, no code in vfs actually modifies the tables.
This changes the type of 's_xattr' to allow const tables, and modifies
existing file systems to move their tables to .rodata. This is desirable
because these tables contain entries with function pointers in them;
moving them to .rodata makes it considerably less likely to be modified
accidentally or maliciously at runtime.
/* Testing */
clang: Debian clang version 16.0.6 (16)
gcc: gcc (Debian 13.2.0-5) 13.2.0
All patches are based on v6.6-rc2 and have been sitting in linux-next.
No build failures or warnings were observed.
/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.
The following changes since commit ce9ecca0238b140b88f43859b211c9fdfd8e5b70:
Linux 6.6-rc2 (2023-09-17 14:40:24 -0700)
are available in the Git repository at:
git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.7.xattr
for you to fetch changes up to a640d888953cd18e8542283653c20160b601d69d:
const_structs.checkpatch: add xattr_handler (2023-10-12 17:14:11 +0200)
Please consider pulling these changes from the signed vfs-6.7.xattr tag.
Thanks!
Christian
----------------------------------------------------------------
vfs-6.7.xattr
----------------------------------------------------------------
Thomas Weißschuh (1):
const_structs.checkpatch: add xattr_handler
Wedson Almeida Filho (29):
xattr: make the xattr array itself const
ext4: move ext4_xattr_handlers to .rodata
9p: move xattr-related structs to .rodata
afs: move afs_xattr_handlers to .rodata
btrfs: move btrfs_xattr_handlers to .rodata
ceph: move ceph_xattr_handlers to .rodata
ecryptfs: move ecryptfs_xattr_handlers to .rodata
erofs: move erofs_xattr_handlers and xattr_handler_map to .rodata
ext2: move ext2_xattr_handlers and ext2_xattr_handler_map to .rodata
f2fs: move f2fs_xattr_handlers and f2fs_xattr_handler_map to .rodata
fuse: move fuse_xattr_handlers to .rodata
gfs2: move gfs2_xattr_handlers_max to .rodata
hfs: move hfs_xattr_handlers to .rodata
hfsplus: move hfsplus_xattr_handlers to .rodata
jffs2: move jffs2_xattr_handlers to .rodata
jfs: move jfs_xattr_handlers to .rodata
kernfs: move kernfs_xattr_handlers to .rodata
nfs: move nfs4_xattr_handlers to .rodata
ntfs3: move ntfs_xattr_handlers to .rodata
ocfs2: move ocfs2_xattr_handlers and ocfs2_xattr_handler_map to .rodata
orangefs: move orangefs_xattr_handlers to .rodata
reiserfs: move reiserfs_xattr_handlers to .rodata
smb: move cifs_xattr_handlers to .rodata
squashfs: move squashfs_xattr_handlers to .rodata
ubifs: move ubifs_xattr_handlers to .rodata
xfs: move xfs_xattr_handlers to .rodata
overlayfs: move xattr tables to .rodata
shmem: move shmem_xattr_handlers to .rodata
net: move sockfs_xattr_handlers to .rodata
fs/9p/xattr.c | 8 ++++----
fs/9p/xattr.h | 2 +-
fs/afs/internal.h | 2 +-
fs/afs/xattr.c | 2 +-
fs/btrfs/xattr.c | 2 +-
fs/btrfs/xattr.h | 2 +-
fs/ceph/super.h | 2 +-
fs/ceph/xattr.c | 2 +-
fs/ecryptfs/ecryptfs_kernel.h | 2 +-
fs/ecryptfs/inode.c | 2 +-
fs/erofs/xattr.c | 2 +-
fs/erofs/xattr.h | 4 ++--
fs/ext2/xattr.c | 4 ++--
fs/ext2/xattr.h | 2 +-
fs/ext4/xattr.c | 2 +-
fs/ext4/xattr.h | 2 +-
fs/f2fs/xattr.c | 4 ++--
fs/f2fs/xattr.h | 2 +-
fs/fuse/fuse_i.h | 2 +-
fs/fuse/xattr.c | 2 +-
fs/gfs2/super.h | 4 ++--
fs/gfs2/xattr.c | 4 ++--
fs/hfs/attr.c | 2 +-
fs/hfs/hfs_fs.h | 2 +-
fs/hfsplus/xattr.c | 2 +-
fs/hfsplus/xattr.h | 2 +-
fs/jffs2/xattr.c | 2 +-
fs/jffs2/xattr.h | 2 +-
fs/jfs/jfs_xattr.h | 2 +-
fs/jfs/xattr.c | 2 +-
fs/kernfs/inode.c | 2 +-
fs/kernfs/kernfs-internal.h | 2 +-
fs/nfs/nfs.h | 2 +-
fs/nfs/nfs4_fs.h | 2 +-
fs/nfs/nfs4proc.c | 2 +-
fs/ntfs3/ntfs_fs.h | 2 +-
fs/ntfs3/xattr.c | 2 +-
fs/ocfs2/xattr.c | 4 ++--
fs/ocfs2/xattr.h | 2 +-
fs/orangefs/orangefs-kernel.h | 2 +-
fs/orangefs/xattr.c | 2 +-
fs/overlayfs/super.c | 4 ++--
fs/reiserfs/reiserfs.h | 2 +-
fs/reiserfs/xattr.c | 4 ++--
fs/smb/client/cifsfs.h | 2 +-
fs/smb/client/xattr.c | 2 +-
fs/squashfs/squashfs.h | 2 +-
fs/squashfs/xattr.c | 2 +-
fs/ubifs/ubifs.h | 2 +-
fs/ubifs/xattr.c | 2 +-
fs/xattr.c | 6 +++---
fs/xfs/xfs_xattr.c | 2 +-
fs/xfs/xfs_xattr.h | 2 +-
include/linux/fs.h | 2 +-
include/linux/pseudo_fs.h | 2 +-
mm/shmem.c | 2 +-
net/socket.c | 2 +-
scripts/const_structs.checkpatch | 1 +
58 files changed, 71 insertions(+), 70 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL for v6.7] vfs xattr updates
2023-10-27 14:44 [GIT PULL for v6.7] vfs xattr updates Christian Brauner
@ 2023-10-30 20:05 ` pr-tracker-bot
0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2023-10-30 20:05 UTC (permalink / raw)
To: Christian Brauner
Cc: Linus Torvalds, Christian Brauner, linux-fsdevel, linux-kernel
The pull request you sent on Fri, 27 Oct 2023 16:44:00 +0200:
> git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.7.xattr
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7352a6765cf5d95888b3952ac89efbb817b4c3cf
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-30 20:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-27 14:44 [GIT PULL for v6.7] vfs xattr updates Christian Brauner
2023-10-30 20:05 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).