Make "IsFifo" a public function for use by other parts of containerd
codebase.
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
(cherry picked from commit 0c78dacbc5)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Reized the I/O buffers to align with the size of the kernel buffers with fifos
and move the close aspect of the console to key off of the stdin closing.
Fixes#3738
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>