ReactOS 0.4.16-dev-303-g11d5cb8
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Variables | |
PTOKEN | PspBootAccessToken |
#define NDEBUG |
Definition at line 14 of file security.c.
NTSTATUS NTAPI NtImpersonateThread | ( | IN HANDLE | ThreadHandle, |
IN HANDLE | ThreadToImpersonateHandle, | ||
IN PSECURITY_QUALITY_OF_SERVICE | SecurityQualityOfService | ||
) |
Definition at line 1036 of file security.c.
Referenced by CsrImpersonateClient().
NTSTATUS NTAPI NtOpenProcessToken | ( | IN HANDLE | ProcessHandle, |
IN ACCESS_MASK | DesiredAccess, | ||
OUT PHANDLE | TokenHandle | ||
) |
Definition at line 350 of file security.c.
Referenced by CheckTokenMembership(), CsrGetProcessLuid(), CsrSetProcessSecurity(), GetCallerLuid(), GetToken(), GetTokenProcess(), LsapIsTrustedClient(), OpenProcessToken(), RtlCreateUserSecurityObject(), RtlDefaultNpAcl(), SmpAcquirePrivilege(), START_TEST(), and test8().
NTSTATUS NTAPI NtOpenProcessTokenEx | ( | IN HANDLE | ProcessHandle, |
IN ACCESS_MASK | DesiredAccess, | ||
IN ULONG | HandleAttributes, | ||
OUT PHANDLE | TokenHandle | ||
) |
Definition at line 366 of file security.c.
Referenced by NtOpenProcessToken(), and START_TEST().
Definition at line 502 of file security.c.
Referenced by NtSetInformationThread().
VOID NTAPI PsDereferenceImpersonationToken | ( | IN PACCESS_TOKEN | ImpersonationToken | ) |
Definition at line 910 of file security.c.
VOID NTAPI PsDereferencePrimaryToken | ( | IN PACCESS_TOKEN | PrimaryToken | ) |
Definition at line 924 of file security.c.
BOOLEAN NTAPI PsDisableImpersonation | ( | IN PETHREAD | Thread, |
OUT PSE_IMPERSONATION_STATE | ImpersonationState | ||
) |
Definition at line 937 of file security.c.
Referenced by NtOpenThreadTokenEx().
NTSTATUS NTAPI PsImpersonateClient | ( | IN PETHREAD | Thread, |
IN PACCESS_TOKEN | Token, | ||
IN BOOLEAN | CopyOnOpen, | ||
IN BOOLEAN | EffectiveOnly, | ||
IN SECURITY_IMPERSONATION_LEVEL | ImpersonationLevel | ||
) |
Definition at line 610 of file security.c.
Referenced by PsAssignImpersonationToken(), SeImpersonateClientEx(), SepImpersonateAnonymousToken(), and SepOpenThreadToken().
Definition at line 471 of file security.c.
Referenced by NtOpenProcessTokenEx().
NTSTATUS NTAPI PspAssignPrimaryToken | ( | IN PEPROCESS | Process, |
IN HANDLE | Token, | ||
IN PACCESS_TOKEN AccessToken | OPTIONAL | ||
) |
Definition at line 178 of file security.c.
Referenced by PspSetPrimaryToken().
Definition at line 30 of file security.c.
Referenced by PspDeleteProcess().
Definition at line 46 of file security.c.
Referenced by PspDeleteThread().
Definition at line 71 of file security.c.
Referenced by PspCreateProcess().
NTSTATUS NTAPI PspSetPrimaryToken | ( | IN PEPROCESS | Process, |
IN HANDLE TokenHandle | OPTIONAL, | ||
IN PACCESS_TOKEN Token | OPTIONAL | ||
) |
Definition at line 215 of file security.c.
Referenced by NtSetInformationProcess().
Definition at line 114 of file security.c.
Referenced by PsImpersonateClient(), and PsRevertThreadToSelf().
PACCESS_TOKEN NTAPI PsReferenceEffectiveToken | ( | IN PETHREAD | Thread, |
OUT IN PTOKEN_TYPE | TokenType, | ||
OUT PBOOLEAN | EffectiveOnly, | ||
OUT PSECURITY_IMPERSONATION_LEVEL | ImpersonationLevel | ||
) |
Definition at line 802 of file security.c.
Referenced by SeCreateClientSecurity().
PACCESS_TOKEN NTAPI PsReferenceImpersonationToken | ( | IN PETHREAD | Thread, |
OUT PBOOLEAN | CopyOnOpen, | ||
OUT PBOOLEAN | EffectiveOnly, | ||
OUT PSECURITY_IMPERSONATION_LEVEL | ImpersonationLevel | ||
) |
Definition at line 871 of file security.c.
Referenced by GetProcessLuid(), NtCloseObjectAuditAlarm(), NtOpenThreadTokenEx(), ObpReferenceDeviceMap(), and SeCaptureSubjectContextEx().
PACCESS_TOKEN NTAPI PsReferencePrimaryToken | ( | PEPROCESS | Process | ) |
Definition at line 440 of file security.c.
Referenced by GetProcessLuid(), KsecGetKeyData(), NtCloseObjectAuditAlarm(), NtSecureConnectPort(), ObpSetCurrentProcessDeviceMap(), PsImpersonateClient(), PsOpenTokenOfProcess(), PspCreateProcess(), PspCreateThread(), PspExitThread(), PspInitializeProcessSecurity(), PspSetPrimaryToken(), SeCaptureSubjectContextEx(), SeExchangePrimaryToken(), SeIsTokenChild(), SeIsTokenSibling(), SepImpersonateAnonymousToken(), and SepOpenThreadToken().
VOID NTAPI PsRestoreImpersonation | ( | IN PETHREAD | Thread, |
IN PSE_IMPERSONATION_STATE | ImpersonationState | ||
) |
Definition at line 987 of file security.c.
Referenced by NtOpenThreadTokenEx().
Definition at line 568 of file security.c.
Referenced by PsAssignImpersonationToken(), and PsRevertToSelf().
Definition at line 556 of file security.c.
Referenced by CmpCmdHiveOpen(), and VfdIoCtlThread().
Referenced by PspInitializeProcessSecurity().
PTOKEN PspBootAccessToken |
Definition at line 17 of file security.c.
Referenced by PspInitializeProcessSecurity(), and PspInitPhase0().