/kernel/linux/linux-5.10/fs/9p/ |
H A D | acl.c | 59 struct posix_acl *pacl, *dacl; in v9fs_get_acl() local 70 dacl = __v9fs_get_acl(fid, XATTR_NAME_POSIX_ACL_DEFAULT); in v9fs_get_acl() 73 if (!IS_ERR(dacl) && !IS_ERR(pacl)) { in v9fs_get_acl() 74 set_cached_acl(inode, ACL_TYPE_DEFAULT, dacl); in v9fs_get_acl() 79 if (!IS_ERR(dacl)) in v9fs_get_acl() 80 posix_acl_release(dacl); in v9fs_get_acl() 170 struct posix_acl *dacl, struct posix_acl *acl) in v9fs_set_create_acl() 172 set_cached_acl(inode, ACL_TYPE_DEFAULT, dacl); in v9fs_set_create_acl() 174 v9fs_set_acl(fid, ACL_TYPE_DEFAULT, dacl); in v9fs_set_create_acl() 179 void v9fs_put_acl(struct posix_acl *dacl, in v9fs_put_acl() argument 169 v9fs_set_create_acl(struct inode *inode, struct p9_fid *fid, struct posix_acl *dacl, struct posix_acl *acl) v9fs_set_create_acl() argument [all...] |
H A D | acl.h | 25 extern void v9fs_put_acl(struct posix_acl *dacl, struct posix_acl *acl); 38 struct posix_acl *dacl, in v9fs_set_create_acl() 43 static inline void v9fs_put_acl(struct posix_acl *dacl, in v9fs_put_acl() argument 36 v9fs_set_create_acl(struct inode *inode, struct p9_fid *fid, struct posix_acl *dacl, struct posix_acl *acl) v9fs_set_create_acl() argument
|
H A D | vfs_inode_dotl.c | 241 struct posix_acl *pacl = NULL, *dacl = NULL; in v9fs_vfs_atomic_open_dotl() local 282 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_atomic_open_dotl() 312 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_atomic_open_dotl() 347 v9fs_put_acl(dacl, pacl); in v9fs_vfs_atomic_open_dotl() 379 struct posix_acl *dacl = NULL, *pacl = NULL; in v9fs_vfs_mkdir_dotl() local 400 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_mkdir_dotl() 430 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mkdir_dotl() 445 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mkdir_dotl() 453 v9fs_put_acl(dacl, pacl); in v9fs_vfs_mkdir_dotl() 825 struct posix_acl *dacl in v9fs_vfs_mknod_dotl() local [all...] |
/kernel/linux/linux-6.6/fs/9p/ |
H A D | acl.c | 81 struct posix_acl *pacl, *dacl; in v9fs_get_acl() local 92 dacl = __v9fs_get_acl(fid, XATTR_NAME_POSIX_ACL_DEFAULT); in v9fs_get_acl() 95 if (!IS_ERR(dacl) && !IS_ERR(pacl)) { in v9fs_get_acl() 96 set_cached_acl(inode, ACL_TYPE_DEFAULT, dacl); in v9fs_get_acl() 101 if (!IS_ERR(dacl)) in v9fs_get_acl() 102 posix_acl_release(dacl); in v9fs_get_acl() 302 struct posix_acl *dacl, struct posix_acl *acl) in v9fs_set_create_acl() 304 set_cached_acl(inode, ACL_TYPE_DEFAULT, dacl); in v9fs_set_create_acl() 306 v9fs_set_acl(fid, ACL_TYPE_DEFAULT, dacl); in v9fs_set_create_acl() 311 void v9fs_put_acl(struct posix_acl *dacl, in v9fs_put_acl() argument 301 v9fs_set_create_acl(struct inode *inode, struct p9_fid *fid, struct posix_acl *dacl, struct posix_acl *acl) v9fs_set_create_acl() argument [all...] |
H A D | acl.h | 19 struct posix_acl *dacl, struct posix_acl *acl); 22 void v9fs_put_acl(struct posix_acl *dacl, struct posix_acl *acl); 37 struct posix_acl *dacl, in v9fs_set_create_acl() 42 static inline void v9fs_put_acl(struct posix_acl *dacl, in v9fs_put_acl() argument 35 v9fs_set_create_acl(struct inode *inode, struct p9_fid *fid, struct posix_acl *dacl, struct posix_acl *acl) v9fs_set_create_acl() argument
|
H A D | vfs_inode_dotl.c | 242 struct posix_acl *pacl = NULL, *dacl = NULL; in v9fs_vfs_atomic_open_dotl() local 283 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_atomic_open_dotl() 317 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_atomic_open_dotl() 341 v9fs_put_acl(dacl, pacl); in v9fs_vfs_atomic_open_dotl() 367 struct posix_acl *dacl = NULL, *pacl = NULL; in v9fs_vfs_mkdir_dotl() local 386 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_mkdir_dotl() 414 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mkdir_dotl() 428 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mkdir_dotl() 435 v9fs_put_acl(dacl, pacl); in v9fs_vfs_mkdir_dotl() 851 struct posix_acl *dacl in v9fs_vfs_mknod_dotl() local [all...] |
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | layout.h | 1707 * as the sacl and dacl ACLs inside the security descriptor itself. 1724 le32 dacl; /* Byte offset to a discretionary ACL. Only valid, if member 1726 SE_DACL_PRESENT is set but dacl is NULL, a NULL ACL 1733 * the sacl and dacl ACLs inside the security descriptor. Instead, it contains 1753 ACL *dacl; /* Points to a discretionary ACL. Only valid, if member 1755 SE_DACL_PRESENT is set but dacl is NULL, a NULL ACL
|
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | layout.h | 1707 * as the sacl and dacl ACLs inside the security descriptor itself. 1724 le32 dacl; /* Byte offset to a discretionary ACL. Only valid, if member 1726 SE_DACL_PRESENT is set but dacl is NULL, a NULL ACL 1733 * the sacl and dacl ACLs inside the security descriptor. Instead, it contains 1753 ACL *dacl; /* Points to a discretionary ACL. Only valid, if member 1755 SE_DACL_PRESENT is set but dacl is NULL, a NULL ACL
|
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | fsntfs.c | 1844 const struct ACL *dacl = Add2Ptr(sd, sd_dacl); in is_sd_valid() local 1849 if (!is_acl_valid(dacl, len - sd_dacl)) in is_sd_valid()
|