summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2019-07-11 20:54:03 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-12 11:05:42 -0700
commit7d8ad890dad00f6cd64bfb44d9be4fceb10cf819 (patch)
tree03134a0314ae139e8d92941353e2ef21ef5c0470 /fs
parent751ad98d5f881df91ba47e013b82422912381e8e (diff)
downloadlinux-7d8ad890dad00f6cd64bfb44d9be4fceb10cf819.tar.gz
linux-7d8ad890dad00f6cd64bfb44d9be4fceb10cf819.tar.bz2
linux-7d8ad890dad00f6cd64bfb44d9be4fceb10cf819.zip
mm/kasan: introduce __kasan_check_{read,write}
Patch series "mm/kasan: Add object validation in ksize()", v3. This patch (of 5): This introduces __kasan_check_{read,write}. __kasan_check functions may be used from anywhere, even compilation units that disable instrumentation selectively. This change eliminates the need for the __KASAN_INTERNAL definition. [elver@google.com: v5] Link: http://lkml.kernel.org/r/20190708170706.174189-2-elver@google.com Link: http://lkml.kernel.org/r/20190626142014.141844-2-elver@google.com Signed-off-by: Marco Elver <elver@google.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Reviewed-by: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Alexander Potapenko <glider@google.com> Cc: Andrey Konovalov <andreyknvl@google.com> Cc: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Kees Cook <keescook@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions