/freebsd-current/contrib/pf/authpf/ |
H A D | authpf.c | 233 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 D | autounmountd.c | 265 pid_t otherpid; local 302 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); 306 (intmax_t)otherpid);
|
H A D | automountd.c | 435 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 D | cron.c | 77 int otherpid; local 79 pfh = pidfile_open(pidfile, 0600, &otherpid); 83 "cron already running, pid: %d", otherpid);
|
/freebsd-current/usr.sbin/watchdogd/ |
H A D | watchdogd.c | 122 pid_t otherpid; local 145 pfh = pidfile_open(pidfile, 0600, &otherpid); 150 getprogname(), otherpid);
|
/freebsd-current/sbin/hastd/ |
H A D | hastd.c | 489 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 D | auditdistd.c | 627 pid_t otherpid; local 727 pfh = pidfile_open(adcfg->adc_pidfile, 0600, &otherpid); 732 (intmax_t)otherpid);
|
/freebsd-current/usr.sbin/powerd/ |
H A D | powerd.c | 604 pid_t otherpid; local 606 pfh = pidfile_open(pidfile, 0600, &otherpid); 610 otherpid);
|
/freebsd-current/usr.sbin/iscsid/ |
H A D | iscsid.c | 696 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 D | rpc.tlsclntd.c | 133 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 D | ggated.c | 982 pid_t otherpid; local 1036 pfh = pidfile_open(ggated_pidfile, 0600, &otherpid); 1040 (intmax_t)otherpid);
|
/freebsd-current/sbin/devd/ |
H A D | devd.cc | 532 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 D | rpc.tlsservd.c | 157 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 D | inetd.c | 464 pid_t otherpid; local 466 pfh = pidfile_open(pid_file, 0600, &otherpid); 470 getprogname(), otherpid);
|
/freebsd-current/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-current/sbin/dhclient/ |
H A D | dhclient.c | 377 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 D | ctld.c | 1920 pid_t otherpid; local 1947 pidfile_open(newconf->conf_pidfile_path, 0600, &otherpid); 1951 (intmax_t)otherpid);
|