未验证 提交 f8f34323 编写于 作者: O openharmony_ci 提交者: Gitee

!2135 fix:解决僵尸问题

Merge pull request !2135 from cheng_jinsong/initsignal
......@@ -93,8 +93,6 @@ static int FdHolderSockInit(void)
void SystemInit(void)
{
SignalInit();
// Set up a session keyring that all processes will have access to.
KeyCtrlGetKeyringId(KEY_SPEC_SESSION_KEYRING, 1);
......@@ -413,6 +411,9 @@ void SystemConfig(void)
PluginExecCmdByName("loadSelinuxPolicy", "");
RecordInitBootEvent("init.prepare");
// after selinux loaded
SignalInit();
RecordInitBootEvent("init.ParseCfg");
LoadSpecialParam();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册