mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #18947 from jfrazelle/fix-seccomp-unsupported
fix default profile where unsupported
This commit is contained in:
commit
94e0760868
2 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,seccomp
|
||||
|
||||
package native
|
||||
|
||||
|
|
9
daemon/execdriver/native/seccomp_unsupported.go
Normal file
9
daemon/execdriver/native/seccomp_unsupported.go
Normal file
|
@ -0,0 +1,9 @@
|
|||
// +build linux,!seccomp
|
||||
|
||||
package native
|
||||
|
||||
import "github.com/opencontainers/runc/libcontainer/configs"
|
||||
|
||||
var (
|
||||
defaultSeccompProfile *configs.Seccomp
|
||||
)
|
Loading…
Add table
Reference in a new issue