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

/freebsd-current/contrib/pf/authpf/
H A Dauthpf.c233 int save_errno, otherpid = -1; local
253 if (fscanf(pidfp, "%d\n%31s\n", &otherpid, otherluser) != 2)
254 otherpid = -1;
256 pidfile, otherpid, strerror(save_errno));
258 if (otherpid > 0) {
261 otherpid, ipsrc, otherluser);
262 if (kill((pid_t) otherpid, SIGTERM) == -1) {
265 otherpid);
277 otherpid);
/freebsd-current/usr.sbin/autofs/
H A Dautounmountd.c265 pid_t otherpid; local
302 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
306 (intmax_t)otherpid);
H A Dautomountd.c435 pid_t pid, otherpid; local
483 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
487 (intmax_t)otherpid);
/freebsd-current/usr.sbin/cron/cron/
H A Dcron.c77 int otherpid; local
79 pfh = pidfile_open(pidfile, 0600, &otherpid);
83 "cron already running, pid: %d", otherpid);
/freebsd-current/usr.sbin/watchdogd/
H A Dwatchdogd.c122 pid_t otherpid; local
145 pfh = pidfile_open(pidfile, 0600, &otherpid);
150 getprogname(), otherpid);
/freebsd-current/sbin/hastd/
H A Dhastd.c489 pid_t otherpid; local
543 newpfh = pidfile_open(newcfg->hc_pidfile, 0600, &otherpid);
548 newcfg->hc_pidfile, (intmax_t)otherpid);
1185 pid_t otherpid; local
1252 pfh = pidfile_open(cfg->hc_pidfile, 0600, &otherpid);
1257 cfg->hc_pidfile, (intmax_t)otherpid);
/freebsd-current/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-current/usr.sbin/powerd/
H A Dpowerd.c604 pid_t otherpid; local
606 pfh = pidfile_open(pidfile, 0600, &otherpid);
610 otherpid);
/freebsd-current/usr.sbin/iscsid/
H A Discsid.c696 pid_t pid, otherpid; local
729 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
733 (intmax_t)otherpid);
/freebsd-current/usr.sbin/rpc.tlsclntd/
H A Drpc.tlsclntd.c133 pid_t otherpid; local
137 rpctls_pfh = pidfile_open(_PATH_RPCTLSCDPID, 0600, &otherpid);
140 errx(1, "rpctlscd already running, pid: %d.", otherpid);
/freebsd-current/sbin/ggate/ggated/
H A Dggated.c982 pid_t otherpid; local
1036 pfh = pidfile_open(ggated_pidfile, 0600, &otherpid);
1040 (intmax_t)otherpid);
/freebsd-current/sbin/devd/
H A Ddevd.cc532 pid_t otherpid; local
536 pfh = pidfile_open(_pidfile.c_str(), 0600, &otherpid);
539 errx(1, "devd already running, pid: %d", (int)otherpid);
/freebsd-current/usr.sbin/rpc.tlsservd/
H A Drpc.tlsservd.c157 pid_t otherpid; local
163 rpctls_pfh = pidfile_open(_PATH_RPCTLSSDPID, 0600, &otherpid);
166 errx(1, "rpctlssd already running, pid: %d.", otherpid);
/freebsd-current/usr.sbin/inetd/
H A Dinetd.c464 pid_t otherpid; local
466 pfh = pidfile_open(pid_file, 0600, &otherpid);
470 getprogname(), otherpid);
/freebsd-current/usr.sbin/rtadvd/
H A Drtadvd.c185 pid_t pid, otherpid; local
245 pfh = pidfile_open(pidfilename, 0600, &otherpid);
249 getprogname(), otherpid);
/freebsd-current/sbin/dhclient/
H A Ddhclient.c377 pid_t otherpid; local
425 pidfile = pidfile_open(path_dhclient_pidfile, 0644, &otherpid);
428 error("dhclient already running, pid: %d.", otherpid);
/freebsd-current/usr.sbin/ctld/
H A Dctld.c1920 pid_t otherpid; local
1947 pidfile_open(newconf->conf_pidfile_path, 0600, &otherpid);
1951 (intmax_t)otherpid);

Completed in 179 milliseconds