Searched refs:otherpid (Results 1 - 13 of 13) sorted by relevance

/freebsd-9.3-release/libexec/lukemftpd/
H A Dnbsd_pidfile.h10 pid_t otherpid, childpid; local
16 pfh = pidfile_open(basename, 0644, &otherpid);
20 (intmax_t)otherpid);
/freebsd-9.3-release/usr.sbin/daemon/
H A Ddaemon.c60 pid_t otherpid, pid; local
101 pfh = pidfile_open(pidfile, 0600, &otherpid);
105 otherpid);
112 ppfh = pidfile_open(ppidfile, 0600, &otherpid);
119 otherpid);
/freebsd-9.3-release/usr.sbin/watchdogd/
H A Dwatchdogd.c81 pid_t otherpid; local
100 pfh = pidfile_open(pidfile, 0600, &otherpid);
104 getprogname(), otherpid);
/freebsd-9.3-release/contrib/pf/authpf/
H A Dauthpf.c235 int save_errno, otherpid = -1; local
255 if (fscanf(pidfp, "%d\n%31s\n", &otherpid, otherluser) != 2)
256 otherpid = -1;
258 pidfile, otherpid, strerror(save_errno));
260 if (otherpid > 0) {
263 otherpid, ipsrc, otherluser);
264 if (kill((pid_t) otherpid, SIGTERM) == -1) {
267 otherpid);
279 otherpid);
/freebsd-9.3-release/usr.sbin/cron/cron/
H A Dcron.c73 int otherpid; local
76 pfh = pidfile_open(pidfile, 0600, &otherpid);
80 "cron already running, pid: %d", otherpid);
/freebsd-9.3-release/sbin/hastd/
H A Dhastd.c490 pid_t otherpid; local
544 newpfh = pidfile_open(newcfg->hc_pidfile, 0600, &otherpid);
549 newcfg->hc_pidfile, (intmax_t)otherpid);
1186 pid_t otherpid; local
1252 pfh = pidfile_open(cfg->hc_pidfile, 0600, &otherpid);
1257 cfg->hc_pidfile, (intmax_t)otherpid);
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/
H A Dauditdistd.c629 pid_t otherpid; local
729 pfh = pidfile_open(adcfg->adc_pidfile, 0600, &otherpid);
734 (intmax_t)otherpid);
/freebsd-9.3-release/usr.sbin/powerd/
H A Dpowerd.c555 pid_t otherpid; local
557 pfh = pidfile_open(pidfile, 0600, &otherpid);
561 otherpid);
/freebsd-9.3-release/sbin/devd/
H A Ddevd.cc475 pid_t otherpid; local
479 pfh = pidfile_open(_pidfile.c_str(), 0600, &otherpid);
482 errx(1, "devd already running, pid: %d", (int)otherpid);
/freebsd-9.3-release/usr.sbin/inetd/
H A Dinetd.c469 pid_t otherpid; local
471 pfh = pidfile_open(pid_file, 0600, &otherpid);
475 getprogname(), otherpid);
/freebsd-9.3-release/usr.sbin/rtadvd/
H A Drtadvd.c186 pid_t pid, otherpid; local
254 pfh = pidfile_open(pidfilename, 0600, &otherpid);
258 getprogname(), otherpid);
/freebsd-9.3-release/sbin/dhclient/
H A Ddhclient.c345 pid_t otherpid; local
390 pidfile = pidfile_open(path_dhclient_pidfile, 0600, &otherpid);
393 error("dhclient already running, pid: %d.", otherpid);
/freebsd-9.3-release/usr.sbin/mountd/
H A Dmountd.c294 pid_t otherpid; local
302 pfh = pidfile_open(_PATH_MOUNTDPID, 0600, &otherpid);
305 errx(1, "mountd already running, pid: %d.", otherpid);

Completed in 181 milliseconds