WSL2-Linux-Kernel/fs/fuse
Miklos Szeredi befc649c22 [PATCH] FUSE: pass file handle in setattr
This patch passes the file handle supplied in iattr to userspace, in case the
->setattr() was invoked from sys_ftruncate().  This solves the permission
checking (or lack thereof) in ftruncate() for the class of filesystems served
by an unprivileged userspace process.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-07 07:53:42 -08:00
..
Makefile [PATCH] FUSE - file operations 2005-09-09 14:03:45 -07:00
dev.c [PATCH] FUSE: atomic create+open 2005-11-07 07:53:42 -08:00
dir.c [PATCH] FUSE: pass file handle in setattr 2005-11-07 07:53:42 -08:00
file.c [PATCH] FUSE: atomic create+open 2005-11-07 07:53:42 -08:00
fuse_i.h [PATCH] FUSE: atomic create+open 2005-11-07 07:53:42 -08:00
inode.c [PATCH] FUSE: don't allow restarting of system calls 2005-09-09 14:03:48 -07:00