summaryrefslogtreecommitdiff
path: root/tools/bpf/bpftool/main.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-12-14 01:33:25 +0300
committerMike Snitzer <snitzer@redhat.com>2022-01-06 17:48:33 +0300
commitf069c7ab6cfb07edf9e3dc2071928225587794f1 (patch)
treed1961e10c19fc07bb0ff7129c5e065a65eac4a0f /tools/bpf/bpftool/main.h
parentcba23ac158db7f3cd48a923d6861bee2eb7a2978 (diff)
downloadlinux-f069c7ab6cfb07edf9e3dc2071928225587794f1.tar.xz
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>
Diffstat (limited to 'tools/bpf/bpftool/main.h')
0 files changed, 0 insertions, 0 deletions