kernel-hardening.lists.openwall.com archive mirror
 help / color / mirror / Atom feed
* [kernel-hardening] [PATCH] Automate make rule generation for gcc plugin objects
@ 2016-06-26 15:36 Emese Revfy
  2016-07-06 18:55 ` [kernel-hardening] " Kees Cook
  0 siblings, 1 reply; 2+ messages in thread
From: Emese Revfy @ 2016-06-26 15:36 UTC (permalink / raw)
  To: keescook; +Cc: mmarek, linux-kbuild, kernel-hardening, pageexec


Reported-by: PaX Team <pageexec@freemail.hu>
Signed-off-by: Emese Revfy <re.emese@gmail.com>
---
 scripts/gcc-plugins/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/scripts/gcc-plugins/Makefile b/scripts/gcc-plugins/Makefile
index a3f8ca4a..898449d 100644
--- a/scripts/gcc-plugins/Makefile
+++ b/scripts/gcc-plugins/Makefile
@@ -20,9 +20,6 @@ endif
 
 $(HOSTLIBS)-y := $(GCC_PLUGIN)
 always := $($(HOSTLIBS)-y)
-
-cyc_complexity_plugin-objs := cyc_complexity_plugin.o
-sancov_plugin-objs := sancov_plugin.o
-latent_entropy_plugin-objs := latent_entropy_plugin.o
+$(foreach p,$($(HOSTLIBS)-y:%.so=%),$(eval $(p)-objs := $(p).o))
 
 clean-files += *.so
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [kernel-hardening] Re: [PATCH] Automate make rule generation for gcc plugin objects
  2016-06-26 15:36 [kernel-hardening] [PATCH] Automate make rule generation for gcc plugin objects Emese Revfy
@ 2016-07-06 18:55 ` Kees Cook
  0 siblings, 0 replies; 2+ messages in thread
From: Kees Cook @ 2016-07-06 18:55 UTC (permalink / raw)
  To: Emese Revfy
  Cc: Michal Marek, linux-kbuild, kernel-hardening@lists.openwall.com,
	PaX Team

On Sun, Jun 26, 2016 at 11:36 AM, Emese Revfy <re.emese@gmail.com> wrote:
>
> Reported-by: PaX Team <pageexec@freemail.hu>
> Signed-off-by: Emese Revfy <re.emese@gmail.com>

I've added a commit message body and applied this to my tree.

-Kees

> ---
>  scripts/gcc-plugins/Makefile | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/scripts/gcc-plugins/Makefile b/scripts/gcc-plugins/Makefile
> index a3f8ca4a..898449d 100644
> --- a/scripts/gcc-plugins/Makefile
> +++ b/scripts/gcc-plugins/Makefile
> @@ -20,9 +20,6 @@ endif
>
>  $(HOSTLIBS)-y := $(GCC_PLUGIN)
>  always := $($(HOSTLIBS)-y)
> -
> -cyc_complexity_plugin-objs := cyc_complexity_plugin.o
> -sancov_plugin-objs := sancov_plugin.o
> -latent_entropy_plugin-objs := latent_entropy_plugin.o
> +$(foreach p,$($(HOSTLIBS)-y:%.so=%),$(eval $(p)-objs := $(p).o))
>
>  clean-files += *.so
> --
> 2.8.1



-- 
Kees Cook
Chrome OS & Brillo Security

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-06 18:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-26 15:36 [kernel-hardening] [PATCH] Automate make rule generation for gcc plugin objects Emese Revfy
2016-07-06 18:55 ` [kernel-hardening] " Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).