Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
xattr.h File Reference

Go to the source code of this file.

Macros

#define XATTR_CREATE   0x1 /* set value, fail if attr already exists */
 
#define XATTR_REPLACE   0x2 /* set value, fail if attr does not exist */
 
#define XATTR_OS2_PREFIX   "os2."
 
#define XATTR_OS2_PREFIX_LEN   (sizeof (XATTR_OS2_PREFIX) - 1)
 
#define XATTR_SECURITY_PREFIX   "security."
 
#define XATTR_SECURITY_PREFIX_LEN   (sizeof (XATTR_SECURITY_PREFIX) - 1)
 
#define XATTR_SYSTEM_PREFIX   "system."
 
#define XATTR_SYSTEM_PREFIX_LEN   (sizeof (XATTR_SYSTEM_PREFIX) - 1)
 
#define XATTR_TRUSTED_PREFIX   "trusted."
 
#define XATTR_TRUSTED_PREFIX_LEN   (sizeof (XATTR_TRUSTED_PREFIX) - 1)
 
#define XATTR_USER_PREFIX   "user."
 
#define XATTR_USER_PREFIX_LEN   (sizeof (XATTR_USER_PREFIX) - 1)
 
#define XATTR_EVM_SUFFIX   "evm"
 
#define XATTR_NAME_EVM   XATTR_SECURITY_PREFIX XATTR_EVM_SUFFIX
 
#define XATTR_IMA_SUFFIX   "ima"
 
#define XATTR_NAME_IMA   XATTR_SECURITY_PREFIX XATTR_IMA_SUFFIX
 
#define XATTR_SELINUX_SUFFIX   "selinux"
 
#define XATTR_NAME_SELINUX   XATTR_SECURITY_PREFIX XATTR_SELINUX_SUFFIX
 
#define XATTR_SMACK_SUFFIX   "SMACK64"
 
#define XATTR_SMACK_IPIN   "SMACK64IPIN"
 
#define XATTR_SMACK_IPOUT   "SMACK64IPOUT"
 
#define XATTR_SMACK_EXEC   "SMACK64EXEC"
 
#define XATTR_SMACK_TRANSMUTE   "SMACK64TRANSMUTE"
 
#define XATTR_SMACK_MMAP   "SMACK64MMAP"
 
#define XATTR_NAME_SMACK   XATTR_SECURITY_PREFIX XATTR_SMACK_SUFFIX
 
#define XATTR_NAME_SMACKIPIN   XATTR_SECURITY_PREFIX XATTR_SMACK_IPIN
 
#define XATTR_NAME_SMACKIPOUT   XATTR_SECURITY_PREFIX XATTR_SMACK_IPOUT
 
#define XATTR_NAME_SMACKEXEC   XATTR_SECURITY_PREFIX XATTR_SMACK_EXEC
 
#define XATTR_NAME_SMACKTRANSMUTE   XATTR_SECURITY_PREFIX XATTR_SMACK_TRANSMUTE
 
#define XATTR_NAME_SMACKMMAP   XATTR_SECURITY_PREFIX XATTR_SMACK_MMAP
 
#define XATTR_CAPS_SUFFIX   "capability"
 
#define XATTR_NAME_CAPS   XATTR_SECURITY_PREFIX XATTR_CAPS_SUFFIX
 
#define XATTR_POSIX_ACL_ACCESS   "posix_acl_access"
 
#define XATTR_NAME_POSIX_ACL_ACCESS   XATTR_SYSTEM_PREFIX XATTR_POSIX_ACL_ACCESS
 
#define XATTR_POSIX_ACL_DEFAULT   "posix_acl_default"
 
#define XATTR_NAME_POSIX_ACL_DEFAULT   XATTR_SYSTEM_PREFIX XATTR_POSIX_ACL_DEFAULT
 

Macro Definition Documentation

#define XATTR_CAPS_SUFFIX   "capability"

Definition at line 55 of file xattr.h.

#define XATTR_CREATE   0x1 /* set value, fail if attr already exists */

Definition at line 13 of file xattr.h.

#define XATTR_EVM_SUFFIX   "evm"

Definition at line 33 of file xattr.h.

#define XATTR_IMA_SUFFIX   "ima"

Definition at line 36 of file xattr.h.

#define XATTR_NAME_CAPS   XATTR_SECURITY_PREFIX XATTR_CAPS_SUFFIX

Definition at line 56 of file xattr.h.

#define XATTR_NAME_EVM   XATTR_SECURITY_PREFIX XATTR_EVM_SUFFIX

Definition at line 34 of file xattr.h.

#define XATTR_NAME_IMA   XATTR_SECURITY_PREFIX XATTR_IMA_SUFFIX

Definition at line 37 of file xattr.h.

#define XATTR_NAME_POSIX_ACL_ACCESS   XATTR_SYSTEM_PREFIX XATTR_POSIX_ACL_ACCESS

Definition at line 59 of file xattr.h.

#define XATTR_NAME_POSIX_ACL_DEFAULT   XATTR_SYSTEM_PREFIX XATTR_POSIX_ACL_DEFAULT

Definition at line 61 of file xattr.h.

#define XATTR_NAME_SELINUX   XATTR_SECURITY_PREFIX XATTR_SELINUX_SUFFIX

Definition at line 40 of file xattr.h.

#define XATTR_NAME_SMACK   XATTR_SECURITY_PREFIX XATTR_SMACK_SUFFIX

Definition at line 48 of file xattr.h.

#define XATTR_NAME_SMACKEXEC   XATTR_SECURITY_PREFIX XATTR_SMACK_EXEC

Definition at line 51 of file xattr.h.

#define XATTR_NAME_SMACKIPIN   XATTR_SECURITY_PREFIX XATTR_SMACK_IPIN

Definition at line 49 of file xattr.h.

#define XATTR_NAME_SMACKIPOUT   XATTR_SECURITY_PREFIX XATTR_SMACK_IPOUT

Definition at line 50 of file xattr.h.

#define XATTR_NAME_SMACKMMAP   XATTR_SECURITY_PREFIX XATTR_SMACK_MMAP

Definition at line 53 of file xattr.h.

#define XATTR_NAME_SMACKTRANSMUTE   XATTR_SECURITY_PREFIX XATTR_SMACK_TRANSMUTE

Definition at line 52 of file xattr.h.

#define XATTR_OS2_PREFIX   "os2."

Definition at line 17 of file xattr.h.

#define XATTR_OS2_PREFIX_LEN   (sizeof (XATTR_OS2_PREFIX) - 1)

Definition at line 18 of file xattr.h.

#define XATTR_POSIX_ACL_ACCESS   "posix_acl_access"

Definition at line 58 of file xattr.h.

#define XATTR_POSIX_ACL_DEFAULT   "posix_acl_default"

Definition at line 60 of file xattr.h.

#define XATTR_REPLACE   0x2 /* set value, fail if attr does not exist */

Definition at line 14 of file xattr.h.

#define XATTR_SECURITY_PREFIX   "security."

Definition at line 20 of file xattr.h.

#define XATTR_SECURITY_PREFIX_LEN   (sizeof (XATTR_SECURITY_PREFIX) - 1)

Definition at line 21 of file xattr.h.

#define XATTR_SELINUX_SUFFIX   "selinux"

Definition at line 39 of file xattr.h.

#define XATTR_SMACK_EXEC   "SMACK64EXEC"

Definition at line 45 of file xattr.h.

#define XATTR_SMACK_IPIN   "SMACK64IPIN"

Definition at line 43 of file xattr.h.

#define XATTR_SMACK_IPOUT   "SMACK64IPOUT"

Definition at line 44 of file xattr.h.

#define XATTR_SMACK_MMAP   "SMACK64MMAP"

Definition at line 47 of file xattr.h.

#define XATTR_SMACK_SUFFIX   "SMACK64"

Definition at line 42 of file xattr.h.

#define XATTR_SMACK_TRANSMUTE   "SMACK64TRANSMUTE"

Definition at line 46 of file xattr.h.

#define XATTR_SYSTEM_PREFIX   "system."

Definition at line 23 of file xattr.h.

#define XATTR_SYSTEM_PREFIX_LEN   (sizeof (XATTR_SYSTEM_PREFIX) - 1)

Definition at line 24 of file xattr.h.

#define XATTR_TRUSTED_PREFIX   "trusted."

Definition at line 26 of file xattr.h.

#define XATTR_TRUSTED_PREFIX_LEN   (sizeof (XATTR_TRUSTED_PREFIX) - 1)

Definition at line 27 of file xattr.h.

#define XATTR_USER_PREFIX   "user."

Definition at line 29 of file xattr.h.

#define XATTR_USER_PREFIX_LEN   (sizeof (XATTR_USER_PREFIX) - 1)

Definition at line 30 of file xattr.h.