xdr encode decode acl and dacl attributes
acls are lists of arbitrary length, so xdr_array() is used to allocate the array during decode. because this memory is allocated by the tirpc library, it needs to be freed there as well; added function nfsacl41_free() to do this with XDR_F REE Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
b9e369fac6
commit
b6d81b3419
3 changed files with 73 additions and 22 deletions
|
|
@ -29,5 +29,6 @@
|
|||
bool_t nfs_encode_compound(XDR *xdr, caddr_t *args);
|
||||
bool_t nfs_decode_compound(XDR *xdr, caddr_t *res);
|
||||
|
||||
void nfsacl41_free(nfsacl41 *acl);
|
||||
|
||||
#endif /* !__NFS41_NFS_XDR_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue