This repository has been archived by the owner on May 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
containerd-shim-kata-v2: Use O_NONBLOCK for tty stdin.
Fixes: #1659 our testing found that the client does not open stdin with O_WRONLY, so the shim v2 was blocked forever in open stdin with O_RDONLY. It's better to make it opened with O_NONBLOCK, and do not block starting process of container. and the containerd runc shim has done this by bc1ff514 as well. Signed-off-by: Yang, Wei <[email protected]> Signed-off-by: Yang, Wei <[email protected]>
- Loading branch information