Re: [PATCH v6 2/6] GCC plugin infrastructure

2016-04-21 Thread Kees Cook
On Tue, Apr 12, 2016 at 7:35 PM, Masahiro Yamada wrote: > Hi Emese, > > > 2016-04-08 6:13 GMT+09:00 Emese Revfy : > >> diff --git a/Makefile b/Makefile >> index 173437d..3af7b9e 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -418,6 +418,8 @@ export KBUILD_AFLAGS_MODULE KBUILD_CFLAGS_MODULE >> K

Re: [PATCH v6 2/6] GCC plugin infrastructure

2016-04-12 Thread Masahiro Yamada
Hi Emese, 2016-04-08 6:13 GMT+09:00 Emese Revfy : > diff --git a/Makefile b/Makefile > index 173437d..3af7b9e 100644 > --- a/Makefile > +++ b/Makefile > @@ -418,6 +418,8 @@ export KBUILD_AFLAGS_MODULE KBUILD_CFLAGS_MODULE > KBUILD_LDFLAGS_MODULE > export KBUILD_AFLAGS_KERNEL KBUILD_CFLAGS_KERN

[PATCH v6 2/6] GCC plugin infrastructure

2016-04-07 Thread Emese Revfy
This patch allows to build the whole kernel with GCC plugins. It was ported from grsecurity/PaX. The infrastructure supports building out-of-tree modules and building in a separate directory. Cross-compilation is supported too but currently only the x86 architecture enables plugins. The directory