From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755414AbbHYIFg (ORCPT ); Tue, 25 Aug 2015 04:05:36 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:35884 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755252AbbHYIFF (ORCPT ); Tue, 25 Aug 2015 04:05:05 -0400 Date: Tue, 25 Aug 2015 10:05:00 +0200 From: Ingo Molnar To: Josh Poimboeuf Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Michal Marek , Peter Zijlstra , Andy Lutomirski , Borislav Petkov , Linus Torvalds , Andi Kleen , Pedro Alves , Namhyung Kim , Bernd Petrovitsch , Chris J Arges , Andrew Morton , Konrad Rzeszutek Wilk , Boris Ostrovsky , David Vrabel , Jeremy Fitzhardinge , Chris Wright , Alok Kataria , Rusty Russell , Herbert Xu , "David S. Miller" , Pavel Machek , "Rafael J. Wysocki" , Len Brown , Matt Fleming Subject: Re: [PATCH v11 00/20] Compile-time stack validation Message-ID: <20150825080500.GA17977@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Josh Poimboeuf wrote: > lib/Kconfig.debug | 11 + > scripts/Makefile | 1 + > scripts/Makefile.build | 37 +- > scripts/mod/Makefile | 2 + > scripts/stackvalidate/Makefile | 24 + > scripts/stackvalidate/arch-x86.c | 160 +++++ > scripts/stackvalidate/arch.h | 44 ++ > scripts/stackvalidate/elf.c | 427 +++++++++++++ > scripts/stackvalidate/elf.h | 92 +++ > scripts/stackvalidate/list.h | 217 +++++++ > scripts/stackvalidate/special.c | 199 ++++++ > scripts/stackvalidate/special.h | 42 ++ > scripts/stackvalidate/stackvalidate.c | 976 ++++++++++++++++++++++++++++++ > 43 files changed, 2803 insertions(+), 48 deletions(-) > create mode 100644 Documentation/stack-validation.txt > create mode 100644 arch/x86/include/asm/stackvalidate.h > create mode 100644 include/linux/stackvalidate.h > create mode 100644 scripts/stackvalidate/Makefile > create mode 100644 scripts/stackvalidate/arch-x86.c > create mode 100644 scripts/stackvalidate/arch.h > create mode 100644 scripts/stackvalidate/elf.c > create mode 100644 scripts/stackvalidate/elf.h > create mode 100644 scripts/stackvalidate/list.h > create mode 100644 scripts/stackvalidate/special.c > create mode 100644 scripts/stackvalidate/special.h > create mode 100644 scripts/stackvalidate/stackvalidate.c Btw., would you be against putting scripts/stackvalidate/ into tools/stackvalidate/ ? That way it would be more generic, and could be used in a standalone fashion as well I suspect. It would not change any of your current usage of it. (The other Kbuild glue changes still need to be in scripts/.) Thanks, Ingo