Symbol: test_open_rel
tools/testing/selftests/landlock/fs_test.c
1963
test_open_rel(dirfd, "..", O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
1964
ASSERT_EQ(0, test_open_rel(dirfd, ".", O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
1968
ASSERT_EQ(0, test_open_rel(dirfd, "./s2d3", O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
1971
ASSERT_EQ(0, test_open_rel(dirfd, "./s1d3", O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
1976
ASSERT_EQ(0, test_open_rel(dirfd, "/..", O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
1977
ASSERT_EQ(0, test_open_rel(dirfd, "/", O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
1978
ASSERT_EQ(0, test_open_rel(dirfd, "/f1", O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
1979
ASSERT_EQ(0, test_open_rel(dirfd, "/s1d3", O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
1983
ASSERT_EQ(EACCES, test_open_rel(dirfd, "../../s1d1", O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
1984
ASSERT_EQ(0, test_open_rel(dirfd, "../../s1d1/s1d2", O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
1985
ASSERT_EQ(0, test_open_rel(dirfd, "../../s1d1/s1d2/s1d3",
tools/testing/selftests/landlock/fs_test.c
1988
ASSERT_EQ(EACCES, test_open_rel(dirfd, "../../s2d1", O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
1989
ASSERT_EQ(0, test_open_rel(dirfd, "../../s2d1/s2d2", O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
1990
ASSERT_EQ(0, test_open_rel(dirfd, "../../s2d1/s2d2/s2d3",
tools/testing/selftests/landlock/fs_test.c
449
return test_open_rel(AT_FDCWD, path, flags);
tools/testing/selftests/landlock/fs_test.c
4888
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, file1_name, O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
4889
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, file2_name, O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
4890
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, "..", O_RDONLY | O_DIRECTORY));
tools/testing/selftests/landlock/fs_test.c
4900
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, file1_name, O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
4901
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, file2_name, O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
4908
test_open_rel(bind_s1d3_fd, "..", O_RDONLY | O_DIRECTORY));
tools/testing/selftests/landlock/fs_test.c
4920
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, file1_name, O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
4921
EXPECT_EQ(EACCES, test_open_rel(bind_s1d3_fd, file2_name, O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
4932
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, file1_name, O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
4933
EXPECT_EQ(EACCES, test_open_rel(bind_s1d3_fd, file2_name, O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
4992
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, file1_name, O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
4995
EXPECT_EQ(EACCES, test_open_rel(bind_s1d3_fd, "..", O_DIRECTORY));
tools/testing/selftests/landlock/fs_test.c
5001
EXPECT_EQ(ENOENT, test_open_rel(bind_s1d3_fd, "..", O_DIRECTORY));
tools/testing/selftests/landlock/fs_test.c
5014
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, file1_name, O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
5051
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, file1_name, O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
5077
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, file2_name, O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
5103
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, file1_name, O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
5139
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, file1_name, O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
5202
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, file1_name, O_RDONLY))
tools/testing/selftests/landlock/fs_test.c
5221
EXPECT_EQ(0, test_open_rel(bind_s1d3_fd, "s4d2/f1", O_RDONLY))
tools/testing/selftests/landlock/fs_test.c
5718
EXPECT_EQ(0, test_open_rel(s1d41_bind_fd, "..", O_DIRECTORY));
tools/testing/selftests/landlock/fs_test.c
5719
EXPECT_EQ(0, test_open_rel(s1d42_bind_fd, "..", O_DIRECTORY));
tools/testing/selftests/landlock/fs_test.c
5726
EXPECT_EQ(ENOENT, test_open_rel(s1d41_bind_fd, "..", O_DIRECTORY));
tools/testing/selftests/landlock/fs_test.c
5727
EXPECT_EQ(ENOENT, test_open_rel(s1d42_bind_fd, "..", O_DIRECTORY));
tools/testing/selftests/landlock/fs_test.c
5733
test_open_rel(s1d41_bind_fd, "f1", O_RDONLY));
tools/testing/selftests/landlock/fs_test.c
6237
EXPECT_EQ(0, test_open_rel(s1d3_bind_fd, "..", O_DIRECTORY));
tools/testing/selftests/landlock/fs_test.c
6238
EXPECT_EQ(0, test_open_rel(s1d3_bind_fd, "../..", O_DIRECTORY));
tools/testing/selftests/landlock/fs_test.c
6242
EXPECT_EQ(0, test_open_rel(s1d3_bind_fd, "..", O_DIRECTORY));
tools/testing/selftests/landlock/fs_test.c
6243
EXPECT_EQ(ENOENT, test_open_rel(s1d3_bind_fd, "../..", O_DIRECTORY));
tools/testing/selftests/landlock/fs_test.c
6249
test_open_rel(s1d3_bind_fd, "s1d41/f1", O_RDONLY));