Lines Matching refs:pidfd
89 int pidfd = -1;192 if (pidfd > -1) {197 close(pidfd);1984 pidfd = open(pidfile, O_WRONLY | O_CREAT | O_NONBLOCK, 0664);1985 if (pidfd == -1) {1991 if (flock(pidfd, LOCK_EX | LOCK_NB) == -1) {1995 if (set_cloexec(pidfd) == -1)2011 writepid(pidfd, getpid());