projects
/
platform
/
upstream
/
ima-evm-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47d3048
)
Use <linux/xattr.h> for security xattrs
author
Dmitry Kasatkin
<d.kasatkin@samsung.com>
Wed, 17 Sep 2014 13:01:12 +0000
(16:01 +0300)
committer
Dmitry Kasatkin
<d.kasatkin@samsung.com>
Wed, 17 Sep 2014 13:01:12 +0000
(16:01 +0300)
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
src/evmctl.c
patch
|
blob
|
history
diff --git
a/src/evmctl.c
b/src/evmctl.c
index
1af04a4
..
95759df
100644
(file)
--- a/
src/evmctl.c
+++ b/
src/evmctl.c
@@
-50,6
+50,7
@@
#include <string.h>
#include <dirent.h>
#include <attr/xattr.h>
+#include <linux/xattr.h>
#include <getopt.h>
#include <keyutils.h>
#include <ctype.h>
@@
-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
};