mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 17:37:00 +02:00
When a process executes another program, its unveil state is reset. For this, we not only need to clear all nodes from m_unveiled_paths, but also reset the metadata of m_unveiled_paths (the root node) itself. This fixes the following bug: 1) A process unveils "/", then executes another program. 2) That other program also unveils some path. 3) "/" is now unveiled for the new program.
37 KiB
37 KiB