diff options
author | 2023-12-19 23:28:54 +0100 | |
---|---|---|
committer | 2023-12-29 11:58:38 -0800 | |
commit | ce37eec0ab62fb1f04509b83161845859815ee13 (patch) | |
tree | 6f7912bd4a7a302203a235623715a2dbfdba03d0 /mm/mempool.c | |
parent | kasan: save free stack traces for slab mempools (diff) | |
download | wireguard-linux-ce37eec0ab62fb1f04509b83161845859815ee13.tar.xz wireguard-linux-ce37eec0ab62fb1f04509b83161845859815ee13.zip |
kasan: clean up and rename ____kasan_kmalloc
Introduce a new poison_kmalloc_redzone helper function that poisons the
redzone for kmalloc object.
Drop the confusingly named ____kasan_kmalloc function and instead use
poison_kmalloc_redzone along with the other required parts of
____kasan_kmalloc in the callers' code.
This is a preparatory change for the following patches in this series.
Link: https://lkml.kernel.org/r/5881232ad357ec0d59a5b1aefd9e0673a386399a.1703024586.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Cc: Alexander Lobakin <alobakin@pm.me>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Breno Leitao <leitao@debian.org>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Marco Elver <elver@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions