Assaf Yaari has uploaded this change for review.

View Change

commonlib: Identify correctly special id's

A client might place uid's 1,2 or 3 as the ace principals that it sends
so better examine the internal flag and not the 'who.uid' itself.
(in the `decode_acl`, ganesha translates the OWNER@, GROUP@ & EVERYONE@
into uid's 1,2,3 and sets the FSAL_ACE_IFLAG_SPECIAL_ID internal flag)

Signed-off-by: Assaf Yaari <assafy@google.com>
Change-Id: I779670fd3d077ba53bbd0153c408aaa8b34eb835
---
M src/FSAL/commonlib.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/10/1190110/1

To view, visit change 1190110. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I779670fd3d077ba53bbd0153c408aaa8b34eb835
Gerrit-Change-Number: 1190110
Gerrit-PatchSet: 1
Gerrit-Owner: Assaf Yaari <assafy@google.com>