Files
podman/vendor/github.com/containers/buildah/bind/mount_unsupported.go
Paul Holzinger 83a0299309 vendor: update buildah to latest
Includes a fix for CVE-2024-9407

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-10-02 18:04:39 +02:00

14 lines
355 B
Go

//go:build !linux
package bind
import (
"github.com/opencontainers/runtime-spec/specs-go"
)
// SetupIntermediateMountNamespace returns a no-op unmountAll() and no error.
func SetupIntermediateMountNamespace(spec *specs.Spec, bundlePath string) (unmountAll func() error, err error) {
stripNoBindOption(spec)
return func() error { return nil }, nil
}