Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ttsertl.c

Go to the documentation of this file.
00001 /*++ 00002 00003 Copyright (c) 1989 Microsoft Corporation 00004 00005 Module Name: 00006 00007 ttsertl.c 00008 00009 Abstract: 00010 00011 Kernel mode test of security rtl routines. 00012 00013 00014 00015 Author: 00016 00017 Jim Kelly (JimK) 23-Mar-1990 00018 00019 Environment: 00020 00021 Test of security. 00022 00023 Revision History: 00024 00025 --*/ 00026 00027 #ifndef _SERTL_DEBUG_ 00028 #define _SERTL_DEBUG_ 00029 #endif 00030 00031 #define _TST_KERNEL_ //Kernel mode test 00032 00033 #include <stdio.h> 00034 00035 #include "sep.h" 00036 00037 #include <zwapi.h> 00038 00039 #include "tsevars.c" // Common test variables 00040 00041 #include "ctsertl.c" // Common RTL test routines 00042 00043 00044 BOOLEAN SeRtlTest(); 00045 00046 int 00047 main( 00048 int argc, 00049 char *argv[] 00050 ) 00051 { 00052 VOID KiSystemStartup(); 00053 00054 TestFunction = SeRtlTest; 00055 KiSystemStartup(); 00056 return( 0 ); 00057 } 00058 00059 00060 BOOLEAN 00061 SeRtlTest() 00062 { 00063 00064 BOOLEAN Result; 00065 00066 DbgPrint("Se: Start Kernel Mode RTL Test...\n"); 00067 00068 Result = TestSeRtl(); 00069 00070 if (!Result) { 00071 DbgPrint("Se: ** Kernel Mode RTL Test Failed **\n"); 00072 } 00073 DbgPrint("Se: End Kernel Mode RTL Test.\n"); 00074 return Result; 00075 } 00076 

Generated on Sat May 15 19:42:09 2004 for test by doxygen 1.3.7