]> Gentwo Git Trees - linux/.git/commit
uapi: stddef.h: Introduce __kernel_nonstring
authorKees Cook <kees@kernel.org>
Fri, 7 Feb 2025 00:48:13 +0000 (16:48 -0800)
committerKees Cook <kees@kernel.org>
Thu, 13 Feb 2025 04:19:26 +0000 (20:19 -0800)
commitec0451ed8b2978b76e5a86d502675b7c5c91222c
tree132324d349636bfcf03c0718953cb74f023b1d15
parentb0cd3d364517ce198f21e663be41a83b6ff95dea
uapi: stddef.h: Introduce __kernel_nonstring

In order to annotate byte arrays in UAPI that are not C strings (i.e.
they may not be NUL terminated), the "nonstring" attribute is needed.
However, we can't expose this to userspace as it is compiler version
specific.

Signed-off-by: Kees Cook <kees@kernel.org>
include/uapi/linux/stddef.h