summaryrefslogtreecommitdiff
path: root/include/linux/thread_info.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-05-20 15:33:30 -0700
committerKees Cook <keescook@chromium.org>2021-09-25 08:20:49 -0700
commit8610047ca89f4855ae0546dfc8db122d28deb50d (patch)
treefad89a4235237ca1f251a42eeac5a0cbdd1d4354 /include/linux/thread_info.h
parentc92a08c1afff1144b8dd8d87bdc4d68a7538987f (diff)
cm4000_cs: Use struct_group() to zero struct cm4000_dev region
In preparation for FORTIFY_SOURCE performing compile-time and run-time field bounds checking for memset(), avoid intentionally writing across neighboring fields. Add struct_group() to mark region of struct cm4000_dev that should be initialized to zero. Cc: Harald Welte <laforge@gnumonks.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/lkml/YQDvxAofJlI1JoGZ@kroah.com
Diffstat (limited to 'include/linux/thread_info.h')
0 files changed, 0 insertions, 0 deletions