From 11f239373dfdda7ba700ce5556b7621a440b735a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?George=20Bi=C8=99oc?= Date: Sat, 8 May 2021 18:11:42 +0200 Subject: [PATCH] [NTOS:SE] Add further remarks in SeQueryInformationToken Explicitly mention under remarks that some classes are not implemented for that function, for documentation purposes. No code changes. --- ntoskrnl/se/token.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ntoskrnl/se/token.c b/ntoskrnl/se/token.c index bb623ea7c4c..02664c44298 100644 --- a/ntoskrnl/se/token.c +++ b/ntoskrnl/se/token.c @@ -1823,6 +1823,12 @@ SeFilterToken(IN PACCESS_TOKEN ExistingToken, * pool memory allocation has failed to satisfy an operation. Otherwise * STATUS_INVALID_INFO_CLASS is returned indicating that the information * class provided is not supported by the routine. + * + * @remarks + * Only certain information classes are not implemented in this function and + * these are TokenOrigin, TokenGroupsAndPrivileges, TokenRestrictedSids and + * TokenSandBoxInert. The following classes are implemented in NtQueryInformationToken + * only. */ NTSTATUS NTAPI