mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOSKRNL] Add missed _SEH2_YIELD's
svn path=/trunk/; revision=72788
This commit is contained in:
parent
f250bb4eb6
commit
fdef947fd3
5 changed files with 10 additions and 10 deletions
|
@ -105,7 +105,7 @@ KdpSysReadMsr(IN ULONG Msr,
|
|||
{
|
||||
_SEH2_YIELD(return STATUS_NO_SUCH_DEVICE);
|
||||
}
|
||||
_SEH2_END
|
||||
_SEH2_END;
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ KdpSysWriteMsr(IN ULONG Msr,
|
|||
{
|
||||
_SEH2_YIELD(return STATUS_NO_SUCH_DEVICE);
|
||||
}
|
||||
_SEH2_END
|
||||
_SEH2_END;
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
|
|
@ -229,7 +229,7 @@ KiPrepareUserDebugData(void)
|
|||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
}
|
||||
_SEH2_END
|
||||
_SEH2_END;
|
||||
}
|
||||
|
||||
VOID
|
||||
|
|
|
@ -746,7 +746,7 @@ NtRequestWaitReplyPort(IN HANDLE PortHandle,
|
|||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("LpcpVerifyMessageDataInfo failed\n");
|
||||
return Status;
|
||||
_SEH2_YIELD(return Status);
|
||||
}
|
||||
}
|
||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
|
@ -861,7 +861,7 @@ NtRequestWaitReplyPort(IN HANDLE PortHandle,
|
|||
ObDereferenceObject(Port);
|
||||
DPRINT1("NumberOfEntries has changed: %u, %u\n",
|
||||
DataInfo->NumberOfEntries, NumberOfDataEntries);
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
_SEH2_YIELD(return STATUS_INVALID_PARAMETER);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1101,7 +1101,7 @@ NtOpenObjectAuditAlarm(
|
|||
if (PrivilegeCount > SEP_PRIVILEGE_SET_MAX_COUNT)
|
||||
{
|
||||
Status = STATUS_INVALID_PARAMETER;
|
||||
goto Cleanup;
|
||||
_SEH2_YIELD(goto Cleanup);
|
||||
}
|
||||
|
||||
/* Calculate the size of the PrivilegeSet structure */
|
||||
|
@ -1118,7 +1118,7 @@ NtOpenObjectAuditAlarm(
|
|||
{
|
||||
DPRINT1("Failed to allocate %u bytes\n", PrivilegeSetSize);
|
||||
Status = STATUS_INSUFFICIENT_RESOURCES;
|
||||
goto Cleanup;
|
||||
_SEH2_YIELD(goto Cleanup);
|
||||
}
|
||||
|
||||
/* Copy the privileges */
|
||||
|
@ -1324,7 +1324,7 @@ NtPrivilegedServiceAuditAlarm(
|
|||
if (PrivilegeCount > SEP_PRIVILEGE_SET_MAX_COUNT)
|
||||
{
|
||||
Status = STATUS_INVALID_PARAMETER;
|
||||
goto Cleanup;
|
||||
_SEH2_YIELD(goto Cleanup);
|
||||
}
|
||||
|
||||
/* Calculate the size of the Privileges structure */
|
||||
|
@ -1341,7 +1341,7 @@ NtPrivilegedServiceAuditAlarm(
|
|||
{
|
||||
DPRINT1("Failed to allocate %u bytes\n", PrivilegesSize);
|
||||
Status = STATUS_INSUFFICIENT_RESOURCES;
|
||||
goto Cleanup;
|
||||
_SEH2_YIELD(goto Cleanup);
|
||||
}
|
||||
|
||||
/* Copy the privileges */
|
||||
|
|
|
@ -528,7 +528,7 @@ SeCaptureSecurityDescriptor(
|
|||
{
|
||||
_SEH2_YIELD(return _SEH2_GetExceptionCode());
|
||||
}
|
||||
_SEH2_END
|
||||
_SEH2_END;
|
||||
|
||||
/*
|
||||
* Allocate enough memory to store a complete copy of a self-relative
|
||||
|
|
Loading…
Reference in a new issue