Home
last modified time | relevance | path

Searched refs:getpid (Results 1 – 25 of 527) sorted by relevance

12345678910>>...22

/NextBSD/usr.sbin/cron/cron/
HDdo_command.c51 getpid(), e->cmd, u->name, e->uid, e->gid))
62 log_it("CRON",getpid(),"error","can't fork");
68 Debug(DPROC, ("[%d] child process done, exiting\n", getpid()))
75 Debug(DPROC, ("[%d] main process returning to work\n", getpid()))
93 Debug(DPROC, ("[%d] child_process('%s')\n", getpid(), e->cmd))
119 Debug(DPROC, ("[%d] checking account with PAM\n", getpid()))
126 log_it(usernm, getpid(), "username ambiguity", u->name);
132 log_it("CRON", getpid(), "error", "can't start PAM");
139 log_it(usernm, getpid(), "USER", "account unavailable");
165 log_it("CRON", getpid(), "error", "can't pipe");
[all …]
HDdatabase.c52 Debug(DLOAD, ("[%d] load_database()\n", getpid()))
59 log_it("CRON", getpid(), "STAT FAILED", SPOOL_DIR);
77 getpid()))
100 log_it("CRON", getpid(), "OPENDIR FAILED", SPOOL_DIR);
211 log_it(fname, getpid(), "ORPHAN", "no passwd entry");
218 log_it(fname, getpid(), "CAN'T OPEN", tabname);
223 log_it(fname, getpid(), "FSTAT FAILED", tabname);
250 log_it(fname, getpid(), "RELOAD", tabname);
HDcron.c92 log_it("CRON", getpid(), "DEATH", buf); in open_pidfile()
138 (void) fprintf(stderr, "[%d] cron started\n", getpid());
142 log_it("CRON",getpid(),"DEATH","can't become daemon");
148 log_it("CRON", getpid(), "WARNING", "madvise() failed");
241 getpid(), second, minute, hour, dom, month, dow)) in cron_tick()
423 getpid(), (long)TargetTime, seconds_to_wait)) in cron_sleep()
434 getpid(), seconds_to_wait)) in cron_sleep()
484 ("[%d] sigchld...no children\n", getpid())) in sigchld_handler()
488 ("[%d] sigchld...no dead kids\n", getpid())) in sigchld_handler()
493 getpid(), pid, WEXITSTATUS(waiter))) in sigchld_handler()
/NextBSD/tools/regression/filemon/
HDtimed-forkb.c65 if (getpid() == getpgrp() || verbose) { in term()
68 getpid(), getpgrp(), getppid(), signum); in term()
104 if (getpid() == getpgrp()) { in bombing_run()
111 getpid(), getpgrp(), getppid()); in bombing_run()
174 getpid(), getpgrp(), getppid(), nflag - 1, tflag); in main()
/NextBSD/tests/sys/kqueue/
HDsignal.c56 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_get()
84 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_disable()
110 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_enable()
148 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_del()
173 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_oneshot()
181 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_oneshot()
HDproc.c126 if (kill(getpid(), SIGKILL) < 0) in test_kevent_signal_disable()
152 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_enable()
190 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_del()
215 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_oneshot()
223 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_oneshot()
/NextBSD/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/nfs/
HDtst.call.c109 "mkdir /tmp/nfsv4test.%d ; share /tmp/nfsv4test.%d", getpid(), in main()
110 getpid()); in main()
112 "unshare /tmp/nfsv4test.%d ; rmdir /tmp/nfsv4test.%d", getpid(), in main()
113 getpid()); in main()
/NextBSD/contrib/netbsd-tests/lib/libc/sys/
HDt_getpid.c48 *(pid_t *)arg = getpid(); in threadfunc()
66 tpid = getpid(); in ATF_TC_BODY()
73 cpid = getpid(); in ATF_TC_BODY()
114 pid = getpid(); in ATF_TC_BODY()
HDt_kevent.c119 printf("child (pid %d): received kq fd %d\n", getpid(), kq); in ATF_TC_BODY()
123 printf("child (pid %d): received kq fd %d\n", getpid(), kq); in ATF_TC_BODY()
150 printf("parent (pid %d): sending kq fd %d\n", getpid(), kq); in ATF_TC_BODY()
/NextBSD/contrib/ofed/management/libibcommon/src/
HDutil.c72 printf("ibwarn: [%d] %s: %s\n", getpid(), fn, buf); in ibwarn()
86 printf("ibpanic: [%d] %s: %s: (%m)\n", getpid(), fn, buf); in ibpanic()
87 syslog(LOG_ALERT, "ibpanic: [%d] %s: %s: (%m)\n", getpid(), fn, buf); in ibpanic()
103 syslog(LOG_ALERT, "[%d] %s: %s: (%m)\n", getpid(), fn, buf); in logmsg()
/NextBSD/bin/sh/
HDerror.c116 if (tcgetpgrp(0) == getpid()) in onint()
123 kill(getpid(), SIGINT); in onint()
171 TRACE(("exverror(%d, \"%s\") pid=%d\n", cond, msg, getpid())); in exverror()
173 TRACE(("exverror(%d, NULL) pid=%d\n", cond, getpid())); in exverror()
/NextBSD/contrib/netbsd-tests/lib/libpthread/
HDt_sigmask.c79 kill(getpid(), SIGFPE); in ATF_TC_BODY()
86 kill(getpid(), SIGUSR2); in upcalls_not_started_handler1()
123 kill(getpid(), SIGUSR1); in ATF_TC_BODY()
133 kill(getpid(), SIGUSR2); in respected_while_running_handler1()
155 kill(getpid(), SIGUSR1); in respected_while_running_threadroutine()
HDt_fork.c63 if (parent != getpid()) { in print_pid()
84 parent = getpid(); in ATF_TC_BODY()
/NextBSD/tools/regression/netinet/tcpsockclosebeforeaccept/
HDtcpsockclosebeforeaccept.c174 parent_pid = getpid(); in main()
179 child_pid = getpid(); in main()
188 parent_pid = getpid(); in main()
193 child_pid = getpid(); in main()
/NextBSD/usr.bin/timeout/
HDtimeout.c231 if (procctl(P_PID, getpid(), PROC_REAP_ACQUIRE, NULL) == -1) in main()
300 procctl(P_PID, getpid(), in main()
313 procctl(P_PID, getpid(), PROC_REAP_KILL, in main()
330 procctl(P_PID, getpid(), PROC_REAP_KILL, in main()
351 procctl(P_PID, getpid(), PROC_REAP_RELEASE, NULL); in main()
/NextBSD/tools/regression/netinet/tcpsocktimewait/
HDtcpsocktimewait.c158 parent_pid = getpid(); in main()
163 child_pid = getpid(); in main()
206 parent_pid = getpid(); in main()
211 child_pid = getpid(); in main()
/NextBSD/tools/regression/sigqueue/sigqtest2/
HDsigqtest2.c56 printf("child %d\n", getpid()); in job_control_test()
57 kill(getpid(), SIGSTOP); in job_control_test()
97 while (sigqueue(getpid(), SIGRTMIN, val)) in main()
/NextBSD/contrib/ntp/libntp/
HDiosignal.c106 pgrp = getpid(); in init_clock_sig()
148 pgrp = -getpid(); in init_clock_sig()
183 if (fcntl(rio->fd, F_SETOWN, getpid()) == -1) in init_clock_sig()
253 pgrp = -getpid(); in init_socket_sig()
255 pgrp = getpid(); in init_socket_sig()
/NextBSD/contrib/netbsd-tests/lib/libc/tls/dso/
HDh_tls_dlopen.c51 static __thread pid_t (*local_var)(void) = getpid;
61 ATF_CHECK_EQ(local_var, getpid); in testf_dso_helper()
/NextBSD/contrib/binutils/libiberty/
HDtmpnam.c27 extern int getpid (void);
32 int pid = getpid (); in tmpnam()
/NextBSD/contrib/gcclibs/libiberty/
HDtmpnam.c27 extern int getpid (void);
32 int pid = getpid (); in tmpnam()
/NextBSD/contrib/gdb/gdb/
HDinflow.c665 fcntl (target_activity_fd, F_SETOWN, getpid ()); in set_sigio_trap()
718 retval = setpgid (getpid (), getpid ()); in gdb_setpgid()
724 retval = setpgrp (getpid (), getpid ()); in gdb_setpgid()
/NextBSD/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/stop/
HDtst.stop2.d47 syscall::getpid:entry
54 syscall::getpid:return
HDtst.stop1.d47 syscall::getpid:entry
54 syscall::getpid:entry
/NextBSD/usr.bin/login/
HDlogin_audit.c69 pid_t pid = getpid(); in au_login_success()
121 pid_t pid = getpid(); in au_login_fail()
177 pid_t pid = getpid(); in audit_logout()

12345678910>>...22