VirtualBox

Ignore:
Timestamp:
May 16, 2011 10:51:35 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71782
Message:

SUPDrv-darwin.cpp: The correct fix for the kauth_cred_t changes.

File:
1 edited

Legend:

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

    r37112 r37116  
    362362    {
    363363#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
    364         RTUID           Uid = pCred->cr_posix.cr_ruid;
    365         RTGID           Gid = pCred->cr_posix.cr_rgid;
     364        RTUID           Uid = kauth_cred_getruid(pCred);
     365        RTGID           Gid = kauth_cred_getrgid(pCred);
    366366#else
    367367        RTUID           Uid = pCred->cr_ruid;
Note: See TracChangeset for help on using the changeset viewer.

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