mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 09:51:03 +08:00
[SMSS] Use the appropriate security descriptor when creating the LPC port
This commit is contained in:
@@ -2441,7 +2441,7 @@ SmpInit(IN PUNICODE_STRING InitialCommand,
|
||||
|
||||
/* Create the SM API Port */
|
||||
RtlInitUnicodeString(&PortName, L"\\SmApiPort");
|
||||
InitializeObjectAttributes(&ObjectAttributes, &PortName, 0, NULL, NULL);
|
||||
InitializeObjectAttributes(&ObjectAttributes, &PortName, 0, NULL, SmpApiPortSecurityDescriptor);
|
||||
Status = NtCreatePort(&PortHandle,
|
||||
&ObjectAttributes,
|
||||
sizeof(SB_CONNECTION_INFO),
|
||||
|
||||
Reference in New Issue
Block a user