mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
Kernel: Inherit the dumpable flag on sys$fork()
This regressed at some point recently. All children were non-dumpable until manually opting into it.
This commit is contained in:
parent
1608ef37d8
commit
49a0f40ff0
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ KResultOr<pid_t> Process::sys$fork(RegisterState& regs)
|
|||
child->m_extra_gids = m_extra_gids;
|
||||
child->m_umask = m_umask;
|
||||
child->m_signal_trampoline = m_signal_trampoline;
|
||||
child->m_dumpable = m_dumpable;
|
||||
}
|
||||
|
||||
dbgln_if(FORK_DEBUG, "fork: child={}", child);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue