selftests/filesystems: add exec() test for anonymous inodes
authorChristian Brauner <brauner@kernel.org>
Mon, 7 Apr 2025 09:54:22 +0000 (11:54 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 7 Apr 2025 14:20:14 +0000 (16:20 +0200)
commitf8ca403ae77cbfb4bf0fcd92c74075886f5f4aa8
tree10af003d863ad1051e8229f2de07226c1e566c57
parentfcf31ec7cade5b17699bc2ed04cacbc92b14a864
selftests/filesystems: add exec() test for anonymous inodes

Test that anonymous inodes cannot be exec()ed.

Link: https://lore.kernel.org/20250407-work-anon_inode-v1-8-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