Lines Matching refs:pSecImpl
668 oslSecurityImpl *pSecImpl = (oslSecurityImpl *)Security; in osl_psz_getUserIdent() local
670 if (pSecImpl == NULL) in osl_psz_getUserIdent()
673 nChr = snprintf(buffer, sizeof(buffer), "%u", pSecImpl->m_pPasswd.pw_uid); in osl_psz_getUserIdent()
701 oslSecurityImpl *pSecImpl = (oslSecurityImpl *)Security; in osl_psz_getUserName() local
703 if (pSecImpl == NULL) in osl_psz_getUserName()
706 strncpy(pszName, pSecImpl->m_pPasswd.pw_name, nMax); in osl_psz_getUserName()
733 oslSecurityImpl *pSecImpl = (oslSecurityImpl *)Security; in osl_psz_getHomeDir() local
735 if (pSecImpl == NULL) in osl_psz_getHomeDir()
739 if (getuid() == pSecImpl->m_pPasswd.pw_uid) in osl_psz_getHomeDir()
765 strncpy(pszDirectory, pSecImpl->m_pPasswd.pw_dir, nMax); in osl_psz_getHomeDir()
768 strncpy(pszDirectory, pSecImpl->m_pPasswd.pw_dir, nMax); in osl_psz_getHomeDir()
831 oslSecurityImpl *pSecImpl = (oslSecurityImpl *)Security; in osl_isAdministrator() local
833 if (pSecImpl == NULL) in osl_isAdministrator()
836 if (pSecImpl->m_pPasswd.pw_uid != 0) in osl_isAdministrator()