函数逻辑报告 |
Source Code:fs\nfs_common\nfsacl.c |
Create Date:2022-07-29 11:05:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sacl_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
函数原型:int nfsacl_decode(struct xdr_buf *buf, unsigned int base, unsigned int *aclcnt, struct posix_acl **pacl)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct xdr_buf * | buf | |
unsigned int | base | |
unsigned int * | aclcnt | |
struct posix_acl ** | pacl |
268 | struct nfsacl_decode_desc nfsacl_desc = {desc = {elem_size = 12, xcode = pacl ? xdr_nfsace_decode : NULL, }, } |
277 | 如果xdr_decode_word(buf, base, & entries)或entries大于Maximum number of ACL entries over NFS 则返回:负EINVAL |
280 | array_maxlen等于entries |
281 | err等于xdr_decode_array2(buf, base + 4, & desc) |
284 | 如果pacl则 |
288 | 返回:负EINVAL |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |