Home
last modified time | relevance | path

Searched refs:real_acl (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/fs/overlayfs/
Dinode.c398 struct posix_acl *real_acl, *clone; in ovl_get_acl_path() local
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()
408 if (IS_ERR_OR_NULL(real_acl)) in ovl_get_acl_path()
409 return real_acl; in ovl_get_acl_path()
412 return real_acl; in ovl_get_acl_path()
420 clone = posix_acl_clone(real_acl, GFP_KERNEL); in ovl_get_acl_path()
421 posix_acl_release(real_acl); /* release original acl */ in ovl_get_acl_path()
495 struct posix_acl *real_acl; in ovl_set_or_remove_acl() local
499 real_acl = vfs_get_acl(mnt_idmap(realpath.mnt), realdentry, in ovl_set_or_remove_acl()
[all …]
Dcopy_up.c51 struct posix_acl *clone, *real_acl = NULL; in ovl_copy_acl() local
53 real_acl = ovl_get_acl_path(path, acl_name, false); in ovl_copy_acl()
54 if (!real_acl) in ovl_copy_acl()
57 if (IS_ERR(real_acl)) { in ovl_copy_acl()
58 err = PTR_ERR(real_acl); in ovl_copy_acl()
64 clone = posix_acl_clone(real_acl, GFP_KERNEL); in ovl_copy_acl()
65 posix_acl_release(real_acl); /* release original acl */ in ovl_copy_acl()