spiegel_podman/pkg/util
Matthew Heon 02264d597f Add support for 'exec', 'suid', 'dev' mount flags
Previously, we explicitly set noexec/nosuid/nodev on every mount,
with no ability to disable them. The 'mount' command on Linux
will accept their inverses without complaint, though - 'noexec'
is counteracted by 'exec', 'nosuid' by 'suid', etc. Add support
for passing these options at the command line to disable our
explicit forcing of security options.

This also cleans up mount option handling significantly. We are
still parsing options in more than one place, which isn't good,
but option parsing for bind and tmpfs mounts has been unified.

Fixes: #3819
Fixes: #3803

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2019-08-28 14:28:18 -04:00
..
mountOpts.go Add support for 'exec', 'suid', 'dev' mount flags 2019-08-28 14:28:18 -04:00
utils.go add --pull flag for podman create&run 2019-08-09 15:21:34 -04:00
utils_darwin.go libpod removal from main (phase 2) 2019-06-27 07:56:24 -05:00
utils_linux.go golangci-lint phase 4 2019-07-22 15:44:04 -05:00
utils_supported.go Use GetRuntimeDir to setup auth.json for login 2019-08-12 14:11:53 -04:00
utils_test.go Stage3 Image Library 2018-03-14 20:21:31 +00:00
utils_unsupported.go Move the HostConfig portion of Inspect inside libpod 2019-07-17 16:48:38 -04:00
utils_windows.go Use GetRuntimeDir to setup auth.json for login 2019-08-12 14:11:53 -04:00