aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2022-06-21 17:39:51 +0000
committerEric W. Biederman <[email protected]>2022-07-20 15:21:52 +0000
commitcbe9dac379047730e39c7e570eddd27124b0d2dc (patch)
tree60eec1ecd31be1381b3332ee82936719a28ccf19 /net/unix/af_unix.c
parentLinux 5.19-rc7 (diff)
downloadkernel-cbe9dac379047730e39c7e570eddd27124b0d2dc.tar.gz
kernel-cbe9dac379047730e39c7e570eddd27124b0d2dc.zip
signal: Ensure SIGNAL_GROUP_EXIT gets set in do_group_exit
The function do_group_exit has an optimization that avoids taking siglock and doing the work to find other threads in the signal group and shutting them down. It is very desirable for SIGNAL_GROUP_EXIT to always been set whenever it is decided for the process to exit. That ensures only a single place needs to be tested, and a single bit of state needs to be looked at. This makes the optimization in do_group_exit counter productive. Make the code and maintenance simpler by removing this unnecessary option. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions