/Linux-v4.19/include/linux/ |
D | xattr.h | 82 static inline void simple_xattrs_init(struct simple_xattrs *xattrs) in simple_xattrs_init() argument 84 INIT_LIST_HEAD(&xattrs->head); in simple_xattrs_init() 85 spin_lock_init(&xattrs->lock); in simple_xattrs_init() 91 static inline void simple_xattrs_free(struct simple_xattrs *xattrs) in simple_xattrs_free() argument 95 list_for_each_entry_safe(xattr, node, &xattrs->head, list) { in simple_xattrs_free() 102 int simple_xattr_get(struct simple_xattrs *xattrs, const char *name, 104 int simple_xattr_set(struct simple_xattrs *xattrs, const char *name, 106 ssize_t simple_xattr_list(struct inode *inode, struct simple_xattrs *xattrs, char *buffer, 108 void simple_xattr_list_add(struct simple_xattrs *xattrs,
|
D | shmem_fs.h | 23 struct simple_xattrs xattrs; /* list of xattrs */ member
|
D | security.h | 652 const initxattrs xattrs, in security_inode_init_security() argument
|
/Linux-v4.19/security/integrity/evm/ |
D | Kconfig | 30 bool "Additional SMACK xattrs" 34 Include additional SMACK xattrs for HMAC calculation. 36 In addition to the original security xattrs (eg. security.selinux, 39 Smack xattrs: security.SMACK64EXEC, security.SMACK64TRANSMUTE and 51 Allow userland to provide additional xattrs for HMAC calculation. 53 When this option is enabled, root can add additional xattrs to the
|
D | evm_main.c | 73 int i, xattrs; in evm_init_config() local 75 xattrs = ARRAY_SIZE(evm_config_default_xattrnames); in evm_init_config() 78 for (i = 0; i < xattrs; i++) { in evm_init_config()
|
/Linux-v4.19/fs/ |
D | xattr.c | 831 int simple_xattr_get(struct simple_xattrs *xattrs, const char *name, in simple_xattr_get() argument 837 spin_lock(&xattrs->lock); in simple_xattr_get() 838 list_for_each_entry(xattr, &xattrs->head, list) { in simple_xattr_get() 851 spin_unlock(&xattrs->lock); in simple_xattr_get() 869 int simple_xattr_set(struct simple_xattrs *xattrs, const char *name, in simple_xattr_set() argument 889 spin_lock(&xattrs->lock); in simple_xattr_set() 890 list_for_each_entry(xattr, &xattrs->head, list) { in simple_xattr_set() 907 list_add(&new_xattr->list, &xattrs->head); in simple_xattr_set() 911 spin_unlock(&xattrs->lock); in simple_xattr_set() 942 ssize_t simple_xattr_list(struct inode *inode, struct simple_xattrs *xattrs, in simple_xattr_list() argument [all …]
|
/Linux-v4.19/fs/ceph/ |
D | xattr.c | 641 struct ceph_inode_xattr **xattrs = NULL; in __build_xattrs() local 662 xattrs = kcalloc(numattr, sizeof(struct ceph_inode_xattr *), in __build_xattrs() 665 if (!xattrs) in __build_xattrs() 669 xattrs[i] = kmalloc(sizeof(struct ceph_inode_xattr), in __build_xattrs() 671 if (!xattrs[i]) in __build_xattrs() 679 kfree(xattrs[i]); in __build_xattrs() 680 kfree(xattrs); in __build_xattrs() 681 xattrs = NULL; in __build_xattrs() 695 0, 0, &xattrs[numattr]); in __build_xattrs() 700 kfree(xattrs); in __build_xattrs() [all …]
|
/Linux-v4.19/fs/kernfs/ |
D | inode.c | 59 simple_xattrs_init(&kn->iattr->xattrs); in kernfs_iattrs() 164 return simple_xattr_list(d_inode(dentry), &attrs->xattrs, buf, size); in kernfs_iop_listxattr() 320 return simple_xattr_get(&attrs->xattrs, name, value, size); in kernfs_xattr_get() 336 return simple_xattr_set(&attrs->xattrs, name, value, size, flags); in kernfs_xattr_set()
|
D | kernfs-internal.h | 26 struct simple_xattrs xattrs; member
|
D | dir.c | 538 simple_xattrs_free(&kn->iattr->xattrs); in kernfs_put()
|
/Linux-v4.19/security/apparmor/include/ |
D | policy.h | 154 char **xattrs; member
|
/Linux-v4.19/Documentation/ABI/testing/ |
D | evm | 5 EVM protects a file's security extended attributes(xattrs)
|
/Linux-v4.19/fs/ubifs/ |
D | Kconfig | 59 Saying Y here includes support for extended attributes (xattrs).
|
/Linux-v4.19/security/apparmor/ |
D | policy_unpack.c | 512 profile->xattrs = kcalloc(size, sizeof(char *), GFP_KERNEL); in unpack_xattrs() 513 if (!profile->xattrs) in unpack_xattrs() 516 if (!unpack_strdup(e, &profile->xattrs[i], NULL)) in unpack_xattrs()
|
D | policy.c | 232 kzfree(profile->xattrs[i]); in aa_free_profile() 233 kzfree(profile->xattrs); in aa_free_profile()
|
D | domain.c | 331 size = vfs_getxattr_alloc(d, profile->xattrs[i], &value, in aa_xattrs_match()
|
/Linux-v4.19/drivers/staging/erofs/ |
D | Kconfig | 9 blocks, inline xattrs/data, etc.) for scenarios which need
|
/Linux-v4.19/Documentation/filesystems/cifs/ |
D | TODO | 34 h) implement support for security and trusted categories of xattrs
|
D | README | 144 Note that server ea support is required for supporting xattrs from the Linux 465 user_xattr Allow getting and setting user xattrs (those attributes whose 469 nouser_xattr Do not allow getfattr/setfattr to get/set/list xattrs
|
/Linux-v4.19/mm/ |
D | shmem.c | 1107 simple_xattrs_free(&info->xattrs); in shmem_evict_inode() 2200 simple_xattrs_init(&info->xattrs); in shmem_get_inode() 3133 simple_xattr_list_add(&info->xattrs, new_xattr); in shmem_initxattrs() 3146 return simple_xattr_get(&info->xattrs, name, buffer, size); in shmem_xattr_handler_get() 3157 return simple_xattr_set(&info->xattrs, name, value, size, flags); in shmem_xattr_handler_set() 3185 return simple_xattr_list(d_inode(dentry), &info->xattrs, buffer, size); in shmem_listxattr()
|
/Linux-v4.19/Documentation/filesystems/ext4/ondisk/ |
D | attributes.rst | 6 Extended attributes (xattrs) are typically stored in a separate data
|
/Linux-v4.19/fs/squashfs/ |
D | Kconfig | 104 Saying Y here includes support for extended attributes (xattrs).
|
/Linux-v4.19/Documentation/filesystems/ |
D | overlayfs.txt | 284 appropriate REDIRECT and METACOPY xattrs, and gain access to file on lower 286 "trusted." xattrs will require CAP_SYS_ADMIN. But it should be possible
|
D | squashfs.txt | 214 The xattr table contains extended attributes for each inode. The xattrs
|
D | f2fs.txt | 127 inline_xattr Enable the inline xattrs feature. 128 noinline_xattr Disable the inline xattrs feature.
|