mirror of
https://github.com/containers/podman.git
synced 2026-02-02 18:32:37 -05:00
The files were split apart byb96be3af(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 (b96be3afalso scrambled the + in that header) and keeping the new GetRootlessUID froma1545fe6(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