Home
last modified time | relevance | path

Searched refs:pids (Results 1 – 12 of 12) sorted by relevance

/dragonfly/libexec/ftpd/
H A Dpopen.c61 static int *pids; variable
75 if (!pids) { in ftpd_popen()
78 if ((pids = malloc(fds * sizeof(int))) == NULL) in ftpd_popen()
80 memset(pids, 0, fds * sizeof(int)); in ftpd_popen()
161 pids[fileno(iop)] = pid; in ftpd_popen()
179 if (pids == NULL || pids[fdes = fileno(iop)] == 0) in ftpd_pclose()
183 while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR) in ftpd_pclose()
186 pids[fdes] = 0; in ftpd_pclose()
/dragonfly/usr.sbin/cron/cron/
H A Dpopen.c48 static PID_T *pids; variable
74 if (!pids) { in cron_popen()
77 if (!(pids = (PID_T *)malloc((u_int)(fds * sizeof(PID_T))))) in cron_popen()
79 bzero((char *)pids, fds * sizeof(PID_T)); in cron_popen()
198 pids[fileno(iop)] = pid; in cron_popen()
222 if (pids == NULL || pids[fdes = fileno(iop)] == 0) in cron_pclose()
226 while ((pid = wait(&stat_loc)) != pids[fdes] && pid != -1) in cron_pclose()
229 pids[fdes] = 0; in cron_pclose()
/dragonfly/test/stress/stress2/misc/
H A Dnfs8.sh42 pids=""
47 pids="$pids $!"
55 kill -s CONT $pids
/dragonfly/etc/rc.d/
H A Dppp59 pids=`check_process /usr/sbin/ppp`
60 if [ -n "${pids}" ]; then
61 for pid in ${pids}; do
64 wait_for_pids ${pids}
H A Ddhclient24 pids=`/bin/pgrep -f "dhclient: $ifn(\$| .*)"`
25 if [ -n "$pids" ]; then
/dragonfly/contrib/bmake/mk/
H A Dmeta2deps.py250 self.pids = {}
514 del self.pids[pid]
533 self.pids[pid] = path
541 for pid,path in self.pids.items():
554 del self.pids[pid]
555 assert(len(self.pids) == 0)
H A DChangeLog126 incomplete. Track pids that we 'E'xec and make sure we see an
/dragonfly/bin/pax/
H A Doptions.c285 pids = 1; in pax_options()
300 pids = 1; in pax_options()
677 pids = 1; in tar_options()
1025 pids = 1; in cpio_options()
H A Dfile_subs.c144 if (pids) in file_close()
423 if (pids) in node_creat()
603 if (pids) in chk_path()
H A Dpax.c86 int pids; /* preserve file uid/gid */ variable
H A Dextern.h214 extern int pids;
/dragonfly/etc/
H A Drc.subr438 # spins until none of the pids exist