summaryrefslogtreecommitdiff
path: root/include/linux/fortify-string.h
AgeCommit message (Expand)AuthorFilesLines
2023-11-03Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+1
2023-10-19extract and use FILE_LINE macroAlexey Dobriyan1-1/+1
2023-10-03overflow: add DEFINE_FLEX() for on-stack allocsPrzemek Kitszel1-4/+0
2023-05-17fortify: strcat: Move definition to use fortified strlcat()Kees Cook1-27/+26
2023-05-17fortify: Add protection for strlcat()Kees Cook1-0/+64
2023-05-17fortify: 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-05Merge 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-29string: Rewrite and add more kern-doc for the str*() functionsKees Cook1-10/+123
2022-10-29fortify: Capture __bos() results in const temp varsKees Cook1-4/+9
2022-10-28x86: fortify: kmsan: fix KMSAN fortify buildsAlexander Potapenko1-2/+15
2022-10-11Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+2
2022-10-04x86: 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-08fortify: Add run-time WARN for cross-field memcpy()Kees Cook1-3/+67
2022-09-08fortify: Use SIZE_MAX instead of (size_t)-1Kees Cook1-14/+15
2022-09-08fortify: Fix __compiletime_strlen() under UBSAN_BOUNDS_LOCALKees Cook1-1/+2
2022-09-08string: 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-14fortify: Add Clang supportKees Cook1-14/+26
2022-02-14fortify: Make sure strlen() may still be used as a constant expressionKees Cook1-2/+11
2022-02-14fortify: Use __diagnose_as() for better diagnostic coverageKees Cook1-7/+14
2022-02-14fortify: Make pointer arguments constKees Cook1-13/+13
2022-02-14fortify: Replace open-coded __gnu_inline attributeKees Cook1-1/+1
2022-02-14fortify: Detect struct member overflows in memset() at compile-timeKees Cook1-8/+46
2022-02-14fortify: Detect struct member overflows in memmove() at compile-timeKees Cook1-17/+4
2022-02-14fortify: Detect struct member overflows in memcpy() at compile-timeKees Cook1-12/+97
2021-10-26fortify: 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