summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2018-02-13 02:26:20 +0100
committerJames Morris <james.morris@microsoft.com>2018-02-23 05:09:08 +0100
commit120f3b11ef88fc38ce1d0ff9c9a4b37860ad3140 (patch)
treec635d569fd8fe4e206910883f6103848b9f1e58f /security
parentMerge tag 'keys-fixes-20180222-2' of https://git.kernel.org/pub/scm/linux/ker... (diff)
downloadlinux-120f3b11ef88fc38ce1d0ff9c9a4b37860ad3140.tar.xz
linux-120f3b11ef88fc38ce1d0ff9c9a4b37860ad3140.zip
integrity/security: fix digsig.c build error with header file
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/ Signed-off-by: James Morris <james.morris@microsoft.com>
Diffstat (limited to 'security')
-rw-r--r--security/integrity/digsig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/integrity/digsig.c b/security/integrity/digsig.c
index 6f9e4ce568cd..9bb0a7f2863e 100644
--- a/security/integrity/digsig.c
+++ b/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>