windows-nt/Source/XPSP1/NT/base/ntos/se/adtvars.c

73 lines
1.1 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
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 "pch.h"
#pragma hdrstop
#ifdef ALLOC_DATA_PRAGMA
#pragma data_seg("PAGEDATA")
#endif
//
// 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 = {0};
//
// 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;
//
// see note in adtp.h regarding SEP_AUDIT_OPTIONS
//
SEP_AUDIT_OPTIONS SepAuditOptions = { 0 };
PKEVENT SepAdtLsaDeadEvent = NULL;