mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 14:41:39 +00:00
8610047ca8
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 |
||
---|---|---|
.. | ||
cm4000_cs.c | ||
cm4040_cs.c | ||
cm4040_cs.h | ||
Kconfig | ||
Makefile | ||
scr24x_cs.c | ||
synclink_cs.c |