SeCaptureSecurityDescriptor() should take PoolType into account...
Modified: trunk/reactos/ntoskrnl/se/sd.c
--- trunk/reactos/ntoskrnl/se/sd.c 2005-01-21 02:14:52 UTC (rev 13175) +++ trunk/reactos/ntoskrnl/se/sd.c 2005-01-21 02:19:13 UTC (rev 13176) @@ -300,7 +300,7 @@
ROUND_UP(SaclSize, sizeof(ULONG)) + ROUND_UP(DaclSize, sizeof(ULONG));
- NewDescriptor = ExAllocatePool(PagedPool,
+ NewDescriptor = ExAllocatePool(PoolType,
DescriptorSize); if(NewDescriptor != NULL) {