Searched refs:m_pPasswd (Results 1 – 5 of 5) sorted by relevance
/aoo41x/main/sal/osl/os2/ |
H A D | security.c | 64 memcpy(&pSecImpl->m_pPasswd, pPasswd, sizeof(pSecImpl->m_pPasswd)); 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() 221 if (getuid() == pSecImpl->m_pPasswd.pw_uid) in osl_psz_getHomeDir() [all …]
|
H A D | secimpl.h | 37 struct passwd m_pPasswd; member
|
/aoo41x/main/sal/osl/unx/ |
H A D | security.c | 125 switch (getpwuid_r(getuid(), &p->m_pPasswd, p->m_buffer, n, &found)) { in osl_getCurrentSecurity() 523 pszUserName, &p->m_pPasswd, p->m_buffer, n, &found); in osl_psz_loginUser() 535 if (osl_equalPasswords(p->m_pPasswd.pw_passwd, pszPasswd) || in osl_psz_loginUser() 674 nChr = snprintf(buffer, sizeof(buffer), "%u", pSecImpl->m_pPasswd.pw_uid); in osl_psz_getUserIdent() 707 strncpy(pszName, pSecImpl->m_pPasswd.pw_name, nMax); in osl_psz_getUserName() 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() 837 if (pSecImpl->m_pPasswd.pw_uid != 0) in osl_isAdministrator()
|
H A D | process.c | 895 Data.m_uid = ((oslSecurityImpl*)Security)->m_pPasswd.pw_uid; in osl_psz_executeProcess() 896 Data.m_gid = ((oslSecurityImpl*)Security)->m_pPasswd.pw_gid; in osl_psz_executeProcess() 897 Data.m_name = ((oslSecurityImpl*)Security)->m_pPasswd.pw_name; in osl_psz_executeProcess()
|
H A D | secimpl.h | 34 struct passwd m_pPasswd; member
|
Completed in 19 milliseconds