⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userland.c

📁 臭氧层主动防御系统驱动源代码!臭氧层主动防御系统驱动源代码!
💻 C
字号:
/*
 * Copyright (c) 2004 Security Architects Corporation. All rights reserved.
 *
 * Module Name:
 *
 *		userland.c
 *
 * Abstract:
 *
 *		This module defines various types routines used to interact with userland agent service.
 *
 * Author:
 *
 *		Eugene Tsyrklevich 18-Apr-2004
 *
 * Revision History:
 *
 *		None.
 */


#include "userland.h"
#include "procname.h"
#include "process.h"


#ifdef ALLOC_PRAGMA
#pragma alloc_text (INIT, InitUserland)
#pragma alloc_text (PAGE, ShutdownUserland)
#pragma alloc_text (PAGE, UserlandPostBootup)
#endif


BOOLEAN						ActiveUserAgent = FALSE;

PKEVENT						UserlandRequestUserEvent = NULL;
HANDLE						UserlandRequestUserEventHandle = NULL;

PUSERLAND_REQUEST_HEADER	UserlandRequestList = NULL;
KSPIN_LOCK					gUserlandRequestListSpinLock;

BOOLEAN						CacheSid = TRUE;
ULONG						CachedSidSize = 0, CachedSidReplySize = 0;
PVOID						CachedSid = NULL;
PSID_RESOLVE_REPLY			CachedSidReply = NULL;

UCHAR						SeqId = 0;	/* global sequence id used for matching up userland requests & replies */



/*
 * UserlandPostBootup()
 *
 * Description:
 *		Initializes userland related data once computer is done booting up.
 *
 *		\BaseNamedObjects object directory is not created until the Win32

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -