selftests/filesystems: add chmod() test for anonymous inodes
authorChristian Brauner <brauner@kernel.org>
Mon, 7 Apr 2025 09:54:21 +0000 (11:54 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 7 Apr 2025 14:20:14 +0000 (16:20 +0200)
commitfcf31ec7cade5b17699bc2ed04cacbc92b14a864
treef01b2faa50a20d5455fc439132a332615bac23b7
parentc784159750bc83aa91d49ceeb2dbd627d22c0587
selftests/filesystems: add chmod() test for anonymous inodes

Test that anonymous inodes cannot be chmod()ed.

Link: https://lore.kernel.org/20250407-work-anon_inode-v1-7-53a44c20d44e@kernel.org
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
tools/testing/selftests/filesystems/anon_inode_test.c