]> git.ipfire.org Git - thirdparty/systemd.git/commit
main: log which process send SIGNAL to PID1
authorlicunlong <licunlong1@huawei.com>
Tue, 8 Mar 2022 11:18:36 +0000 (19:18 +0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Mar 2022 15:09:46 +0000 (00:09 +0900)
commit7347b3db838ea3f02afc6c8a6dccac1ff8e7edbd
tree189687ba7afe617fbe6d3354c5d0c5196124425b
parent4db62561c2a7c762f83e38f57ccc0a8ab6a662a8
main: log which process send SIGNAL to PID1
This can help users to figure out what makes systemd freeze.
1. Someone kills systemd accidentally, then the sender_pid won't be 1;
2. systemd triggers segfault or assert, then the sender_pid will be 1;
src/core/main.c