diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-01-12 16:08:14 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-01-15 09:10:55 +0100 |
commit | 2c328a4ac12262771861b2be6522acbfa5bbadb6 (patch) | |
tree | 184396aecc0b36a0c11e264acd1062670e8256fe /pkg/specgen/generate/validate.go | |
parent | 3fcf346890c0437611fc18c30d58cc2d9f61fe6c (diff) | |
download | podman-2c328a4ac12262771861b2be6522acbfa5bbadb6.tar.gz podman-2c328a4ac12262771861b2be6522acbfa5bbadb6.tar.bz2 podman-2c328a4ac12262771861b2be6522acbfa5bbadb6.zip |
specgen: improve heuristic for /sys bind mount
partially revert 95c45773d7dbca2880152de681c81f0a2afec99b
restrict the cases where /sys is bind mounted from the host.
The heuristic doesn't detect all the cases where the bind mount is not
necessary, but it is an improvement on the previous version where /sys
was always bind mounted for rootless containers unless --net none was
specified.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg/specgen/generate/validate.go')
0 files changed, 0 insertions, 0 deletions