mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NTOS:IO] Enable privilege check in NtLoadDriver.
This commit is contained in:
parent
1d51b56882
commit
938f0e469d
1 changed files with 0 additions and 4 deletions
|
@ -2092,15 +2092,11 @@ NtLoadDriver(IN PUNICODE_STRING DriverServiceName)
|
|||
/*
|
||||
* Check security privileges
|
||||
*/
|
||||
|
||||
/* FIXME: Uncomment when privileges will be correctly implemented. */
|
||||
#if 0
|
||||
if (!SeSinglePrivilegeCheck(SeLoadDriverPrivilege, PreviousMode))
|
||||
{
|
||||
DPRINT("Privilege not held\n");
|
||||
return STATUS_PRIVILEGE_NOT_HELD;
|
||||
}
|
||||
#endif
|
||||
|
||||
Status = ProbeAndCaptureUnicodeString(&CapturedDriverServiceName,
|
||||
PreviousMode,
|
||||
|
|
Loading…
Reference in a new issue