github.com/react-vue-devel/moby@v1.13.1/profiles/seccomp/seccomp_unsupported.go (about)

     1  // +build linux,!seccomp
     2  
     3  package seccomp
     4  
     5  import (
     6  	"github.com/docker/docker/api/types"
     7  	"github.com/opencontainers/runtime-spec/specs-go"
     8  )
     9  
    10  // DefaultProfile returns a nil pointer on unsupported systems.
    11  func DefaultProfile(rs *specs.Spec) *types.Seccomp {
    12  	return nil
    13  }