Displaying 2 results from an estimated 2 matches for "fdok".
Did you mean:
fdo
2007 Apr 18
1
[PATCH] Lguest launcher, child starving parent
...== 0)
+ exit(0);
+ if (ignorefd >= 0)
+ FD_CLR(ignorefd, &devices->infds);
}
}
@@ -594,6 +594,7 @@ static void handle_output(int fd, unsign
static void handle_input(int fd, int childfd, struct device_list *devices)
{
struct timeval poll = { .tv_sec = 0, .tv_usec = 0 };
+ int fdok = -1;
for (;;) {
struct device *i;
@@ -608,7 +609,9 @@ static void handle_input(int fd, int chi
FD_CLR(i->fd, &devices->infds);
/* Tell child to ignore it too... */
write(childfd, &i->fd, sizeof(i->fd));
- }
+ } else
+ /* Tell child to continue...
2007 Apr 18
1
[PATCH] Lguest launcher, child starving parent
...== 0)
+ exit(0);
+ if (ignorefd >= 0)
+ FD_CLR(ignorefd, &devices->infds);
}
}
@@ -594,6 +594,7 @@ static void handle_output(int fd, unsign
static void handle_input(int fd, int childfd, struct device_list *devices)
{
struct timeval poll = { .tv_sec = 0, .tv_usec = 0 };
+ int fdok = -1;
for (;;) {
struct device *i;
@@ -608,7 +609,9 @@ static void handle_input(int fd, int chi
FD_CLR(i->fd, &devices->infds);
/* Tell child to ignore it too... */
write(childfd, &i->fd, sizeof(i->fd));
- }
+ } else
+ /* Tell child to continue...