Lines Matching refs:pEnv
950 const char * pEnv; in lsapi_initLVE() local
951 if ( (pEnv = getenv( "LSAPI_LVE_ENABLE" ))!= NULL ) in lsapi_initLVE()
953 s_enable_lve = atol( pEnv ); in lsapi_initLVE()
954 pEnv = NULL; in lsapi_initLVE()
956 else if ( (pEnv = getenv( "LVE_ENABLE" ))!= NULL ) in lsapi_initLVE()
958 s_enable_lve = atol( pEnv ); in lsapi_initLVE()
959 pEnv = NULL; in lsapi_initLVE()
1080 struct LSAPI_key_value_pair * pEnv; in lsapi_changeUGid() local
1093 pEnv = pReq->m_pSpecialEnvList + i; in lsapi_changeUGid()
1094 if (( *pEnv->pKey == '\000' )&& in lsapi_changeUGid()
1095 ( strcmp( pEnv->pKey+1, "SUEXEC_AUTH" ) == 0 )) in lsapi_changeUGid()
1098 pAuth = pEnv--; in lsapi_changeUGid()
1099 if (( *pEnv->pKey == '\000' )&& in lsapi_changeUGid()
1100 ( strcmp( pEnv->pKey+1, "SUEXEC_UGID" ) == 0 )) in lsapi_changeUGid()
1103 uid = *(uint32_t *)pEnv->pValue; in lsapi_changeUGid()
1104 gid = *(((uint32_t *)pEnv->pValue) + 1 ); in lsapi_changeUGid()
1110 pEnv = NULL; in lsapi_changeUGid()
1112 …if ( pEnv&& lsapi_suexec_auth( pReq, pAuth->pValue, pAuth->valLen, pEnv->pValue, pEnv->valLen ) ==… in lsapi_changeUGid()
2325 static int EnvForeach( struct LSAPI_key_value_pair * pEnv, in EnvForeach() argument
2328 struct LSAPI_key_value_pair * pEnd = pEnv + n; in EnvForeach()
2330 if ( !pEnv || !fn ) in EnvForeach()
2332 while( pEnv < pEnd ) in EnvForeach()
2334 ret = (*fn)( pEnv->pKey, pEnv->keyLen, in EnvForeach()
2335 pEnv->pValue, pEnv->valLen, arg ); in EnvForeach()
2338 ++pEnv; in EnvForeach()