diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-10-11 12:38:10 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-10-11 17:09:18 +0200 |
commit | 48f6f9254dc04350c15a136dd94487400f34dfb5 (patch) | |
tree | 54a82d664e48135738820ad6abab69069081e707 /cmd/podman | |
parent | 23c9816ba9ff1af3538dcb725d86fc565df53a30 (diff) | |
download | podman-48f6f9254dc04350c15a136dd94487400f34dfb5.tar.gz podman-48f6f9254dc04350c15a136dd94487400f34dfb5.tar.bz2 podman-48f6f9254dc04350c15a136dd94487400f34dfb5.zip |
rootless: fix an hang on older versions of setresuid/setresgid
the issue is caused by the Go Runtime that messes up with the process
signals, overriding SIGSETXID and SIGCANCEL which are used internally
by glibc. They are used to inform all the threads to update their
stored uid/gid information. This causes a hang on the set*id glibc
wrappers since the handler installed by glibc is never invoked.
Since we are running with only one thread, we don't really need to
update other threads or even the current thread as we are not using
getuid/getgid before the execvp.
Closes: https://github.com/containers/libpod/issues/1625
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cmd/podman')
0 files changed, 0 insertions, 0 deletions