Lines Matching defs:olddirfd
87 static int olddirfd, newdirfd = -1, cwd_fd = AT_FDCWD, stdinfd = 0, badfd =
102 &olddirfd, TEST_FILE1, &newdirfd, TEST_FILE1, 0,
106 &olddirfd, spathname, &newdirfd, TEST_FILE1, 0, 0, 0, 0},
109 &olddirfd, TEST_FILE1, &newdirfd, dpathname, 0,
117 &olddirfd, TEST_FILE1, &cwd_fd, TEST_DIR2 "/" TEST_FILE1, 0,
124 &olddirfd, TEST_FILE1, &cwd_fd, dpathname, 0,
132 &olddirfd, TEST_FILE1, &stdinfd, TEST_DIR2 "/" TEST_FILE1, 0,
139 &olddirfd, TEST_FILE1, &stdinfd, dpathname, 0,
147 &olddirfd, TEST_FILE1, &badfd, TEST_DIR2 "/" TEST_FILE1, 0,
154 &olddirfd, TEST_FILE1, &badfd, dpathname, 0,
162 &olddirfd, TEST_FILE1, &deldirfd, TEST_DIR2 "/" TEST_FILE1, 0,
169 &olddirfd, TEST_FILE1, &deldirfd, dpathname, 0,
176 &olddirfd, ".", &newdirfd, TEST_FILE1, 0, 0, 0, EPERM},
179 &olddirfd, TEST_FILE1, &newdirfd, TEST_FILE1, 1, 0, 0, EINVAL},
185 /* { &olddirfd, TEST_FIFO, &newdirfd, TEST_FILE1, 0,
192 static int mylinkat(int olddirfd, const char *oldfilename, int newdirfd,
195 return ltp_syscall(__NR_linkat, olddirfd, oldfilename, newdirfd,
305 olddirfd = SAFE_OPEN(cleanup, TEST_DIR1, O_DIRECTORY);