All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] integrity/security: fix digsig.c build error with header file
@ 2018-02-13  1:26 Randy Dunlap
  2018-02-23  4:10 ` James Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2018-02-13  1:26 UTC (permalink / raw)
  To: LKML; +Cc: Michael Ellerman, Mimi Zohar, linux-integrity

From: Randy Dunlap <rdunlap@infradead.org>

security/integrity/digsig.c has build errors on some $ARCH due to a
missing header file, so add it.

  security/integrity/digsig.c:146:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]

Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Mimi Zohar <zohar@linux.vnet.ibm.com>
Cc: linux-integrity@vger.kernel.org
Link: http://kisskb.ellerman.id.au/kisskb/head/13396/
---
 security/integrity/digsig.c |    1 +
 1 file changed, 1 insertion(+)

--- lnx-416-rc1.orig/security/integrity/digsig.c
+++ lnx-416-rc1/security/integrity/digsig.c
@@ -18,6 +18,7 @@
 #include <linux/cred.h>
 #include <linux/key-type.h>
 #include <linux/digsig.h>
+#include <linux/vmalloc.h>
 #include <crypto/public_key.h>
 #include <keys/system_keyring.h>
 

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

* Re: [PATCH] integrity/security: fix digsig.c build error with header file
  2018-02-13  1:26 [PATCH] integrity/security: fix digsig.c build error with header file Randy Dunlap
@ 2018-02-23  4:10 ` James Morris
  0 siblings, 0 replies; 2+ messages in thread
From: James Morris @ 2018-02-23  4:10 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: LKML, Michael Ellerman, Mimi Zohar, linux-integrity

On Mon, 12 Feb 2018, Randy Dunlap wrote:

> From: Randy Dunlap <rdunlap@infradead.org>
> 
> security/integrity/digsig.c has build errors on some $ARCH due to a
> missing header file, so add it.
> 
>   security/integrity/digsig.c:146:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
> 
> Reported-by: Michael Ellerman <mpe@ellerman.id.au>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Mimi Zohar <zohar@linux.vnet.ibm.com>
> Cc: linux-integrity@vger.kernel.org
> Link: http://kisskb.ellerman.id.au/kisskb/head/13396/
> ---
>  security/integrity/digsig.c |    1 +
>  1 file changed, 1 insertion(+)

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git fixes-v4.16-rc3




-- 
James Morris
<jmorris@namei.org>

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

end of thread, other threads:[~2018-02-23  4:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-13  1:26 [PATCH] integrity/security: fix digsig.c build error with header file Randy Dunlap
2018-02-23  4:10 ` James Morris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.