Files
podman/vendor/github.com/containers/buildah/chroot/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

16 lines
360 B
Go

//go:build !linux && !freebsd
package chroot
import (
"fmt"
"io"
"github.com/opencontainers/runtime-spec/specs-go"
)
// RunUsingChroot is not supported.
func RunUsingChroot(spec *specs.Spec, bundlePath, homeDir string, stdin io.Reader, stdout, stderr io.Writer) (err error) {
return fmt.Errorf("--isolation chroot is not supported on this platform")
}