diff options
author | Andrey Konovalov <[email protected]> | 2022-03-24 18:13:06 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2022-03-24 19:06:50 -0700 |
commit | c068664c97c7cffa9df706e247046aa5c796efc9 (patch) | |
tree | 4f7b604b73d65f2bf8abde2eb8fac18cd2ff93d7 /fs/remap_range.c | |
parent | 795b760fe741c0b82508947e7b76803a2cdabd13 (diff) |
kasan: respect KASAN_BIT_REPORTED in all reporting routines
Currently, only kasan_report() checks the KASAN_BIT_REPORTED and
KASAN_BIT_MULTI_SHOT flags.
Make other reporting routines check these flags as well.
Also add explanatory comments.
Note that the current->kasan_depth check is split out into
report_suppressed() and only called for kasan_report().
Link: https://lkml.kernel.org/r/715e346b10b398e29ba1b425299dcd79e29d58ce.1646237226.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Marco Elver <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/remap_range.c')
0 files changed, 0 insertions, 0 deletions