]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: fix allowing operations
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 18 Oct 2007 10:06:58 +0000 (03:06 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:29 +0000 (14:37 -0700)
commit42f28874132859f6a12d4cd4314f14c0ea3fcaeb
tree12b9ae8cc79af2d0100582e6f933aba0f4619663
parent063e3a3543e5a7cddbca3e381af70a50dc1505b2
fuse: fix allowing operations

The following operation didn't check if sending the request was allowed:

  setattr
  listxattr
  statfs

Some other operations don't explicitly do the check, but VFS calls
->permission() which checks this.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/dir.c
fs/fuse/fuse_i.h
fs/fuse/inode.c