This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository linux.
from 98be618ad030 Merge tag 'Smack-for-6.5' of https://github.com/cschaufler [...] new 60592fb6b67c coredump, vmcore: Set p_align to 4 for PT_NOTE new e6302d5a285b binfmt: Use struct_size() new 36650a357eac binfmt: Slightly simplify elf_fdpic_map_file() new 0b3d412798a4 elf: correct note name comment new aa88054b7090 binfmt_elf: fix comment typo s/reset/regset/ new d416a46c954e Merge tag 'execve-v6.5-rc1' of git://git.kernel.org/pub/sc [...] new 48f2c681df43 pstore/ram: Convert to platform remove callback returning void new d97038d5ec20 pstore/ram: Add check for kstrdup new 8ad78685ffa6 Merge tag 'pstore-v6.5-rc1' of git://git.kernel.org/pub/sc [...] new 2d47c6956ab3 ubsan: Tighten UBSAN_BOUNDS on GCC new ead62aa370a8 fortify: strscpy: Fix flipped q and p docstring typo new 4d9060981f88 kunit: tool: Enable CONFIG_FORTIFY_SOURCE under UML new a9dc8d044229 fortify: Allow KUnit test to build without FORTIFY new 3bf301e1ab85 string: Add Kunit tests for strcat() family new 21a2c74b0a2a fortify: Use const variables for __member_size tracking new 605395cd7ced fortify: Add protection for strlcat() new 55c84a5cf2c7 fortify: strcat: Move definition to use fortified strlcat() new 08e4044243a6 ubsan: remove cc-option test for UBSAN_TRAP new df8fc4e934c1 kbuild: Enable -fstrict-flex-arrays=3 new 30ad0627f169 dlm: Replace all non-returning strlcpy with strscpy new 8ca25e00cf81 NFS: Prefer strscpy over strlcpy calls new 883f8fe87686 vboxsf: Replace all non-returning strlcpy with strscpy new 3b92d34ac06a scsi: ibmvscsi: Replace all non-returning strlcpy with strscpy new 2f4113b33081 scsi: qedi: Replace all non-returning strlcpy with strscpy new 8d82557e4b5e scsi: bnx2i: Replace all non-returning strlcpy with strscpy new 038d40edc4c1 scsi: aacraid: Replace all non-returning strlcpy with strscpy new 7afbe5defb52 scsi: 3w-9xxx: Replace all non-returning strlcpy with strscpy new c7dce4c5d9f6 tracing: Replace all non-returning strlcpy with strscpy new 992b8fe106ab drm/radeon: Replace all non-returning strlcpy with strscpy new 7f09a3a09fb7 drm/amd/pm: Replace all non-returning strlcpy with strscpy new d67790ddf021 overflow: Add struct_size_t() helper new 2f088dfc1878 md/raid5: Convert stripe_head's "dev" to flexible array member new 7391928025f2 befs: Replace all non-returning strlcpy with strscpy new b45861ed66de lkdtm/bugs: Switch from 1-element array to flexible array new e910c8e3aa02 autofs: use flexible array in ioctl structure new dd06e72e68bc Compiler Attributes: Add __counted_by macro new d0c2d66fcc8d ftrace: Replace all non-returning strlcpy with strscpy new d0f90841cba1 checkpatch: Check for strcpy and strncpy too new 26f15e5de15f ubsan: add prototypes for internal functions new 533950d32d29 drm/display/dp_mst: Replace all non-returning strlcpy with [...] new 576f0d7a8ad3 drm/rockchip: Replace all non-returning strlcpy with strscpy new 3213bfde114f drm/mediatek: Replace all non-returning strlcpy with strscpy new 8360257608f7 drm/sun4i: hdmi: Replace all non-returning strlcpy with strscpy new f4a0659f823e drm/i2c: tda998x: Replace all non-returning strlcpy with strscpy new 2af4aa3be588 staging: most: Replace all non-returning strlcpy with strscpy new f9cfb1910ece string: use __builtin_memcpy() in strlcpy/strlcat new 76edc27eda06 clocksource: Replace all non-returning strlcpy with strscpy new 41e7a72e1d3c acpi: Replace struct acpi_table_slit 1-element array with [...] new 91218d7d708e x86/purgatory: Do not use fortified string functions new 4ce1e9417569 s390/purgatory: Do not use fortified string functions new 8762606ae22e riscv/purgatory: Do not use fortified string functions new 8515e4a746fc checkpatch: Check for 0-length and 1-element arrays new 7afb6d8fa81f jbd2: Avoid printing outside the boundary of the buffer new d01a77afd6be lib/string_helpers: Change returned value of the strreplace() new b2f10148ec1e kobject: Use return value of strreplace() new f0e212de87a1 Hexagon: Replace all non-returning strlcpy with strscpy new bb07972fd64a sparc64: Replace all non-returning strlcpy with strscpy new fdd932efaec9 of/flattree: Replace all non-returning strlcpy with strscpy new 870410910b6a sh: Replace all non-returning strlcpy with strscpy new 33457938a0c4 kallsyms: Replace all non-returning strlcpy with strscpy new a5a319ec2c22 um: Use HOST_DIR for mrproper new f0a6b5831cfb uml: Replace strlcpy with strscpy new acf15e07eb06 netfilter: ipset: Replace strlcpy with strscpy new 582c161cf38c Merge tag 'hardening-v6.5-rc1' of git://git.kernel.org/pub [...]
The 64 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: Documentation/filesystems/autofs-mount-control.rst | 2 +- Documentation/filesystems/autofs.rst | 2 +- MAINTAINERS | 1 + Makefile | 6 + arch/hexagon/kernel/setup.c | 6 +- arch/microblaze/kernel/prom.c | 2 +- arch/riscv/purgatory/Makefile | 2 +- arch/s390/purgatory/Makefile | 2 +- arch/sh/drivers/dma/dma-api.c | 2 +- arch/sh/kernel/setup.c | 4 +- arch/sparc/kernel/ioport.c | 2 +- arch/sparc/kernel/setup_32.c | 2 +- arch/sparc/kernel/setup_64.c | 2 +- arch/sparc/prom/bootstr_32.c | 2 +- arch/um/Makefile | 2 +- arch/um/include/shared/user.h | 1 + arch/um/os-Linux/drivers/tuntap_user.c | 2 +- arch/x86/purgatory/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/atom.c | 2 +- drivers/gpu/drm/amd/pm/legacy-dpm/legacy_dpm.c | 2 +- drivers/gpu/drm/display/drm_dp_helper.c | 2 +- drivers/gpu/drm/display/drm_dp_mst_topology.c | 2 +- drivers/gpu/drm/drm_mipi_dsi.c | 2 +- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c | 2 +- drivers/gpu/drm/radeon/radeon_atombios.c | 4 +- drivers/gpu/drm/radeon/radeon_combios.c | 4 +- drivers/gpu/drm/rockchip/inno_hdmi.c | 2 +- drivers/gpu/drm/rockchip/rk3066_hdmi.c | 2 +- drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c | 2 +- drivers/md/raid5.c | 4 +- drivers/md/raid5.h | 2 +- drivers/misc/lkdtm/bugs.c | 4 +- drivers/most/configfs.c | 8 +- drivers/net/ethernet/intel/ice/ice_ddp.h | 9 +- drivers/nvme/host/fc.c | 8 +- drivers/scsi/3w-9xxx.c | 2 +- drivers/scsi/aacraid/aachba.c | 2 +- drivers/scsi/bnx2i/bnx2i_init.c | 2 +- drivers/scsi/hptiop.c | 4 +- drivers/scsi/ibmvscsi/ibmvscsi.c | 6 +- drivers/scsi/megaraid/megaraid_sas_base.c | 12 +- drivers/scsi/megaraid/megaraid_sas_fp.c | 6 +- drivers/scsi/qedi/qedi_main.c | 2 +- drivers/scsi/smartpqi/smartpqi_init.c | 2 +- fs/befs/btree.c | 2 +- fs/befs/linuxvfs.c | 2 +- fs/binfmt_elf.c | 4 +- fs/binfmt_elf_fdpic.c | 12 +- fs/dlm/config.c | 4 +- fs/jbd2/journal.c | 6 +- fs/nfs/nfsroot.c | 2 +- fs/proc/vmcore.c | 4 +- fs/pstore/ram.c | 6 +- fs/pstore/ram_core.c | 2 + fs/vboxsf/super.c | 2 +- fs/xfs/libxfs/xfs_btree.h | 2 +- fs/xfs/scrub/btree.h | 2 +- include/acpi/actbl3.h | 2 +- include/linux/compiler_attributes.h | 13 ++ include/linux/fortify-string.h | 161 ++++++++++++++------- include/linux/overflow.h | 18 ++- include/linux/string.h | 2 +- include/uapi/linux/auto_dev-ioctl.h | 2 +- include/uapi/linux/elf.h | 3 +- kernel/kallsyms.c | 4 +- kernel/params.c | 2 +- kernel/time/clocksource.c | 2 +- kernel/trace/ftrace.c | 18 +-- kernel/trace/trace.c | 8 +- kernel/trace/trace_events.c | 4 +- kernel/trace/trace_events_inject.c | 4 +- kernel/trace/trace_kprobe.c | 2 +- kernel/trace/trace_probe.c | 2 +- lib/Kconfig.debug | 7 +- lib/Kconfig.ubsan | 57 ++++---- lib/Makefile | 1 + lib/fortify_kunit.c | 14 ++ lib/kobject.c | 3 +- lib/overflow_kunit.c | 2 +- lib/strcat_kunit.c | 104 +++++++++++++ lib/string.c | 4 +- lib/string_helpers.c | 12 +- lib/ubsan.c | 3 - lib/ubsan.h | 11 ++ net/netfilter/ipset/ip_set_hash_netiface.c | 10 +- scripts/Makefile.ubsan | 2 +- scripts/checkpatch.pl | 24 ++- tools/testing/kunit/configs/all_tests.config | 2 + tools/testing/kunit/configs/arch_uml.config | 3 + 90 files changed, 481 insertions(+), 220 deletions(-) create mode 100644 lib/strcat_kunit.c