mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 21:05:06 +00:00
Kernel: Forked children should inherit unveil()'ed paths
This commit is contained in:
parent
d8357ceb26
commit
cf48c20170
1 changed files with 2 additions and 0 deletions
|
@ -639,6 +639,8 @@ pid_t Process::sys$fork(RegisterDump& regs)
|
|||
child->m_root_directory_relative_to_global_root = m_root_directory_relative_to_global_root;
|
||||
child->m_promises = m_promises;
|
||||
child->m_execpromises = m_execpromises;
|
||||
child->m_unveil_state = m_unveil_state;
|
||||
child->m_unveiled_paths = m_unveiled_paths;
|
||||
|
||||
#ifdef FORK_DEBUG
|
||||
dbgprintf("fork: child=%p\n", child);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue