14 lines
		
	
	
		
			354 B
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			354 B
		
	
	
	
		
			Go
		
	
	
	
| // +build !linux
 | |
| 
 | |
| package specgen
 | |
| 
 | |
| import (
 | |
| 	"github.com/containers/common/libimage"
 | |
| 	spec "github.com/opencontainers/runtime-spec/specs-go"
 | |
| 	"github.com/pkg/errors"
 | |
| )
 | |
| 
 | |
| func (s *SpecGenerator) getSeccompConfig(configSpec *spec.Spec, img *libimage.Image) (*spec.LinuxSeccomp, error) {
 | |
| 	return nil, errors.New("function not supported on non-linux OS's")
 | |
| }
 |