Replace hardcoded values by known constants.
Modified: trunk/reactos/ntoskrnl/se/priv.c
_____
Modified: trunk/reactos/ntoskrnl/se/priv.c
--- trunk/reactos/ntoskrnl/se/priv.c 2005-01-26 13:48:38 UTC (rev
13307)
+++ trunk/reactos/ntoskrnl/se/priv.c 2005-01-26 13:52:53 UTC (rev
13308)
@@ -252,11 +252,11 @@
Privilege = 0;
Status = SeCaptureLuidAndAttributesArray
(RequiredPrivileges->Privilege,
PrivilegeCount,
- 1,
+ UserMode,
+ NULL,
0,
- 0,
+ PagedPool,
1,
- 1,
&Privilege,
&Length);
if (!NT_SUCCESS(Status))
Show replies by date