Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752897AbbF3JAt (ORCPT ); Tue, 30 Jun 2015 05:00:49 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:36556 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750973AbbF3JAX (ORCPT ); Tue, 30 Jun 2015 05:00:23 -0400 X-AuditID: cbfec7f4-f79c56d0000012ee-12-55925aa4b27a 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 4/5] x86_64: kasan: add message about kasan being initialized Date: Tue, 30 Jun 2015 12:00:10 +0300 Message-id: <1435654811-8915-5-git-send-email-a.ryabinin@samsung.com> X-Mailer: git-send-email 2.4.4 In-reply-to: <1435654811-8915-1-git-send-email-a.ryabinin@samsung.com> References: <1435654466-8714-1-git-send-email-a.ryabinin@samsung.com> <1435654811-8915-1-git-send-email-a.ryabinin@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNLMWRmVeSWpSXmKPExsVy+t/xy7pLoiaFGtz7bWqx7dcjNovfe2ey WsxZv4bNYvqOPnaLzxv+sVlMeNjGbtH+cS+zxbSN4haXd81hs7h0YAGTxeZNU5ktfmx4zOrA 4/G9tY/FY+esu+weCzaVemxa1cnm8e7cOXaPEzN+s3hsfzSVxeP9vqtsHn1bVjF6fN4k53Gi 5QtrAHcUl01Kak5mWWqRvl0CV8bpzXNYCmawVaxde5CxgXEWaxcjJ4eEgInE/PubmSBsMYkL 99azdTFycQgJLGWU+P7pNBOE08Qkse3gC2aQKjYBPYl/s7azgdgiAjUSHa3dzCBFzAK7mSR+ bVwENlZYwFei5c5vMJtFQFXi7NWfYM28Aq4Sbw9dY4ZYJydx5fp0sEGcAm4Sy18dY4HY1sgo 8ev2HfYJjLwLGBlWMYqmliYXFCel5xrqFSfmFpfmpesl5+duYoQE8ZcdjIuPWR1iFOBgVOLh 3fF8YqgQa2JZcWXuIUYJDmYlEd46yUmhQrwpiZVVqUX58UWlOanFhxilOViUxHnn7nofIiSQ nliSmp2aWpBaBJNl4uCUamDkKeuWFInQtPhs8+FybMWarlV/98tv2CystU+msq6Yy+SmyzFj oT+r47xYrn8KuyfCvHX+u9c8OXu3mNxaPrEhf0+/kdSS/qVbZz0+b/1dqU49NFV7O3O74P6L nnczhHpOLpiteoJXQ6vrPMvOkoJlaesnfFh18OzuFtlHu/76331Tm8aiVaWvxFKckWioxVxU nAgAsvTMel4CAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1009 Lines: 33 Print informational message to tell user that kernel runs with kasan enabled. Add "kasan: " prefix to all messages in kasan_init_64.c 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.4 -- 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/