summaryrefslogtreecommitdiff
path: root/include/linux/fortify-string.h
AgeCommit message (Expand)AuthorFilesLines
2024-06-19fortify: Do not special-case 0-sized destinationsKees Cook1-6/+2
2024-05-24kasan, fortify: properly rename memintrinsicsAndrey Konovalov1-4/+18
2024-05-19Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+3
2024-05-01kunit/fortify: Fix replaced failure path to unbreak __alloc_sizeKees Cook1-1/+2
2024-04-30kunit/fortify: Add memcpy() testsKees Cook1-1/+5
2024-04-25mm/slab: enable slab allocation tagging for kmalloc and friendsSuren Baghdasaryan1-2/+3
2024-02-29fortify: Improve buffer overflow reportingKees Cook1-26/+30
2024-02-29fortify: Provide KUnit counters for failure testingKees Cook1-20/+23
2024-02-29fortify: Split reporting and avoid passing string pointerKees Cook1-21/+60
2024-02-20string: Allow 2-argument strscpy()Kees Cook1-20/+2
2024-01-19string: Remove strlcpy()Kees Cook1-51/+0
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+1
2023-10-18extract and use FILE_LINE macroAlexey Dobriyan1-1/+1
2023-10-03overflow: add DEFINE_FLEX() for on-stack allocsPrzemek Kitszel1-4/+0
2023-05-16fortify: strcat: Move definition to use fortified strlcat()Kees Cook1-27/+26
2023-05-16fortify: Add protection for strlcat()Kees Cook1-0/+64
2023-05-16fortify: Use const variables for __member_size trackingKees Cook1-21/+21
2023-05-16fortify: strscpy: Fix flipped q and p docstring typoArne Welzel1-2/+2
2023-01-05fortify: Use __builtin_dynamic_object_size() when availableKees Cook1-0/+7
2022-12-14Merge tag 'hardening-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-12/+136
2022-11-04Merge tag 'hardening-v6.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+9
2022-11-01fortify: Do not cast to "unsigned char"Kees Cook1-1/+1
2022-11-01fortify: Short-circuit known-safe calls to strscpy()Kees Cook1-0/+10
2022-11-01string: Add __realloc_size hint to kmemdup()Kees Cook1-1/+2
2022-10-28string: Rewrite and add more kern-doc for the str*() functionsKees Cook1-10/+123
2022-10-28fortify: Capture __bos() results in const temp varsKees Cook1-4/+9
2022-10-28x86: fortify: kmsan: fix KMSAN fortify buildsAlexander Potapenko1-2/+15
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+2
2022-10-03x86: kmsan: use __msan_ string functions where possible.Alexander Potapenko1-0/+2
2022-09-26fortify: Convert to struct vs member helpersKees Cook1-33/+35
2022-09-26fortify: Explicitly check bounds are compile-time constantsKees Cook1-19/+30
2022-09-07fortify: Add run-time WARN for cross-field memcpy()Kees Cook1-3/+67
2022-09-07fortify: Use SIZE_MAX instead of (size_t)-1Kees Cook1-14/+15
2022-09-07fortify: Fix __compiletime_strlen() under UBSAN_BOUNDS_LOCALKees Cook1-1/+2
2022-09-07string: Introduce strtomem() and strtomem_pad()Kees Cook1-0/+32
2022-05-12fortify: Provide a memcpy trap door for sharp cornersKees Cook1-0/+16
2022-02-13fortify: Add Clang supportKees Cook1-14/+26
2022-02-13fortify: Make sure strlen() may still be used as a constant expressionKees Cook1-2/+11
2022-02-13fortify: Use __diagnose_as() for better diagnostic coverageKees Cook1-7/+14
2022-02-13fortify: Make pointer arguments constKees Cook1-13/+13
2022-02-13fortify: Replace open-coded __gnu_inline attributeKees Cook1-1/+1
2022-02-13fortify: Detect struct member overflows in memset() at compile-timeKees Cook1-8/+46
2022-02-13fortify: Detect struct member overflows in memmove() at compile-timeKees Cook1-17/+4
2022-02-13fortify: Detect struct member overflows in memcpy() at compile-timeKees Cook1-12/+97
2021-10-25fortify: strlen: Avoid shadowing previous localsQian Cai1-12/+12
2021-09-25fortify: Allow strlen() and strnlen() to pass compile-time known lengthsKees Cook1-11/+38
2021-09-25fortify: Prepare to improve strnlen() and strlen() warningsKees Cook1-11/+11
2021-09-25fortify: Fix dropped strcpy() compile-time write overflow checkKees Cook1-1/+4
2021-09-25fortify: Move remaining fortify helpers into fortify-string.hKees Cook1-0/+7
2021-02-26string.h: move fortified functions definitions in a dedicated header.Francis Laniel1-0/+302