generic: test suid/sgid behavior with reflink and dedupe
authorDarrick J. Wong <djwong@kernel.org>
Thu, 27 Jan 2022 01:27:01 +0000 (17:27 -0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 13 Feb 2022 16:53:30 +0000 (00:53 +0800)
commit705d9aff1d287ba3b65f6deee8ff9e1e1ff9617a
treeda82d85165dbf15f5948f82c8f8eb332d5e9b8f3
parent9017f3b63b50f467daf8a816f98dfc13544cdb49
generic: test suid/sgid behavior with reflink and dedupe

Make sure that we drop the setuid and setgid bits any time reflink or
dedupe change the file contents.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/673 [new file with mode: 0755]
tests/generic/673.out [new file with mode: 0644]
tests/generic/674 [new file with mode: 0755]
tests/generic/674.out [new file with mode: 0644]
tests/generic/675 [new file with mode: 0755]
tests/generic/675.out [new file with mode: 0644]