Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
| ... | ... |
@@ -3,7 +3,7 @@ |
| 3 | 3 |
TOMLV_COMMIT=9baf8a8a9f2ed20a8e54160840c492f937eeaf9a |
| 4 | 4 |
|
| 5 | 5 |
# When updating RUNC_COMMIT, also update runc in vendor.conf accordingly |
| 6 |
-RUNC_COMMIT=a01dafd48bc1c7cc12bdb01206f9fea7dd6feb70 |
|
| 6 |
+RUNC_COMMIT=54296cf40ad8143b62dbcaa1d90e520a2136ddfe |
|
| 7 | 7 |
CONTAINERD_COMMIT=665e84e6c28653a9c29a6db601636a92d46896f3 |
| 8 | 8 |
TINI_COMMIT=949e6facb77383876aeff8a6944dde66b3089574 |
| 9 | 9 |
LIBNETWORK_COMMIT=7b2b1feb1de4817d522cc372af149ff48d25028e |
| ... | ... |
@@ -61,7 +61,7 @@ github.com/docker/go v1.5.1-1-1-gbaf439e |
| 61 | 61 |
github.com/agl/ed25519 d2b94fd789ea21d12fac1a4443dd3a3f79cda72c |
| 62 | 62 |
|
| 63 | 63 |
# When updating, also update RUNC_COMMIT in hack/dockerfile/binaries-commits accordingly |
| 64 |
-github.com/opencontainers/runc a01dafd48bc1c7cc12bdb01206f9fea7dd6feb70 https://github.com/docker/runc.git # libcontainer |
|
| 64 |
+github.com/opencontainers/runc 54296cf40ad8143b62dbcaa1d90e520a2136ddfe https://github.com/docker/runc.git # libcontainer |
|
| 65 | 65 |
github.com/opencontainers/runtime-spec 1c7c27d043c2a5e513a44084d2b10d77d1402b8c # specs |
| 66 | 66 |
github.com/seccomp/libseccomp-golang v0.9.0 |
| 67 | 67 |
# libcontainer deps (see src/github.com/opencontainers/runc/Godeps/Godeps.json) |
| ... | ... |
@@ -149,7 +149,7 @@ func getCgroupMountsHelper(ss map[string]bool, mi io.Reader, all bool) ([]Mount, |
| 149 | 149 |
if sepIdx == -1 {
|
| 150 | 150 |
return nil, fmt.Errorf("invalid mountinfo format")
|
| 151 | 151 |
} |
| 152 |
- if txt[sepIdx+3:sepIdx+9] != "cgroup" {
|
|
| 152 |
+ if txt[sepIdx+3:sepIdx+10] == "cgroup2" || txt[sepIdx+3:sepIdx+9] != "cgroup" {
|
|
| 153 | 153 |
continue |
| 154 | 154 |
} |
| 155 | 155 |
fields := strings.Split(txt, " ") |
| ... | ... |
@@ -24,3 +24,28 @@ please note that a Google account is not required to subscribe to the mailing |
| 24 | 24 |
list. |
| 25 | 25 |
|
| 26 | 26 |
-> https://groups.google.com/d/forum/libseccomp |
| 27 |
+ |
|
| 28 |
+Documentation is also available at: |
|
| 29 |
+ |
|
| 30 |
+ -> https://godoc.org/github.com/seccomp/libseccomp-golang |
|
| 31 |
+ |
|
| 32 |
+* Installing the package |
|
| 33 |
+ |
|
| 34 |
+The libseccomp-golang bindings require at least Go v1.2.1 and GCC v4.8.4; |
|
| 35 |
+earlier versions may yield unpredictable results. If you meet these |
|
| 36 |
+requirements you can install this package using the command below: |
|
| 37 |
+ |
|
| 38 |
+ $ go get github.com/seccomp/libseccomp-golang |
|
| 39 |
+ |
|
| 40 |
+* Testing the Library |
|
| 41 |
+ |
|
| 42 |
+A number of tests and lint related recipes are provided in the Makefile, if |
|
| 43 |
+you want to run the standard regression tests, you can excute the following: |
|
| 44 |
+ |
|
| 45 |
+ $ make check |
|
| 46 |
+ |
|
| 47 |
+In order to execute the 'make lint' recipe the 'golint' tool is needed, it |
|
| 48 |
+can be found at: |
|
| 49 |
+ |
|
| 50 |
+ -> https://github.com/golang/lint |
|
| 51 |
+ |