]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
idmapped-mounts: Add open with O_TMPFILE operation in setgid test v2022.05.08
authorYang Xu <xuyang2018.jy@fujitsu.com>
Sat, 7 May 2022 16:01:27 +0000 (00:01 +0800)
committerZorro Lang <zlang@kernel.org>
Sat, 7 May 2022 15:08:34 +0000 (23:08 +0800)
commit87cf32ad3fa234e3d5ec501e0f86516bef91d805
tree66db1b9da6caad838720598f01e3e78961d4a36d
parent5328ab947ff4d2d492a6ac90b22d31ab02637bd8
idmapped-mounts: Add open with O_TMPFILE operation in setgid test

Since we can create temp file by using O_TMPFILE flag and filesystem driver also
has this api, we should also check this operation whether strip S_ISGID.

Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
src/idmapped-mounts/idmapped-mounts.c