kasan: export kasan_poison as GPL
authorAndrey Konovalov <andreyknvl@google.com>
Thu, 21 Dec 2023 20:04:51 +0000 (21:04 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 Dec 2023 19:58:45 +0000 (11:58 -0800)
commitf2fffc0cfcfa9ed2ed7448705a5e187cabee6af4
tree70125e332f4030eaf71468c982881901c4a12365
parent14c99b990cccd924ae6101bd36b85f8456eabb10
kasan: export kasan_poison as GPL

KASAN uses EXPORT_SYMBOL_GPL for symbols whose exporting is only required
for KASAN tests when they are built as a module.

kasan_poison is one on those symbols, so export it as GPL.

Link: https://lkml.kernel.org/r/171d0b8b2e807d04cca74f973830f9b169e06fb8.1703188911.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Marco Elver <elver@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/kasan/shadow.c