Skip to content
Commit 7b82dc0e authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1efd48b3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment