Home
last modified time | relevance | path

Searched refs:otherpid (Results 1 – 7 of 7) sorted by relevance

/dragonfly/usr.sbin/authpf/
H A Dauthpf.c200 int save_errno, otherpid = -1; in main() local
220 if (fscanf(pidfp, "%d\n%31s\n", &otherpid, otherluser) != 2) in main()
221 otherpid = -1; in main()
223 pidfile, otherpid, strerror(save_errno)); in main()
225 if (otherpid > 0) { in main()
228 otherpid, ipsrc, otherluser); in main()
229 if (kill((pid_t) otherpid, SIGTERM) == -1) { in main()
232 otherpid); in main()
243 otherpid); in main()
/dragonfly/usr.sbin/autofs/
H A Dautounmountd.c267 pid_t otherpid; in main_autounmountd() local
304 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); in main_autounmountd()
308 (intmax_t)otherpid); in main_autounmountd()
H A Dautomountd.c424 pid_t pid, otherpid; in main_automountd() local
472 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); in main_automountd()
476 (intmax_t)otherpid); in main_automountd()
/dragonfly/usr.sbin/cron/lib/
H A Dmisc.c240 int fd, otherpid; in acquire_daemonlock() local
255 fscanf(fp, "%d", &otherpid); in acquire_daemonlock()
257 pidfile, otherpid, strerror(save_errno)); in acquire_daemonlock()
/dragonfly/sbin/devd/
H A Ddevd.cc492 pid_t otherpid = -1; in open_pidfile() local
496 pfh = pidfile_open(_pidfile.c_str(), 0600, &otherpid); in open_pidfile()
499 errx(1, "devd already running, pid: %d", (int)otherpid); in open_pidfile()
/dragonfly/usr.sbin/rtadvd/
H A Drtadvd.c185 pid_t otherpid; in main() local
249 pfh = pidfile_open(pidfilename, 0600, &otherpid); in main()
253 getprogname(), otherpid); in main()
/dragonfly/sbin/mountd/
H A Dmountd.c254 pid_t otherpid; in main() local
265 pfh = pidfile_open(_PATH_MOUNTDPID, 0600, &otherpid); in main()
268 errx(1, "mountd already running, pid: %d.", otherpid); in main()