diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-06-06 15:32:37 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-06-06 15:32:45 +0200 |
commit | 4dca13e70423e657aec98999d9c6803075359517 (patch) | |
tree | faa0a37402afb66bfdaaf70057fb084bd79ef4d3 /docs/podman-healthcheck-run.1.md | |
parent | 6d285b879c3fa252545b15a3dea816426ba2c610 (diff) | |
download | podman-4dca13e70423e657aec98999d9c6803075359517.tar.gz podman-4dca13e70423e657aec98999d9c6803075359517.tar.bz2 podman-4dca13e70423e657aec98999d9c6803075359517.zip |
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>
Diffstat (limited to 'docs/podman-healthcheck-run.1.md')
0 files changed, 0 insertions, 0 deletions