test: utseacc.c Source File

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

# utseacc.c

Go to the documentation of this file.

    00001 /*++
    00002
    00003 Copyright (c) 1989  Microsoft Corporation
    00004
    00005 Module Name:
    00006
    00007     utseacc.c
    00008
    00009 Abstract:
    00010
    00011     Security component user-mode test.
    00012
    00013     Test Object Security manipulation and accessibility from user mode.
    00014
    00015 Author:
    00016
    00017     Jim Kelly (JimK) 13-Apr-1990
    00018
    00019 Revision History:
    00020
    00021 --*/
    00022
    00023 #include <nt.h>
    00024 #include <ntrtl.h>
    00025 #include <nturtl.h>
    00026
    00027 #define _TST_USER_      // User mode test
    00028
    00029
    00030 #include "tsevars.c"    // Common test variables
    00031
    00032 #include "ctseacc.c"    // Common accessibility test routines
    00033
    00034
    00035
    00036 BOOLEAN
    00037 Test()
    00038 {
    00039     BOOLEAN Result = TRUE;
    00040
    00041     DbgPrint("Se: Start User Mode Security Test...\n");
    00042
    00043     Result = TSeAcc();
    00044
    00045     DbgPrint("Se: End User Mode Security Test.\n");
    00046
    00047     return Result;
    00048 }
    00049
    00050 NTSTATUS
    00051 __cdecl
    00052 main()
    00053 {
    00054     Test();
    00055
    00056     return STATUS_SUCCESS;
    00057 }