Re: [PATCH v11 00/20] Compile-time stack validation
From: Ingo Molnar
Date: Tue Aug 25 2015 - 04:05:44 EST
* Josh Poimboeuf <jpoimboe@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/