rapid7/metasploit-framework — pull request #792 by mephos (2012-09-16 18:20:04+00:00)
Title: [posix meterpreter] Various fixes for pre-NPTL threads and zombie reaper

various fixes for the pre-NPTL zombie reaper :

create it before the scheduler and destroy it after
every zombie, including the zombie reaper itself and the scheduler thread zombie, should be reaped and not left on the system