VirtualBox

Ignore:
Timestamp:
Apr 12, 2016 11:54:05 AM (9 years ago)
Author:
vboxsync
Message:

pass NIL_R0PROCESS to RTR0MemObjLockUser() as an alias for RTR0ProcHandleSelf()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.cpp

    r60241 r60451  
    30283028     */
    30293029    Mem.eType = MEMREF_TYPE_LOCKED;
    3030     rc = RTR0MemObjLockUser(&Mem.MemObj, pvR3, cb, RTMEM_PROT_READ | RTMEM_PROT_WRITE, RTR0ProcHandleSelf());
     3030    rc = RTR0MemObjLockUser(&Mem.MemObj, pvR3, cb, RTMEM_PROT_READ | RTMEM_PROT_WRITE, NIL_RTR0PROCESS);
    30313031    if (RT_SUCCESS(rc))
    30323032    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette