diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-10-25 07:22:11 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-10-25 16:50:45 -0400 |
commit | a42c131c80fc8c7220687c56cf4384a224572ca0 (patch) | |
tree | 6b3907947aa49553ace7642034632b0ad8206157 /libpod/options.go | |
parent | dbe770e3ce2ac2e34ffa8e28b80df57eb0182a68 (diff) | |
download | podman-a42c131c80fc8c7220687c56cf4384a224572ca0.tar.gz podman-a42c131c80fc8c7220687c56cf4384a224572ca0.tar.bz2 podman-a42c131c80fc8c7220687c56cf4384a224572ca0.zip |
Update vendor github.com/opencontainers/runtime-tools
This will change mount of /dev within container to noexec, making
containers slightly more secure.
[NO NEW TESTS NEEDED]
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/options.go')
-rw-r--r-- | libpod/options.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/options.go b/libpod/options.go index 9762de67e..135b2f363 100644 --- a/libpod/options.go +++ b/libpod/options.go @@ -969,7 +969,7 @@ func WithUserNSFrom(nsCtr *Container) CtrCreateOption { if err := JSONDeepCopy(nsCtr.IDMappings(), &ctr.config.IDMappings); err != nil { return err } - g := generate.Generator{Config: ctr.config.Spec} + g := generate.NewFromSpec(ctr.config.Spec) g.ClearLinuxUIDMappings() for _, uidmap := range nsCtr.config.IDMappings.UIDMap { |