linux-stable/include
Kees Cook d8e45f2929 overflow: Change DEFINE_FLEX to take __counted_by member
The norm should be flexible array structures with __counted_by
annotations, so DEFINE_FLEX() is updated to expect that. Rename
the non-annotated version to DEFINE_RAW_FLEX(), and update the
few existing users. Additionally add selftests for the macros.

Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20240306235128.it.933-kees@kernel.org
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
2024-03-22 16:25:31 -07:00
..
acpi
asm-generic - Kuan-Wei Chiu has developed the well-named series "lib min_heap: Min 2024-03-14 18:03:09 -07:00
clocksource
crypto This update includes the following changes: 2024-03-15 14:46:54 -07:00
drm drm for 6.9: 2024-03-13 18:34:05 -07:00
dt-bindings Devicetree updates for v6.9: 2024-03-15 12:37:59 -07:00
keys
kunit
kvm
linux overflow: Change DEFINE_FLEX to take __counted_by member 2024-03-22 16:25:31 -07:00
math-emu
media media updates for v6.9-rc1 2024-03-15 11:36:54 -07:00
memory
misc
net
pcmcia
ras
rdma
rv
scsi SCSI misc on 20240316 2024-03-16 16:31:12 -07:00
soc
sound sound updates for 6.9-rc1 2024-03-14 11:10:43 -07:00
target
trace NFS client updates for Linux 6.9 2024-03-16 11:44:00 -07:00
uapi powerpc updates for 6.9 2024-03-15 17:53:48 -07:00
ufs
vdso
video
xen