From 6261753e1ec4a9c01e22f084c68e7e4c37685724 Mon Sep 17 00:00:00 2001 From: Dmitry Kasatkin Date: Wed, 17 Sep 2014 16:01:12 +0300 Subject: [PATCH] Use for security xattrs Signed-off-by: Dmitry Kasatkin --- src/evmctl.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/evmctl.c b/src/evmctl.c index 1af04a4..95759df 100644 --- a/src/evmctl.c +++ b/src/evmctl.c @@ -50,6 +50,7 @@ #include #include #include +#include #include #include #include @@ -65,10 +66,10 @@ #include "imaevm.h" static char *evm_config_xattrnames[] = { - "security.selinux", - "security.SMACK64", - "security.ima", - "security.capability", + XATTR_NAME_SELINUX, + XATTR_NAME_SMACK, + XATTR_NAME_IMA, + XATTR_NAME_CAPS, NULL };