diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-08-05 22:36:41 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-08-07 09:16:48 +0200 |
commit | 755f9fd91125c65361c81d8aa9e8af2cfd7adc6d (patch) | |
tree | c42ea64d4aaf8e08cfc8275da411f63c06e3b1b7 /passt.c | |
parent | 5ca61c2f34cdcadb486ad1e186aeb9c7df8c132e (diff) | |
download | passt-755f9fd91125c65361c81d8aa9e8af2cfd7adc6d.tar passt-755f9fd91125c65361c81d8aa9e8af2cfd7adc6d.tar.gz passt-755f9fd91125c65361c81d8aa9e8af2cfd7adc6d.tar.bz2 passt-755f9fd91125c65361c81d8aa9e8af2cfd7adc6d.tar.lz passt-755f9fd91125c65361c81d8aa9e8af2cfd7adc6d.tar.xz passt-755f9fd91125c65361c81d8aa9e8af2cfd7adc6d.tar.zst passt-755f9fd91125c65361c81d8aa9e8af2cfd7adc6d.zip |
nstool: Propagate SIGTERM to processes executed in the namespace
Particularly in shell it's sometimes natural to save the pid from a process
run and later kill it. If doing this with nstool exec, however, it will
kill nstool itself, not the program it is running, which isn't usually what
you want or expect.
Address this by having nstool propagate SIGTERM to its child process. It
may make sense to propagate some other signals, but some introduce extra
complications, so we'll worry about them when and if it seems useful.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.c')
0 files changed, 0 insertions, 0 deletions