Re: [RFC v6 10/40] richacl: Permission check algorithm

2015-08-31 Thread J. Bruce Fields
On Sat, Aug 29, 2015 at 12:06:22AM +0200, Andreas Grünbacher wrote: > 2015-08-28 23:49 GMT+02:00 J. Bruce Fields : > > On Tue, Aug 04, 2015 at 01:53:08PM +0200, Andreas Gruenbacher wrote: > >> + /* > >> + * We don't care which class the process is in when the acl > >> is >

Re: [RFC v6 10/40] richacl: Permission check algorithm

2015-08-28 Thread Andreas Grünbacher
2015-08-28 23:49 GMT+02:00 J. Bruce Fields : > On Tue, Aug 04, 2015 at 01:53:08PM +0200, Andreas Gruenbacher wrote: >> + /* >> + * We don't care which class the process is in when the acl is >> + * not masked. >> + */ >> + in_owner_or_g

Re: [RFC v6 10/40] richacl: Permission check algorithm

2015-08-28 Thread J. Bruce Fields
On Tue, Aug 04, 2015 at 01:53:08PM +0200, Andreas Gruenbacher wrote: > A richacl roughly grants a requested access if the NFSv4 acl in the > richacl grants the requested permissions according to the NFSv4 > permission check algorithm and the file mask that applies to the process > includes the requ

[RFC v6 10/40] richacl: Permission check algorithm

2015-08-04 Thread Andreas Gruenbacher
A richacl roughly grants a requested access if the NFSv4 acl in the richacl grants the requested permissions according to the NFSv4 permission check algorithm and the file mask that applies to the process includes the requested permissions. Signed-off-by: Andreas Gruenbacher --- fs/Makefile