Home
last modified time | relevance | path

Searched refs:file1_s1d1 (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/tools/testing/selftests/landlock/
Dfs_test.c46 static const char file1_s1d1[] = TMP_DIR "/s1d1/f1"; variable
313 create_file(_metadata, file1_s1d1); in create_layout1()
341 EXPECT_EQ(0, remove_path(file1_s1d1)); in remove_layout1()
406 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
789 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
790 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY | O_PATH)); in TEST_F_FORK()
840 ASSERT_EQ(0, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
841 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK()
870 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
871 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
[all …]