mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[NTOS:PO]
- Enforce SeShutdownPrivilege in NtSetSystemPowerState CORE-8476 #resolve svn path=/trunk/; revision=63982
This commit is contained in:
@@ -830,7 +830,7 @@ NtSetSystemPowerState(IN POWER_ACTION SystemAction,
|
||||
{
|
||||
/* Not granted */
|
||||
DPRINT1("ERROR: Privilege not held for shutdown\n");
|
||||
//return STATUS_PRIVILEGE_NOT_HELD; HACK!
|
||||
return STATUS_PRIVILEGE_NOT_HELD;
|
||||
}
|
||||
|
||||
/* Do it as a kernel-mode caller for consistency with system state */
|
||||
|
||||
Reference in New Issue
Block a user