/freebsd/contrib/pf/authpf/ |
H A D | authpf.c | 233 int save_errno, otherpid = -1; in main() 253 if (fscanf(pidfp, "%d\n%31s\n", &otherpid, otherluser) != 2) in main() 254 otherpid = -1; in main() 256 pidfile, otherpid, strerror(save_errno)); in main() 258 if (otherpid > 0) { in main() 261 otherpid, ipsrc, otherluser); in main() 262 if (kill((pid_t) otherpid, SIGTERM) == -1) { in main() 265 otherpid); in main() 277 otherpid); in main() 235 int save_errno, otherpid = -1; main() local
|
/freebsd/usr.sbin/autofs/ |
H A D | autounmountd.c | 265 pid_t otherpid; in main_autounmountd() local 302 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); in main_autounmountd() 306 (intmax_t)otherpid); in main_autounmountd()
|
H A D | automountd.c | 435 pid_t pid, otherpid; in main_automountd() local 483 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); in main_automountd() 487 (intmax_t)otherpid); in main_automountd()
|
/freebsd/usr.sbin/cron/cron/ |
H A D | cron.c | 77 int otherpid; in open_pidfile() local 79 pfh = pidfile_open(pidfile, 0600, &otherpid); in open_pidfile() 83 "cron already running, pid: %d", otherpid); in open_pidfile()
|
/freebsd/usr.sbin/watchdogd/ |
H A D | watchdogd.c | 122 pid_t otherpid; in main() local 145 pfh = pidfile_open(pidfile, 0600, &otherpid); in main() 150 getprogname(), otherpid); in main()
|
/freebsd/usr.sbin/rpc.tlsclntd/ |
H A D | rpc.tlsclntd.c | 119 pid_t otherpid; in main() local 123 rpctls_pfh = pidfile_open(_PATH_RPCTLSCDPID, 0600, &otherpid); in main() 126 errx(1, "rpctlscd already running, pid: %d.", otherpid); in main()
|
/freebsd/sbin/hastd/ |
H A D | hastd.c | 489 pid_t otherpid; in hastd_reload() local 543 newpfh = pidfile_open(newcfg->hc_pidfile, 0600, &otherpid); in hastd_reload() 548 newcfg->hc_pidfile, (intmax_t)otherpid); in hastd_reload() 1185 pid_t otherpid; in main() local 1252 pfh = pidfile_open(cfg->hc_pidfile, 0600, &otherpid); in main() 1257 cfg->hc_pidfile, (intmax_t)otherpid); in main()
|
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | auditdistd.c | 627 pid_t otherpid; in main() local 727 pfh = pidfile_open(adcfg->adc_pidfile, 0600, &otherpid); in main() 732 (intmax_t)otherpid); in main()
|
/freebsd/usr.sbin/iscsid/ |
H A D | iscsid.c | 696 pid_t pid, otherpid; in main() local 729 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); in main() 733 (intmax_t)otherpid); in main()
|
/freebsd/usr.sbin/powerd/ |
H A D | powerd.c | 692 pid_t otherpid; 694 pfh = pidfile_open(pidfile, 0600, &otherpid); 698 otherpid); 700 pid_t otherpid; global() local
|
/freebsd/usr.sbin/rpc.tlsservd/ |
H A D | rpc.tlsservd.c | 142 pid_t otherpid; in main() local 149 rpctls_pfh = pidfile_open(_PATH_RPCTLSSDPID, 0600, &otherpid); in main() 152 errx(1, "rpctlssd already running, pid: %d.", otherpid); in main()
|
/freebsd/sbin/devd/ |
H A D | devd.cc | 532 pid_t otherpid; in open_pidfile() local 536 pfh = pidfile_open(_pidfile.c_str(), 0600, &otherpid); in open_pidfile() 539 errx(1, "devd already running, pid: %d", (int)otherpid); in open_pidfile()
|
/freebsd/sbin/ggate/ggated/ |
H A D | ggated.c | 1040 pid_t otherpid; in main() local 1094 pfh = pidfile_open(ggated_pidfile, 0600, &otherpid); in main() 1098 (intmax_t)otherpid); in main()
|
/freebsd/usr.sbin/rtadvd/ |
H A D | rtadvd.c | 185 pid_t pid, otherpid; in main() local 245 pfh = pidfile_open(pidfilename, 0600, &otherpid); in main() 249 getprogname(), otherpid); in main()
|
/freebsd/usr.sbin/inetd/ |
H A D | inetd.c | 464 pid_t otherpid; in main() local 466 pfh = pidfile_open(pid_file, 0600, &otherpid); in main() 470 getprogname(), otherpid); in main()
|
/freebsd/usr.sbin/ctld/ |
H A D | ctld.c | 2665 pid_t otherpid; in main() local 2716 &otherpid); in main() 2720 (intmax_t)otherpid); in main()
|
/freebsd/sbin/dhclient/ |
H A D | dhclient.c | 380 pid_t otherpid; in main() local 431 pidfile = pidfile_open(path_dhclient_pidfile, 0644, &otherpid); in main() 434 error("dhclient already running, pid: %d.", otherpid); in main()
|
/freebsd/usr.sbin/mountd/ |
H A D | mountd.c | 425 pid_t otherpid; in main() local 439 pfh = pidfile_open(_PATH_MOUNTDPID, 0600, &otherpid); in main() 442 errx(1, "mountd already running, pid: %d.", otherpid); in main()
|