| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
| H A D | zed_fd_spill-zedlet.c | 31 sprintf(buf, "/tmp/zts-zed_fd_spill-logdir/%d", getppid()); in main() 46 snprintf(buf, sizeof (buf), "/proc/%d/fd", getppid()); in main()
|
| /freebsd-14.2/contrib/netbsd-tests/dev/sysmon/ |
| H A D | t_swwdog.c | 116 kill(getppid(), SIGUSR1); in testbody() 120 kill(getppid(), SIGUSR1); in testbody()
|
| /freebsd-14.2/crypto/openssh/openbsd-compat/ |
| H A D | bsd-nextstep.h | 44 pid_t getppid(void);
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | fcntl.sh | 147 kill(getppid(), SIGHUP); function 171 kill(getppid(), SIGHUP); function
|
| H A D | sigfastblock.sh | 92 kill(getppid(), SIGUSR1);
|
| H A D | flock_open_close.sh | 105 while (getppid() != 1) { function
|
| H A D | rename8.sh | 97 while (getppid() != 1) { function
|
| H A D | callout_reset_on.sh | 119 snprintf(path, sizeof(path), "barrier.%d", getppid());
|
| /freebsd-14.2/lib/libexecinfo/tests/ |
| H A D | sigtramp_test.c | 61 kill(getppid(), SIGUSR1); in ATF_TC_BODY()
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libc/sys/ |
| H A D | t_getsid.c | 94 ppid = getppid(); in ATF_TC_BODY()
|
| H A D | t_getpid.c | 74 ppid = getppid(); in ATF_TC_BODY()
|
| H A D | t_clone.c | 71 if (frobp[0] != getppid()) in clone_func()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_netbsd.cpp | 272 DEFINE__REAL(int, getppid); in internal_getppid() 273 return _REAL(getppid); in internal_getppid()
|
| /freebsd-14.2/contrib/netbsd-tests/kernel/ |
| H A D | t_ptrace.c | 172 ptrace(PT_ATTACH, getppid(), NULL, 0) == -1); in ATF_TC_BODY()
|
| /freebsd-14.2/tools/regression/security/cap_test/ |
| H A D | cap_test_capmode.c | 146 CHECK_SYSCALL_VOID_NOT_ECAPMODE(getppid); in test_capmode()
|
| /freebsd-14.2/contrib/capsicum-test/ |
| H A D | linux.cc | 703 if (verbose) fprintf(stderr, " ChildFunc: pid=%d, ppid=%d\n", getpid_(), getppid()); in ChildFunc() 705 EXPECT_EQ(0, getppid()); in ChildFunc() 724 … if (verbose) fprintf(stderr, " child of ChildFunc: pid=%d, ppid=%d\n", getpid_(), getppid()); in ChildFunc() 726 EXPECT_EQ(1, getppid()); in ChildFunc() 837 if (verbose) fprintf(stderr, " NSInit: pid=%d, ppid=%d\n", getpid_(), getppid()); in NSInit() 839 EXPECT_EQ(0, getppid()); in NSInit() 846 if (verbose) fprintf(stderr, " child of NSInit: pid=%d, ppid=%d\n", getpid_(), getppid()); in NSInit()
|
| H A D | smoketest.c | 67 fprintf(stderr, " [%d] child alive, parent is ppid=%d\n", getpid_(), getppid()); in main()
|
| H A D | procdesc.cc | 120 EXPECT_EQ(parent, getppid()); in TEST() 325 EXPECT_EQ(parent, getppid()); in PipePdforkBase() 326 … (verbose) fprintf(stderr, " [%d] child of %d waiting for value on pipe\n", getpid_(), getppid()); in PipePdforkBase() 1038 …ntf(stderr, " [%d] child of %d waiting for process descriptor on socket\n", getpid_(), getppid()); in TEST_F()
|
| /freebsd-14.2/tests/sys/kern/ |
| H A D | kern_descrip_test.c | 106 kill(getppid(), SIGUSR1); in openfiles2()
|
| H A D | sysctl_kern_proc.c | 111 mib[3] = getppid(); in ATF_TC_BODY()
|
| H A D | ktrace_test.c | 310 CHILD_REQUIRE(kill(getppid(), SIGCONT) != -1); in ATF_TC_BODY() 493 getppid(), sizeof(cpuset_mask), &cpuset_mask) != -1); in ATF_TC_BODY()
|
| /freebsd-14.2/usr.sbin/bluetooth/btpand/ |
| H A D | btpand.c | 251 if (kill(getppid(), SIGUSR1) == -1) in main_detach()
|
| /freebsd-14.2/crypto/heimdal/appl/login/ |
| H A D | login.c | 724 pwd->pw_name, remote_host, (int) getppid()); in main() 727 pwd->pw_name, tty, (int) getppid()); in main()
|
| /freebsd-14.2/lib/libpmcstat/ |
| H A D | libpmcstat_process.c | 291 kill(getppid(), SIGCHLD); in pmcstat_create_process()
|
| /freebsd-14.2/include/ |
| H A D | unistd.h | 347 pid_t getppid(void);
|