Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit bd3c4f844abed063a0d0a8575eb596159f33732c is included through the new libcontainer vendoring: Fix race in runc exec There is a race in runc exec when the init process stops just before the check for the container status. It is then wrongly assumed that we are trying to start an init process instead of an exec process. This commit add an Init field to libcontainer Process to distinguish between init and exec processes to prevent this race. In order to prevent from breaking Kata Containers with this commit, we have to provide explicit information if the process is the init process or not, depending if we're creating a new container or exec'ing a process on an existing container. Signed-off-by: Sebastien Boeuf <[email protected]>
- Loading branch information