summaryrefslogtreecommitdiff
path: root/lib/overflow_kunit.c
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2025-02-05 23:48:07 +0300
committerKees Cook <kees@kernel.org>2025-02-07 05:48:02 +0300
commit20e5cc26e56db09cc612721f90b4994cce5e5b7b (patch)
treea33c8240b9230d0c23995d2129b6c42414240e6f /lib/overflow_kunit.c
parentcb7380de9e4cbc9a24216b722ec50e092ae83036 (diff)
downloadlinux-20e5cc26e56db09cc612721f90b4994cce5e5b7b.tar.xz
compiler.h: Introduce __must_be_byte_array()
In preparation for adding stricter type checking to the str/mem*() helpers, provide a way to check that a variable is a byte array via __must_be_byte_array(). Suggested-by: Kent Overstreet <kent.overstreet@linux.dev> Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions