OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:saved_envvar
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/sandbox/linux/suid/common/
suid_unsafe_environment_variables.h
62
char* const
saved_envvar
= (char*) malloc(saved_envvarlen);
local
63
if (!
saved_envvar
)
66
memcpy(
saved_envvar
, "SANDBOX_", 8);
67
memcpy(
saved_envvar
+ 8, envvar, envvar_len);
68
saved_envvar
[8 + envvar_len] = 0;
70
return
saved_envvar
;
/external/chromium_org/sandbox/linux/suid/
sandbox.c
356
char* const
saved_envvar
= SandboxSavedEnvironmentVariable(envvar);
local
357
if (!
saved_envvar
)
360
const char* const value = getenv(
saved_envvar
);
363
unsetenv(
saved_envvar
);
366
free(
saved_envvar
);
Completed in 35 milliseconds