Searched refs:pid_fd (Results 1 – 2 of 2) sorted by relevance
310 write_pid(ctx->pid_fd, pid); in dhcpcd_daemonise()311 close(ctx->pid_fd); in dhcpcd_daemonise()312 ctx->pid_fd = -1; in dhcpcd_daemonise()1479 ctx.pid_fd = ctx.control_fd = ctx.control_unpriv_fd = ctx.link_fd = -1; in main()1797 ctx.pid_fd = open(ctx.pidfile, opt, 0664); in main()1798 if (ctx.pid_fd == -1) in main()1804 if (flock(ctx.pid_fd, LOCK_EX | LOCK_NB) == -1) { in main()1806 close(ctx.pid_fd); in main()1807 ctx.pid_fd = -1; in main()1812 if (fcntl(ctx.pid_fd, F_GETFD, &opt) == -1 || in main()[all …]
86 int pid_fd; member