diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-07-05 12:03:01 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-07-05 13:30:15 +0000 |
commit | a1545fe6e4749444204f27f5c04034f9415d4757 (patch) | |
tree | b930f8c5a95c217ba1ce63db8a9574e79b15cdfd /cmd/podman | |
parent | e38272047fbafb9fb35419e356d4576824585c23 (diff) | |
download | podman-a1545fe6e4749444204f27f5c04034f9415d4757.tar.gz podman-a1545fe6e4749444204f27f5c04034f9415d4757.tar.bz2 podman-a1545fe6e4749444204f27f5c04034f9415d4757.zip |
rootless: add function to retrieve the original UID
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
Diffstat (limited to 'cmd/podman')
0 files changed, 0 insertions, 0 deletions