Home
last modified time | relevance | path

Searched refs:xattrs (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v4.19/include/linux/
Dxattr.h82 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,
Dshmem_fs.h23 struct simple_xattrs xattrs; /* list of xattrs */ member
Dsecurity.h652 const initxattrs xattrs, in security_inode_init_security() argument
/Linux-v4.19/security/integrity/evm/
DKconfig30 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
Devm_main.c73 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/
Dxattr.c831 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/
Dxattr.c641 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/
Dinode.c59 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()
Dkernfs-internal.h26 struct simple_xattrs xattrs; member
Ddir.c538 simple_xattrs_free(&kn->iattr->xattrs); in kernfs_put()
/Linux-v4.19/security/apparmor/include/
Dpolicy.h154 char **xattrs; member
/Linux-v4.19/Documentation/ABI/testing/
Devm5 EVM protects a file's security extended attributes(xattrs)
/Linux-v4.19/fs/ubifs/
DKconfig59 Saying Y here includes support for extended attributes (xattrs).
/Linux-v4.19/security/apparmor/
Dpolicy_unpack.c512 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()
Dpolicy.c232 kzfree(profile->xattrs[i]); in aa_free_profile()
233 kzfree(profile->xattrs); in aa_free_profile()
Ddomain.c331 size = vfs_getxattr_alloc(d, profile->xattrs[i], &value, in aa_xattrs_match()
/Linux-v4.19/drivers/staging/erofs/
DKconfig9 blocks, inline xattrs/data, etc.) for scenarios which need
/Linux-v4.19/Documentation/filesystems/cifs/
DTODO34 h) implement support for security and trusted categories of xattrs
DREADME144 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/
Dshmem.c1107 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/
Dattributes.rst6 Extended attributes (xattrs) are typically stored in a separate data
/Linux-v4.19/fs/squashfs/
DKconfig104 Saying Y here includes support for extended attributes (xattrs).
/Linux-v4.19/Documentation/filesystems/
Doverlayfs.txt284 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
Dsquashfs.txt214 The xattr table contains extended attributes for each inode. The xattrs
Df2fs.txt127 inline_xattr Enable the inline xattrs feature.
128 noinline_xattr Disable the inline xattrs feature.

12