test: ttseacc.c Source File

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

# ttseacc.c

Go to the documentation of this file.

    00001 /*++
    00002
    00003 Copyright (c) 1989  Microsoft Corporation
    00004
    00005 Module Name:
    00006
    00007     ttseacc.c
    00008
    00009 Abstract:
    00010
    00011     Security component kernel-mode test.
    00012
    00013     Test Object Security manipulation and accessibility from kernel mode.
    00014
    00015 Author:
    00016
    00017     Jim Kelly (JimK) 13-Apr-1990
    00018
    00019 Revision History:
    00020
    00021 --*/
    00022
    00023
    00024
    00025 #define _TST_KERNEL_    //Kernel mode test
    00026
    00027 #include <stdio.h>
    00028
    00029 #include "sep.h"
    00030
    00031 #include <zwapi.h>
    00032
    00033 #include "tsevars.c"    // Common test variables
    00034
    00035 #include "ctseacc.c"    // Common accessibility test routines
    00036
    00037
    00038
    00039 BOOLEAN
    00040 Test()
    00041 {
    00042     BOOLEAN Result = TRUE;
    00043
    00044     DbgPrint("Se: Start Kernel Mode Security Test...\n");
    00045
    00046     Result = TSeAcc();
    00047
    00048     DbgPrint("Se: End Kernel Mode Security Test.\n");
    00049
    00050     return Result;
    00051 }
    00052
    00053 int
    00054 main(
    00055     int argc,
    00056     char *argv[]
    00057     )
    00058 {
    00059     VOID KiSystemStartup();
    00060
    00061     TestFunction = Test;
    00062     KiSystemStartup();
    00063     return( 0 );
    00064 }