1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-22 07:53:11 -05:00
linux/fs
Linus Torvalds f96a974170 lsm/stable-6.14 PR 20250121
-----BEGIN PGP SIGNATURE-----
 
 iQJIBAABCAAyFiEES0KozwfymdVUl37v6iDy2pc3iXMFAmeQFBoUHHBhdWxAcGF1
 bC1tb29yZS5jb20ACgkQ6iDy2pc3iXPvcA//XCdwMz0bGtWKv58nuyP8vkQx08n6
 //olz/O8te3uWK5O3kRiarzFLwH8qsHQ6A7GYalwwix34hatR4ndJE0Y/guVRWa1
 +aBmJxJ7Jm/q3fvpAEfqiSgreuE6kBoztlDOWEq+hUQGu4qfnQGm2EnvbvfFrAmN
 VheOfIQSU2KCL/Scc3FGnF6uru4WrqN0JJ9RbvrEpfdQgmcyTGLnQsZLljutWSIq
 kDWkteIr7cj3O9J45zpxZsTftvYSgVn/y1iKeXbHI4DBA1eheK12vsHB9AADKI1J
 GwHxOrnLpZtv+ICUKqcfFTmWTl+NmfJJurAT5KXKdBjL3xM5MoJlBvK1A5qE9CMo
 LaHVG/TZR2MmBaoM3EN+gvWhDgWlvT02Q/0cYaafTlVLMez3HtfctxN6OnCvTXTB
 Y8dqYClhhlBm/mHQwYfMoeKw4MftUpzEqBd1Nj7Qe8dbP0f/62Ca3K2B3D6Rf8QV
 pj3ryMlSWYV9mdTerruLNQexTGoN7l66jPwzdWpTbFeL3WmNtfCako8OZGbXgPIu
 Iahm3P+jnSVx8ZQro2c9zwdKXI5xiI335pCBbDZ8aX+JAsfj0OofHsFx5Q5diber
 M7tAEhxDqRisbpz7Ei+/LOAEGg2Z619XKg8ks4z6Y4P5PF7zEgeWTkZJk2iLbxXe
 6LLOjmF7LLw+G4M=
 =fgyr
 -----END PGP SIGNATURE-----

Merge tag 'lsm-pr-20250121' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm

Pull lsm updates from Paul Moore:

 - Improved handling of LSM "secctx" strings through lsm_context struct

   The LSM secctx string interface is from an older time when only one
   LSM was supported, migrate over to the lsm_context struct to better
   support the different LSMs we now have and make it easier to support
   new LSMs in the future.

   These changes explain the Rust, VFS, and networking changes in the
   diffstat.

 - Only build lsm_audit.c if CONFIG_SECURITY and CONFIG_AUDIT are
   enabled

   Small tweak to be a bit smarter about when we build the LSM's common
   audit helpers.

 - Check for absurdly large policies from userspace in SafeSetID

   SafeSetID policies rules are fairly small, basically just "UID:UID",
   it easy to impose a limit of KMALLOC_MAX_SIZE on policy writes which
   helps quiet a number of syzbot related issues. While work is being
   done to address the syzbot issues through other mechanisms, this is a
   trivial and relatively safe fix that we can do now.

 - Various minor improvements and cleanups

   A collection of improvements to the kernel selftests, constification
   of some function parameters, removing redundant assignments, and
   local variable renames to improve readability.

* tag 'lsm-pr-20250121' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm:
  lockdown: initialize local array before use to quiet static analysis
  safesetid: check size of policy writes
  net: corrections for security_secid_to_secctx returns
  lsm: rename variable to avoid shadowing
  lsm: constify function parameters
  security: remove redundant assignment to return variable
  lsm: Only build lsm_audit.c if CONFIG_SECURITY and CONFIG_AUDIT are set
  selftests: refactor the lsm `flags_overset_lsm_set_self_attr` test
  binder: initialize lsm_context structure
  rust: replace lsm context+len with lsm_context
  lsm: secctx provider check on release
  lsm: lsm_context in security_dentry_init_security
  lsm: use lsm_context in security_inode_getsecctx
  lsm: replace context+len with lsm_context
  lsm: ensure the correct LSM context releaser
2025-01-21 20:03:04 -08:00
..
9p netfs: Change the read result collector to only use one work item 2024-12-20 22:34:08 +01:00
adfs
affs
afs vfs-6.14-rc1.afs 2025-01-20 11:40:48 -08:00
autofs
bcachefs for-6.14/block-20250118 2025-01-20 19:38:46 -08:00
befs
bfs
btrfs for-6.14-tag 2025-01-20 13:09:30 -08:00
cachefiles cachefiles: Add auxiliary data trace 2024-12-20 22:34:05 +01:00
ceph lsm/stable-6.14 PR 20250121 2025-01-21 20:03:04 -08:00
coda
configfs
cramfs
crypto Random number generator updates for Linux 6.13-rc1. 2024-11-19 10:43:44 -08:00
debugfs fs: debugfs: fix open proxy for unsafe files 2025-01-10 09:41:53 +01:00
devpts
dlm dlm: return -ENOENT if no comm was found 2024-12-19 13:11:24 -06:00
ecryptfs vfs-6.13.ecryptfs.mount.api 2024-11-26 13:39:02 -08:00
efivarfs First batch of EFI fixes for v6.13 2024-12-15 15:33:41 -08:00
efs
erofs Kthreads affinity follow either of 4 existing different patterns: 2025-01-21 17:10:05 -08:00
exfat exfat: fix the infinite loop in __exfat_free_cluster() 2024-12-31 17:51:21 +09:00
exportfs
ext2
ext4 ext4: use inode_set_cached_link() 2024-12-22 11:29:50 +01:00
f2fs f2fs-for-6.13-rc1 2024-11-26 12:50:58 -08:00
fat
freevxfs
fuse lsm/stable-6.14 PR 20250121 2025-01-21 20:03:04 -08:00
gfs2 gfs2 changes 2025-01-20 13:06:28 -08:00
hfs hfs: Sanity check the root record 2024-12-02 15:32:19 +01:00
hfsplus
hostfs
hpfs
hugetlbfs mm: use aligned address in clear_gigantic_page() 2024-12-18 19:04:42 -08:00
iomap iomap: avoid avoid truncating 64-bit offset to 32 bits 2025-01-09 16:09:20 +01:00
isofs
jbd2 jbd2: flush filesystem device before updating tail sequence 2024-12-04 12:00:05 +01:00
jffs2 jffs2: Fix rtime decompressor 2024-12-05 12:31:40 +01:00
jfs A few more patches to add sanity checks in jfs 2024-11-21 09:59:59 -08:00
kernfs
lockd NFSD 6.13 Release Notes 2024-11-26 12:59:30 -08:00
minix
netfs vfs-6.14-rc1.netfs 2025-01-20 09:29:11 -08:00
nfs lsm/stable-6.14 PR 20250121 2025-01-21 20:03:04 -08:00
nfs_common nfs_common: must not hold RCU while calling nfsd_file_put_local 2024-11-18 20:23:12 -05:00
nfsd lsm/stable-6.14 PR 20250121 2025-01-21 20:03:04 -08:00
nilfs2 nilfs2: fix buffer head leaks in calls to truncate_inode_pages() 2024-12-18 19:04:45 -08:00
nls
notify fs: relax assertions on failure to encode file handles 2024-12-19 15:18:27 +01:00
ntfs3
ocfs2 ocfs2: check dir i_size in ocfs2_find_entry 2025-01-15 21:15:44 -08:00
omfs
openpromfs
orangefs
overlayfs kernel-6.14-rc1.cred 2025-01-20 10:13:06 -08:00
proc vfs-6.14-rc1.misc 2025-01-20 09:40:49 -08:00
pstore pstore updates for v6.14-rc1 2025-01-20 13:37:14 -08:00
qnx4
qnx6 fs/qnx6: Fix building with GCC 15 2024-12-03 10:40:36 +01:00
quota quota: flush quota_release_work upon quota writeback 2024-11-26 22:54:00 +01:00
ramfs
romfs
smb kernel-6.14-rc1.cred 2025-01-20 10:13:06 -08:00
squashfs
sysfs
sysv
tests
tracefs
ubifs This pull request contains updates for JFFS2, UBI and UBIFS: 2024-11-30 10:32:47 -08:00
udf udf: Verify inode link counts before performing rename 2024-11-26 22:54:24 +01:00
ufs
unicode Revert "unicode: Don't special case ignorable code points" 2024-12-11 14:11:23 -08:00
vboxsf vbox: Enable VBOXGUEST and VBOXSF_FS on ARM64 2025-01-07 15:57:23 +01:00
verity
xfs vfs-6.14-rc1.statx.dio 2025-01-20 11:16:50 -08:00
zonefs
aio.c aio: avoid pointless cred reference count bump 2024-12-02 11:25:10 +01:00
anon_inodes.c
attr.c
backing-file.c tree-wide: s/revert_creds_light()/revert_creds()/g 2024-12-02 11:25:09 +01:00
bad_inode.c
binfmt_elf.c Revert "fs: don't block i_writecount during exec" 2024-11-27 12:51:30 +01:00
binfmt_elf_fdpic.c Revert "fs: don't block i_writecount during exec" 2024-11-27 12:51:30 +01:00
binfmt_flat.c binfmt_flat: Fix integer overflow bug on 32 bit systems 2025-01-10 08:49:05 -08:00
binfmt_misc.c execve updates for v6.14-rc1 2025-01-20 13:27:58 -08:00
binfmt_script.c
bpf_fs_kfuncs.c
buffer.c - The series "zram: optimal post-processing target selection" from 2024-11-23 09:58:07 -08:00
char_dev.c
compat_binfmt_elf.c
coredump.c coredump: avoid pointless cred reference count bump 2024-12-02 11:25:11 +01:00
d_path.c
dax.c
dcache.c dcache: use lockref_init for d_lockref 2025-01-16 11:48:11 +01:00
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c Networking changes for 6.13. 2024-11-21 08:28:08 -08:00
exec.c execve updates for v6.14-rc1 2025-01-20 13:27:58 -08:00
fcntl.c fs: require inode_owner_or_capable for F_SET_RW_HINT 2024-11-25 15:16:49 +01:00
fhandle.c exportfs: add permission method 2024-12-17 09:16:11 +01:00
file.c vfs-6.14-rc1.misc 2025-01-20 09:40:49 -08:00
file_table.c file: flush delayed work in delayed fput() 2024-12-22 11:29:52 +01:00
filesystems.c
fs-writeback.c
fs_context.c fs: fc_log replace magic number 7 with ARRAY_SIZE() 2024-12-22 11:29:52 +01:00
fs_parser.c bcachefs: add support for true/false & yes/no in bool-type options 2024-12-21 01:36:17 -05:00
fs_pin.c
fs_struct.c
fs_types.c
fsopen.c
init.c
inode.c - The series "zram: optimal post-processing target selection" from 2024-11-23 09:58:07 -08:00
internal.h sanitize struct filename and lookup flags handling in statx 2024-11-18 14:54:10 -08:00
ioctl.c
Kconfig
Kconfig.binfmt
kernel_read_file.c
libfs.c vfs-6.14-rc1.libfs 2025-01-20 11:00:53 -08:00
locks.c
Makefile
mbcache.c
mnt_idmapping.c
mount.h fs: cache first and last mount 2025-01-09 16:58:54 +01:00
mpage.c
namei.c vfs: support caching symlink lengths in inodes 2024-12-22 11:29:50 +01:00
namespace.c vfs-6.14-rc1.mount.v2 2025-01-20 10:44:51 -08:00
nsfs.c fs: lockless mntns lookup for nsfs 2025-01-09 16:58:52 +01:00
open.c open: avoid pointless cred reference count bump 2024-12-02 11:25:12 +01:00
pidfs.c pidfs: allow bind-mounts 2024-12-22 11:03:10 +01:00
pipe.c pipe_read: don't wake up the writer if the pipe is still full 2025-01-04 10:12:19 +01:00
pnode.c fs: Fix grammar and spelling in propagate_umount() 2024-12-22 11:29:52 +01:00
pnode.h
posix_acl.c
proc_namespace.c
read_write.c the bulk of struct fd memory safety stuff 2024-11-18 12:24:06 -08:00
readdir.c
remap_range.c
select.c select: Fix unbalanced user_access_end() 2025-01-13 16:24:16 +01:00
seq_file.c
signalfd.c
splice.c
stack.c
stat.c fs: add STATX_DIO_READ_ALIGN 2025-01-09 16:23:17 +01:00
statfs.c
super.c
sync.c
sysctls.c
timerfd.c A rather large update for timekeeping and timers: 2024-11-19 16:35:06 -08:00
userfaultfd.c
utimes.c
xattr.c