podman/pkg/spec
Giuseppe Scrivano 0f5ae3c5af
podman: fix ro bind mounts if no* opts are on the source
This is a workaround for the runc issue:

https://github.com/opencontainers/runc/issues/1247

If the source of a bind mount has any of nosuid, noexec or nodev, be
sure to propagate them to the bind mount so that when runc tries to
remount using MS_RDONLY, these options are also used.

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

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-02-25 18:56:09 +01:00
..
config_linux.go Fix handling of symbolic links 2018-12-28 13:10:15 -05:00
config_unsupported.go Add darwin support for remote-client 2019-01-11 11:30:28 -06:00
createconfig.go Fix volume handling in podman 2019-02-14 13:21:52 -05:00
parse.go Invalid index for array 2018-12-21 09:25:25 -05:00
ports.go Spell check strings and comments 2018-05-25 08:45:15 +00:00
spec.go podman: fix ro bind mounts if no* opts are on the source 2019-02-25 18:56:09 +01:00
spec_test.go Swap default mount propagation from private to rprivate 2018-09-13 21:35:44 +00:00