summaryrefslogtreecommitdiff
path: root/pkg/hooks/1.0.0/when_test.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-06-03 14:22:03 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-06-03 14:25:10 +0200
commit6b0e1a3091d412273cf814bffb655c6e10073f0e (patch)
tree4fc0cab256dbd0c340e18b9538d9092cf7f19b05 /pkg/hooks/1.0.0/when_test.go
parent176a41c355bdc567978f4417e5bd2d3c7cdce914 (diff)
downloadpodman-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 'pkg/hooks/1.0.0/when_test.go')
0 files changed, 0 insertions, 0 deletions