mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
Kernel: Move process extra_gids into protected data :^)
This commit is contained in:
parent
cbcf891040
commit
d677a73b0e
5 changed files with 11 additions and 11 deletions
|
@ -50,12 +50,12 @@ KResultOr<pid_t> Process::sys$fork(RegisterState& regs)
|
|||
child->m_fds = m_fds;
|
||||
child->m_pg = m_pg;
|
||||
child->m_umask = m_umask;
|
||||
child->m_extra_gids = m_extra_gids;
|
||||
child->m_signal_trampoline = m_signal_trampoline;
|
||||
|
||||
{
|
||||
MutableProtectedData child_data { *child };
|
||||
child_data->sid = this->sid();
|
||||
child_data->extra_gids = this->extra_gids();
|
||||
}
|
||||
|
||||
dbgln_if(FORK_DEBUG, "fork: child={}", child);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue