diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2007-10-18 06:06:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:37:29 -0400 |
commit | e57ac68378a287d6336d187b26971f35f7ee7251 (patch) | |
tree | 12b9ae8cc79af2d0100582e6f933aba0f4619663 /fs/fuse/fuse_i.h | |
parent | 42a2b6ad71b011144d21d88a124140bb2bf1023f (diff) |
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>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r-- | fs/fuse/fuse_i.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 1764506fdd11..e7464b8ebbfb 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h | |||
@@ -565,3 +565,8 @@ void fuse_ctl_remove_conn(struct fuse_conn *fc); | |||
565 | * Is file type valid? | 565 | * Is file type valid? |
566 | */ | 566 | */ |
567 | int fuse_valid_type(int m); | 567 | int fuse_valid_type(int m); |
568 | |||
569 | /** | ||
570 | * Is task allowed to perform filesystem operation? | ||
571 | */ | ||
572 | int fuse_allow_task(struct fuse_conn *fc, struct task_struct *task); | ||