dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/fs/nfsd
Frank Filz aba24d7158 nfsd: Fix sort_pacl in fs/nfsd/nf4acl.c to actually sort groups
We have been doing some extensive testing of Linux support for ACLs on
NFDS v4. We have noticed that the server rejects ACLs where the groups
are out of order, for example, the following ACL is rejected:

A::OWNER@:rwaxtTcCy
A::user101@domain:rwaxtcy
A::GROUP@:rwaxtcy
A:g:group102@domain:rwaxtcy
A:g:group101@domain:rwaxtcy
A::EVERYONE@:rwaxtcy

Examining the server code, I found that after converting an NFS v4 ACL
to POSIX, sort_pacl is called to sort the user ACEs and group ACEs.
Unfortunately, a minor bug causes the group sort to be skipped.

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-10-27 19:34:44 -04:00
..
Kconfig nfsd : Define NFSD only when FILE_LOCKING is enabled 2009-03-18 17:30:48 -04:00
Makefile knfsd: trivial makefile cleanup 2007-05-09 12:30:54 -07:00
auth.c CRED: Add some configurable debugging [try #6] 2009-09-02 21:29:01 +10:00
auth.h nfsd: minor fs/nfsd/auth.h cleanup 2008-02-01 16:42:05 -05:00
export.c nfsd4: fix error return when pseudoroot missing 2009-09-28 12:21:26 -04:00
lockd.c nfsd: common grace period control 2008-10-03 16:19:02 -04:00
nfs2acl.c nfsd: rename MAY_ flags 2008-06-23 13:02:50 -04:00
nfs3acl.c nfsd: rename MAY_ flags 2008-06-23 13:02:50 -04:00
nfs3proc.c NFS: kill off complicated macro 'PROC' 2009-06-15 19:34:32 -07:00
nfs3xdr.c nfsd: fix leak on error in nfsv3 readdir 2009-09-04 15:48:00 -04:00
nfs4acl.c nfsd: Fix sort_pacl in fs/nfsd/nf4acl.c to actually sort groups 2009-10-27 19:34:44 -04:00
nfs4callback.c nfsd41: modify nfsd4.1 backchannel to use new xprt class 2009-09-15 20:52:13 -04:00
nfs4idmap.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00
nfs4proc.c NFSD: Fix a bug in the NFSv4 'supported attrs' mandatory attribute 2009-09-01 20:00:17 -04:00
nfs4recover.c nfsd: silence lockdep warning 2009-05-11 17:23:14 -04:00
nfs4state.c nfsd4.1: common slot allocation size calculation 2009-10-27 19:34:43 -04:00
nfs4xdr.c NFSd: Fix filehandle leak in exp_pseudoroot() and nfsd4_path() 2009-09-03 16:57:57 -04:00
nfscache.c knfsd: fix reply cache memory corruption 2009-05-27 14:14:02 -04:00
nfsctl.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
nfsfh.c nfsd4: filehandle leak or error exit from fh_compose() 2009-09-04 11:59:32 -04:00
nfsproc.c nfsd4: fix error return when pseudoroot missing 2009-09-28 12:21:26 -04:00
nfssvc.c Merge branch 'for-2.6.32' of git://linux-nfs.org/~bfields/linux 2009-09-22 07:54:33 -07:00
nfsxdr.c Use struct path in struct svc_export 2008-02-14 21:17:08 -08:00
stats.c [PATCH] knfsd: nfsd4: add per-operation server stats 2006-07-10 13:24:27 -07:00
vfs.c nfsd: minor nfsd_lookup cleanup 2009-09-28 12:07:53 -04:00