lkdtm: Add FAM_BOUNDS test for __counted_by
authorKees Cook <keescook@chromium.org>
Thu, 17 Aug 2023 04:27:35 +0000 (21:27 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 17 Aug 2023 23:46:35 +0000 (16:46 -0700)
commit5d207e83ca41206e75c2cd414d40b451ef04c259
tree2673f736d0910c6d1e5deaa13bdaa8fe2fec4e57
parentc8248faf3ca276ebdf60f003b3e04bf764daba91
lkdtm: Add FAM_BOUNDS test for __counted_by

Add new CONFIG_UBSAN_BOUNDS test for __counted_by attribute.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/misc/lkdtm/bugs.c