support when build without seccomp build tag

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
docker-18.09
Jess Frazelle 2018-06-05 12:10:45 -04:00
parent bb647a68b9
commit 48200d7b5e
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
3 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,4 @@
// +build linux
// +build linux,seccomp
package system

View File

@ -1,4 +1,4 @@
// +build !linux
// +build !linux,seccomp
package system

View File

@ -0,0 +1,7 @@
// +build !seccomp
package system
func SeccompSupported() bool {
return false
}