lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 10 Sep 2014 23:55:39 -0400 From: Sasha Levin <sasha.levin@...cle.com> To: Andrey Ryabinin <a.ryabinin@...sung.com>, linux-kernel@...r.kernel.org CC: Dmitry Vyukov <dvyukov@...gle.com>, Konstantin Serebryany <kcc@...gle.com>, Dmitry Chernenkov <dmitryc@...gle.com>, Andrey Konovalov <adech.fo@...il.com>, Yuri Gribov <tetra2005@...il.com>, Konstantin Khlebnikov <koct9i@...il.com>, Christoph Lameter <cl@...ux.com>, Joonsoo Kim <iamjoonsoo.kim@....com>, Andrew Morton <akpm@...ux-foundation.org>, Dave Hansen <dave.hansen@...el.com>, Andi Kleen <andi@...stfloor.org>, Vegard Nossum <vegard.nossum@...il.com>, "H. Peter Anvin" <hpa@...or.com>, x86@...nel.org, linux-mm@...ck.org, Randy Dunlap <rdunlap@...radead.org>, Michal Marek <mmarek@...e.cz>, Ingo Molnar <mingo@...hat.com>, Peter Zijlstra <peterz@...radead.org> Subject: Re: [RFC/PATCH v2 01/10] Add kernel address sanitizer infrastructure. On 09/10/2014 10:31 AM, Andrey Ryabinin wrote: > +ifdef CONFIG_KASAN > + ifeq ($(call cc-option, $(CFLAGS_KASAN)),) > + $(warning Cannot use CONFIG_KASAN: \ > + -fsanitize=kernel-address not supported by compiler) > + endif > +endif This seems to always indicate that my gcc doesn't support -fsanitize=kernel-address: Makefile:769: Cannot use CONFIG_KASAN: -fsanitize=kernel-address not supported by compiler Even though: $ gcc --version gcc (GCC) 5.0.0 20140904 (experimental) Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ cat test.c #include <stdio.h> #include <sys/mman.h> void __asan_init_v3(void) { } int main(int argc, char *argv[]) { return 0; } $ gcc -fsanitize=kernel-address test.c $ ./a.out $ Thanks, Sasha -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists