Lines Matching refs:m_pPasswd
64 memcpy(&pSecImpl->m_pPasswd, pPasswd, sizeof(pSecImpl->m_pPasswd)); in osl_getCurrentSecurity()
71 pSecImpl->m_pPasswd.pw_name = getenv("USER"); in osl_getCurrentSecurity()
72 pSecImpl->m_pPasswd.pw_dir = getenv("HOME"); in osl_getCurrentSecurity()
73 if (pSecImpl->m_pPasswd.pw_name && pSecImpl->m_pPasswd.pw_dir) in osl_getCurrentSecurity()
77 pSecImpl->m_pPasswd.pw_name = "unknown"; in osl_getCurrentSecurity()
78 pSecImpl->m_pPasswd.pw_dir = "/tmp"; in osl_getCurrentSecurity()
81 pSecImpl->m_pPasswd.pw_passwd = NULL; in osl_getCurrentSecurity()
82 pSecImpl->m_pPasswd.pw_uid = getuid(); in osl_getCurrentSecurity()
83 pSecImpl->m_pPasswd.pw_gid = getgid(); in osl_getCurrentSecurity()
84 pSecImpl->m_pPasswd.pw_gecos = "unknown"; in osl_getCurrentSecurity()
85 pSecImpl->m_pPasswd.pw_shell = "unknown"; in osl_getCurrentSecurity()
156 nChr = snprintf(buffer, sizeof(buffer), "%u", pSecImpl->m_pPasswd.pw_uid); in osl_psz_getUserIdent()
188 strncpy(pszName, pSecImpl->m_pPasswd.pw_name, nMax); in osl_psz_getUserName()
221 if (getuid() == pSecImpl->m_pPasswd.pw_uid) in osl_psz_getHomeDir()
248 strncpy(pszDirectory, pSecImpl->m_pPasswd.pw_dir, nMax); in osl_psz_getHomeDir()
253 strncpy(pszDirectory, pSecImpl->m_pPasswd.pw_dir, nMax); in osl_psz_getHomeDir()
290 if (pSecImpl->m_pPasswd.pw_uid != 0) in osl_isAdministrator()