Files
podman/vendor/github.com/containers/buildah/seccomp_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
312 B
Go

//go:build !seccomp || !linux
package buildah
import (
"github.com/opencontainers/runtime-spec/specs-go"
)
func setupSeccomp(spec *specs.Spec, seccompProfilePath string) error {
if spec.Linux != nil {
// runtime-tools may have supplied us with a default filter
spec.Linux.Seccomp = nil
}
return nil
}