14#define NPFS_BUGCHECK_FILE_ID (NPFS_BUGCHECK_SECURSUP)
63 if (!DataQueueEntry->ClientSecurityContext)
return;
66 Ccb->ClientContext = DataQueueEntry->ClientSecurityContext;
67 DataQueueEntry->ClientSecurityContext =
NULL;
92 Ccb->ClientQos = *SecurityQos;
96 Ccb->ClientQos.Length =
sizeof(
Ccb->ClientQos);
99 Ccb->ClientQos.EffectiveOnly =
TRUE;
_Inout_ PFILE_OBJECT _In_ TYPE_OF_OPEN PFCB _In_opt_ PCCB Ccb
#define NT_SUCCESS(StatCode)
#define NPFS_CLIENT_SEC_CTX_TAG
_In_ FLT_SET_CONTEXT_OPERATION _In_ PFLT_CONTEXT NewContext
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
NTKERNELAPI TOKEN_TYPE NTAPI SeTokenType(IN PACCESS_TOKEN Token)
NTKERNELAPI NTSTATUS NTAPI SeCreateClientSecurity(IN PETHREAD Thread, IN PSECURITY_QUALITY_OF_SERVICE QualityOfService, IN BOOLEAN RemoteClient, OUT PSECURITY_CLIENT_CONTEXT ClientContext)
#define FILE_PIPE_SERVER_END
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_ BOOLEAN _In_ TOKEN_TYPE TokenType
NTSTATUS NTAPI SeImpersonateClientEx(_In_ PSECURITY_CLIENT_CONTEXT ClientContext, _In_opt_ PETHREAD ServerThread)
Extended function that impersonates a client.
#define STATUS_CANNOT_IMPERSONATE
NTSTATUS NTAPI NpInitializeSecurity(IN PNP_CCB Ccb, IN PSECURITY_QUALITY_OF_SERVICE SecurityQos, IN PETHREAD Thread)
VOID NTAPI NpCopyClientContext(IN PNP_CCB Ccb, IN PNP_DATA_QUEUE_ENTRY DataQueueEntry)
NTSTATUS NTAPI NpGetClientSecurityContext(IN ULONG NamedPipeEnd, IN PNP_CCB Ccb, IN PETHREAD Thread, IN PSECURITY_CLIENT_CONTEXT *Context)
VOID NTAPI NpUninitializeSecurity(IN PNP_CCB Ccb)
VOID NTAPI NpFreeClientSecurityContext(IN PSECURITY_CLIENT_CONTEXT ClientContext)
NTSTATUS NTAPI NpImpersonateClientContext(IN PNP_CCB Ccb)
#define STATUS_INSUFFICIENT_RESOURCES
#define ExAllocatePoolWithQuotaTag(a, b, c)
#define POOL_QUOTA_FAIL_INSTEAD_OF_RAISE
#define ObDereferenceObject
#define SECURITY_DYNAMIC_TRACKING