mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[NTOS:PO]
- Enforce SeShutdownPrivilege in NtSetSystemPowerState CORE-8476 #resolve svn path=/trunk/; revision=63982
This commit is contained in:
parent
77cc7731ba
commit
9eb92a4f52
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue