Re: [GIT PULL] MODSIGN: Use PKCS#7 for module signatures [ver #7a]

From: David Woodhouse
Date: Wed Aug 12 2015 - 06:59:45 EST


On Wed, 2015-08-12 at 20:40 +1000, James Morris wrote:
>
> This works for me:
>
> diff --git a/kernel/Makefile b/kernel/Makefile
> index 9e31922..65ef384 100644
> --- a/kernel/Makefile
> +++ b/kernel/Makefile
> @@ -150,7 +150,7 @@ space :=
> space +=
> space_escape := %%%SPACE%%%
> #
> -define config_filename =
> +define config_filename
> ifneq ($$(CONFIG_$(1)),"")
> $(1)_FILENAME := $$(subst \\,\,$$(subst \$$(quote),$$(quote),$$(subst $$(space_escape),\$$(space),$$(patsubst "%",%,$$(subst $$(space),$$(space_escape),$$(CONFIG_$(1)))))))
> ifneq ($$(patsubst /%,%,$$(firstword $$($(1)_FILENAME))),$$(firstword $$($(1)_FILENAME)))
>

Thanks. I believe David is travelling and in GMT-4 at the moment; I
imagine he'll want to roll up this one-line fix into the offending
original commit, and submit a new pull request.


--
David Woodhouse Open Source Technology Centre
David.Woodhouse@xxxxxxxxx Intel Corporation

Attachment: smime.p7s
Description: S/MIME cryptographic signature