[fs/9P] Add posixacl mount option
authorVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Tue, 25 Jan 2011 23:40:54 +0000 (15:40 -0800)
committerEric Van Hensbergen <ericvh@gmail.com>
Tue, 15 Mar 2011 14:57:34 +0000 (09:57 -0500)
commite782ef71097e832f62256370a2fe231b9fba96cf
tree6de30a0ac9e6250a5b969ae35655715023724736
parent9332685dffed3b402816c3564342f3e2df0c83ef
[fs/9P] Add posixacl mount option

The mount option access=client is overloaded as it assumes acl too.
Adding posixacl option to enable POSIX ACLs makes it explicit and clear.
Also it is convenient in the future to add other types of acls like richacls.

Ideally, the access mode 'client' should be just like V9FS_ACCESS_USER
except it underscores the location of access check.
Traditional 9P protocol lets the server perform access checks but with
this mode, all the access checks will be performed on the client itself.
Server just follows the client's directive.

Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/acl.c
fs/9p/v9fs.c
fs/9p/v9fs.h
fs/9p/vfs_super.c