Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/dup2/
Ddup201.c25 static int badfd = -1; variable
31 {&badfd, &goodfd},
33 {&mystdout, &badfd},
/third_party/ltp/testcases/kernel/syscalls/linkat/
Dlinkat01.c87 static int olddirfd, newdirfd = -1, cwd_fd = AT_FDCWD, stdinfd = 0, badfd = variable
143 &badfd, TEST_DIR1 "/" TEST_FILE1, &newdirfd, TEST_FILE1, 0,
147 &olddirfd, TEST_FILE1, &badfd, TEST_DIR2 "/" TEST_FILE1, 0,
151 &badfd, spathname, &newdirfd, TEST_FILE1, 0, 0, 0, 0},
154 &olddirfd, TEST_FILE1, &badfd, dpathname, 0,
/third_party/ltp/testcases/kernel/syscalls/splice/
Dsplice03.c42 static int badfd = -1; variable
56 { &badfd, NULL, &pipes[1], NULL, EBADF },
57 { &pipes[0], NULL, &badfd, NULL, EBADF },
/third_party/ltp/testcases/kernel/syscalls/flock/
Dflock02.c20 static int badfd = -1; variable
28 {&badfd, LOCK_SH, EBADF},
/third_party/ltp/testcases/kernel/syscalls/renameat/
Drenameat01.c77 static int badfd = 100; variable
97 { &badfd, TESTFILE, &badfd, NEW_TESTFILE, EBADF },
/third_party/ltp/testcases/kernel/syscalls/readv/
Dreadv02.c29 static int badfd = -1; variable
67 {&badfd, valid_iovec, 3, EBADF},
/third_party/ltp/testcases/kernel/syscalls/read/
Dread02.c38 static int badfd = -1; variable
53 {&badfd, &bufaddr, 1, EBADF},
/third_party/python/Lib/test/
Dtest_socket.py3382 badfd = -0x5555 variable in SCMRightsTest
3594 array.array("i", [self.badfd]).tobytes()[:-1])])
3622 array.array("i", [fd0, self.badfd]).tobytes()[:-1]),