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_set

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

Type:int

Parameter:

TypeParameterName
const struct xattr_handler *handler
struct dentry *unused
struct inode *inode
const char *name
const void *value
size_tsize
intflags
888  struct posix_acl * acl = NULL
891  If value Then
892  acl = Convert from extended attribute to in-memory representation.
893  If IS_ERR(acl) Then Return PTR_ERR(acl)
896  ret = set_posix_acl(inode, s private flags , acl)
897  Free an ACL handle.
898  Return ret