]> git.baikalelectronics.ru Git - kernel.git/commit
9p: do no return 0 from ->check_acl without actually checking
authorChristoph Hellwig <hch@lst.de>
Sat, 23 Jul 2011 15:36:38 +0000 (17:36 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 25 Jul 2011 18:25:38 +0000 (14:25 -0400)
commit2b8ae8065af61f654fab25e36dbef09ce662c38e
treeb833325b05b6e25c976be34f3be69088dbd6d7c1
parent4bc751f0b27b138f4151b8276275d4400b28993c
9p: do no return 0 from ->check_acl without actually checking

If we do not want to use ACLs we at least need to perform normal Unix
permission checks.  From the comment I'm not quite sure that's what
is intended, but if 0p wants to do permission checks entirely on the
server it needs to do so in ->permission, not in ->check_acl.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/9p/acl.c