Searched refs:file1_s1d1 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 46 static const char file1_s1d1[] = TMP_DIR "/s1d1/f1"; variable 315 create_file(_metadata, file1_s1d1); in create_layout1() 343 EXPECT_EQ(0, remove_path(file1_s1d1)); in remove_layout1() 408 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK() 791 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK() 792 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY | O_PATH)); in TEST_F_FORK() 842 ASSERT_EQ(0, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK() 843 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK() 872 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK() 873 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK() [all …]
|