aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorAndrey Ryabinin <[email protected]>2015-11-05 18:51:26 -0800
committerLinus Torvalds <[email protected]>2015-11-05 19:34:48 -0800
commiteb06f43f1c94d502b7867b0998e92cdabbc060bc (patch)
treed4d09f917ef5998069050c0de565b2c81585ba98 /lib/netdev-notifier-error-inject.c
parent89d3c87e20d95e3238eac85e43de7b3cb1f39d8b (diff)
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 <[email protected]> Cc: Alexander Potapenko <[email protected]> Reviewed-by: Dmitry Vyukov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions