Home | History | Annotate | Download | only in renameat2

Lines Matching defs:olddirfd

27  *		both olddirfd and newdirfd are valid and oldpath exists and
52 static int olddirfd;
57 int *olddirfd;
64 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_NOREPLACE, EEXIST},
65 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_EXCHANGE, 0},
66 {&olddirfd, TEST_FILE, &newdirfd, NON_EXIST, RENAME_EXCHANGE, ENOENT},
67 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE3, RENAME_NOREPLACE, 0},
68 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_NOREPLACE
70 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_WHITEOUT
119 olddirfd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY);
125 if (olddirfd > 0 && close(olddirfd) < 0)
126 tst_resm(TWARN | TERRNO, "close olddirfd failed");
137 TEST(renameat2(*(test->olddirfd), test->oldpath,