moby/profiles/seccomp/seccomp_unsupported.go

14 lines
268 B
Go
Raw Normal View History

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