[PATCH] Remove SUID when splicing into an inode
authorJens Axboe <jens.axboe@oracle.com>
Tue, 17 Oct 2006 17:43:22 +0000 (19:43 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Thu, 19 Oct 2006 18:53:09 +0000 (20:53 +0200)
commit8c34e2d63231d4bf4852bac8521883944d770fe3
tree13e3332384bd1c5844d7827066815ae0ae75f8aa
parent01de85e057328ecbef36e108673b1e81059d54c1
[PATCH] Remove SUID when splicing into an inode

Originally from Mark Fasheh <mark.fasheh@oracle.com>

generic_file_splice_write() does not remove S_ISUID or S_ISGID. This is
inconsistent with the way we generally write to files.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/splice.c