Searched refs:otherpid (Results 1 – 7 of 7) sorted by relevance
/dragonfly/usr.sbin/authpf/ |
H A D | authpf.c | 200 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 D | autounmountd.c | 267 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 D | automountd.c | 424 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 D | misc.c | 240 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 D | devd.cc | 492 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 D | rtadvd.c | 185 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 D | mountd.c | 254 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()
|