diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-06-03 14:22:03 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-06-03 14:25:10 +0200 |
commit | 6b0e1a3091d412273cf814bffb655c6e10073f0e (patch) | |
tree | 4fc0cab256dbd0c340e18b9538d9092cf7f19b05 /vendor/github.com/mrunalp | |
parent | 176a41c355bdc567978f4417e5bd2d3c7cdce914 (diff) | |
download | podman-6b0e1a3091d412273cf814bffb655c6e10073f0e.tar.gz podman-6b0e1a3091d412273cf814bffb655c6e10073f0e.tar.bz2 podman-6b0e1a3091d412273cf814bffb655c6e10073f0e.zip |
rootless: block signals on re-exec
we are allowed to use only signal safe functions between a fork of a
multithreaded application and the next execve. Since setenv(3) is not
signal safe, block signals. We are already doing it for creating a
new namespace.
This is mostly a cleanup since reexec_in_user_namespace_wait is used
only only to join existing namespaces when we have not a pause.pid
file.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'vendor/github.com/mrunalp')
0 files changed, 0 insertions, 0 deletions