mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
14 lines
355 B
Go
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
|
|
}
|