diff --git a/src/windows-emulator/syscalls.cpp b/src/windows-emulator/syscalls.cpp index 683ae614..35fbec27 100644 --- a/src/windows-emulator/syscalls.cpp +++ b/src/windows-emulator/syscalls.cpp @@ -155,6 +155,7 @@ namespace syscalls NTSTATUS handle_NtSetInformationObject(); NTSTATUS handle_NtQuerySecurityObject(const syscall_context& c, handle /*h*/, SECURITY_INFORMATION /*security_information*/, emulator_pointer security_descriptor, ULONG length, emulator_object length_needed); + NTSTATUS handle_NtSetSecurityObject(); // syscalls/port.cpp: NTSTATUS handle_NtConnectPort(const syscall_context& c, emulator_object client_port_handle, @@ -1180,6 +1181,7 @@ void syscall_dispatcher::add_handlers(std::map& ha add_handler(NtReleaseWorkerFactoryWorker); add_handler(NtAlpcCreateSecurityContext); add_handler(NtAlpcDeleteSecurityContext); + add_handler(NtSetSecurityObject); #undef add_handler } diff --git a/src/windows-emulator/syscalls/object.cpp b/src/windows-emulator/syscalls/object.cpp index c1b9e5d4..5399e578 100644 --- a/src/windows-emulator/syscalls/object.cpp +++ b/src/windows-emulator/syscalls/object.cpp @@ -386,4 +386,9 @@ namespace syscalls return STATUS_SUCCESS; } + + NTSTATUS handle_NtSetSecurityObject() + { + return STATUS_SUCCESS; + } }