The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at 
https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-229.7.2.vz7.6.6
------>
commit 4e8e61be6ec2720f7871f8d6cccc73c8e806dd93
Author: Andrey Ryabinin <[email protected]>
Date:   Thu Sep 3 19:27:52 2015 +0400

    ms/x86/kasan: Add message about KASAN being initialized
    
    https://jira.sw.ru/browse/PSBM-26429
    
    From: Andrey Ryabinin <[email protected]>
    
    commit 8515522949951d81fe2d06c0a3292f171f2b8ec4 upstream.
    
    Print informational message to tell user that kernel
    runs with KASAN enabled.
    
    Add a "kasan: " prefix to all messages in kasan_init_64.c.
    
    Signed-off-by: Andrey Ryabinin <[email protected]>
    Cc: Alexander Popov <[email protected]>
    Cc: Alexander Potapenko <[email protected]>
    Cc: Andrey Konovalov <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Dmitry Vyukov <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Peter Zijlstra <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Link: 
http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    Signed-off-by: Andrey Ryabinin <[email protected]>
    
    Signed-off-by: Andrey Ryabinin <[email protected]>
---
 arch/x86/mm/kasan_init_64.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/x86/mm/kasan_init_64.c b/arch/x86/mm/kasan_init_64.c
index ef3dea9..f9fb08e 100644
--- a/arch/x86/mm/kasan_init_64.c
+++ b/arch/x86/mm/kasan_init_64.c
@@ -1,3 +1,4 @@
+#define pr_fmt(fmt) "kasan: " fmt
 #include <linux/bootmem.h>
 #include <linux/kasan.h>
 #include <linux/kdebug.h>
@@ -237,4 +238,6 @@ void __init kasan_init(void)
        load_cr3(init_level4_pgt);
        __flush_tlb_all();
        init_task.kasan_depth = 0;
+
+       pr_info("Kernel address sanitizer initialized\n");
 }
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to