Go to the documentation of this file. 1#ifndef __VSF_LINUX_XATTR_H__
2#define __VSF_LINUX_XATTR_H__
8#define XATTR_CREATE 0x1
9#define XATTR_REPLACE 0x2
11#define XATTR_OS2_PREFIX "os2."
12#define XATTR_OS2_PREFIX_LEN (sizeof(XATTR_OS2_PREFIX) - 1)
14#define XATTR_MAC_OSX_PREFIX "osx."
15#define XATTR_MAC_OSX_PREFIX_LEN (sizeof(XATTR_MAC_OSX_PREFIX) - 1)
17#define XATTR_BTRFS_PREFIX "btrfs."
18#define XATTR_BTRFS_PREFIX_LEN (sizeof(XATTR_BTRFS_PREFIX) - 1)
20#define XATTR_HURD_PREFIX "gnu."
21#define XATTR_HURD_PREFIX_LEN (sizeof(XATTR_HURD_PREFIX) - 1)
23#define XATTR_SECURITY_PREFIX "security."
24#define XATTR_SECURITY_PREFIX_LEN (sizeof(XATTR_SECURITY_PREFIX) - 1)
26#define XATTR_SYSTEM_PREFIX "system."
27#define XATTR_SYSTEM_PREFIX_LEN (sizeof(XATTR_SYSTEM_PREFIX) - 1)
29#define XATTR_TRUSTED_PREFIX "trusted."
30#define XATTR_TRUSTED_PREFIX_LEN (sizeof(XATTR_TRUSTED_PREFIX) - 1)
32#define XATTR_USER_PREFIX "user."
33#define XATTR_USER_PREFIX_LEN (sizeof(XATTR_USER_PREFIX) - 1)
35#define XATTR_EVM_SUFFIX "evm"
36#define XATTR_NAME_EVM XATTR_SECURITY_PREFIX XATTR_EVM_SUFFIX
38#define XATTR_IMA_SUFFIX "ima"
39#define XATTR_NAME_IMA XATTR_SECURITY_PREFIX XATTR_IMA_SUFFIX
41#define XATTR_SELINUX_SUFFIX "selinux"
42#define XATTR_NAME_SELINUX XATTR_SECURITY_PREFIX XATTR_SELINUX_SUFFIX
44#define XATTR_APPARMOR_SUFFIX "apparmor"
45#define XATTR_NAME_APPARMOR XATTR_SECURITY_PREFIX XATTR_APPARMOR_SUFFIX
47#define XATTR_CAPS_SUFFIX "capability"
48#define XATTR_NAME_CAPS XATTR_SECURITY_PREFIX XATTR_CAPS_SUFFIX