summaryrefslogtreecommitdiffstats
path: root/include/linux/overflow.h
Commit message (Expand)AuthorAgeFilesLines
* overflow: Change DEFINE_FLEX to take __counted_by memberKees Cook2024-03-221-4/+21
* overflow: Allow non-type arg to type_max() and type_min()Kees Cook2024-03-011-5/+7
* overflow: Use POD in check_shl_overflow()Andy Shevchenko2024-02-291-1/+1
* overflow: Introduce wrapping_assign_add() and wrapping_assign_sub()Kees Cook2024-02-291-0/+32
* overflow: Introduce wrapping_add(), wrapping_sub(), and wrapping_mul()Kees Cook2024-02-291-0/+48
* overflow: Adjust check_*_overflow() kern-doc to reflect resultsKees Cook2024-02-291-12/+9
* overflow: add DEFINE_FLEX() for on-stack allocsPrzemek Kitszel2023-10-031-0/+35
* overflow: Add struct_size_t() helperKees Cook2023-05-261-1/+17
* overflow: Introduce overflows_type() and castable_to_type()Kees Cook2022-11-021-0/+47
* overflow: Fix kern-doc markup for functionsKees Cook2022-10-251-22/+16
* overflow: Allow mixed type argumentsKees Cook2022-09-071-31/+41
* overflow, tracing: Define the is_signed_type() macro onceBart Van Assche2022-08-311-1/+0
* overflow: Provide constant expression struct_sizeKees Cook2022-02-161-3/+7
* overflow: Implement size_t saturating arithmetic helpersKees Cook2022-02-161-41/+69
* compiler.h: drop fallback overflow checkersNick Desaulniers2021-09-131-135/+3
* overflow: Correct check_shl_overflow() commentKeith Busch2021-04-011-1/+1
* Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds2020-10-171-0/+1
|\
| * overflow: Include header file with SIZE_MAX declarationLeon Romanovsky2020-10-011-0/+1
* | overflow: Add __must_check attribute to check_*() helpersKees Cook2020-10-121-15/+24
|/
* overflow.h: Add flex_array_size() helperGustavo A. R. Silva2020-06-161-4/+21
* Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds2019-05-161-2/+6
|\
| * overflow.h: Add comment documenting __ab_c_size()Rasmus Villemoes2019-04-121-2/+6
* | overflow: Fix -Wtype-limits compilation warningsLeon Romanovsky2019-03-271-3/+9
|/
* overflow.h: Add arithmetic shift helperJason Gunthorpe2018-08-081-0/+31
* overflow.h: Add allocation size calculation helpersKees Cook2018-06-051-0/+73
* compiler.h: enable builtin overflow checkers and add fallback codeRasmus Villemoes2018-05-311-0/+205