mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-04-28 14:43:37 +02:00
Use <linux/xattr.h> for security xattrs
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
This commit is contained in:
parent
47d3048ce1
commit
6261753e1e
@ -50,6 +50,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <attr/xattr.h>
|
#include <attr/xattr.h>
|
||||||
|
#include <linux/xattr.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <keyutils.h>
|
#include <keyutils.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
@ -65,10 +66,10 @@
|
|||||||
#include "imaevm.h"
|
#include "imaevm.h"
|
||||||
|
|
||||||
static char *evm_config_xattrnames[] = {
|
static char *evm_config_xattrnames[] = {
|
||||||
"security.selinux",
|
XATTR_NAME_SELINUX,
|
||||||
"security.SMACK64",
|
XATTR_NAME_SMACK,
|
||||||
"security.ima",
|
XATTR_NAME_IMA,
|
||||||
"security.capability",
|
XATTR_NAME_CAPS,
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user