/freebsd-10-stable/usr.sbin/daemon/ |
H A D | daemon.c | 60 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 D | authpf.c | 235 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 D | autounmountd.c | 266 pid_t otherpid; local 303 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); 307 (intmax_t)otherpid);
|
H A D | automountd.c | 438 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 D | iscsid.c | 498 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 D | watchdogd.c | 130 pid_t otherpid; local 153 pfh = pidfile_open(pidfile, 0600, &otherpid); 158 getprogname(), otherpid);
|
/freebsd-10-stable/usr.sbin/cron/cron/ |
H A D | cron.c | 80 int otherpid; local 83 pfh = pidfile_open(pidfile, 0600, &otherpid); 87 "cron already running, pid: %d", otherpid);
|
/freebsd-10-stable/sbin/hastd/ |
H A D | hastd.c | 490 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 D | auditdistd.c | 627 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 D | powerd.c | 599 pid_t otherpid; local 601 pfh = pidfile_open(pidfile, 0600, &otherpid); 605 otherpid);
|
/freebsd-10-stable/sbin/ggate/ggated/ |
H A D | ggated.c | 956 pid_t otherpid; local 1010 pfh = pidfile_open(ggated_pidfile, 0600, &otherpid); 1014 (intmax_t)otherpid);
|
/freebsd-10-stable/sbin/devd/ |
H A D | devd.cc | 506 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 D | rtadvd.c | 185 pid_t pid, otherpid; local 245 pfh = pidfile_open(pidfilename, 0600, &otherpid); 249 getprogname(), otherpid);
|
/freebsd-10-stable/usr.sbin/inetd/ |
H A D | inetd.c | 466 pid_t otherpid; local 468 pfh = pidfile_open(pid_file, 0600, &otherpid); 472 getprogname(), otherpid);
|
/freebsd-10-stable/sbin/dhclient/ |
H A D | dhclient.c | 350 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 D | ctld.c | 1810 pid_t otherpid; local 1837 pidfile_open(newconf->conf_pidfile_path, 0600, &otherpid); 1841 (intmax_t)otherpid);
|