selftests/filesystems: add chown() test for anonymous inodes
authorChristian Brauner <brauner@kernel.org>
Mon, 7 Apr 2025 09:54:20 +0000 (11:54 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 7 Apr 2025 14:20:14 +0000 (16:20 +0200)
commitc784159750bc83aa91d49ceeb2dbd627d22c0587
treeeb090bb5042878a5dc890b832c2a81fc2598b6d5
parent1ed95281c0c77dbb1540f9855cd3c5f19900f7a5
selftests/filesystems: add chown() test for anonymous inodes

Test that anonymous inodes cannot be chown()ed.

Link: https://lore.kernel.org/20250407-work-anon_inode-v1-6-53a44c20d44e@kernel.org
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
tools/testing/selftests/filesystems/.gitignore
tools/testing/selftests/filesystems/Makefile
tools/testing/selftests/filesystems/anon_inode_test.c [new file with mode: 0644]