Home
last modified time | relevance | path

Searched refs:pSecImpl (Results 1 – 3 of 3) sorted by relevance

/aoo41x/main/sal/osl/os2/
H A Dsecurity.c64 memcpy(&pSecImpl->m_pPasswd, pPasswd, sizeof(pSecImpl->m_pPasswd)); in osl_getCurrentSecurity()
65 pSecImpl->m_isValid = sal_True; in osl_getCurrentSecurity()
73 if (pSecImpl->m_pPasswd.pw_name && pSecImpl->m_pPasswd.pw_dir) in osl_getCurrentSecurity()
74 pSecImpl->m_isValid = sal_True; in osl_getCurrentSecurity()
79 pSecImpl->m_isValid = sal_False; in osl_getCurrentSecurity()
89 return ((oslSecurity)pSecImpl); in osl_getCurrentSecurity()
153 if (pSecImpl == NULL) in osl_psz_getUserIdent()
185 if ((pSecImpl == NULL) || (! pSecImpl->m_isValid)) in osl_psz_getUserName()
217 if (pSecImpl == NULL) in osl_psz_getHomeDir()
247 if (pSecImpl->m_isValid) in osl_psz_getHomeDir()
[all …]
/aoo41x/main/sal/osl/w32/
H A Dsecurity.c96 pSecImpl->m_User[0] = '\0'; in osl_getCurrentSecurity()
97 pSecImpl->m_hToken = NULL; in osl_getCurrentSecurity()
98 pSecImpl->m_hProfile = NULL; in osl_getCurrentSecurity()
141 pSecImpl->m_hProfile = NULL; in osl_loginUser()
200 pSecImpl->m_hToken = NULL; in osl_loginUserOnFileServer()
201 pSecImpl->m_hProfile = NULL; in osl_loginUserOnFileServer()
319 if (pSecImpl->m_hToken) in osl_freeSecurityHandle()
322 if ( pSecImpl->m_hProfile ) in osl_freeSecurityHandle()
325 free (pSecImpl); in osl_freeSecurityHandle()
474 if (pSecImpl->m_hToken) in osl_getHomeDir()
[all …]
/aoo41x/main/sal/osl/unx/
H A Dsecurity.c669 oslSecurityImpl *pSecImpl = (oslSecurityImpl *)Security; in osl_psz_getUserIdent() local
671 if (pSecImpl == NULL) 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()
832 oslSecurityImpl *pSecImpl = (oslSecurityImpl *)Security; in osl_isAdministrator() local
834 if (pSecImpl == NULL) in osl_isAdministrator()
[all …]

Completed in 15 milliseconds