Hello Shangzhong Zhu,
I'd like you to do a code review. Please visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/493359
to review the following change.
Change subject: Add functions for encoding and decoding POSIX ACLs and the GETACL and
SETACL RPCs.
......................................................................
Add functions for encoding and decoding POSIX ACLs and the GETACL and SETACL RPCs.
The actual access decisions are performed using the ACCESS RPC which is part of NFSv3
proper, and is independent of acls.
The GETACL and SETACL RPCs are mainly used by tools like getfacl and setfacl.In addition,
for files created inside directories that have a default acl,SETACL is used at file create
time to implement the POSIX ACL file create semantics.
Change-Id: I5b73caf733c54003370abe81200f9ac5cc8b6abc
Signed-off-by: Luo Muyao <luo.muyao(a)zte.com.cn>
Signed-off-by: Shangzhong Zhu <zhu.shangzhong(a)zte.com.cn>
---
M src/Protocols/NFS/nfs_proto_tools.c
A src/Protocols/NFSACL/nfsacl_Null.c
A src/Protocols/NFSACL/nfsacl_getacl.c
A src/Protocols/NFSACL/nfsacl_setacl.c
M src/include/nfs_proto_tools.h
5 files changed, 794 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/59/493359/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/493359
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I5b73caf733c54003370abe81200f9ac5cc8b6abc
Gerrit-Change-Number: 493359
Gerrit-PatchSet: 1
Gerrit-Owner: MuYao Luo <luo.muyao(a)zte.com.cn>
Gerrit-Reviewer: Shangzhong Zhu <zhu.shangzhong(a)zte.com.cn>
Gerrit-MessageType: newchange