moby--moby/profiles/seccomp/seccomp_unsupported.go

14 lines
275 B
Go
Raw Normal View History

// +build linux,!seccomp
package seccomp
import (
"github.com/docker/engine-api/types"
"github.com/opencontainers/runtime-spec/specs-go"
)
// DefaultProfile returns a nil pointer on unsupported systems.
func DefaultProfile(rs *specs.Spec) *types.Seccomp {
return nil
}