diff options
author | Xiubo Li <xiubli@redhat.com> | 2023-02-13 13:56:20 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2023-02-26 20:03:14 +0100 |
commit | e027253c4b77d395798600a90b6a96fe4adf4d5e (patch) | |
tree | 2a6177521c2185023fb3ad104324548b17830f13 /Documentation/networking | |
parent | c9c3395d5e3dcc6daee66c6908354d47bf98cb0c (diff) | |
download | linux-stable-e027253c4b77d395798600a90b6a96fe4adf4d5e.tar.gz linux-stable-e027253c4b77d395798600a90b6a96fe4adf4d5e.tar.bz2 linux-stable-e027253c4b77d395798600a90b6a96fe4adf4d5e.zip |
ceph: update the time stamps and try to drop the suid/sgid
The fallocate will try to clear the suid/sgid if a unprevileged user
changed the file.
There is no POSIX item requires that we should clear the suid/sgid
in fallocate code path but this is the default behaviour for most of
the filesystems and the VFS layer. And also the same for the write
code path, which have already support it.
And also we need to update the time stamps since the fallocate will
change the file contents.
Cc: stable@vger.kernel.org
Link: https://tracker.ceph.com/issues/58054
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'Documentation/networking')
0 files changed, 0 insertions, 0 deletions