Browse code

vendor: update runc to 2f7393a4

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>

Tonis Tiigi authored on 2017/01/11 10:50:43
Showing 3 changed files
1 1
old mode 100644
2 2
new mode 100755
... ...
@@ -1,7 +1,7 @@
1 1
 #!/bin/sh
2 2
 
3 3
 TOMLV_COMMIT=9baf8a8a9f2ed20a8e54160840c492f937eeaf9a
4
-RUNC_COMMIT=51371867a01c467f08af739783b8beafc154c4d7
4
+RUNC_COMMIT=2f7393a47307a16f8cee44a37b262e8b81021e3e
5 5
 CONTAINERD_COMMIT=03e5862ec0d8d3b3f750e19fca3ee367e13c090e
6 6
 TINI_COMMIT=949e6facb77383876aeff8a6944dde66b3089574
7 7
 LIBNETWORK_COMMIT=0f534354b813003a754606689722fe253101bc4e
... ...
@@ -59,7 +59,7 @@ github.com/miekg/pkcs11 df8ae6ca730422dba20c768ff38ef7d79077a59f
59 59
 github.com/docker/go v1.5.1-1-1-gbaf439e
60 60
 github.com/agl/ed25519 d2b94fd789ea21d12fac1a4443dd3a3f79cda72c
61 61
 
62
-github.com/opencontainers/runc 51371867a01c467f08af739783b8beafc15 # libcontainer
62
+github.com/opencontainers/runc 2f7393a47307a16f8cee44a37b262e8b81021e3e https://github.com/docker/runc.git # libcontainer
63 63
 github.com/opencontainers/runtime-spec 1c7c27d043c2a5e513a44084d2b10d77d1402b8c # specs
64 64
 github.com/seccomp/libseccomp-golang 32f571b70023028bd57d9288c20efbcb237f3ce0
65 65
 # libcontainer deps (see src/github.com/opencontainers/runc/Godeps/Godeps.json)
... ...
@@ -435,6 +435,11 @@ void nsexec(void)
435 435
 	if (pipenum == -1)
436 436
 		return;
437 437
 
438
+	/* make the process non-dumpable */
439
+	if (prctl(PR_SET_DUMPABLE, 0, 0, 0, 0) != 0) {
440
+		bail("failed to set process as non-dumpable");
441
+	}
442
+
438 443
 	/* Parse all of the netlink configuration. */
439 444
 	nl_parse(pipenum, &config);
440 445