11 ext2_xattr_security_list(
struct dentry *
dentry,
char *
list,
size_t list_size,
15 const size_t total_len = prefix_len + name_len + 1;
17 if (list && total_len <= list_size) {
19 memcpy(list+prefix_len, name, name_len);
26 ext2_xattr_security_get(
struct dentry *dentry,
const char *name,
36 ext2_xattr_security_set(
struct dentry *dentry,
const char *name,
37 const void *
value,
size_t size,
int flags,
int type)
51 for (xattr = xattr_array; xattr->
name !=
NULL; xattr++) {
71 .list = ext2_xattr_security_list,
72 .get = ext2_xattr_security_get,
73 .set = ext2_xattr_security_set,