Home
last modified time | relevance | path

Searched refs:XATTR_SECURITY_PREFIX (Results 1 – 19 of 19) sorted by relevance

/linux-2.6.39/include/linux/ !
Dxattr.h24 #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/ !
Dxattr_security.c15 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/ !
Dxattr_security.c19 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/ !
Dsecurity.c74 strcpy(list, XATTR_SECURITY_PREFIX); in jffs2_security_listxattr()
82 .prefix = XATTR_SECURITY_PREFIX,
/linux-2.6.39/fs/ext2/ !
Dxattr_security.c22 memcpy(list, XATTR_SECURITY_PREFIX, prefix_len); in ext2_xattr_security_list()
72 .prefix = XATTR_SECURITY_PREFIX,
/linux-2.6.39/fs/ext3/ !
Dxattr_security.c24 memcpy(list, XATTR_SECURITY_PREFIX, prefix_len); in ext3_xattr_security_list()
74 .prefix = XATTR_SECURITY_PREFIX,
/linux-2.6.39/security/ !
Dcommoncap.c617 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/ !
Dxattr.c279 memcpy(list, XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN); in squashfs_security_list()
294 .prefix = XATTR_SECURITY_PREFIX,
/linux-2.6.39/fs/btrfs/ !
Dxattr.c286 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/ !
Dxattr.c44 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/ !
Dxfs_xattr.c90 .prefix = XATTR_SECURITY_PREFIX,
/linux-2.6.39/fs/ubifs/ !
Dxattr.c270 } 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/ !
Dxattr.c93 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/ !
Dinode.c167 if (!strncmp(name, XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN)) { in sysfs_setxattr()
/linux-2.6.39/fs/ceph/ !
Dxattr.c14 !strncmp(name, XATTR_SECURITY_PREFIX, in ceph_is_valid_xattr()
/linux-2.6.39/fs/gfs2/ !
Dxattr.c1537 .prefix = XATTR_SECURITY_PREFIX,
/linux-2.6.39/security/selinux/ !
Dhooks.c2699 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/ !
Dshmem.c2112 .prefix = XATTR_SECURITY_PREFIX,
/linux-2.6.39/fs/ocfs2/ !
Dxattr.c7232 memcpy(list, XATTR_SECURITY_PREFIX, prefix_len); in ocfs2_xattr_security_list()
7284 .prefix = XATTR_SECURITY_PREFIX,