This is usefull for automated testing.

https://jira.sw.ru/browse/PSBM-39339

Signed-off-by: Andrey Ryabinin <aryabi...@odin.com>
---
 mm/kasan/report.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mm/kasan/report.c b/mm/kasan/report.c
index ad69bac..17af572 100644
--- a/mm/kasan/report.c
+++ b/mm/kasan/report.c
@@ -212,6 +212,7 @@ static void kasan_report_error(struct kasan_access_info 
*info)
        }
        pr_err("================================="
                "=================================\n");
+       add_taint(TAINT_BAD_PAGE, LOCKDEP_NOW_UNRELIABLE);
        spin_unlock_irqrestore(&report_lock, flags);
 }
 
-- 
2.4.6

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to