Home
last modified time | relevance | path

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

/openbmc/linux/fs/overlayfs/
H A Dinode.c523 struct posix_acl *real_acl, *clone; in ovl_get_acl_path() local
532 real_acl = vfs_get_acl(idmap, path->dentry, acl_name); in ovl_get_acl_path()
533 if (IS_ERR_OR_NULL(real_acl)) in ovl_get_acl_path()
534 return real_acl; in ovl_get_acl_path()
537 return real_acl; in ovl_get_acl_path()
545 clone = posix_acl_clone(real_acl, GFP_KERNEL); in ovl_get_acl_path()
546 posix_acl_release(real_acl); /* release original acl */ in ovl_get_acl_path()
624 struct posix_acl *real_acl; in ovl_set_or_remove_acl() local
631 if (IS_ERR(real_acl)) { in ovl_set_or_remove_acl()
632 err = PTR_ERR(real_acl); in ovl_set_or_remove_acl()
[all …]
H A 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()