Go to the source code of this file.
Defines | |
#define | DevPrint |
#define | Error(N, S) { DbgPrint(#N); DbgPrint(" Error %08lx\n", S); } |
#define | Delay(SECONDS) |
Functions | |
BOOLEAN | SepClientTestStatic (VOID) |
BOOLEAN | SepClientTestDynamic (VOID) |
BOOLEAN | SepClientTestEffectiveOnly (BOOLEAN StaticTest) |
BOOLEAN | SepClientTestNotEffectiveOnly (BOOLEAN StaticTest) |
BOOLEAN | SepClientTestAnonymous (BOOLEAN StaticTest, BOOLEAN EffectiveOnly) |
BOOLEAN | SepClientTestIdentification (BOOLEAN StaticTest, BOOLEAN EffectiveOnly) |
BOOLEAN | SepClientTestImpersonation (BOOLEAN StaticTest, BOOLEAN EffectiveOnly) |
VOID | SepClientConnect (SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, SECURITY_CONTEXT_TRACKING_MODE TrackingMode, BOOLEAN EffectiveOnly) |
VOID | SepClientMakeRemoteCall (VOID) |
VOID | SepClientDropConnection (VOID) |
BOOLEAN | SepClientTest (VOID) |
NTSTATUS | SepClientInitialize () |
BOOLEAN | SepServerTestStatic (VOID) |
BOOLEAN | SepServerTestDynamic (VOID) |
BOOLEAN | SepServerTestEffectiveOnly (BOOLEAN StaticTest) |
BOOLEAN | SepServerTestNotEffectiveOnly (BOOLEAN StaticTest) |
BOOLEAN | SepServerTestAnonymous (BOOLEAN StaticTest, BOOLEAN EffectiveOnly) |
BOOLEAN | SepServerTestIdentification (BOOLEAN StaticTest, BOOLEAN EffectiveOnly) |
BOOLEAN | SepServerTestImpersonation (BOOLEAN StaticTest, BOOLEAN EffectiveOnly) |
VOID | SepServerWaitForNextConnect (VOID) |
VOID | SepServerGetNextMessage (VOID) |
VOID | SepServerCompleteMessage (VOID) |
VOID | SepServerDropConnection (VOID) |
BOOLEAN | SepServerTest (VOID) |
NTSTATUS | SepServerInitialize () |
VOID | SepServerSpawnClientProcess (VOID) |
VOID | SepWritePipe (PSZ String) |
VOID | SepReadPipe (VOID) |
VOID | SepTransceivePipe (PSZ String) |
HANDLE | SepServerCreatePipe (VOID) |
VOID | SepServerListenPipe (VOID) |
VOID | SepServerImpersonatePipe (VOID) |
VOID | SepServerDisconnectPipe (VOID) |
HANDLE | SepClientOpenPipe (VOID) |
BOOLEAN | CtLnpQos (VOID) |
VOID | SepServerImpersonateClient (VOID) |
VOID | SepServerRevertToSelf (VOID) |
VOID | SepReadPipe () |
VOID | SepServerListenPipe () |
VOID | SepServerImpersonatePipe () |
VOID | SepServerDisconnectPipe () |
Variables | |
NTSTATUS | Status |
OBJECT_ATTRIBUTES | ObjectAttributes |
STRING | EventName |
UNICODE_STRING | UnicodeEventName |
HANDLE | EventHandle |
STRING | PortName |
UNICODE_STRING | UnicodePortName |
STRING | RelativePortName |
UNICODE_STRING | UnicodeRelativePortName |
HANDLE | EarPort |
HANDLE | TalkPort |
SECURITY_QUALITY_OF_SERVICE | SecurityQos |
ULONG | RequestCount |
HANDLE | ClientToken |
TOKEN_STATISTICS | ClientTokenStatistics |
ULONG | IgnoreLength |
HANDLE | SepServerThread |
|
Value:
Definition at line 13 of file ctlnpqos.c. Referenced by VdmpDelayInterrupt(). |
|
|
|
Definition at line 1165 of file ctlnpqos.c. References DbgPrint, EventHandle, EventName, FALSE, NT_SUCCESS, NtCreateEvent(), NtTerminateThread(), NULL, ObjectAttributes, PortName, RelativePortName, RtlAnsiStringToUnicodeString(), RtlFreeUnicodeString(), RtlInitString(), SEASSERT_SUCCESS, SepClientInitialize(), SepClientTest(), SepServerInitialize(), SepServerTest(), Status, TRUE, UnicodeEventName, UnicodePortName, and UnicodeRelativePortName. Referenced by Test().
|
|
Definition at line 218 of file ctlnpqos.c. References DevPrint, SecurityQos, SepClientOpenPipe(), and TalkPort.
|
|
Definition at line 252 of file ctlnpqos.c. References NtClose(), SEASSERT_SUCCESS, Status, and TalkPort.
|
|
Definition at line 553 of file ctlnpqos.c. References DbgPrint, EventHandle, NtClose(), NtSetEvent(), NULL, RequestCount, SEASSERT_SUCCESS, and Status. Referenced by CtLnpQos(), and CtLpcQos().
|
|
Definition at line 238 of file ctlnpqos.c. References DevPrint, RequestCount, and SepTransceivePipe().
|
|
Definition at line 1582 of file ctlnpqos.c. References ASSERT, Buffer, COMPLETION_MODE, Error, FALSE, Name, NAMED_PIPE_CONFIGURATION, NT_SUCCESS, NtClose(), NtFsControlFile(), NtOpenFile(), NtSetInformationFile(), NTSTATUS(), NtWaitForSingleObject(), NULL, ObjectAttributes, READ_MODE, RelativePortName, RtlAllocateHeap, RtlAnsiStringToUnicodeString(), RtlFreeUnicodeString(), RtlInitString(), SEASSERT_SUCCESS, SecurityQos, Status, TRUE, and UnicodePortName. Referenced by SepClientConnect().
|
|
Definition at line 502 of file ctlnpqos.c. References DbgPrint, SepClientTestDynamic(), SepClientTestStatic(), and TRUE.
|
|
Definition at line 363 of file ctlnpqos.c. References SepClientConnect(), SepClientDropConnection(), SepClientMakeRemoteCall(), and TRUE.
|
|
Definition at line 288 of file ctlnpqos.c. References FALSE, SepClientTestEffectiveOnly(), SepClientTestNotEffectiveOnly(), and TRUE.
|
|
Definition at line 311 of file ctlnpqos.c. References SepClientTestAnonymous(), SepClientTestIdentification(), SepClientTestImpersonation(), and TRUE.
|
|
Definition at line 412 of file ctlnpqos.c. References SepClientConnect(), SepClientDropConnection(), SepClientMakeRemoteCall(), and TRUE.
|
|
Definition at line 455 of file ctlnpqos.c. References SepClientConnect(), SepClientDropConnection(), SepClientMakeRemoteCall(), and TRUE.
|
|
Definition at line 338 of file ctlnpqos.c. References FALSE, SepClientTestAnonymous(), SepClientTestIdentification(), SepClientTestImpersonation(), and TRUE.
|
|
Definition at line 264 of file ctlnpqos.c. References SepClientTestEffectiveOnly(), SepClientTestNotEffectiveOnly(), and TRUE.
|
|
Definition at line 1258 of file ctlnpqos.c. References Buffer, DevPrint, Error, NT_SUCCESS, NtReadFile(), NtWaitForSingleObject(), NULL, Status, TalkPort, and TRUE. Referenced by SepServerGetNextMessage().
|
|
|
|
Definition at line 626 of file ctlnpqos.c. References DevPrint, and SepWritePipe().
|
|
Definition at line 1377 of file ctlnpqos.c. References COMPLETION_MODE, Error, NAMED_PIPE_CONFIGURATION, NAMED_PIPE_TYPE, NT_SUCCESS, NtCreateNamedPipeFile(), NTSTATUS(), NULL, ObjectAttributes, READ_MODE, RtlFreeUnicodeString(), Status, and UnicodePortName. Referenced by SepServerInitialize().
|
|
Definition at line 1520 of file ctlnpqos.c. References DevPrint, EarPort, Error, NT_SUCCESS, NtClose(), NtFlushBuffersFile(), NtFsControlFile(), NTSTATUS(), NtWaitForSingleObject(), NULL, SEASSERT_SUCCESS, Status, TalkPort, and TRUE. Referenced by SepServerDropConnection().
|
|
|
|
Definition at line 665 of file ctlnpqos.c. References DevPrint, and SepServerDisconnectPipe().
|
|
Definition at line 611 of file ctlnpqos.c. References DevPrint, RequestCount, and SepReadPipe().
|
|
Definition at line 636 of file ctlnpqos.c. References DevPrint, and SepServerImpersonatePipe().
|
|
Definition at line 1482 of file ctlnpqos.c. References DevPrint, Error, NT_SUCCESS, NtFsControlFile(), NTSTATUS(), NtWaitForSingleObject(), NULL, Status, TalkPort, and TRUE. Referenced by SepServerImpersonateClient().
|
|
|
|
Definition at line 1028 of file ctlnpqos.c. References ASSERT, DbgPrint, EarPort, EventHandle, NT_SUCCESS, NtClose(), NtOpenThread(), NtWaitForSingleObject(), NULL, RequestCount, SEASSERT_SUCCESS, SepServerCreatePipe(), SepServerSpawnClientProcess(), SepServerThread, Status, and TRUE. Referenced by CtLnpQos(), and CtLpcQos().
|
|
Definition at line 1443 of file ctlnpqos.c. References DevPrint, EarPort, Error, NT_SUCCESS, NtFsControlFile(), NTSTATUS(), NtWaitForSingleObject(), NULL, Status, and TRUE. Referenced by SepServerWaitForNextConnect().
|
|
|
|
Definition at line 647 of file ctlnpqos.c. References NtSetInformationThread(), NTSTATUS(), NULL, SEASSERT_SUCCESS, and SepServerThread.
|
|
Definition at line 1093 of file ctlnpqos.c. References FALSE, NT_SUCCESS, NtResumeThread(), NULL, RtlAnsiStringToUnicodeString(), RtlCreateProcessParameters(), RtlCreateUserProcess(), RtlDestroyProcessParameters(), RtlFreeUnicodeString(), RtlInitString(), SEASSERT_SUCCESS, Status, and TRUE.
|
|
Definition at line 960 of file ctlnpqos.c. References DbgPrint, SepServerTestDynamic(), SepServerTestStatic(), and TRUE.
|
|
Definition at line 765 of file ctlnpqos.c. References ClientToken, DbgPrint, FALSE, NtOpenThreadToken(), SepServerCompleteMessage(), SepServerDropConnection(), SepServerGetNextMessage(), SepServerImpersonateClient(), SepServerRevertToSelf(), SepServerThread, SepServerWaitForNextConnect(), Status, and TRUE.
|
|
Definition at line 696 of file ctlnpqos.c. References DbgPrint, FALSE, SepServerTestEffectiveOnly(), SepServerTestNotEffectiveOnly(), and TRUE.
|
|
Definition at line 717 of file ctlnpqos.c. References DbgPrint, SepServerTestAnonymous(), SepServerTestIdentification(), SepServerTestImpersonation(), and TRUE.
|
|
Definition at line 831 of file ctlnpqos.c. References ClientToken, ClientTokenStatistics, DbgPrint, FALSE, IgnoreLength, NtOpenThreadToken(), NtQueryInformationToken(), SEASSERT_SUCCESS, SepServerCompleteMessage(), SepServerDropConnection(), SepServerGetNextMessage(), SepServerImpersonateClient(), SepServerRevertToSelf(), SepServerThread, SepServerWaitForNextConnect(), Status, and TRUE.
|
|
Definition at line 893 of file ctlnpqos.c. References ClientToken, ClientTokenStatistics, DbgPrint, FALSE, IgnoreLength, NtOpenThreadToken(), NtQueryInformationToken(), SEASSERT_SUCCESS, SepServerCompleteMessage(), SepServerDropConnection(), SepServerGetNextMessage(), SepServerImpersonateClient(), SepServerRevertToSelf(), SepServerThread, SepServerWaitForNextConnect(), Status, and TRUE.
|
|
Definition at line 741 of file ctlnpqos.c. References DbgPrint, FALSE, SepServerTestAnonymous(), SepServerTestIdentification(), SepServerTestImpersonation(), and TRUE.
|
|
Definition at line 675 of file ctlnpqos.c. References DbgPrint, SepServerTestEffectiveOnly(), SepServerTestNotEffectiveOnly(), and TRUE.
|
|
Definition at line 588 of file ctlnpqos.c. References ASSERT, DevPrint, EarPort, NT_SUCCESS, NtDuplicateObject(), SepServerListenPipe(), Status, and TalkPort.
|
|
Definition at line 1330 of file ctlnpqos.c. References Buffer, DevPrint, Error, NT_SUCCESS, NtFsControlFile(), NTSTATUS(), NtWaitForSingleObject(), NULL, Status, String, strlen(), TalkPort, and TRUE. Referenced by SepClientMakeRemoteCall().
|
|
Definition at line 1293 of file ctlnpqos.c. References DevPrint, Error, NT_SUCCESS, NTSTATUS(), NtWaitForSingleObject(), NtWriteFile(), NULL, Status, String, strlen(), TalkPort, and TRUE. Referenced by SepServerCompleteMessage().
|
|
|
Definition at line 40 of file ctlnpqos.c. Referenced by RtlNewInstanceSecurityObject(), SepServerTestIdentification(), and SepServerTestImpersonation(). |
|
Definition at line 35 of file ctlnpqos.c. Referenced by SepServerDisconnectPipe(), SepServerInitialize(), SepServerListenPipe(), and SepServerWaitForNextConnect(). |
|
Definition at line 30 of file ctlnpqos.c. Referenced by CtLnpQos(), CtLpcQos(), IoCreateNotificationEvent(), IoCreateSynchronizationEvent(), main(), NtClearEvent(), NtCreateEvent(), NtOpenEvent(), NtPulseEvent(), NtQueryEvent(), NtResetEvent(), NtSetEvent(), NtSetSystemInformation(), SepClientInitialize(), and SepServerInitialize(). |
|
Definition at line 28 of file ctlnpqos.c. Referenced by CtLnpQos(), CtLpcQos(), IoCreateNotificationEvent(), and IoCreateSynchronizationEvent(). |
|
Definition at line 41 of file ctlnpqos.c. Referenced by SepServerTestIdentification(), and SepServerTestImpersonation(). |
|
|
Definition at line 31 of file ctlnpqos.c. |
|
Definition at line 33 of file ctlnpqos.c. Referenced by CtLnpQos(), and SepClientOpenPipe(). |
|
Definition at line 38 of file ctlnpqos.c. Referenced by SepClientInitialize(), SepClientMakeRemoteCall(), SepServerGetNextMessage(), and SepServerInitialize(). |
|
Definition at line 37 of file ctlnpqos.c. Referenced by IopParseDevice(), IopParseFile(), NtConnectPort(), NtDuplicateToken(), NtImpersonateThread(), NtSecureConnectPort(), ObpCaptureObjectCreateInformation(), ObpLookupObjectName(), SeFreeCapturedSecurityQos(), SepClientConnect(), and SepClientOpenPipe(). |
|
Definition at line 43 of file ctlnpqos.c. Referenced by SepServerInitialize(), SepServerRevertToSelf(), SepServerTestAnonymous(), SepServerTestIdentification(), and SepServerTestImpersonation(). |
|
Definition at line 26 of file ctlnpqos.c. |
|
Definition at line 36 of file ctlnpqos.c. Referenced by SepClientConnect(), SepClientDropConnection(), SepReadPipe(), SepServerDisconnectPipe(), SepServerImpersonateClient(), SepServerImpersonatePipe(), SepServerWaitForNextConnect(), SepTransceivePipe(), and SepWritePipe(). |
|
Definition at line 29 of file ctlnpqos.c. Referenced by CtLnpQos(), and CtLpcQos(). |
|
Definition at line 32 of file ctlnpqos.c. Referenced by CtLnpQos(), SepClientOpenPipe(), and SepServerCreatePipe(). |
|
Definition at line 34 of file ctlnpqos.c. Referenced by CtLnpQos(). |