commit | 7617af6b0754da00c1094215ee7828d6592f8ade | [log] [tgz] |
---|---|---|
author | Andrew G. Morgan <morgan@kernel.org> | Sun Apr 10 15:39:14 2022 -0700 |
committer | Andrew G. Morgan <morgan@kernel.org> | Sun Apr 10 15:39:14 2022 -0700 |
tree | 9ff8aaa7a0d57c6f39280650e4a686aadc183688 | |
parent | fc029cb5170361981b6d971fe56ff60f1ab10b45 [diff] |
Avoid a deadlock in forked psx thread exit. go/captree was seeing lots of libcap_psx_test processes hanging around. It turns out that the newly added _psx_cleanup() function was deadlocking because inside a forked processes the psx_tracker.state was _PSX_INFORK and never _PSX_IDLE. This completes the fix for: https://bugzilla.kernel.org/show_bug.cgi?id=215551 Signed-off-by: Andrew G. Morgan <morgan@kernel.org>