Commit 20e5cc26 authored by Kees Cook's avatar Kees Cook
Browse files

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: default avatarKent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: default avatarKees Cook <kees@kernel.org>
parent cb7380de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment