commit | 56c19e89b38618390addfc743d822f99519055c6 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Mon May 27 16:38:25 2013 +1000 |
committer | Ben Myers <bpm@sgi.com> | Thu May 30 13:43:52 2013 -0500 |
tree | 3aeb4998ac2f3b6529d149770c9759a26bec9eba | |
parent | 74137fff067961c9aca1e14d073805c3de8549bd [diff] |
xfs: kill suid/sgid through the truncate path. XFS has failed to kill suid/sgid bits correctly when truncating files of non-zero size since commit c4ed4243 ("xfs: split xfs_setattr") introduced in the 3.1 kernel. Fix it. Fix it. cc: stable kernel <stable@vger.kernel.org> Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>