Home
last modified time | relevance | path

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

/external/chromium_org/sandbox/linux/suid/client/
Dsetuid_sandbox_client.cc70 char* const saved_env_var = SandboxSavedEnvironmentVariable(env_var); in CreateSavedVariableName() local
71 if (!saved_env_var) in CreateSavedVariableName()
73 std::string* saved_env_var_copy = new std::string(saved_env_var); in CreateSavedVariableName()
76 free(saved_env_var); in CreateSavedVariableName()
87 scoped_ptr<std::string> saved_env_var(CreateSavedVariableName(env_var)); in SaveSUIDUnsafeEnvironmentVariables() local
88 if (saved_env_var == NULL) in SaveSUIDUnsafeEnvironmentVariables()
93 env->SetVar(saved_env_var->c_str(), value); in SaveSUIDUnsafeEnvironmentVariables()
95 env->UnSetVar(saved_env_var->c_str()); in SaveSUIDUnsafeEnvironmentVariables()