Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

sep.c File Reference

#include "sep.h"
#include "seopaque.h"

Go to the source code of this file.

Functions

BOOLEAN SepCheckAcl (IN PACL Acl, IN ULONG Length)


Function Documentation

BOOLEAN SepCheckAcl IN PACL  Acl,
IN ULONG  Length
 

Definition at line 36 of file sep.c.

References FALSE, and RtlValidAcl().

Referenced by SeCaptureAcl(), and SeCaptureSecurityDescriptor().

00043 : 00044 00045 This is a private routine that checks that an acl is well formed. 00046 00047 Arguments: 00048 00049 Acl - Supplies the acl to check 00050 00051 Length - Supplies the real size of the acl. The internal acl size 00052 must agree. 00053 00054 Return Value: 00055 00056 BOOLEAN - TRUE if the acl is well formed and FALSE otherwise 00057 00058 --*/ 00059 { 00060 if ((Length < sizeof(ACL)) || (Length != Acl->AclSize)) { 00061 return FALSE; 00062 } 00063 return RtlValidAcl( Acl ); 00064 } }


Generated on Sat May 15 19:45:35 2004 for test by doxygen 1.3.7