Searched refs:m_pPasswd (Results 1 – 5 of 5) sorted by relevance
/aoo42x/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
|
/aoo42x/main/sal/osl/unx/ |
H A D | security.c | 124 switch (getpwuid_r(getuid(), &p->m_pPasswd, p->m_buffer, n, &found)) { in osl_getCurrentSecurity() 522 pszUserName, &p->m_pPasswd, p->m_buffer, n, &found); in osl_psz_loginUser() 534 if (osl_equalPasswords(p->m_pPasswd.pw_passwd, pszPasswd) || in osl_psz_loginUser() 673 nChr = snprintf(buffer, sizeof(buffer), "%u", pSecImpl->m_pPasswd.pw_uid); in osl_psz_getUserIdent() 706 strncpy(pszName, pSecImpl->m_pPasswd.pw_name, nMax); in osl_psz_getUserName() 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() 836 if (pSecImpl->m_pPasswd.pw_uid != 0) in osl_isAdministrator()
|
H A D | process.c | 894 Data.m_uid = ((oslSecurityImpl*)Security)->m_pPasswd.pw_uid; in osl_psz_executeProcess() 895 Data.m_gid = ((oslSecurityImpl*)Security)->m_pPasswd.pw_gid; in osl_psz_executeProcess() 896 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 38 milliseconds