Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | rootless: correctly propagate the exit status from the container | Giuseppe Scrivano | 2018-07-13 |
| | | | | 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 | ||
* | rootless: add function to retrieve the original UID | Giuseppe Scrivano | 2018-07-05 |
| | | | | | | | | | | After we re-exec in the userNS os.Getuid() returns the new UID (= 0) which is not what we want to use. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #1048 Approved by: mheon | ||
* | changes to allow for darwin compilation | baude | 2018-06-29 |
Signed-off-by: baude <bbaude@redhat.com> Closes: #1015 Approved by: baude |