Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | rootless: support a custom arg to the new process | Giuseppe Scrivano | 2019-03-11 |
| | | | | | | | | | let the process running as euid != 0 pass down an argument to the process running in the user namespace. This will be useful for commands like rm -a that needs to join different namespaces, so that we can re-exec separately for each of them. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> | ||
* | rootless: Merge rootless.go back into rootless_linux.go | W. Trevor King | 2018-07-06 |
| | | | | | | | | | | | | | | | The files were split apart by b96be3af (changes to allow for darwin compilation, 2018-06-20, #1015), but the C import and two functions left in rootless.go are all Linux-specific as well. This commit moves all of the pre-b96be3af rootless.go into rootless_linux.go, just adding the '// +build linux' header (b96be3af also scrambled the + in that header) and keeping the new GetRootlessUID from a1545fe6 (rootless: add function to retrieve the original UID, 2018-07-05, #1048). Signed-off-by: W. Trevor King <wking@tremily.us> Closes: #1034 Approved by: baude | ||
* | changes to allow for darwin compilation | baude | 2018-06-29 |
| | | | | | | | Signed-off-by: baude <bbaude@redhat.com> Closes: #1015 Approved by: baude | ||
* | rootless: add management for the userNS | Giuseppe Scrivano | 2018-06-27 |
When running podman as non root user always create an userNS and let the OCI runtime use it. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #936 Approved by: rhatdan |