Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753664AbbGBJMH (ORCPT ); Thu, 2 Jul 2015 05:12:07 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:14724 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753290AbbGBJKE (ORCPT ); Thu, 2 Jul 2015 05:10:04 -0400 X-AuditID: cbfec7f4-f79c56d0000012ee-f5-5594ffde6469 From: Andrey Ryabinin To: Ingo Molnar , "H. Peter Anvin" , Thomas Gleixner , x86@kernel.org Cc: Andrey Konovalov , Andrew Morton , Borislav Petkov , Alexander Popov , Dmitry Vyukov , Alexander Potapenko , linux-kernel@vger.kernel.org, Andrey Ryabinin Subject: [PATCH v2 5/6] x86_64: kasan: add message about kasan being initialized Date: Thu, 02 Jul 2015 12:09:37 +0300 Message-id: <1435828178-10975-6-git-send-email-a.ryabinin@samsung.com> X-Mailer: git-send-email 2.4.5 In-reply-to: <1435828178-10975-1-git-send-email-a.ryabinin@samsung.com> References: <1435828178-10975-1-git-send-email-a.ryabinin@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsVy+t/xa7r3/k8JNbi4X91i269HbBa/985k tZizfg2bxfQdfewWnzf8Y7OY8LCN3aL9415mi2kbxS0u75rDZnHpwAImi82bpjJb/NjwmNWB x+N7ax+Lx85Zd9k9Fmwq9di0qpPN4925c+weJ2b8ZvHY/mgqi8f7fVfZPPq2rGL0+LxJzuNE yxfWAO4oLpuU1JzMstQifbsErozd7Y9YCqazVRy5tJKxgXEmaxcjJ4eEgInE2/1fGCFsMYkL 99azdTFycQgJLGWU+Pj4LAuE08Qkcf3DcTaQKjYBPYl/s7aD2SICNRIdrd3MIEXMAruZJH5t XAQ2VlggQOLE726wsSwCqhJ924+BxXkF3CSavy1n72LkAFonJ7G0uRYkzCngLtHZ9IYdxBYC KrnWfJdpAiPvAkaGVYyiqaXJBcVJ6bmGesWJucWleel6yfm5mxghAfxlB+PiY1aHGAU4GJV4 eFfUTAkVYk0sK67MPcQowcGsJMK7/iVQiDclsbIqtSg/vqg0J7X4EKM0B4uSOO/cXe9DhATS E0tSs1NTC1KLYLJMHJxSDYwR9muXTrVznVjYnpd7p696w4wckSMT6xVr1V+XtJh2LFr6Lie1 gcnmyrxlAvMvOwZmivPLrJHeV/L9a8bBpRuOsIYvuB+5Z+OnLT63HIT8o2+s+B61T8RBOOiG Jq/+5nWzNTYE+zxa9m6ZRtXZ+dprLtor7S3+LTMjIWrnBbXr143EP8qzHMlTYinOSDTUYi4q TgQAEu9fglwCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 33 Print informational message to tell user that kernel runs with kasan enabled. Add "kasan: " prefix to all messages in kasan_init_64. Signed-off-by: Andrey Ryabinin --- 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 9a54dbe..e1840f3 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 #include #include @@ -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"); } -- 2.4.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/