Searched refs:XATTR_SECURITY_PREFIX (Results 1 – 19 of 19) sorted by relevance
/linux-2.6.39/include/linux/ |
D | xattr.h | 24 #define XATTR_SECURITY_PREFIX "security." macro 25 #define XATTR_SECURITY_PREFIX_LEN (sizeof (XATTR_SECURITY_PREFIX) - 1) 38 #define XATTR_NAME_SELINUX XATTR_SECURITY_PREFIX XATTR_SELINUX_SUFFIX 46 #define XATTR_NAME_SMACK XATTR_SECURITY_PREFIX XATTR_SMACK_SUFFIX 47 #define XATTR_NAME_SMACKIPIN XATTR_SECURITY_PREFIX XATTR_SMACK_IPIN 48 #define XATTR_NAME_SMACKIPOUT XATTR_SECURITY_PREFIX XATTR_SMACK_IPOUT 49 #define XATTR_NAME_SMACKEXEC XATTR_SECURITY_PREFIX XATTR_SMACK_EXEC 50 #define XATTR_NAME_SMACKTRANSMUTE XATTR_SECURITY_PREFIX XATTR_SMACK_TRANSMUTE 51 #define XATTR_NAME_SMACKMMAP XATTR_SECURITY_PREFIX XATTR_SMACK_MMAP 54 #define XATTR_NAME_CAPS XATTR_SECURITY_PREFIX XATTR_CAPS_SUFFIX
|
/linux-2.6.39/fs/reiserfs/ |
D | xattr_security.c | 15 if (strlen(name) < sizeof(XATTR_SECURITY_PREFIX)) in security_get() 28 if (strlen(name) < sizeof(XATTR_SECURITY_PREFIX)) in security_set() 96 if (strlen(sec->name) < sizeof(XATTR_SECURITY_PREFIX)) in reiserfs_security_write() 116 .prefix = XATTR_SECURITY_PREFIX,
|
/linux-2.6.39/fs/ext4/ |
D | xattr_security.c | 19 const size_t prefix_len = sizeof(XATTR_SECURITY_PREFIX)-1; in ext4_xattr_security_list() 24 memcpy(list, XATTR_SECURITY_PREFIX, prefix_len); in ext4_xattr_security_list() 74 .prefix = XATTR_SECURITY_PREFIX,
|
/linux-2.6.39/fs/jffs2/ |
D | security.c | 74 strcpy(list, XATTR_SECURITY_PREFIX); in jffs2_security_listxattr() 82 .prefix = XATTR_SECURITY_PREFIX,
|
/linux-2.6.39/fs/ext2/ |
D | xattr_security.c | 22 memcpy(list, XATTR_SECURITY_PREFIX, prefix_len); in ext2_xattr_security_list() 72 .prefix = XATTR_SECURITY_PREFIX,
|
/linux-2.6.39/fs/ext3/ |
D | xattr_security.c | 24 memcpy(list, XATTR_SECURITY_PREFIX, prefix_len); in ext3_xattr_security_list() 74 .prefix = XATTR_SECURITY_PREFIX,
|
/linux-2.6.39/security/ |
D | commoncap.c | 617 if (!strncmp(name, XATTR_SECURITY_PREFIX, in cap_inode_setxattr() 618 sizeof(XATTR_SECURITY_PREFIX) - 1) && in cap_inode_setxattr() 643 if (!strncmp(name, XATTR_SECURITY_PREFIX, in cap_inode_removexattr() 644 sizeof(XATTR_SECURITY_PREFIX) - 1) && in cap_inode_removexattr()
|
/linux-2.6.39/fs/squashfs/ |
D | xattr.c | 279 memcpy(list, XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN); in squashfs_security_list() 294 .prefix = XATTR_SECURITY_PREFIX,
|
/linux-2.6.39/fs/btrfs/ |
D | xattr.c | 286 return !strncmp(name, XATTR_SECURITY_PREFIX, in btrfs_is_valid_xattr() 388 strcpy(name, XATTR_SECURITY_PREFIX); in btrfs_xattr_security_init()
|
/linux-2.6.39/fs/ |
D | xattr.c | 44 if (!strncmp(name, XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN) || in xattr_permission() 98 } else if (!strncmp(name, XATTR_SECURITY_PREFIX, in __vfs_setxattr_noperm() 176 if (!strncmp(name, XATTR_SECURITY_PREFIX, in vfs_getxattr()
|
/linux-2.6.39/fs/xfs/linux-2.6/ |
D | xfs_xattr.c | 90 .prefix = XATTR_SECURITY_PREFIX,
|
/linux-2.6.39/fs/ubifs/ |
D | xattr.c | 270 } else if (!strncmp(nm->name, XATTR_SECURITY_PREFIX, in check_namespace() 272 if (nm->name[sizeof(XATTR_SECURITY_PREFIX) - 1] == '\0') in check_namespace()
|
/linux-2.6.39/fs/jfs/ |
D | xattr.c | 93 strncmp(name, XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN) && in is_known_namespace() 761 strncmp(name, XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN) && in can_set_xattr() 1116 strcpy(name, XATTR_SECURITY_PREFIX); in jfs_init_security()
|
/linux-2.6.39/fs/sysfs/ |
D | inode.c | 167 if (!strncmp(name, XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN)) { in sysfs_setxattr()
|
/linux-2.6.39/fs/ceph/ |
D | xattr.c | 14 !strncmp(name, XATTR_SECURITY_PREFIX, in ceph_is_valid_xattr()
|
/linux-2.6.39/fs/gfs2/ |
D | xattr.c | 1537 .prefix = XATTR_SECURITY_PREFIX,
|
/linux-2.6.39/security/selinux/ |
D | hooks.c | 2699 if (!strncmp(name, XATTR_SECURITY_PREFIX, in selinux_inode_setotherxattr() 2700 sizeof XATTR_SECURITY_PREFIX - 1)) { in selinux_inode_setotherxattr()
|
/linux-2.6.39/mm/ |
D | shmem.c | 2112 .prefix = XATTR_SECURITY_PREFIX,
|
/linux-2.6.39/fs/ocfs2/ |
D | xattr.c | 7232 memcpy(list, XATTR_SECURITY_PREFIX, prefix_len); in ocfs2_xattr_security_list() 7284 .prefix = XATTR_SECURITY_PREFIX,
|