Remove suid/sgid bits on [f]truncate()
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 03:10:00 +0000 (20:10 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 03:10:00 +0000 (20:10 -0700)
.. 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 <torvalds@linux-foundation.org>
fs/open.c

diff --cc fs/open.c
Simple merge