dm integrity: Use struct_group() to zero struct journal_sector
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 journal_sector that should be initialized to zero. Signed-off-by:Kees Cook <keescook@chromium.org> Signed-off-by:
Mike Snitzer <snitzer@redhat.com>
Showing
Please register or sign in to comment