summaryrefslogtreecommitdiff
path: root/include/linux/fortify-string.h
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-01-05 13:20:53 +0100
committerKees Cook <kees@kernel.org>2026-01-14 14:43:18 -0800
commit7583873c31147be9869902e3274e3faa67e06176 (patch)
treeffddb51a4cb9c9adbb9faf8db5efab34a36ef7b4 /include/linux/fortify-string.h
parentdacbfc16780837aa3e00c684d89492d211fd809f (diff)
fs/xattr: Annotate struct simple_xattr with __counted_by
Add the __counted_by() compiler attribute to the flexible array member 'value' to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and CONFIG_FORTIFY_SOURCE. Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://patch.msgid.link/20260105122057.2347-2-thorsten.blum@linux.dev Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'include/linux/fortify-string.h')
0 files changed, 0 insertions, 0 deletions