diff --git a/Kernel/Syscalls/unveil.cpp b/Kernel/Syscalls/unveil.cpp index 77dca0fa74..b76bb9aa62 100644 --- a/Kernel/Syscalls/unveil.cpp +++ b/Kernel/Syscalls/unveil.cpp @@ -116,6 +116,7 @@ KResultOr Process::sys$unveil(Userspace u update_intermediate_node_permissions(matching_node, (UnveilAccess)new_permissions); matching_node.set_metadata({ matching_node.path(), (UnveilAccess)new_permissions, true }); + m_veil_state = VeilState::Dropped; return 0; }