diff options
author | Matthew Heon <mheon@redhat.com> | 2020-12-10 11:43:59 -0500 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2020-12-10 11:43:59 -0500 |
commit | 46183cf8737d2b478923e16b545dce483c9b3d03 (patch) | |
tree | c6b4267d1656fef95f66f1bd8fabb7009f1d8dc9 /libpod/runtime_pod_infra_linux.go | |
parent | 059c2ee739c156287237c07e07f497602bd9958d (diff) | |
download | podman-46183cf8737d2b478923e16b545dce483c9b3d03.tar.gz podman-46183cf8737d2b478923e16b545dce483c9b3d03.tar.bz2 podman-46183cf8737d2b478923e16b545dce483c9b3d03.zip |
Ignore containers.conf sysctls when sharing namespaces
The existing code prevents containers.conf default sysctls from
being added if the container uses a host namespace. This patch
expands that to not just host namespaces, but also *shared*
namespaces - so we never modify another container's (or a pod's)
namespaces without being explicitly directed to do so by the
user.
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'libpod/runtime_pod_infra_linux.go')
0 files changed, 0 insertions, 0 deletions