From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qa0-f43.google.com (mail-qa0-f43.google.com [209.85.216.43]) by kanga.kvack.org (Postfix) with ESMTP id 6DB516B0035 for ; Mon, 29 Sep 2014 10:23:07 -0400 (EDT) Received: by mail-qa0-f43.google.com with SMTP id i13so8758629qae.30 for ; Mon, 29 Sep 2014 07:23:07 -0700 (PDT) Received: from mail-qa0-x235.google.com (mail-qa0-x235.google.com [2607:f8b0:400d:c00::235]) by mx.google.com with ESMTPS id h5si13712463qab.21.2014.09.29.07.23.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Sep 2014 07:23:06 -0700 (PDT) Received: by mail-qa0-f53.google.com with SMTP id cm18so8941429qab.40 for ; Mon, 29 Sep 2014 07:23:06 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1404905415-9046-1-git-send-email-a.ryabinin@samsung.com> <1411562649-28231-1-git-send-email-a.ryabinin@samsung.com> <54259BD4.8090508@oracle.com> From: Dmitry Vyukov Date: Mon, 29 Sep 2014 18:22:46 +0400 Message-ID: Subject: Re: [PATCH v3 00/13] Kernel address sanitizer - runtime memory debugger. Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Yuri Gribov Cc: Andrey Ryabinin , Sasha Levin , Andrey Ryabinin , LKML , Konstantin Serebryany , Dmitry Chernenkov , Andrey Konovalov , Konstantin Khlebnikov , Michal Marek , Thomas Gleixner , Ingo Molnar , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Dave Hansen , Andi Kleen , Vegard Nossum , "H. Peter Anvin" , linux-kbuild@vger.kernel.org, x86@kernel.org, "linux-mm@kvack.org" , Randy Dunlap , Peter Zijlstra , Alexander Viro , Dave Jones On Fri, Sep 26, 2014 at 10:48 PM, Yuri Gribov wrote: > On Fri, Sep 26, 2014 at 9:29 PM, Dmitry Vyukov wrote: >> So in kernel we will need to support all API versions, and the >> following looks like a much simpler way to identify current API >> version: >>> #if __GNUC__ == 5 >>> #define ASAN_V4 > > What about having compiler(s) predefine some __SANITIZE_ADDRESS_ABI__ > macro for this? Hacking on __GNUC__ may not work given the zoo of GCC > versions out there (FSF, Linaro, vendor toolchains, etc.)? I don't have strong preference here... well, actually just not competent :) But on the second though... what do we want to do with pre-build modules? Can you envision that somebody distributes binary modules built with asan? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org