]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf1c3a9f7002b003eb37e9b79a0cf0bfd8d89cb2f
tree6de30a0ac9e6250a5b969ae35655715023724736
parent0944fa6d7e829619229246c939c93bf672b9d303
[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