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/drivers
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
..
accel
accessibility
acpi - Remove the less generic CPU matching infra around struct x86_cpu_desc and 2025-01-21 09:30:59 -08:00
amba
android
ata
atm
auxdisplay
base
bcma
block for-6.14/block-20250118 2025-01-20 19:38:46 -08:00
bluetooth
bus
cache
cdrom for-6.14/block-20250118 2025-01-20 19:38:46 -08:00
cdx
char
clk
clocksource
comedi
connector
counter
cpufreq Kthreads affinity follow either of 4 existing different patterns: 2025-01-21 17:10:05 -08:00
cpuidle cpuidle: teo: Update documentation after previous changes 2025-01-13 20:46:27 +01:00
crypto kernel-6.14-rc1.cred 2025-01-20 10:13:06 -08:00
cxl
dax
dca
devfreq
dio
dma - Remove the less generic CPU matching infra around struct x86_cpu_desc and 2025-01-21 09:30:59 -08:00
dma-buf
dpll
edac - The first part of a restructuring of AMD's representation of a northbridge 2025-01-21 09:38:52 -08:00
eisa
extcon
firewire
firmware chrome-platform-firmware: Updates for v6.14 2025-01-21 19:51:28 -08:00
fpga
fsi
gnss
gpio gpio: xilinx: Convert gpio_lock to raw spinlock 2025-01-14 14:04:38 +01:00
gpu Rust changes for v6.14 2025-01-21 17:48:03 -08:00
greybus
hid
hsi
hte
hv
hwmon - The first part of a restructuring of AMD's representation of a northbridge 2025-01-21 09:38:52 -08:00
hwspinlock
hwtracing
i2c i2c: testunit: on errors, repeat NACK until STOP 2025-01-15 19:44:21 +01:00
i3c
idle
iio
infiniband
input
interconnect
iommu Updates for the interrupt subsystem: 2025-01-21 13:51:07 -08:00
ipack
irqchip Updates for the interrupt subsystem: 2025-01-21 13:51:07 -08:00
isdn
leds
macintosh powerpc updates for 6.14 2025-01-20 21:40:19 -08:00
mailbox
mcb
md for-6.14/block-20250118 2025-01-20 19:38:46 -08:00
media Kthreads affinity follow either of 4 existing different patterns: 2025-01-21 17:10:05 -08:00
memory
memstick
message
mfd
misc powerpc updates for 6.14 2025-01-20 21:40:19 -08:00
mmc for-6.14/block-20250118 2025-01-20 19:38:46 -08:00
most
mtd for-6.14/block-20250118 2025-01-20 19:38:46 -08:00
mux
net Kthreads affinity follow either of 4 existing different patterns: 2025-01-21 17:10:05 -08:00
nfc
ntb
nubus
nvdimm
nvme for-6.14/io_uring-20250119 2025-01-20 20:27:33 -08:00
nvmem
of Devicetree fixes for 6.13, part 2: 2025-01-17 15:01:24 -08:00
opp
parisc
parport
pci Updates for the interrupt subsystem: 2025-01-21 13:51:07 -08:00
pcmcia
peci
perf arm64 updates for 6.14 2025-01-20 21:21:49 -08:00
phy
pinctrl
platform chrome-platform: Updates for v6.14 2025-01-21 19:48:29 -08:00
pmdomain pmdomain: imx8mp-blk-ctrl: add missing loop break condition 2025-01-16 16:10:32 +01:00
pnp
power
powercap
pps
ps3
ptp Kthreads affinity follow either of 4 existing different patterns: 2025-01-21 17:10:05 -08:00
pwm
rapidio
ras
regulator
remoteproc
reset Reset controller fixes for v6.13 2025-01-15 14:58:22 +01:00
rpmsg
rtc
s390 s390 updates for 6.14 merge window 2025-01-20 21:14:49 -08:00
sbus
scsi powerpc updates for 6.14 2025-01-20 21:40:19 -08:00
sh
siox
slimbus
soc
soundwire
spi Kthreads affinity follow either of 4 existing different patterns: 2025-01-21 17:10:05 -08:00
spmi
ssb
staging Char/Misc/IIO driver fixes for 6.13-rc7 2025-01-12 14:34:00 -08:00
target
tc
tee
thermal
thunderbolt
tty
ufs for-6.14/block-20250118 2025-01-20 19:38:46 -08:00
uio
usb Kthreads affinity follow either of 4 existing different patterns: 2025-01-21 17:10:05 -08:00
vdpa
vfio
vhost
video
virt - A segmented Reverse Map table (RMP) is a across-nodes distributed 2025-01-21 09:00:31 -08:00
virtio
w1
watchdog Kthreads affinity follow either of 4 existing different patterns: 2025-01-21 17:10:05 -08:00
xen Updates for the interrupt subsystem: 2025-01-21 13:51:07 -08:00
zorro
Kconfig
Makefile