Index: /trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp
===================================================================
--- /trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp	(revision 37115)
+++ /trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp	(revision 37116)
@@ -362,6 +362,6 @@
     {
 #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
-        RTUID           Uid = pCred->cr_posix.cr_ruid;
-        RTGID           Gid = pCred->cr_posix.cr_rgid;
+        RTUID           Uid = kauth_cred_getruid(pCred);
+        RTGID           Gid = kauth_cred_getrgid(pCred);
 #else
         RTUID           Uid = pCred->cr_ruid;
