test: adtvars.c Source File

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

# adtvars.c

Go to the documentation of this file.

    00001 /*++
    00002
    00003 Copyright (c) 1991  Microsoft Corporation
    00004
    00005 Module Name:
    00006
    00007     adtvars.c
    00008
    00009 Abstract:
    00010
    00011     Auditing - Private Variables
    00012
    00013 Author:
    00014
    00015     Scott Birrell       (ScottBi)       November 14, 1991
    00016
    00017 Environment:
    00018
    00019     Kernel Mode only
    00020
    00021 Revision History:
    00022
    00023 --*/
    00024
    00025 #include <nt.h>
    00026 #include <ntos.h>
    00027 #include "sep.h"
    00028 #include "adt.h"
    00029 #include "adtp.h"
    00030
    00031
    00032 //
    00033 // Auditing State.  This contains the Auditing Mode and the array of
    00034 // Event Auditing Options
    00035 //
    00036
    00037 POLICY_AUDIT_EVENTS_INFO SepAdtState;
    00038
    00039 //
    00040 // Audit Log Information
    00041 //
    00042
    00043 POLICY_AUDIT_LOG_INFO SepAdtLogInformation;
    00044
    00045 //
    00046 // High and low water marks to control the length of the audit queue
    00047 // These are initialized to their default values in case we can't get
    00048 // them out of the registry.
    00049 //
    00050
    00051 ULONG SepAdtMaxListLength = 0x3000;
    00052 ULONG SepAdtMinListLength = 0x2000;
    00053
    00054 ULONG SepAdtCurrentListLength = 0;
    00055
    00056 //
    00057 // Number of events discarded
    00058 //
    00059
    00060 ULONG SepAdtCountEventsDiscarded = 0;
    00061
    00062 BOOLEAN SepAdtDiscardingAudits = FALSE;
    00063
    00064 //
    00065 // see note in adtp.h regarding SEP_AUDIT_OPTIONS
    00066 //
    00067 SEP_AUDIT_OPTIONS SepAuditOptions = { 0 };
    00068