Skip to content

Commit

Permalink
Merge pull request #436 from jessfraz/no-seccomp-tag
Browse files Browse the repository at this point in the history
support when build without seccomp build tag
  • Loading branch information
tonistiigi authored Jun 5, 2018
2 parents 29c42e6 + 48200d7 commit 376093d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion util/system/seccomp_linux.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux
// +build linux,seccomp

package system

Expand Down
2 changes: 1 addition & 1 deletion util/system/seccomp_nolinux.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !linux
// +build !linux,seccomp

package system

Expand Down
7 changes: 7 additions & 0 deletions util/system/seccomp_noseccomp.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// +build !seccomp

package system

func SeccompSupported() bool {
return false
}

0 comments on commit 376093d

Please sign in to comment.