Lines Matching refs:pSecImpl
669 oslSecurityImpl *pSecImpl = (oslSecurityImpl *)Security; in osl_psz_getUserIdent() local
671 if (pSecImpl == NULL) in osl_psz_getUserIdent()
674 nChr = snprintf(buffer, sizeof(buffer), "%u", pSecImpl->m_pPasswd.pw_uid); in osl_psz_getUserIdent()
702 oslSecurityImpl *pSecImpl = (oslSecurityImpl *)Security; in osl_psz_getUserName() local
704 if (pSecImpl == NULL) in osl_psz_getUserName()
707 strncpy(pszName, pSecImpl->m_pPasswd.pw_name, nMax); in osl_psz_getUserName()
734 oslSecurityImpl *pSecImpl = (oslSecurityImpl *)Security; in osl_psz_getHomeDir() local
736 if (pSecImpl == NULL) in osl_psz_getHomeDir()
740 if (getuid() == pSecImpl->m_pPasswd.pw_uid) in osl_psz_getHomeDir()
766 strncpy(pszDirectory, pSecImpl->m_pPasswd.pw_dir, nMax); in osl_psz_getHomeDir()
769 strncpy(pszDirectory, pSecImpl->m_pPasswd.pw_dir, nMax); in osl_psz_getHomeDir()
832 oslSecurityImpl *pSecImpl = (oslSecurityImpl *)Security; in osl_isAdministrator() local
834 if (pSecImpl == NULL) in osl_isAdministrator()
837 if (pSecImpl->m_pPasswd.pw_uid != 0) in osl_isAdministrator()