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

/freebsd-10-stable/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-10-stable/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-10-stable/usr.sbin/autofs/
H A Dautounmountd.c266 pid_t otherpid; local
303 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
307 (intmax_t)otherpid);
H A Dautomountd.c438 pid_t pid, otherpid; local
486 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
490 (intmax_t)otherpid);
/freebsd-10-stable/usr.sbin/iscsid/
H A Discsid.c498 pid_t pid, otherpid; local
531 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
535 (intmax_t)otherpid);
/freebsd-10-stable/usr.sbin/watchdogd/
H A Dwatchdogd.c130 pid_t otherpid; local
153 pfh = pidfile_open(pidfile, 0600, &otherpid);
158 getprogname(), otherpid);
/freebsd-10-stable/usr.sbin/cron/cron/
H A Dcron.c80 int otherpid; local
83 pfh = pidfile_open(pidfile, 0600, &otherpid);
87 "cron already running, pid: %d", otherpid);
/freebsd-10-stable/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-10-stable/contrib/openbsm/bin/auditdistd/
H A Dauditdistd.c627 pid_t otherpid; local
727 pfh = pidfile_open(adcfg->adc_pidfile, 0600, &otherpid);
732 (intmax_t)otherpid);
/freebsd-10-stable/usr.sbin/powerd/
H A Dpowerd.c599 pid_t otherpid; local
601 pfh = pidfile_open(pidfile, 0600, &otherpid);
605 otherpid);
/freebsd-10-stable/sbin/ggate/ggated/
H A Dggated.c956 pid_t otherpid; local
1010 pfh = pidfile_open(ggated_pidfile, 0600, &otherpid);
1014 (intmax_t)otherpid);
/freebsd-10-stable/sbin/devd/
H A Ddevd.cc506 pid_t otherpid; local
510 pfh = pidfile_open(_pidfile.c_str(), 0600, &otherpid);
513 errx(1, "devd already running, pid: %d", (int)otherpid);
/freebsd-10-stable/usr.sbin/rtadvd/
H A Drtadvd.c185 pid_t pid, otherpid; local
245 pfh = pidfile_open(pidfilename, 0600, &otherpid);
249 getprogname(), otherpid);
/freebsd-10-stable/usr.sbin/inetd/
H A Dinetd.c466 pid_t otherpid; local
468 pfh = pidfile_open(pid_file, 0600, &otherpid);
472 getprogname(), otherpid);
/freebsd-10-stable/sbin/dhclient/
H A Ddhclient.c350 pid_t otherpid; local
396 pidfile = pidfile_open(path_dhclient_pidfile, 0600, &otherpid);
399 error("dhclient already running, pid: %d.", otherpid);
/freebsd-10-stable/usr.sbin/ctld/
H A Dctld.c1810 pid_t otherpid; local
1837 pidfile_open(newconf->conf_pidfile_path, 0600, &otherpid);
1841 (intmax_t)otherpid);

Completed in 223 milliseconds