diff options
author | 2025-02-05 12:48:07 -0800 | |
---|---|---|
committer | 2025-02-06 18:48:02 -0800 | |
commit | 20e5cc26e56db09cc612721f90b4994cce5e5b7b (patch) | |
tree | a33c8240b9230d0c23995d2129b6c42414240e6f /scripts/generate_rust_analyzer.py | |
parent | compiler.h: Move C string helpers into C-only kernel section (diff) | |
download | wireguard-linux-20e5cc26e56db09cc612721f90b4994cce5e5b7b.tar.xz wireguard-linux-20e5cc26e56db09cc612721f90b4994cce5e5b7b.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions