commit | 7b82dc0e64e93f430182f36b46b79fcee87d3532 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | Tue May 08 20:10:00 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Tue May 08 20:10:00 2007 -0700 |
tree | 28c61be85dd899cdb096ac15c65b521b0db60ea8 | |
parent | 1efd48b3ae8f89a1d04f1e36be96764d7bf43ae9 [diff] |
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 <torvalds@linux-foundation.org>