Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\posix_acl.c Create Date:2022-07-28 20:29:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:posix_acl_xattr_get

Proto:static int posix_acl_xattr_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *value, size_t size)

Type:int

Parameter:

TypeParameterName
const struct xattr_handler *handler
struct dentry *unused
struct inode *inode
const char *name
void *value
size_tsize
843  If Not IS_POSIXACL(inode) Then Return -EOPNOTSUPP
845  If S_ISLNK(i_mode) Then Return -EOPNOTSUPP
848  acl = get_acl(inode, s private flags )
849  If IS_ERR(acl) Then Return PTR_ERR(acl)
851  If (acl == NULL) Then Return -ENODATA
854  error = Convert from in-memory to extended attribute representation.
855  Free an ACL handle.
857  Return error