Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/landlock/
H A Dfs_test.c3317 const char *const file_none = file1_s1d2; in TEST_F_FORK() local
3364 EXPECT_EQ(0, test_truncate(file_none)); in TEST_F_FORK()
3365 EXPECT_EQ(EACCES, test_open(file_none, O_RDONLY | O_TRUNC)); in TEST_F_FORK()
3366 EXPECT_EQ(EACCES, test_open(file_none, O_WRONLY | O_TRUNC)); in TEST_F_FORK()
3367 EXPECT_EQ(EACCES, test_creat(file_none)); in TEST_F_FORK()
3376 const char *const file_none = file1_s1d3; in TEST_F_FORK() local
3450 EXPECT_EQ(EACCES, test_truncate(file_none)); in TEST_F_FORK()
3451 EXPECT_EQ(EACCES, test_open(file_none, O_RDONLY | O_TRUNC)); in TEST_F_FORK()
3452 EXPECT_EQ(EACCES, test_open(file_none, O_WRONLY | O_TRUNC)); in TEST_F_FORK()