Function report |
Source Code:fs\nfs_common\nfsacl.c |
Create Date:2022-07-28 20:29:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int nfsacl_decode(struct xdr_buf *buf, unsigned int base, unsigned int *aclcnt, struct posix_acl **pacl)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 | If xdr_decode_word(buf, base, & entries) || entries > Maximum number of ACL entries over NFS Then Return -EINVAL |
| 280 | array_maxlen = entries |
| 281 | err = xdr_decode_array2(buf, base + 4, & desc) |
| 284 | If pacl Then |
| 285 | If entries != array_len || Convert from a Solaris ACL to a POSIX 1003.1e draft 17 ACL. != 0 Then |
| 288 | Return -EINVAL |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |