mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
Kernel: Clear unveiled state on exec()
This commit is contained in:
parent
cf48c20170
commit
22cfb1f3bd
Notes:
sideshowbarker
2024-07-19 09:55:54 +09:00
Author: https://github.com/awesomekling
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