Searched refs:test_open_rel (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 429 static int test_open_rel(const int dirfd, const char *const path, in test_open_rel() function 449 return test_open_rel(AT_FDCWD, path, flags); in test_open() 1963 test_open_rel(dirfd, "..", O_RDONLY)); in test_relative_path() 1964 ASSERT_EQ(0, test_open_rel(dirfd, ".", O_RDONLY)); in test_relative_path() 1968 ASSERT_EQ(0, test_open_rel(dirfd, "./s2d3", O_RDONLY)); in test_relative_path() 1971 ASSERT_EQ(0, test_open_rel(dirfd, "./s1d3", O_RDONLY)); in test_relative_path() 1976 ASSERT_EQ(0, test_open_rel(dirfd, "/..", O_RDONLY)); in test_relative_path() 1977 ASSERT_EQ(0, test_open_rel(dirfd, "/", O_RDONLY)); in test_relative_path() 1978 ASSERT_EQ(0, test_open_rel(dirfd, "/f1", O_RDONLY)); in test_relative_path() 1979 ASSERT_EQ(0, test_open_rel(dirfd, "/s1d3", O_RDONLY)); in test_relative_path() [all …]
|