mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
Kernel: Clear unveiled state on exec()
This commit is contained in:
parent
cf48c20170
commit
22cfb1f3bd
1 changed files with 3 additions and 0 deletions
|
@ -860,6 +860,9 @@ int Process::do_exec(NonnullRefPtr<FileDescription> main_program_description, Ve
|
|||
|
||||
m_promises = m_execpromises;
|
||||
|
||||
m_unveil_state = UnveilState::None;
|
||||
m_unveiled_paths.clear();
|
||||
|
||||
// Copy of the master TLS region that we will clone for new threads
|
||||
m_master_tls_region = master_tls_region;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue