mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:47:35 +00:00
Kernel: Forked children should inherit the signal trampoline address
Fixes #5347.
This commit is contained in:
parent
8ee42e47df
commit
68e3616971
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ pid_t Process::sys$fork(RegisterState& regs)
|
|||
child->m_pg = m_pg;
|
||||
child->m_umask = m_umask;
|
||||
child->m_extra_gids = m_extra_gids;
|
||||
child->m_signal_trampoline = m_signal_trampoline;
|
||||
|
||||
dbgln_if(FORK_DEBUG, "fork: child={}", child);
|
||||
child->space().set_enforces_syscall_regions(space().enforces_syscall_regions());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue