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

/freebsd-11.0-release/usr.sbin/daemon/
H A Ddaemon.c60 pid_t otherpid, pid; local
104 pfh = pidfile_open(pidfile, 0600, &otherpid);
108 otherpid);
115 ppfh = pidfile_open(ppidfile, 0600, &otherpid);
122 otherpid);
/freebsd-11.0-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-11.0-release/usr.sbin/autofs/
H A Dautounmountd.c263 pid_t otherpid; local
300 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
304 (intmax_t)otherpid);
H A Dautomountd.c437 pid_t pid, otherpid; local
485 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
489 (intmax_t)otherpid);
/freebsd-11.0-release/usr.sbin/cron/cron/
H A Dcron.c79 int otherpid; local
82 pfh = pidfile_open(pidfile, 0600, &otherpid);
86 "cron already running, pid: %d", otherpid);
/freebsd-11.0-release/usr.sbin/iscsid/
H A Discsid.c496 pid_t pid, otherpid; local
529 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
533 (intmax_t)otherpid);
/freebsd-11.0-release/usr.sbin/watchdogd/
H A Dwatchdogd.c130 pid_t otherpid; local
153 pfh = pidfile_open(pidfile, 0600, &otherpid);
158 getprogname(), otherpid);
/freebsd-11.0-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-11.0-release/contrib/wpa/src/utils/
H A Dos_unix.c230 pid_t otherpid;
233 pfh = pidfile_open(pid_file, 0600, &otherpid);
237 (intmax_t)otherpid);
/freebsd-11.0-release/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-11.0-release/usr.sbin/powerd/
H A Dpowerd.c555 pid_t otherpid; local
557 pfh = pidfile_open(pidfile, 0600, &otherpid);
561 otherpid);
/freebsd-11.0-release/sbin/devd/
H A Ddevd.cc505 pid_t otherpid; local
509 pfh = pidfile_open(_pidfile.c_str(), 0600, &otherpid);
512 errx(1, "devd already running, pid: %d", (int)otherpid);
/freebsd-11.0-release/sbin/ggate/ggated/
H A Dggated.c956 pid_t otherpid; local
1010 pfh = pidfile_open(ggated_pidfile, 0600, &otherpid);
1014 (intmax_t)otherpid);
/freebsd-11.0-release/usr.sbin/inetd/
H A Dinetd.c460 pid_t otherpid; local
462 pfh = pidfile_open(pid_file, 0600, &otherpid);
466 getprogname(), otherpid);
/freebsd-11.0-release/usr.sbin/rtadvd/
H A Drtadvd.c184 pid_t pid, otherpid; local
244 pfh = pidfile_open(pidfilename, 0600, &otherpid);
248 getprogname(), otherpid);
/freebsd-11.0-release/sbin/dhclient/
H A Ddhclient.c348 pid_t otherpid; local
394 pidfile = pidfile_open(path_dhclient_pidfile, 0644, &otherpid);
397 error("dhclient already running, pid: %d.", otherpid);
/freebsd-11.0-release/usr.sbin/ctld/
H A Dctld.c1813 pid_t otherpid; local
1840 pidfile_open(newconf->conf_pidfile_path, 0600, &otherpid);
1844 (intmax_t)otherpid);

Completed in 335 milliseconds