Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
mainloop: capture output of short-lived init procs #2062
The handler for the signal fd will detect when the init process of a container
Signed-off-by: Christian Brauner email@example.com
On Sat, Dec 30, 2017 at 10:17:52PM +0000, Serge Hallyn wrote: Sorry for being dense - what is the implication of dropping the timeout_ms check?
epoll_ctl() will not block when no data is available. This is exactly what we want though. When the init process has exited it will have written all data it wanted to write into the console buffer so epoll_wait() will either still report that there is data to be read - in case init exited before we have read all data - or it will exit right away.