podman/pkg/rootless
Giuseppe Scrivano 89d4940a37
rootless: move ns open before fork
commit 788fdc685b 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>
2020-04-29 11:44:24 +02:00
..
rootless.go fix lint in pkg/rootless 2020-01-08 15:44:30 +01:00
rootless_linux.c rootless: move ns open before fork 2020-04-29 11:44:24 +02:00
rootless_linux.go rootless: move join namespace inside child process 2020-04-20 17:40:25 +02:00
rootless_unsupported.go rootless: do not enable lingering mode 2019-10-17 19:12:10 +02:00