Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Allocate a new ACL with the specified number of entries.

Proto:struct posix_acl *posix_acl_alloc(int count, gfp_t flags)

Type:struct posix_acl

Parameter:

TypeParameterName
intcount
gfp_tflags
179  size = sizeof(structposix_acl) + count * sizeof(structposix_acl_entry)
181  acl = Allocation memory
182  If acl Then Init a fresh posix_acl
184  Return acl
Caller
NameDescribe
posix_acl_from_modeCreate an ACL representing the file mode permission bits of an inode.
posix_acl_from_xattrConvert from extended attribute to in-memory representation.
xdr_nfsace_decode