- Move NtAllocateUuids from the Security Reference Monitor to the Executive.

- Update NtAllocateUuids to W2K signature.
- Add NtSetUuidSeed.

svn path=/trunk/; revision=11628
This commit is contained in:
Eric Kohl 2004-11-12 12:06:54 +00:00
parent 55b37c64ca
commit 7cd6c44a8a
6 changed files with 26 additions and 28 deletions

View file

@ -8,7 +8,7 @@ NtAdjustPrivilegesToken ZwAdjustPrivilegesToken 6
NtAlertResumeThread ZwAlertResumeThread 2 NtAlertResumeThread ZwAlertResumeThread 2
NtAlertThread ZwAlertThread 1 NtAlertThread ZwAlertThread 1
NtAllocateLocallyUniqueId ZwAllocateLocallyUniqueId 1 NtAllocateLocallyUniqueId ZwAllocateLocallyUniqueId 1
NtAllocateUuids ZwAllocateUuids 3 NtAllocateUuids ZwAllocateUuids 4
NtAllocateVirtualMemory ZwAllocateVirtualMemory 6 NtAllocateVirtualMemory ZwAllocateVirtualMemory 6
NtAssignProcessToJobObject ZwAssignProcessToJobObject 2 NtAssignProcessToJobObject ZwAssignProcessToJobObject 2
NtCallbackReturn ZwCallbackReturn 3 NtCallbackReturn ZwCallbackReturn 3
@ -202,6 +202,7 @@ NtSetSystemPowerState ZwSetSystemPowerState 3
NtSetSystemTime ZwSetSystemTime 2 NtSetSystemTime ZwSetSystemTime 2
NtSetTimer ZwSetTimer 7 NtSetTimer ZwSetTimer 7
NtSetTimerResolution ZwSetTimerResolution 3 NtSetTimerResolution ZwSetTimerResolution 3
NtSetUuidSeed ZwSetUuidSeed 1
NtSetValueKey ZwSetValueKey 6 NtSetValueKey ZwSetValueKey 6
NtSetVolumeInformationFile ZwSetVolumeInformationFile 5 NtSetVolumeInformationFile ZwSetVolumeInformationFile 5
NtShutdownSystem ZwShutdownSystem 1 NtShutdownSystem ZwShutdownSystem 1

View file

@ -1,5 +1,5 @@
/* $Id: zw.h,v 1.34 2004/10/24 20:37:26 weiden Exp $ /* $Id: zw.h,v 1.35 2004/11/12 12:06:17 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -5765,17 +5765,19 @@ ZwAddAtom(
NTSTATUS NTSTATUS
STDCALL STDCALL
NtAllocateUuids( NtAllocateUuids(
PULARGE_INTEGER Time, OUT PULARGE_INTEGER Time,
PULONG Range, OUT PULONG Range,
PULONG Sequence OUT PULONG Sequence,
OUT PUCHAR Seed
); );
NTSTATUS NTSTATUS
STDCALL STDCALL
ZwAllocateUuids( ZwAllocateUuids(
PULARGE_INTEGER Time, OUT PULARGE_INTEGER Time,
PULONG Range, OUT PULONG Range,
PULONG Sequence OUT PULONG Sequence,
OUT PUCHAR Seed
); );
NTSTATUS NTSTATUS
@ -6333,6 +6335,12 @@ ZwSetTimer(
OUT PBOOLEAN PreviousState OPTIONAL OUT PBOOLEAN PreviousState OPTIONAL
); );
NTSTATUS STDCALL
NtSetUuidSeed(IN PUCHAR Seed);
NTSTATUS STDCALL
ZwSetUuidSeed(IN PUCHAR Seed);
/* /*
* FUNCTION: Unloads a registry key. * FUNCTION: Unloads a registry key.
* ARGUMENTS: * ARGUMENTS:

View file

@ -1,4 +1,4 @@
; $Id: ntdll.def,v 1.133 2004/11/07 13:08:24 hyperion Exp $ ; $Id: ntdll.def,v 1.134 2004/11/12 12:06:54 ekohl Exp $
; ;
; ReactOS Operating System ; ReactOS Operating System
; ;
@ -65,7 +65,7 @@ NtAdjustPrivilegesToken@24
NtAlertResumeThread@8 NtAlertResumeThread@8
NtAlertThread@4 NtAlertThread@4
NtAllocateLocallyUniqueId@4 NtAllocateLocallyUniqueId@4
NtAllocateUuids@12 NtAllocateUuids@16
NtAllocateVirtualMemory@24 NtAllocateVirtualMemory@24
NtAssignProcessToJobObject@8 NtAssignProcessToJobObject@8
NtCallbackReturn@12 NtCallbackReturn@12
@ -252,6 +252,7 @@ NtSetSystemPowerState@12
NtSetSystemTime@8 NtSetSystemTime@8
NtSetTimer@28 NtSetTimer@28
NtSetTimerResolution@12 NtSetTimerResolution@12
NtSetUuidSeed@4
NtSetValueKey@24 NtSetValueKey@24
NtSetVolumeInformationFile@20 NtSetVolumeInformationFile@20
NtShutdownSystem@4 NtShutdownSystem@4
@ -691,7 +692,7 @@ ZwAdjustPrivilegesToken@24
ZwAlertResumeThread@8 ZwAlertResumeThread@8
ZwAlertThread@4 ZwAlertThread@4
ZwAllocateLocallyUniqueId@4 ZwAllocateLocallyUniqueId@4
ZwAllocateUuids@12 ZwAllocateUuids@16
ZwAllocateVirtualMemory@24 ZwAllocateVirtualMemory@24
ZwCallbackReturn@12 ZwCallbackReturn@12
ZwCancelIoFile@8 ZwCancelIoFile@8
@ -870,6 +871,7 @@ ZwSetSystemPowerState@12
ZwSetSystemTime@8 ZwSetSystemTime@8
ZwSetTimer@28 ZwSetTimer@28
ZwSetTimerResolution@12 ZwSetTimerResolution@12
ZwSetUuidSeed@4
ZwSetValueKey@24 ZwSetValueKey@24
ZwSetVolumeInformationFile@20 ZwSetVolumeInformationFile@20
ZwShutdownSystem@4 ZwShutdownSystem@4

View file

@ -260,6 +260,7 @@ OBJECTS_EX = \
ex/sysinfo.o \ ex/sysinfo.o \
ex/time.o \ ex/time.o \
ex/util.o \ ex/util.o \
ex/uuid.o \
ex/win32k.o \ ex/win32k.o \
ex/work.o \ ex/work.o \
ex/zone.o ex/zone.o

View file

@ -1,4 +1,4 @@
; $Id: ntoskrnl.def,v 1.199 2004/11/07 22:55:37 navaraf Exp $ ; $Id: ntoskrnl.def,v 1.200 2004/11/12 12:05:27 ekohl Exp $
; ;
; reactos/ntoskrnl/ntoskrnl.def ; reactos/ntoskrnl/ntoskrnl.def
; ;
@ -767,7 +767,7 @@ NtAddAtom@12
NtAdjustPrivilegesToken@24 NtAdjustPrivilegesToken@24
NtAlertThread@4 NtAlertThread@4
NtAllocateLocallyUniqueId@4 NtAllocateLocallyUniqueId@4
NtAllocateUuids@12 NtAllocateUuids@16
NtAllocateVirtualMemory@24 NtAllocateVirtualMemory@24
NtBuildNumber DATA NtBuildNumber DATA
NtClose@4 NtClose@4

View file

@ -1,4 +1,4 @@
/* $Id: semgr.c,v 1.49 2004/10/24 15:26:14 weiden Exp $ /* $Id: semgr.c,v 1.50 2004/11/12 12:05:05 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -190,20 +190,6 @@ VOID SepDeReferenceLogonSession(PLUID AuthenticationId)
} }
/*
* @unimplemented
*/
NTSTATUS STDCALL
NtAllocateUuids(PULARGE_INTEGER Time,
PULONG Range,
PULONG Sequence)
{
UNIMPLEMENTED;
return(STATUS_NOT_IMPLEMENTED);
}
/* /*
* @implemented * @implemented
*/ */