VirtualBox

Ignore:
Timestamp:
Apr 22, 2008 5:31:13 PM (17 years ago)
Author:
vboxsync
Message:

Solaris vboxdrv: added an AssertReturn for MemObjNativeLockUser.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/memobj-r0drv-solaris.c

    r8245 r8307  
    271271        return VERR_NO_MEMORY;
    272272
    273     proc_t *userproc = curproc;
    274     if (R0Process != NIL_RTR0PROCESS)
    275         userproc = (proc_t *)R0Process;
     273    AssertReturn(R0Process == RTR0ProcHandleSelf(), VERR_INVALID_PARAMETER);
     274    proc_t *userproc = (proc_t *)R0Process;
    276275
    277276    struct as *useras = userproc->p_as;
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