aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/projectatomic/buildah/seccomp_unsupported.go
blob: cba8390c5a63178a93245ed7894794d7400aa96c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// +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
}