spiegel_podman/pkg
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
..
adapter Merge pull request #3800 from vrothberg/generate-pod 2019-08-22 19:08:08 +02:00
annotations Update cri-o annotations 2019-04-01 11:10:54 +02:00
apparmor golangci-lint round #3 2019-07-21 14:22:39 -05:00
cgroups Fix error message on podman stats on cgroups v1 rootless environments 2019-08-19 07:41:50 -04:00
channelwriter account for varlink calls that dont use more 2019-07-10 08:50:05 -05:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
errorhandling first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
hooks Running Podman with a nonexistent hooks dir is nonfatal 2019-08-13 15:05:42 -04:00
inspect Begin to break up pkg/inspect 2019-06-03 15:54:53 -04:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
logs first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
lookup pkg/lookup: Return ID-only pointers on ErrNo*Entries 2018-12-04 14:46:43 -08:00
namespaces namespaces: fix Container() call 2019-08-07 13:11:08 -04:00
netns Revert "rootless: Rearrange setup of rootless containers" 2019-08-06 09:51:38 -05:00
network inclusion of podman network 2019-08-15 12:49:12 -05:00
registrar Update registrar unit tests to match them of cri-o 2019-04-04 08:53:32 +02:00
registries Use the logical registry location instead of the physical one in (podman info) 2019-06-14 15:46:17 +02:00
resolvconf Use host's resolv.conf if no network namespace enabled 2018-11-27 15:28:09 -05:00
rootless Merge pull request #3782 from eriksjolund/fix_realloc_in_rootless_linux.c 2019-08-11 19:44:58 +02:00
spec Add support for 'exec', 'suid', 'dev' mount flags 2019-08-28 14:28:18 -04:00
sysinfo golangci-lint round #3 2019-07-21 14:22:39 -05:00
systemdgen generate systemd: support pods and geneartig files 2019-08-21 17:28:30 +02:00
tracing trivial cleanups from golang 2019-07-03 15:41:33 -05:00
trust trivial cleanups from golang 2019-07-03 15:41:33 -05:00
util Add support for 'exec', 'suid', 'dev' mount flags 2019-08-28 14:28:18 -04:00
varlinkapi Update varlink doc and code 2019-08-26 16:45:49 -07:00