mirror of
https://github.com/containers/podman.git
synced 2025-09-26 16:25:00 +08:00

Switch from projectatomic/buildah to containers/buildah Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
16 lines
298 B
Go
16 lines
298 B
Go
// +build !linux !seccomp
|
|
|
|
package chroot
|
|
|
|
import (
|
|
"github.com/opencontainers/runtime-spec/specs-go"
|
|
"github.com/pkg/errors"
|
|
)
|
|
|
|
func setSeccomp(spec *specs.Spec) error {
|
|
if spec.Linux.Seccomp != nil {
|
|
return errors.New("configured a seccomp filter without seccomp support?")
|
|
}
|
|
return nil
|
|
}
|