From: Linus Torvalds Date: Wed, 9 May 2007 03:10:00 +0000 (-0700) Subject: Remove suid/sgid bits on [f]truncate() X-Git-Tag: v2.6.22-rc1~347 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b82dc0e64e93f430182f36b46b79fcee87d3532;p=pandora-kernel.git Remove suid/sgid bits on [f]truncate() .. to match what we do on write(). This way, people who write to files by using [f]truncate + writable mmap have the same semantics as if they were using the write() family of system calls. Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed