Searched refs:test_open_rel (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.15/tools/testing/selftests/landlock/ |
D | fs_test.c | 245 static int test_open_rel(const int dirfd, const char *const path, const int flags) in test_open_rel() function 264 return test_open_rel(AT_FDCWD, path, flags); in test_open() 1443 test_open_rel(dirfd, "..", O_RDONLY)); in test_relative_path() 1444 ASSERT_EQ(0, test_open_rel(dirfd, ".", O_RDONLY)); in test_relative_path() 1448 ASSERT_EQ(0, test_open_rel(dirfd, "./s2d3", O_RDONLY)); in test_relative_path() 1451 ASSERT_EQ(0, test_open_rel(dirfd, "./s1d3", O_RDONLY)); in test_relative_path() 1456 ASSERT_EQ(0, test_open_rel(dirfd, "/..", O_RDONLY)); in test_relative_path() 1457 ASSERT_EQ(0, test_open_rel(dirfd, "/", O_RDONLY)); in test_relative_path() 1458 ASSERT_EQ(0, test_open_rel(dirfd, "/f1", O_RDONLY)); in test_relative_path() 1459 ASSERT_EQ(0, test_open_rel(dirfd, "/s1d3", O_RDONLY)); in test_relative_path() [all …]
|