* ntoskrnl/include/internal/safe.h: Add definitions for handling

potentially unsafe pointers.

svn path=/trunk/; revision=1699
This commit is contained in:
David Welch 2001-03-16 09:53:28 +00:00
parent 3744b5d4cf
commit 22dc9e2a5e
2 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2001-03-16 David Welch <welch@cwcom.net>
* ntoskrnl/include/internal/safe.h: Add definitions for handling
potentially unsafe pointers.
2001-03-16 David Welch <welch@cwcom.net>
* ntoskrnl/include/internal/mm.h: Removed MmSafeCopyToUser and

View file

@ -0,0 +1,12 @@
#ifndef __NTOSKRNL_INCLUDE_INTERNAL_SAFE_H
#define __NTOSKRNL_INCLUDE_INTERNAL_SAFE_H
NTSTATUS MmSafeCopyFromUser(PVOID Dest, PVOID Src, ULONG NumberOfBytes);
NTSTATUS MmSafeCopyToUser(PVOID Dest, PVOID Src, ULONG NumberOfBytes);
NTSTATUS
MmCopyFromCaller(PVOID Dest, PVOID Src, ULONG NumberOfBytes);
NTSTATUS
MmCopyToCaller(PVOID Dest, PVOID Src, ULONG NumberOfBytes)
#endif /* __NTOSKRNL_INCLUDE_INTERNAL_SAFE_Hb */