alistair23-linux/fs/nfsd
J. Bruce Fields bec50c47aa [PATCH] knfsd: nfsd4: acls: avoid unnecessary denies
We're inserting deny's between some ACEs in order to enforce posix draft acl
semantics which prevent permissions from accumulating across entries in an
acl.

That's fine, but we're doing that by inserting a deny after *every* allow,
which is overkill.  We shouldn't be adding them in places where they actually
make no difference.

Also replaced some helper functions for creating acl entries; I prefer just
assigning directly to the struct fields--it takes a few more lines, but the
field names provide some documentation that I think makes the result easier
understand.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-16 08:14:01 -08:00
..
auth.c
export.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
lockd.c [PATCH] lockd endianness annotations 2006-12-13 09:05:52 -08:00
Makefile
nfs2acl.c [PATCH] NFS2: Calculate 'w' a bit later in nfsaclsvc_encode_getaclres() 2006-12-08 08:29:01 -08:00
nfs3acl.c [PATCH] NFS3: Calculate 'w' a bit later in nfs3svc_encode_getaclres() 2006-12-08 08:29:02 -08:00
nfs3proc.c [PATCH] nfsd4: fix open-create permissions 2006-11-08 18:29:23 -08:00
nfs3xdr.c [PATCH] knfsd: add some new fsid types 2007-02-14 08:09:53 -08:00
nfs4acl.c [PATCH] knfsd: nfsd4: acls: avoid unnecessary denies 2007-02-16 08:14:01 -08:00
nfs4callback.c [PATCH] knfsd: nfsd4: fix non-terminated string 2007-02-16 08:14:01 -08:00
nfs4idmap.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
nfs4proc.c [PATCH] knfsd: nfsd4: simplify filehandle check 2006-12-13 09:05:54 -08:00
nfs4recover.c [PATCH] lockdep: annotate nfsd4 recover code 2006-12-08 08:29:01 -08:00
nfs4state.c [PATCH] knfsd: SUNRPC: Provide room in svc_rqst for larger addresses 2007-02-12 09:48:36 -08:00
nfs4xdr.c [PATCH] knfsd: nfsd4: fix error return on unsupported acl 2007-02-16 08:14:01 -08:00
nfscache.c [PATCH] knfsd: SUNRPC: Provide room in svc_rqst for larger addresses 2007-02-12 09:48:36 -08:00
nfsctl.c [PATCH] knfsd: fix return value for writes to some files in 'nfsd' filesystem 2007-02-14 08:09:53 -08:00
nfsfh.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
nfsproc.c [PATCH] knfsd: SUNRPC: Add a function to format the address in an svc_rqst for printing 2007-02-12 09:48:35 -08:00
nfssvc.c [PATCH] knfsd: SUNRPC: allow creating an RPC service without registering with portmapper 2007-02-12 09:48:35 -08:00
nfsxdr.c [PATCH] knfsd: add some new fsid types 2007-02-14 08:09:53 -08:00
stats.c
vfs.c [PATCH] knfsd: nfsd4: fix error return on unsupported acl 2007-02-16 08:14:01 -08:00