函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\nfs_common\nfsacl.c Create Date:2022-07-29 11:05:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Convert from a Solaris ACL to a POSIX 1003.1e draft 17 ACL.

函数原型:static int posix_acl_from_nfsacl(struct posix_acl *acl)

返回类型:int

参数:

类型参数名称
struct posix_acl *acl
221  struct posix_acl_entry * pa, * pe, * group_obj = NULL, * mask = NULL
224  如果非acl则返回:0
227  sort(a_entries, a_count, sizeof(structposix_acl_entry), cmp_acl_entry, NULL)
233  :e_tag恒等于_tag entry in struct posix_acl_entry
234  退出
235  :e_tag恒等于ACL_GROUP_OBJ
236  group_obj等于pa
237  退出
238  :e_tag恒等于ACL_MASK
239  mask等于pa
241  :e_tag恒等于ACL_OTHER
242  退出
245  如果a_count恒等于4且group_objmaske_perm恒等于e_perm
248  Not static to avoid a conflict with the prototype in the Linux headers.
250  a_count等于3
252  返回:0
调用者
名称描述
nfsacl_decodesacl_decode - Decode an NFSv3 ACL*@buf: xdr_buf containing XDR'd ACL data to decode*@base: byte offset in xdr_buf where XDR'd ACL begins*@aclcnt: count of ACEs in decoded posix_acl*@pacl: buffer in which to place decoded posix_acl