Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
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
Dsecurity.h386 struct dentry *dentry, const char *acl_name,
388 void security_inode_post_set_acl(struct dentry *dentry, const char *acl_name,
391 struct dentry *dentry, const char *acl_name);
393 struct dentry *dentry, const char *acl_name);
396 const char *acl_name);
938 const char *acl_name, in security_inode_set_acl() argument
945 const char *acl_name, in security_inode_post_set_acl() argument
951 const char *acl_name) in security_inode_get_acl() argument
958 const char *acl_name) in security_inode_remove_acl() argument
965 const char *acl_name) in security_inode_post_remove_acl() argument
Dlsm_hook_defs.h161 struct dentry *dentry, const char *acl_name, struct posix_acl *kacl)
163 const char *acl_name, struct posix_acl *kacl)
165 struct dentry *dentry, const char *acl_name)
167 struct dentry *dentry, const char *acl_name)
169 struct dentry *dentry, const char *acl_name)
/linux-6.12.1/fs/
Dposix_acl.c1090 const char *acl_name, struct posix_acl *kacl) in vfs_set_acl() argument
1097 acl_type = posix_acl_type(acl_name); in vfs_set_acl()
1125 error = security_inode_set_acl(idmap, dentry, acl_name, kacl); in vfs_set_acl()
1139 security_inode_post_set_acl(dentry, acl_name, kacl); in vfs_set_acl()
1167 struct dentry *dentry, const char *acl_name) in vfs_get_acl() argument
1173 acl_type = posix_acl_type(acl_name); in vfs_get_acl()
1181 error = security_inode_get_acl(idmap, dentry, acl_name); in vfs_get_acl()
1211 const char *acl_name) in vfs_remove_acl() argument
1218 acl_type = posix_acl_type(acl_name); in vfs_remove_acl()
1233 error = security_inode_remove_acl(idmap, dentry, acl_name); in vfs_remove_acl()
[all …]
Dinternal.h295 const char *acl_name, const void *kvalue, size_t size);
297 const char *acl_name, void *kvalue, size_t size);
300 struct dentry *dentry, const char *acl_name, in do_set_acl() argument
306 struct dentry *dentry, const char *acl_name, in do_get_acl() argument
/linux-6.12.1/security/integrity/evm/
Devm_main.c674 const char *acl_name, struct posix_acl *kacl) in evm_inode_set_acl() argument
702 !evm_inode_set_acl_change(idmap, dentry, acl_name, kacl)) in evm_inode_set_acl()
726 const char *acl_name) in evm_inode_remove_acl() argument
728 return evm_inode_set_acl(idmap, dentry, acl_name, NULL); in evm_inode_remove_acl()
836 static void evm_inode_post_set_acl(struct dentry *dentry, const char *acl_name, in evm_inode_post_set_acl() argument
839 return evm_inode_post_setxattr(dentry, acl_name, NULL, 0, 0); in evm_inode_post_set_acl()
880 const char *acl_name) in evm_inode_post_remove_acl() argument
882 evm_inode_post_removexattr(dentry, acl_name); in evm_inode_post_remove_acl()
/linux-6.12.1/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.12.1/fs/overlayfs/
Dinode.c396 const char *acl_name, bool noperm) in ovl_get_acl_path() argument
405 real_acl = get_inode_acl(realinode, posix_acl_type(acl_name)); in ovl_get_acl_path()
407 real_acl = vfs_get_acl(idmap, path->dentry, acl_name); in ovl_get_acl_path()
483 const char *acl_name; in ovl_set_or_remove_acl() local
493 acl_name = posix_acl_xattr_name(type); in ovl_set_or_remove_acl()
500 acl_name); in ovl_set_or_remove_acl()
523 err = ovl_do_set_acl(ofs, realdentry, acl_name, acl); in ovl_set_or_remove_acl()
525 err = ovl_do_remove_acl(ofs, realdentry, acl_name); in ovl_set_or_remove_acl()
Doverlayfs.h344 const char *acl_name, struct posix_acl *acl) in ovl_do_set_acl() argument
346 return vfs_set_acl(ovl_upper_mnt_idmap(ofs), dentry, acl_name, acl); in ovl_do_set_acl()
350 const char *acl_name) in ovl_do_remove_acl() argument
352 return vfs_remove_acl(ovl_upper_mnt_idmap(ofs), dentry, acl_name); in ovl_do_remove_acl()
774 const char *acl_name, bool noperm);
780 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.c438 const char *acl_name, struct posix_acl *acl) in ovl_set_upper_acl() argument
443 return ovl_do_set_acl(ofs, upperdentry, acl_name, acl); in ovl_set_upper_acl()
/linux-6.12.1/security/integrity/ima/
Dima_appraise.c784 const char *acl_name, struct posix_acl *kacl) in ima_inode_set_acl() argument
786 if (evm_revalidate_status(acl_name)) in ima_inode_set_acl()
807 const char *acl_name) in ima_inode_remove_acl() argument
809 return ima_inode_set_acl(idmap, dentry, acl_name, NULL); in ima_inode_remove_acl()
/linux-6.12.1/security/
Dsecurity.c2435 struct dentry *dentry, const char *acl_name, in security_inode_set_acl() argument
2440 return call_int_hook(inode_set_acl, idmap, dentry, acl_name, kacl); in security_inode_set_acl()
2452 void security_inode_post_set_acl(struct dentry *dentry, const char *acl_name, in security_inode_post_set_acl() argument
2457 call_void_hook(inode_post_set_acl, dentry, acl_name, kacl); in security_inode_post_set_acl()
2472 struct dentry *dentry, const char *acl_name) in security_inode_get_acl() argument
2476 return call_int_hook(inode_get_acl, idmap, dentry, acl_name); in security_inode_get_acl()
2491 struct dentry *dentry, const char *acl_name) in security_inode_remove_acl() argument
2495 return call_int_hook(inode_remove_acl, idmap, dentry, acl_name); in security_inode_remove_acl()
2508 struct dentry *dentry, const char *acl_name) in security_inode_post_remove_acl() argument
2512 call_void_hook(inode_post_remove_acl, idmap, dentry, acl_name); in security_inode_post_remove_acl()
/linux-6.12.1/security/smack/
Dsmack_lsm.c1508 struct dentry *dentry, const char *acl_name, in smack_inode_set_acl() argument
1531 struct dentry *dentry, const char *acl_name) in smack_inode_get_acl() argument
1553 struct dentry *dentry, const char *acl_name) in smack_inode_remove_acl() argument
/linux-6.12.1/security/selinux/
Dhooks.c3282 struct dentry *dentry, const char *acl_name, in selinux_inode_set_acl() argument
3289 struct dentry *dentry, const char *acl_name) in selinux_inode_get_acl() argument
3295 struct dentry *dentry, const char *acl_name) in selinux_inode_remove_acl() argument