Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752740AbdGFWBi (ORCPT ); Thu, 6 Jul 2017 18:01:38 -0400 Received: from mail-pg0-f51.google.com ([74.125.83.51]:36410 "EHLO mail-pg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752580AbdGFWBg (ORCPT ); Thu, 6 Jul 2017 18:01:36 -0400 From: Greg Hackmann To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Masahiro Yamada , Michal Marek Cc: linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-kbuild@vger.kernel.org, Matthias Kaehlcke , Michael Davidson , Greg Hackmann Subject: [PATCH 0/4] kasan: add clang support Date: Thu, 6 Jul 2017 15:01:10 -0700 Message-Id: <20170706220114.142438-1-ghackmann@google.com> X-Mailer: git-send-email 2.13.2.725.g09c95d1e9-goog Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 930 Lines: 25 This patch series adds support for building KASAN-enabled kernels with clang. This mostly involves adding callbacks for a couple of new features in LLVM's AddressSanitizer implementation. We also need to probe for the (slightly different) CFLAGS used to configure ASAN with clang. *** BLURB HERE *** Alexander Potapenko (1): kasan: added functions for unpoisoning stack variables Greg Hackmann (3): kasan: support alloca() poisoning kasan: support LLVM-style asan parameters kasan: add compiler support for clang include/linux/compiler-clang.h | 10 ++++++++++ lib/test_kasan.c | 22 ++++++++++++++++++++++ mm/kasan/kasan.c | 41 +++++++++++++++++++++++++++++++++++++++++ mm/kasan/kasan.h | 8 ++++++++ mm/kasan/report.c | 3 +++ scripts/Makefile.kasan | 10 +++++++++- 6 files changed, 93 insertions(+), 1 deletion(-) -- 2.13.2.725.g09c95d1e9-goog