Browse code

Merge pull request #18947 from jfrazelle/fix-seccomp-unsupported

fix default profile where unsupported

Arnaud Porterie authored on 2015/12/30 03:21:07
Showing 2 changed files
... ...
@@ -1,4 +1,4 @@
1
-// +build linux
1
+// +build linux,seccomp
2 2
 
3 3
 package native
4 4
 
5 5
new file mode 100644
... ...
@@ -0,0 +1,9 @@
0
+// +build linux,!seccomp
1
+
2
+package native
3
+
4
+import "github.com/opencontainers/runc/libcontainer/configs"
5
+
6
+var (
7
+	defaultSeccompProfile *configs.Seccomp
8
+)