summaryrefslogtreecommitdiffstats
path: root/rules/host-ima-evm-utils.in
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-08-14 12:36:03 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-08-14 12:36:46 +0200
commit25fc43e25b7d2d74b993dfa572f360f252c09baa (patch)
treebe20cb27625d6d618e060fe75f10a4a746aaf85c /rules/host-ima-evm-utils.in
parente5b9c6e6c8592161b329ed04c23790e1a7e58178 (diff)
downloadptxdist-25fc43e25b7d2d74b993dfa572f360f252c09baa.tar.gz
ptxdist-25fc43e25b7d2d74b993dfa572f360f252c09baa.tar.xz
host-ima-evm-utils: use host-kernel-header
Otherwise building may fail, if the kernel headers are too old: evmctl.c:72:2: error: 'XATTR_NAME_IMA' undeclared here (not in a function) evmctl.c:83:2: error: initializer element is not constant evmctl.c:83:2: error: (near initialization for 'evm_extra_smack_xattrs[5]') XATTR_NAME_IMA is defined in linux/xattr.h since linux-3.7. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-ima-evm-utils.in')
-rw-r--r--rules/host-ima-evm-utils.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/host-ima-evm-utils.in b/rules/host-ima-evm-utils.in
index 8c4d107cc..48490d622 100644
--- a/rules/host-ima-evm-utils.in
+++ b/rules/host-ima-evm-utils.in
@@ -7,6 +7,7 @@ config HOST_IMA_EVM_UTILS
select HOST_ATTR
select HOST_OPENSSL
select HOST_KEYUTILS
+ select HOST_KERNEL_HEADER
help
Integrity Measurement Architecture to know EXACTLY what has
been run on your machine. \ No newline at end of file