diff options
Diffstat (limited to 'include/linux/xattr.h')
-rw-r--r-- | include/linux/xattr.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/xattr.h b/include/linux/xattr.h index 0cfa1e9c4cc1..f1e5bde4b35a 100644 --- a/include/linux/xattr.h +++ b/include/linux/xattr.h | |||
@@ -33,6 +33,20 @@ | |||
33 | #define XATTR_USER_PREFIX "user." | 33 | #define XATTR_USER_PREFIX "user." |
34 | #define XATTR_USER_PREFIX_LEN (sizeof (XATTR_USER_PREFIX) - 1) | 34 | #define XATTR_USER_PREFIX_LEN (sizeof (XATTR_USER_PREFIX) - 1) |
35 | 35 | ||
36 | /* Security namespace */ | ||
37 | #define XATTR_SELINUX_SUFFIX "selinux" | ||
38 | #define XATTR_NAME_SELINUX XATTR_SECURITY_PREFIX XATTR_SELINUX_SUFFIX | ||
39 | |||
40 | #define XATTR_SMACK_SUFFIX "SMACK64" | ||
41 | #define XATTR_SMACK_IPIN "SMACK64IPIN" | ||
42 | #define XATTR_SMACK_IPOUT "SMACK64IPOUT" | ||
43 | #define XATTR_NAME_SMACK XATTR_SECURITY_PREFIX XATTR_SMACK_SUFFIX | ||
44 | #define XATTR_NAME_SMACKIPIN XATTR_SECURITY_PREFIX XATTR_SMACK_IPIN | ||
45 | #define XATTR_NAME_SMACKIPOUT XATTR_SECURITY_PREFIX XATTR_SMACK_IPOUT | ||
46 | |||
47 | #define XATTR_CAPS_SUFFIX "capability" | ||
48 | #define XATTR_NAME_CAPS XATTR_SECURITY_PREFIX XATTR_CAPS_SUFFIX | ||
49 | |||
36 | struct inode; | 50 | struct inode; |
37 | struct dentry; | 51 | struct dentry; |
38 | 52 | ||