/freebsd-9.3-release/libexec/lukemftpd/ |
H A D | nbsd_pidfile.h | 10 pid_t otherpid, childpid; local 16 pfh = pidfile_open(basename, 0644, &otherpid); 20 (intmax_t)otherpid);
|
/freebsd-9.3-release/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-9.3-release/usr.sbin/watchdogd/ |
H A D | watchdogd.c | 81 pid_t otherpid; local 100 pfh = pidfile_open(pidfile, 0600, &otherpid); 104 getprogname(), otherpid);
|
/freebsd-9.3-release/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-9.3-release/usr.sbin/cron/cron/ |
H A D | cron.c | 73 int otherpid; local 76 pfh = pidfile_open(pidfile, 0600, &otherpid); 80 "cron already running, pid: %d", otherpid);
|
/freebsd-9.3-release/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-9.3-release/contrib/openbsm/bin/auditdistd/ |
H A D | auditdistd.c | 629 pid_t otherpid; local 729 pfh = pidfile_open(adcfg->adc_pidfile, 0600, &otherpid); 734 (intmax_t)otherpid);
|
/freebsd-9.3-release/usr.sbin/powerd/ |
H A D | powerd.c | 555 pid_t otherpid; local 557 pfh = pidfile_open(pidfile, 0600, &otherpid); 561 otherpid);
|
/freebsd-9.3-release/sbin/devd/ |
H A D | devd.cc | 475 pid_t otherpid; local 479 pfh = pidfile_open(_pidfile.c_str(), 0600, &otherpid); 482 errx(1, "devd already running, pid: %d", (int)otherpid);
|
/freebsd-9.3-release/usr.sbin/inetd/ |
H A D | inetd.c | 469 pid_t otherpid; local 471 pfh = pidfile_open(pid_file, 0600, &otherpid); 475 getprogname(), otherpid);
|
/freebsd-9.3-release/usr.sbin/rtadvd/ |
H A D | rtadvd.c | 186 pid_t pid, otherpid; local 254 pfh = pidfile_open(pidfilename, 0600, &otherpid); 258 getprogname(), otherpid);
|
/freebsd-9.3-release/sbin/dhclient/ |
H A D | dhclient.c | 345 pid_t otherpid; local 390 pidfile = pidfile_open(path_dhclient_pidfile, 0600, &otherpid); 393 error("dhclient already running, pid: %d.", otherpid);
|
/freebsd-9.3-release/usr.sbin/mountd/ |
H A D | mountd.c | 294 pid_t otherpid; local 302 pfh = pidfile_open(_PATH_MOUNTDPID, 0600, &otherpid); 305 errx(1, "mountd already running, pid: %d.", otherpid);
|