Kernel: Clear unveiled state on exec()

This commit is contained in:
Andreas Kling 2020-01-21 10:46:31 +01:00
commit 22cfb1f3bd
Notes: sideshowbarker 2024-07-19 09:55:54 +09:00

View file

@ -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;