#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <stdio.h>
#include <string.h>
#include "tsevars.c"
#include "tsecomm.c"
Go to the source code of this file.
Defines | |
#define | _TST_USER_ |
#define | PrintGuid(G) |
#define | BUFFER_SIZE (2048) |
Functions | |
VOID | DisplaySecurityContext (IN HANDLE TokenHandle) |
VOID | DisplayAccountSid (PISID Sid) |
BOOLEAN | SidTranslation (PSID Sid, PSTRING AccountName) |
BOOLEAN | DisplayPrivilegeName (PLUID Privilege) |
VOID | DisplayPrivilege (PLUID_AND_ATTRIBUTES Privilege) |
BOOLEAN | main () |
Variables | |
GUID | SystemAuthenticationId = SYSTEM_GUID |
|
|
|
|
|
Value:
Definition at line 66 of file uipers.c. Referenced by DisplaySecurityContext(). |
|
Definition at line 131 of file uipers.c. References Buffer, SidTranslation(), and USHORT. Referenced by DisplaySecurityContext(), and PrintAcl().
|
|
Definition at line 303 of file uipers.c. References DisplayPrivilegeName(). Referenced by DisplaySecurityContext().
|
|
Definition at line 184 of file uipers.c. References AssignPrimaryTokenPrivilege, BackupPrivilege, CreatePagefilePrivilege, CreatePermanentPrivilege, CreateTokenPrivilege, DebugPrivilege, FALSE, IncreaseBasePriorityPrivilege, IncreaseQuotaPrivilege, LockMemoryPrivilege, ProfileSingleProcessPrivilege, RestorePrivilege, SecurityPrivilege, ShutdownPrivilege, SystemProfilePrivilege, SystemtimePrivilege, TakeOwnershipPrivilege, TcbPrivilege, TRUE, and UnsolicitedInputPrivilege. Referenced by DisplayPrivilege().
|
|
Definition at line 345 of file uipers.c. References ASSERT, Buffer, BUFFER_SIZE, DisplayAccountSid(), DisplayPrivilege(), NT_SUCCESS, NtQueryInformationToken(), NTSTATUS(), PrintGuid, Status, and SystemAuthenticationId. Referenced by main().
|
|
Definition at line 543 of file uipers.c. References DisplaySecurityContext(), FALSE, NT_SUCCESS, NtClose(), NtOpenProcessToken(), NTSTATUS(), ProcessToken, Status, TRUE, and TSeVariableInitialization().
|
|
Definition at line 390 of file rtdmpsec.c. References BatchSid, FALSE, InteractiveSid, LocalSid, LocalSystemSid, NetworkSid, RtlEqualSid(), RtlInitString(), TRUE, and WorldSid. Referenced by DisplayAccountSid().
|
|
|