aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-04-29 11:01:56 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-04-29 16:56:17 +0200
commitefe956249ef5a04e3bc28aa6f15c7b5d5a854351 (patch)
tree58f2e9023d81676ffdad0de541bf4f35d879930b /cmd
parentb3b889d8a24340249f668df9e68f5e95646cc004 (diff)
downloadpodman-efe956249ef5a04e3bc28aa6f15c7b5d5a854351.tar.gz
podman-efe956249ef5a04e3bc28aa6f15c7b5d5a854351.tar.bz2
podman-efe956249ef5a04e3bc28aa6f15c7b5d5a854351.zip
rootless: move ns open before fork
commit 788fdc685b00dee5ccb594bef845204250c4c123 introduced a race where the target process dies before the child process opens the namespace files. Move the open before the fork so if it fails the parent process can attempt to join a different container instead of failing. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> (cherry picked from commit 89d4940a3787ccc871c92950a79347efc0d5c58c)
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions