[PATCH] Clarify doc of has_high_integrity

Wald Commits scm-commit at wald.intevation.org
Thu Sep 4 11:11:39 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1409821896 -7200
# Node ID 76cae27b5d83e9d9d9b96fce7b86f646d0863b0f
# Parent  6684e5012b7a64e273af642891299b1c9f3014af
Clarify doc of has_high_integrity

diff -r 6684e5012b7a -r 76cae27b5d83 common/util.h
--- a/common/util.h	Thu Sep 04 11:00:55 2014 +0200
+++ b/common/util.h	Thu Sep 04 11:11:36 2014 +0200
@@ -138,12 +138,13 @@
 
 /**@briefu Check the integrity level of the token
   *
-  * Returns true if the token has SECURITY_MANADTORY_HIGH_RID or
-  * SECURITY_MANDATORY_SYSTEM_RID and false otherwise.
+  * Returns true if the token has at least SECURITY_MANADTORY_HIGH_RID or
+  * higher.
   *
   * @param[in] hToken the Token to check
   *
-  * @returns true if the token has at least high integrity.
+  * @returns true if the token has at least high integrity. False on error
+  * or otherwise.
   */
 bool has_high_integrity(HANDLE hToken);
 


More information about the Trustbridge-commits mailing list