MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / initenv

Function initenv

src/core/msystem.cpp:284–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282static int initenv(void)
283#else
284static int initenv()
285#endif
286{
287 register int i;
288 register int rval;
289
290 if (envp != NULL)
291 le_clobber();
292 for(i = 0; nvfix[i] != NULL; i++)
293 if ((rval = le_set(nvfix[i])) != SE_NONE)
294 return(rval);
295 return(SE_NONE);
296}
297
298/************* E N V I R O N M E N T C O N T R O L *******************/
299

Callers 2

shellenvFunction · 0.85
msystem.cppFile · 0.85

Calls 1

le_clobberFunction · 0.85

Tested by

no test coverage detected