]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: new test to verify selinux label of whiteout inode
authorZorro Lang <zlang@kernel.org>
Thu, 14 Jul 2022 13:55:17 +0000 (21:55 +0800)
committerZorro Lang <zlang@kernel.org>
Fri, 23 Sep 2022 01:09:44 +0000 (09:09 +0800)
commit033a68a98684a2489cf4221446caf52fd65ff98e
tree561739a93b18828eb67ec6d4fec4e1073be2d4a9
parentb7adca6f6676eee80cfd2f31e8918369547b2036
generic: new test to verify selinux label of whiteout inode

A bug on XFS cause renameat2() with flags=RENAME_WHITEOUT doesn't
apply an selinux label. That's quite different with other fs (e.g.
ext4, tmpfs).

Signed-off-by: Zorro Lang <zlang@kernel.org>
Reviewed-by: Xiong Zhou <xzhou@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/700 [new file with mode: 0755]
tests/generic/700.out [new file with mode: 0644]