diff options
author | Yawning Angel <yawning@schwanenlied.me> | 2015-03-26 14:56:14 +0000 |
---|---|---|
committer | Yawning Angel <yawning@schwanenlied.me> | 2015-03-26 14:56:14 +0000 |
commit | fa81508eb2d9a2a2ea69c2c585735aef7aaff97c (patch) | |
tree | 44816667310992771957819d6801063ac4b9f9be /src/test | |
parent | 732322b710d515a55ebbaa984fa12f19ccb333e8 (diff) | |
download | tor-fa81508eb2d9a2a2ea69c2c585735aef7aaff97c.tar.gz tor-fa81508eb2d9a2a2ea69c2c585735aef7aaff97c.zip |
Use prctl() to have the kernel SIGTERM background processes on exit.
This uses a Linux-ism to attempt to always clean up background processes
if possible. Note that it is not a catch-all, in that executables with
suid/sgid or elevated capabilities will have the prctl() attribute
stripped as part of the execve().
Resolves ticket 15471.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions