Files
linux-cryptodev-2.6/include/linux
Kees Cook fa35198f39 fortify: Explicitly check bounds are compile-time constants
In preparation for replacing __builtin_object_size() with
__builtin_dynamic_object_size(), all the compile-time size checks
need to check that the bounds comparisons are, in fact, known at
compile-time. Enforce what was guaranteed with __bos(). In other words,
since all uses of __bos() were constant expressions, it was not required
to test for this. When these change to __bdos(), they _may_ be constant
expressions, and the checks are only valid when the prior condition
holds. This results in no binary differences.

Cc: linux-hardening@vger.kernel.org
Link: https://lore.kernel.org/lkml/20220920192202.190793-3-keescook@chromium.org
Signed-off-by: Kees Cook <keescook@chromium.org>
2022-09-26 11:01:32 -07:00
..
2022-07-27 14:04:52 +02:00
2022-07-29 18:07:19 -07:00
2022-08-02 12:34:04 -04:00
2022-08-09 14:11:34 -04:00
2022-07-29 20:16:58 -04:00
2022-08-08 22:37:24 -04:00
2022-08-11 04:31:14 -04:00