Home
last modified time | relevance | path

Searched refs:acl_name (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/include/linux/
Devm.h40 const char *acl_name) in evm_inode_post_remove_acl() argument
42 evm_inode_post_removexattr(dentry, acl_name); in evm_inode_post_remove_acl()
45 struct dentry *dentry, const char *acl_name,
49 const char *acl_name) in evm_inode_remove_acl() argument
51 return evm_inode_set_acl(idmap, dentry, acl_name, NULL); in evm_inode_remove_acl()
54 const char *acl_name, in evm_inode_post_set_acl() argument
57 return evm_inode_post_setxattr(dentry, acl_name, NULL, 0); in evm_inode_post_set_acl()
135 const char *acl_name) in evm_inode_post_remove_acl() argument
141 struct dentry *dentry, const char *acl_name, in evm_inode_set_acl() argument
149 const char *acl_name) in evm_inode_remove_acl() argument
[all …]
Dposix_acl.h104 const char *acl_name, struct posix_acl *kacl);
106 struct dentry *dentry, const char *acl_name);
108 const char *acl_name);
148 const char *acl_name) in vfs_get_acl() argument
154 struct dentry *dentry, const char *acl_name) in vfs_remove_acl() argument
Dima.h193 struct dentry *dentry, const char *acl_name,
197 const char *acl_name) in ima_inode_remove_acl() argument
199 return ima_inode_set_acl(idmap, dentry, acl_name, NULL); in ima_inode_remove_acl()
223 struct dentry *dentry, const char *acl_name, in ima_inode_set_acl() argument
238 const char *acl_name) in ima_inode_remove_acl() argument
Dsecurity.h364 struct dentry *dentry, const char *acl_name,
367 struct dentry *dentry, const char *acl_name);
369 struct dentry *dentry, const char *acl_name);
881 const char *acl_name, in security_inode_set_acl() argument
889 const char *acl_name) in security_inode_get_acl() argument
896 const char *acl_name) in security_inode_remove_acl() argument
Dlsm_hook_defs.h150 struct dentry *dentry, const char *acl_name, struct posix_acl *kacl)
152 struct dentry *dentry, const char *acl_name)
154 struct dentry *dentry, const char *acl_name)
/linux-6.6.21/fs/
Dposix_acl.c1091 const char *acl_name, struct posix_acl *kacl) in vfs_set_acl() argument
1098 acl_type = posix_acl_type(acl_name); in vfs_set_acl()
1126 error = security_inode_set_acl(idmap, dentry, acl_name, kacl); in vfs_set_acl()
1140 evm_inode_post_set_acl(dentry, acl_name, kacl); in vfs_set_acl()
1168 struct dentry *dentry, const char *acl_name) in vfs_get_acl() argument
1174 acl_type = posix_acl_type(acl_name); in vfs_get_acl()
1182 error = security_inode_get_acl(idmap, dentry, acl_name); in vfs_get_acl()
1212 const char *acl_name) in vfs_remove_acl() argument
1219 acl_type = posix_acl_type(acl_name); in vfs_remove_acl()
1234 error = security_inode_remove_acl(idmap, dentry, acl_name); in vfs_remove_acl()
[all …]
Dinternal.h275 const char *acl_name, const void *kvalue, size_t size);
277 const char *acl_name, void *kvalue, size_t size);
280 struct dentry *dentry, const char *acl_name, in do_set_acl() argument
286 struct dentry *dentry, const char *acl_name, in do_get_acl() argument
/linux-6.6.21/fs/9p/
Dacl.c160 const char *acl_name; in v9fs_iop_set_acl() local
186 acl_name = posix_acl_xattr_name(type); in v9fs_iop_set_acl()
189 retval = v9fs_xattr_set(dentry, acl_name, value, size, 0); in v9fs_iop_set_acl()
239 retval = v9fs_xattr_set(dentry, acl_name, value, size, 0); in v9fs_iop_set_acl()
/linux-6.6.21/fs/overlayfs/
Dinode.c521 const char *acl_name, bool noperm) in ovl_get_acl_path() argument
530 real_acl = get_inode_acl(realinode, posix_acl_type(acl_name)); in ovl_get_acl_path()
532 real_acl = vfs_get_acl(idmap, path->dentry, acl_name); in ovl_get_acl_path()
608 const char *acl_name; in ovl_set_or_remove_acl() local
622 acl_name = posix_acl_xattr_name(type); in ovl_set_or_remove_acl()
629 acl_name); in ovl_set_or_remove_acl()
648 err = ovl_do_set_acl(ofs, realdentry, acl_name, acl); in ovl_set_or_remove_acl()
650 err = ovl_do_remove_acl(ofs, realdentry, acl_name); in ovl_set_or_remove_acl()
Doverlayfs.h329 const char *acl_name, struct posix_acl *acl) in ovl_do_set_acl() argument
331 return vfs_set_acl(ovl_upper_mnt_idmap(ofs), dentry, acl_name, acl); in ovl_do_set_acl()
335 const char *acl_name) in ovl_do_remove_acl() argument
337 return vfs_remove_acl(ovl_upper_mnt_idmap(ofs), dentry, acl_name); in ovl_do_remove_acl()
724 const char *acl_name, bool noperm);
730 const char *acl_name, in ovl_get_acl_path() argument
Dcopy_up.c48 struct dentry *dentry, const char *acl_name) in ovl_copy_acl() argument
53 real_acl = ovl_get_acl_path(path, acl_name, false); in ovl_copy_acl()
69 err = ovl_do_set_acl(ofs, dentry, acl_name, clone); in ovl_copy_acl()
Ddir.c437 const char *acl_name, struct posix_acl *acl) in ovl_set_upper_acl() argument
442 return ovl_do_set_acl(ofs, upperdentry, acl_name, acl); in ovl_set_upper_acl()
/linux-6.6.21/security/
Dsecurity.c2207 struct dentry *dentry, const char *acl_name, in security_inode_set_acl() argument
2214 ret = call_int_hook(inode_set_acl, 0, idmap, dentry, acl_name, in security_inode_set_acl()
2218 ret = ima_inode_set_acl(idmap, dentry, acl_name, kacl); in security_inode_set_acl()
2221 return evm_inode_set_acl(idmap, dentry, acl_name, kacl); in security_inode_set_acl()
2236 struct dentry *dentry, const char *acl_name) in security_inode_get_acl() argument
2240 return call_int_hook(inode_get_acl, 0, idmap, dentry, acl_name); in security_inode_get_acl()
2255 struct dentry *dentry, const char *acl_name) in security_inode_remove_acl() argument
2261 ret = call_int_hook(inode_remove_acl, 0, idmap, dentry, acl_name); in security_inode_remove_acl()
2264 ret = ima_inode_remove_acl(idmap, dentry, acl_name); in security_inode_remove_acl()
2267 return evm_inode_remove_acl(idmap, dentry, acl_name); in security_inode_remove_acl()
/linux-6.6.21/security/integrity/evm/
Devm_main.c654 const char *acl_name, struct posix_acl *kacl) in evm_inode_set_acl() argument
682 !evm_inode_set_acl_change(idmap, dentry, acl_name, kacl)) in evm_inode_set_acl()
/linux-6.6.21/security/integrity/ima/
Dima_appraise.c783 const char *acl_name, struct posix_acl *kacl) in ima_inode_set_acl() argument
785 if (evm_revalidate_status(acl_name)) in ima_inode_set_acl()
/linux-6.6.21/security/smack/
Dsmack_lsm.c1473 struct dentry *dentry, const char *acl_name, in smack_inode_set_acl() argument
1496 struct dentry *dentry, const char *acl_name) in smack_inode_get_acl() argument
1518 struct dentry *dentry, const char *acl_name) in smack_inode_remove_acl() argument
/linux-6.6.21/security/selinux/
Dhooks.c3262 struct dentry *dentry, const char *acl_name, in selinux_inode_set_acl() argument
3269 struct dentry *dentry, const char *acl_name) in selinux_inode_get_acl() argument
3275 struct dentry *dentry, const char *acl_name) in selinux_inode_remove_acl() argument