Home
last modified time | relevance | path

Searched refs:getppid (Results 1 – 25 of 54) sorted by relevance

123

/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dzed_fd_spill-zedlet.c31 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 Dt_swwdog.c116 kill(getppid(), SIGUSR1); in testbody()
120 kill(getppid(), SIGUSR1); in testbody()
/freebsd-14.2/crypto/openssh/openbsd-compat/
H A Dbsd-nextstep.h44 pid_t getppid(void);
/freebsd-14.2/tools/test/stress2/misc/
H A Dfcntl.sh147 kill(getppid(), SIGHUP); function
171 kill(getppid(), SIGHUP); function
H A Dsigfastblock.sh92 kill(getppid(), SIGUSR1);
H A Dflock_open_close.sh105 while (getppid() != 1) { function
H A Drename8.sh97 while (getppid() != 1) { function
H A Dcallout_reset_on.sh119 snprintf(path, sizeof(path), "barrier.%d", getppid());
/freebsd-14.2/lib/libexecinfo/tests/
H A Dsigtramp_test.c61 kill(getppid(), SIGUSR1); in ATF_TC_BODY()
/freebsd-14.2/contrib/netbsd-tests/lib/libc/sys/
H A Dt_getsid.c94 ppid = getppid(); in ATF_TC_BODY()
H A Dt_getpid.c74 ppid = getppid(); in ATF_TC_BODY()
H A Dt_clone.c71 if (frobp[0] != getppid()) in clone_func()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_netbsd.cpp272 DEFINE__REAL(int, getppid); in internal_getppid()
273 return _REAL(getppid); in internal_getppid()
/freebsd-14.2/contrib/netbsd-tests/kernel/
H A Dt_ptrace.c172 ptrace(PT_ATTACH, getppid(), NULL, 0) == -1); in ATF_TC_BODY()
/freebsd-14.2/tools/regression/security/cap_test/
H A Dcap_test_capmode.c146 CHECK_SYSCALL_VOID_NOT_ECAPMODE(getppid); in test_capmode()
/freebsd-14.2/contrib/capsicum-test/
H A Dlinux.cc703 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 Dsmoketest.c67 fprintf(stderr, " [%d] child alive, parent is ppid=%d\n", getpid_(), getppid()); in main()
H A Dprocdesc.cc120 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 Dkern_descrip_test.c106 kill(getppid(), SIGUSR1); in openfiles2()
H A Dsysctl_kern_proc.c111 mib[3] = getppid(); in ATF_TC_BODY()
H A Dktrace_test.c310 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 Dbtpand.c251 if (kill(getppid(), SIGUSR1) == -1) in main_detach()
/freebsd-14.2/crypto/heimdal/appl/login/
H A Dlogin.c724 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 Dlibpmcstat_process.c291 kill(getppid(), SIGCHLD); in pmcstat_create_process()
/freebsd-14.2/include/
H A Dunistd.h347 pid_t getppid(void);

123