Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
Operating System: ReactOS
Platform: x86 Hardware
Description
Running a program, that loads and unloads driver as service. Works fine on win2k but ROS reports ERROR_ACCESS_DENIED when trying to delete the service.
When trying to delete a service, believe the wrong thing is checked here.
if (!RtlAreAllAccessesGranted(hSvc->Handle.DesiredAccess,
STANDARD_RIGHTS_REQUIRED))
Using only START_SERVICE + STOP_SERVICE + DELETE works in win2k.
Should be
if (!RtlAreAllAccessesGranted(hSvc->Handle.DesiredAccess, DELETE))
Though this fixes the issue with rights, there are other problems with service removal.
Attachments
Issue Links
- blocks
-
CORE-3212 Multiple problems with drivers when loading / unloading services & drivers
- Resolved