diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-09-15 00:28:40 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-09-15 00:32:23 +0200 |
commit | a041f6d920a4ca78e0d24b2fd84a7c7ecb66d9d7 (patch) | |
tree | 850d626c6a1201fc0cd3fd4fbc6b3c3ed720e7e9 /tap.c | |
parent | 7d81b3c646c353924e7bd2ee719522694d212ba7 (diff) | |
download | passt-a041f6d920a4ca78e0d24b2fd84a7c7ecb66d9d7.tar passt-a041f6d920a4ca78e0d24b2fd84a7c7ecb66d9d7.tar.gz passt-a041f6d920a4ca78e0d24b2fd84a7c7ecb66d9d7.tar.bz2 passt-a041f6d920a4ca78e0d24b2fd84a7c7ecb66d9d7.tar.lz passt-a041f6d920a4ca78e0d24b2fd84a7c7ecb66d9d7.tar.xz passt-a041f6d920a4ca78e0d24b2fd84a7c7ecb66d9d7.tar.zst passt-a041f6d920a4ca78e0d24b2fd84a7c7ecb66d9d7.zip |
pasta: Clean up namespace processes on exit, reap zombies from clone()
If pasta created the namespace, it's probably expected that processes
started in the same namespace are terminated once pasta exits. Scan
procfs namespace links for corresponding processes, send SIGQUIT and
SIGKILL (after one second) if found.
While at it, make the signal handler reap otherwise-zombies resulting
from clone().
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tap.c')
0 files changed, 0 insertions, 0 deletions