Update runc to 00dc70017d222b178a002ed30e9321b126
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
		
							
								
								
									
										12
									
								
								vendor/github.com/opencontainers/runc/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								vendor/github.com/opencontainers/runc/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -87,6 +87,18 @@ You can run a specific test case by setting the `TESTFLAGS` variable. | ||||
| # make test TESTFLAGS="-run=SomeTestFunction" | ||||
| ``` | ||||
|  | ||||
| You can run a specific integration test by setting the `TESTPATH` variable. | ||||
|  | ||||
| ```bash | ||||
| # make test TESTPATH="/checkpoint.bats" | ||||
| ``` | ||||
|  | ||||
| You can run a test in your proxy environment by setting `DOCKER_BUILD_PROXY` and `DOCKER_RUN_PROXY` variables. | ||||
|  | ||||
| ```bash | ||||
| # make test DOCKER_BUILD_PROXY="--build-arg HTTP_PROXY=http://yourproxy/" DOCKER_RUN_PROXY="-e HTTP_PROXY=http://yourproxy/" | ||||
| ``` | ||||
|  | ||||
| ### Dependencies Management | ||||
|  | ||||
| `runc` uses [vndr](https://github.com/LK4D4/vndr) for dependencies management. | ||||
|   | ||||
							
								
								
									
										6
									
								
								vendor/github.com/opencontainers/runc/libcontainer/nsenter/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								vendor/github.com/opencontainers/runc/libcontainer/nsenter/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -10,8 +10,8 @@ The `nsenter` package will `import "C"` and it uses [cgo](https://golang.org/cmd | ||||
| package. In cgo, if the import of "C" is immediately preceded by a comment, that comment,  | ||||
| called the preamble, is used as a header when compiling the C parts of the package. | ||||
| So every time we  import package `nsenter`, the C code function `nsexec()` would be  | ||||
| called. And package `nsenter` is now only imported in `main_unix.go`, so every time | ||||
| before we call `cmd.Start` on linux, that C code would run. | ||||
| called. And package `nsenter` is only imported in `init.go`, so every time the runc | ||||
| `init` command is invoked, that C code is run. | ||||
|  | ||||
| Because `nsexec()` must be run before the Go runtime in order to use the | ||||
| Linux kernel namespace, you must `import` this library into a package if | ||||
| @@ -37,7 +37,7 @@ the parent `nsexec()` will exit and the child `nsexec()` process will | ||||
| return to allow the Go runtime take over. | ||||
|  | ||||
| NOTE: We do both `setns(2)` and `clone(2)` even if we don't have any | ||||
| CLONE_NEW* clone flags because we must fork a new process in order to | ||||
| `CLONE_NEW*` clone flags because we must fork a new process in order to | ||||
| enter the PID namespace. | ||||
|  | ||||
|  | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/github.com/opencontainers/runc/libcontainer/nsenter/nsexec.c
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/github.com/opencontainers/runc/libcontainer/nsenter/nsexec.c
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -211,7 +211,7 @@ static int try_mapping_tool(const char *app, int pid, char *map, size_t map_len) | ||||
|  | ||||
| 	/* | ||||
| 	 * If @app is NULL, execve will segfault. Just check it here and bail (if | ||||
| 	 * we're in this path, the caller is already getting desparate and there | ||||
| 	 * we're in this path, the caller is already getting desperate and there | ||||
| 	 * isn't a backup to this failing). This usually would be a configuration | ||||
| 	 * or programming issue. | ||||
| 	 */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Crosby
					Michael Crosby