Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754682AbbGFPif (ORCPT ); Mon, 6 Jul 2015 11:38:35 -0400 Received: from terminus.zytor.com ([198.137.202.10]:49133 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753858AbbGFPic (ORCPT ); Mon, 6 Jul 2015 11:38:32 -0400 Date: Mon, 6 Jul 2015 08:37:46 -0700 From: tip-bot for Andrey Ryabinin Message-ID: Cc: glider@google.com, torvalds@linux-foundation.org, hpa@zytor.com, a.ryabinin@samsung.com, peterz@infradead.org, dvyukov@google.com, bp@alien8.de, tglx@linutronix.de, adech.fo@gmail.com, alpopov@ptsecurity.com, linux-kernel@vger.kernel.org, mingo@kernel.org Reply-To: bp@alien8.de, peterz@infradead.org, dvyukov@google.com, glider@google.com, torvalds@linux-foundation.org, hpa@zytor.com, a.ryabinin@samsung.com, linux-kernel@vger.kernel.org, mingo@kernel.org, alpopov@ptsecurity.com, tglx@linutronix.de, adech.fo@gmail.com In-Reply-To: <1435828178-10975-6-git-send-email-a.ryabinin@samsung.com> References: <1435828178-10975-6-git-send-email-a.ryabinin@samsung.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] x86/kasan: Add message about KASAN being initialized Git-Commit-ID: 8515522949951d81fe2d06c0a3292f171f2b8ec4 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1844 Lines: 50 Commit-ID: 8515522949951d81fe2d06c0a3292f171f2b8ec4 Gitweb: http://git.kernel.org/tip/8515522949951d81fe2d06c0a3292f171f2b8ec4 Author: Andrey Ryabinin AuthorDate: Thu, 2 Jul 2015 12:09:37 +0300 Committer: Ingo Molnar CommitDate: Mon, 6 Jul 2015 14:53:14 +0200 x86/kasan: Add message about KASAN being initialized 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 Cc: Alexander Popov Cc: Alexander Potapenko Cc: Andrey Konovalov Cc: Borislav Petkov Cc: Dmitry Vyukov Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/1435828178-10975-6-git-send-email-a.ryabinin@samsung.com Signed-off-by: Ingo Molnar --- 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"); } -- 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/