--- a/linux/SUPDrv-linux.c 2009-03-24 10:38:36.191379013 +0530 +++ b/linux/SUPDrv-linux.c 2008-11-07 16:43:51.000000000 +0530 @@ -731,8 +731,8 @@ rc = supdrvCreateSession(&g_DevExt, (PSUPDRVSESSION *)&pSession); if (!rc) { - pSession->Uid = current->euid; - pSession->Gid = current->egid; + pSession->Uid = current->cred->euid; + pSession->Gid = current->cred->egid; pSession->Process = RTProcSelf(); pSession->R0Process = RTR0ProcHandleSelf(); }