linux/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 ACPI updates for 6.9-rc1 2024-03-13 11:54:05 -07:00
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 kunit: Annotate _MSG assertion variants with gnu printf specifiers 2024-02-28 13:07:49 -07:00
kvm Merge branch kvm-arm64/lpi-xarray into kvmarm/next 2024-03-07 00:55:53 +00:00
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 Networking changes for 6.9. 2024-03-12 17:44:08 -07:00
pcmcia
ras PCI/AER: Generalize TLP Header Log reading 2024-03-08 15:26:46 -06:00
rdma
rv
scsi SCSI misc on 20240316 2024-03-16 16:31:12 -07:00
soc Qualcomm driver updates for v6.9 2024-03-04 16:52:37 +01:00
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 vdso/datapage: Quick fix - use asm/page-def.h for ARM64 2024-02-26 23:13:41 +01:00
video
xen