Fix NtOpenSection

This commit is contained in:
Igor Pissolati
2025-04-19 16:29:47 -03:00
parent 30a750dea5
commit 5d19803020

View File

@@ -82,7 +82,8 @@ namespace syscalls
return STATUS_NOT_SUPPORTED;
}
if (attributes.RootDirectory != KNOWN_DLLS_DIRECTORY)
if (attributes.RootDirectory != KNOWN_DLLS_DIRECTORY &&
attributes.RootDirectory != BASE_NAMED_OBJECTS_DIRECTORY)
{
c.win_emu.log.error("Unsupported section\n");
c.emu.stop();