Searched refs:PRT_ZERO_FD (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/test/libproc-tests/tests/syscall/ |
H A D | pr_inject.c | 73 if (pr_fstat(P, PRT_ZERO_FD, &targ) == 0) { in pr_check_pre() 75 "but expected it not to exist!", PRT_ZERO_FD); in pr_check_pre() 80 "but found %s", PRT_ZERO_FD, strerrorname_np(EBADF), in pr_check_pre() 102 } else if (fd != PRT_ZERO_FD) { in pr_inject() 104 "but fd %u", PRT_ZERO_FD, fd); in pr_inject() 117 "but fd %u", PRT_ZERO_FD, fd); in pr_inject() 130 "expected but fd %u", PRT_ZERO_FD, fd); in pr_inject() 139 fd = pr_fcntl(P, PRT_ZERO_FD, F_DUP3FD, (void *)farg0, (void *)farg1); in pr_inject() 145 "but fd %u", PRT_ZERO_FD, fd); in pr_inject()
|
H A D | pr_target.h | 40 #define PRT_ZERO_FD 5 macro
|
H A D | pr_target.c | 131 if (!pr_target_check_fd("injected open", PRT_ZERO_FD, PRT_ZERO_OFLAG, in main()
|