1
0
mirror of https://git.code.sf.net/p/linux-ima/ima-evm-utils synced 2025-07-09 08:40:43 +02:00

Use defined xattr types

Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
This commit is contained in:
Dmitry Kasatkin
2014-06-24 15:40:58 +03:00
parent c5a2992bc8
commit 9bc24ee556
2 changed files with 15 additions and 4 deletions

View File

@ -84,6 +84,13 @@
#define __packed __attribute__((packed))
enum evm_ima_xattr_type {
IMA_XATTR_DIGEST = 0x01,
EVM_XATTR_HMAC,
EVM_IMA_XATTR_DIGSIG,
IMA_XATTR_DIGEST_NG,
};
struct h_misc {
unsigned long ino;
uint32_t generation;