cifs: Use mask of ACEs for SID Everyone to calculate all three permissions user,...
authorShirish Pargaonkar <shirishpargaonkar@gmail.com>
Mon, 6 Dec 2010 20:56:46 +0000 (14:56 -0600)
committerSteve French <sfrench@us.ibm.com>
Wed, 19 Jan 2011 21:25:58 +0000 (21:25 +0000)
commit2fbc2f1729e785a7b2faf9d8d60926bb1ff62af0
tree4665c741041553259b626df604e617879440fb53
parent540b2e377797d8715469d408b887baa9310c5f3e
cifs: Use mask of ACEs for SID Everyone to calculate all three permissions user, group, and other

If a DACL has entries for ACEs for SID Everyone and Authenticated Users,
factor in mask in respective entries during calculation of permissions
for all three, user, group, and other.

http://technet.microsoft.com/en-us/library/bb463216.aspx

Signed-off-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsacl.c