summaryrefslogtreecommitdiff
path: root/kernel/user-return-notifier.c
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2015-11-06 02:51:01 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-06 03:34:48 (GMT)
commitcdf6a273dc4346277ab9d148ef29f6e058624a8c (patch)
treeaed1e0d52ada95dd706597679d80d770fe6deb7f /kernel/user-return-notifier.c
parent0952d87fd6a6211ac51b2abdc5c066b49c651fd8 (diff)
downloadlinux-cdf6a273dc4346277ab9d148ef29f6e058624a8c.tar.xz
kasan: accurately determine the type of the bad access
Makes KASAN accurately determine the type of the bad access. If the shadow byte value is in the [0, KASAN_SHADOW_SCALE_SIZE) range we can look at the next shadow byte to determine the type of the access. Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Alexander Potapenko <glider@google.com> Cc: Konstantin Serebryany <kcc@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/user-return-notifier.c')
0 files changed, 0 insertions, 0 deletions