mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 05:22:57 +00:00
* ntoskrnl/include/internal/safe.h: Add definitions for handling
potentially unsafe pointers. svn path=/trunk/; revision=1699
This commit is contained in:
parent
3744b5d4cf
commit
22dc9e2a5e
2 changed files with 17 additions and 0 deletions
|
@ -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>
|
2001-03-16 David Welch <welch@cwcom.net>
|
||||||
|
|
||||||
* ntoskrnl/include/internal/mm.h: Removed MmSafeCopyToUser and
|
* ntoskrnl/include/internal/mm.h: Removed MmSafeCopyToUser and
|
||||||
|
|
12
reactos/ntoskrnl/include/internal/safe.h
Normal file
12
reactos/ntoskrnl/include/internal/safe.h
Normal 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 */
|
Loading…
Add table
Add a link
Reference in a new issue