From: short <> Date: Mon, 24 Mar 2003 00:02:45 +0000 (+0000) Subject: +ntoskrnl/se/token.c X-Git-Tag: captive-0_2~41 X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=commitdiff_plain;h=fe1348db3103b7ed83c80b26ffa154750de915f4 +ntoskrnl/se/token.c - +SepDeleteToken() - +SepCreateSystemProcessToken() --- diff --git a/ntoskrnl/se/token.c b/ntoskrnl/se/token.c index 1bb70c5..dbdbd77 100644 --- a/ntoskrnl/se/token.c +++ b/ntoskrnl/se/token.c @@ -33,6 +33,8 @@ static GENERIC_MAPPING SepTokenMapping = {TOKEN_READ, /* FUNCTIONS *****************************************************************/ +#ifndef LIBCAPTIVE + VOID SepFreeProxyData(PVOID ProxyData) { UNIMPLEMENTED; @@ -422,6 +424,7 @@ SeImpersonateClient(IN PSECURITY_CLIENT_CONTEXT ClientContext, ClientContext->SecurityQos.ImpersonationLevel); } +#endif /* LIBCAPTIVE */ VOID STDCALL SepDeleteToken(PVOID ObjectBody) @@ -464,9 +467,10 @@ SepInitializeTokenImplementation(VOID) SepTokenObjectType->DuplicationNotify = NULL; RtlCreateUnicodeString(&SepTokenObjectType->TypeName, - L"Token"); + REACTOS_UCS2(L"Token")); } +#ifndef LIBCAPTIVE NTSTATUS STDCALL NtQueryInformationToken(IN HANDLE TokenHandle, @@ -915,6 +919,7 @@ NtAdjustPrivilegesToken(IN HANDLE TokenHandle, #endif } +#endif /* LIBCAPTIVE */ NTSTATUS SepCreateSystemProcessToken(struct _EPROCESS* Process) @@ -1106,6 +1111,8 @@ SepCreateSystemProcessToken(struct _EPROCESS* Process) return(STATUS_SUCCESS); } +#ifndef LIBCAPTIVE + NTSTATUS STDCALL NtCreateToken(OUT PHANDLE UnsafeTokenHandle, IN ACCESS_MASK DesiredAccess, @@ -1283,4 +1290,6 @@ SeTokenType(IN PACCESS_TOKEN Token) return(Token->TokenType); } +#endif /* LIBCAPTIVE */ + /* EOF */