00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
#include "sep.h"
00027
#include "seopaque.h"
00028
00029
#ifdef ALLOC_PRAGMA
00030
#pragma alloc_text(PAGE,SepCheckAcl)
00031
#endif
00032
00033
00034
00035 BOOLEAN
00036 SepCheckAcl (
00037 IN PACL Acl,
00038 IN ULONG Length
00039 )
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059 {
00060
if ((Length <
sizeof(ACL)) || (Length != Acl->AclSize)) {
00061
return FALSE;
00062 }
00063
return RtlValidAcl( Acl );
00064 }