podman/pkg/rootless
Giuseppe Scrivano 4dca13e704
rootless: skip NS_GET_PARENT on old kernels
on old kernels the ioctl NS_GET_PARENT is not available.

Handle the error code and immediately return the same fd.  It should
be fine now that we use the namespace resolution using the conmon pid,
so the namespace parent resolution is just a safety measure.

Closes: https://github.com/containers/libpod/issues/2968

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-06-06 15:32:45 +02:00
..
rootless_linux.c rootless: block signals on re-exec 2019-06-03 14:25:10 +02:00
rootless_linux.go rootless: skip NS_GET_PARENT on old kernels 2019-06-06 15:32:45 +02:00
rootless_unsupported.go rootless: make JoinUserAndMountNS private 2019-05-25 13:48:00 +02:00