aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/filesystems/anon_inode_test.c
Commit message (Collapse)AuthorAgeFilesLines
* selftests/filesystems: Fix build of anon_inode_testMark Brown2025-05-311-1/+1
| | | | | | | | | | | | | | | | | | | The newly added anon_inode_test test fails to build due to attempting to include a nonexisting overlayfs/wrapper.h: anon_inode_test.c:10:10: fatal error: overlayfs/wrappers.h: No such file or directory 10 | #include "overlayfs/wrappers.h" | ^~~~~~~~~~~~~~~~~~~~~~ This is due to 0bd92b9fe538 ("selftests/filesystems: move wrapper.h out of overlayfs subdir") which was added in the vfs-6.16.selftests branch which was based on -rc5 and did not contain the newly added test so once things were merged into mainline the build started failing - both parent commits are fine. Fixes: 3e406741b1989 ("Merge tag 'vfs-6.16-rc1.selftests' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs") Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
* selftests/filesystems: add open() test for anonymous inodesChristian Brauner2025-04-071-0/+17
| | | | | | | | Test that anonymous inodes cannot be open()ed. Link: https://lore.kernel.org/[email protected] Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
* selftests/filesystems: add exec() test for anonymous inodesChristian Brauner2025-04-071-0/+13
| | | | | | | | Test that anonymous inodes cannot be exec()ed. Link: https://lore.kernel.org/[email protected] Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
* selftests/filesystems: add chmod() test for anonymous inodesChristian Brauner2025-04-071-0/+13
| | | | | | | | Test that anonymous inodes cannot be chmod()ed. Link: https://lore.kernel.org/[email protected] Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
* selftests/filesystems: add chown() test for anonymous inodesChristian Brauner2025-04-071-0/+26
Test that anonymous inodes cannot be chown()ed. Link: https://lore.kernel.org/[email protected] Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Christian Brauner <[email protected]>