未验证 提交 ef91876e 编写于 作者: S Shell 提交者: GitHub

[smart] fix the setup of fake lwp in sys_execve (#7855)

上级 ff0c1482
......@@ -2514,8 +2514,9 @@ sysret_t sys_execve(const char *path, char *const argv[], char *const envp[])
rt_hw_interrupt_enable(level);
/* setup the signal for the dummy lwp, so that is can be smoothly recycled */
/* setup the signal, timer_list for the dummy lwp, so that is can be smoothly recycled */
lwp_signal_init(&new_lwp->signal);
rt_list_init(&new_lwp->timer);
lwp_ref_dec(new_lwp);
arch_start_umode(lwp->args,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册