Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/include/linux/
A Dxattr.h100 void simple_xattrs_init(struct simple_xattrs *xattrs);
101 void simple_xattrs_free(struct simple_xattrs *xattrs);
103 int simple_xattr_get(struct simple_xattrs *xattrs, const char *name,
105 int simple_xattr_set(struct simple_xattrs *xattrs, const char *name,
108 ssize_t simple_xattr_list(struct inode *inode, struct simple_xattrs *xattrs,
110 void simple_xattr_add(struct simple_xattrs *xattrs,
A Dshmem_fs.h25 struct simple_xattrs xattrs; /* list of xattrs */ member
/linux-6.3-rc2/security/integrity/evm/
A DKconfig31 bool "Additional SMACK xattrs"
35 Include additional SMACK xattrs for HMAC calculation.
37 In addition to the original security xattrs (eg. security.selinux,
40 Smack xattrs: security.SMACK64EXEC, security.SMACK64TRANSMUTE and
52 Allow userland to provide additional xattrs for HMAC calculation.
54 When this option is enabled, root can add additional xattrs to the
A Devm_main.c89 int i, xattrs; in evm_init_config() local
91 xattrs = ARRAY_SIZE(evm_config_default_xattrnames); in evm_init_config()
94 for (i = 0; i < xattrs; i++) { in evm_init_config()
/linux-6.3-rc2/fs/
A Dxattr.c1116 read_lock(&xattrs->lock); in simple_xattr_get()
1128 read_unlock(&xattrs->lock); in simple_xattr_get()
1182 write_lock(&xattrs->lock); in simple_xattr_set()
1206 &xattrs->rb_root); in simple_xattr_set()
1234 write_unlock(&xattrs->lock); in simple_xattr_set()
1307 read_lock(&xattrs->lock); in simple_xattr_list()
1319 read_unlock(&xattrs->lock); in simple_xattr_list()
1352 write_lock(&xattrs->lock); in simple_xattr_add()
1354 write_unlock(&xattrs->lock); in simple_xattr_add()
1365 xattrs->rb_root = RB_ROOT; in simple_xattrs_init()
[all …]
/linux-6.3-rc2/fs/kernfs/
A Dinode.c49 simple_xattrs_init(&kn->iattr->xattrs); in __kernfs_iattrs()
148 return simple_xattr_list(d_inode(dentry), &attrs->xattrs, buf, size); in kernfs_iop_listxattr()
303 return simple_xattr_get(&attrs->xattrs, name, value, size); in kernfs_xattr_get()
313 return simple_xattr_set(&attrs->xattrs, name, value, size, flags, NULL); in kernfs_xattr_set()
340 struct simple_xattrs *xattrs, in kernfs_vfs_user_xattr_add() argument
358 ret = simple_xattr_set(xattrs, full_name, value, size, flags, in kernfs_vfs_user_xattr_add()
374 struct simple_xattrs *xattrs, in kernfs_vfs_user_xattr_rm() argument
382 ret = simple_xattr_set(xattrs, full_name, value, size, flags, in kernfs_vfs_user_xattr_rm()
411 return kernfs_vfs_user_xattr_add(kn, full_name, &attrs->xattrs, in kernfs_vfs_user_xattr_set()
414 return kernfs_vfs_user_xattr_rm(kn, full_name, &attrs->xattrs, in kernfs_vfs_user_xattr_set()
A Dkernfs-internal.h29 struct simple_xattrs xattrs; member
A Ddir.c559 simple_xattrs_free(&kn->iattr->xattrs); in kernfs_put()
/linux-6.3-rc2/Documentation/filesystems/
A Derofs.rst166 | ... | inode | xattrs | extents | data inline | ... | inode ...
176 | xattr_ibody_header | shared xattrs | inline xattrs |
212 The size of the optional xattrs is indicated by i_xattr_count in inode
213 header. Large xattrs or xattrs shared by many different files can be
214 stored in shared xattrs metadata rather than inlined right after inode.
216 2. Shared xattrs metadata space
218 Shared xattrs space is similar to the above inode space, started with
A Dfsverity.rst88 stored as security.ima xattrs, based on policy.
336 metadata such as owner, mode, timestamps, and xattrs are still
521 support paging multi-gigabyte xattrs into memory, and to support
522 encrypting xattrs. Note that the verity metadata *must* be encrypted
804 filesystems assume that all xattrs fit into a single 4K
806 encrypt xattrs, yet the Merkle tree *must* be encrypted when the
A Dsquashfs.rst220 The xattr table contains extended attributes for each inode. The xattrs
A Doverlayfs.rst363 appropriate REDIRECT and METACOPY xattrs, and gain access to file on lower
365 "trusted." xattrs will require CAP_SYS_ADMIN. But it should be possible
/linux-6.3-rc2/fs/ceph/
A Dxattr.c764 struct ceph_inode_xattr **xattrs = NULL; in __build_xattrs() local
788 if (!xattrs) in __build_xattrs()
794 if (!xattrs[i]) in __build_xattrs()
802 kfree(xattrs[i]); in __build_xattrs()
803 kfree(xattrs); in __build_xattrs()
804 xattrs = NULL; in __build_xattrs()
818 0, 0, &xattrs[numattr]); in __build_xattrs()
823 kfree(xattrs); in __build_xattrs()
832 if (xattrs) { in __build_xattrs()
834 kfree(xattrs[i]); in __build_xattrs()
[all …]
/linux-6.3-rc2/Documentation/admin-guide/cifs/
A Dtodo.rst35 (stat, statfs, create, unlink, mkdir, xattrs) already have been improved by
48 h) implement support for security and trusted categories of xattrs
A Dusage.rst160 Note that server ea support is required for supporting xattrs from the Linux
537 Allow getting and setting user xattrs (those attributes whose
542 Do not allow getfattr/setfattr to get/set/list xattrs
/linux-6.3-rc2/security/apparmor/include/
A Dpolicy.h165 char **xattrs; member
/linux-6.3-rc2/fs/ubifs/
A DKconfig70 Saying Y here includes support for extended attributes (xattrs).
/linux-6.3-rc2/Documentation/ABI/testing/
A Devm6 EVM protects a file's security extended attributes(xattrs)
/linux-6.3-rc2/fs/erofs/
A DKconfig11 xattrs/data, chunk-based deduplication, multiple devices, etc.) for
/linux-6.3-rc2/security/apparmor/
A Dpolicy_unpack.c542 profile->attach.xattrs = kcalloc(size, sizeof(char *), GFP_KERNEL); in unpack_xattrs()
543 if (!profile->attach.xattrs) in unpack_xattrs()
546 if (!aa_unpack_strdup(e, &profile->attach.xattrs[i], NULL)) in unpack_xattrs()
A Dpolicy.c201 kfree_sensitive(attach->xattrs[i]); in free_attachment()
202 kfree_sensitive(attach->xattrs); in free_attachment()
A Ddomain.c316 size = vfs_getxattr_alloc(&nop_mnt_idmap, d, attach->xattrs[i], in aa_xattrs_match()
/linux-6.3-rc2/Documentation/filesystems/ext4/
A Dattributes.rst6 Extended attributes (xattrs) are typically stored in a separate data
/linux-6.3-rc2/mm/
A Dshmem.c1177 simple_xattrs_free(&info->xattrs); in shmem_evict_inode()
2379 simple_xattrs_init(&info->xattrs); in shmem_get_inode()
3295 simple_xattr_add(&info->xattrs, new_xattr); in shmem_initxattrs()
3308 return simple_xattr_get(&info->xattrs, name, buffer, size); in shmem_xattr_handler_get()
3321 err = simple_xattr_set(&info->xattrs, name, value, size, flags, NULL); in shmem_xattr_handler_set()
3354 return simple_xattr_list(d_inode(dentry), &info->xattrs, buffer, size); in shmem_listxattr()
/linux-6.3-rc2/fs/squashfs/
A DKconfig146 Saying Y here includes support for extended attributes (xattrs).

Completed in 103 milliseconds

12