summaryrefslogtreecommitdiffstats
path: root/mm/mlock.c
diff options
context:
space:
mode:
authorAndrey Ryabinin2015-11-06 03:51:26 +0100
committerLinus Torvalds2015-11-06 04:34:48 +0100
commiteb06f43f1c94d502b7867b0998e92cdabbc060bc (patch)
treed4d09f917ef5998069050c0de565b2c81585ba98 /mm/mlock.c
parentmm, slub, kasan: enable user tracking by default with KASAN=y (diff)
downloadkernel-qcow2-linux-eb06f43f1c94d502b7867b0998e92cdabbc060bc.tar.gz
kernel-qcow2-linux-eb06f43f1c94d502b7867b0998e92cdabbc060bc.tar.xz
kernel-qcow2-linux-eb06f43f1c94d502b7867b0998e92cdabbc060bc.zip
kasan: always taint kernel on report
Currently we already taint the kernel in some cases. E.g. if we hit some bug in slub memory we call object_err() which will taint the kernel with TAINT_BAD_PAGE flag. But for other kind of bugs kernel left untainted. Always taint with TAINT_BAD_PAGE if kasan found some bug. This is useful for automated testing. Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Alexander Potapenko <glider@google.com> Reviewed-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mlock.c')
0 files changed, 0 insertions, 0 deletions