summaryrefslogtreecommitdiffstats
path: root/private/ntos/se/adtvars.c
blob: 834052f29698e7069fbc9b5467850b50b3b03d26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*++

Copyright (c) 1991  Microsoft Corporation

Module Name:

    adtvars.c

Abstract:

    Auditing - Private Variables

Author:

    Scott Birrell       (ScottBi)       November 14, 1991

Environment:

    Kernel Mode only

Revision History:

--*/

#include <nt.h>
#include <ntos.h>
#include "sep.h"
#include "adt.h"
#include "adtp.h"


//
// Auditing State.  This contains the Auditing Mode and the array of
// Event Auditing Options
//

POLICY_AUDIT_EVENTS_INFO SepAdtState;

//
// Audit Log Information
//

POLICY_AUDIT_LOG_INFO SepAdtLogInformation;

//
// High and low water marks to control the length of the audit queue
// These are initialized to their default values in case we can't get
// them out of the registry.
//

ULONG SepAdtMaxListLength = 0x3000;
ULONG SepAdtMinListLength = 0x2000;

ULONG SepAdtCurrentListLength = 0;

//
// Number of events discarded
//

ULONG SepAdtCountEventsDiscarded = 0;

BOOLEAN SepAdtDiscardingAudits = FALSE;