]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
libcephfs: move ClearSetuid to suidsgid.cc
authorXiubo Li <xiubli@redhat.com>
Tue, 14 Mar 2023 03:27:03 +0000 (11:27 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 11 Apr 2023 02:27:44 +0000 (10:27 +0800)
commitcb2848bb9be74a87ed365064dbf6dca997f0ea6b
tree652369113df519fbfa2081d81368bc42ce0a529e
parente817d6b54af7258a58efd38e969d90a1a396ef2f
libcephfs: move ClearSetuid to suidsgid.cc

And rename it to ChownClearSetuid, which will test the chown only.

Fixes: https://tracker.ceph.com/issues/58680
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 9c1f7643a0d243bb27cd119caedafe1f2a82037d)
src/test/libcephfs/suidsgid.cc
src/test/libcephfs/test.cc