Searched refs:saved_envvar (Results 1 – 2 of 2) sorted by relevance
63 char* const saved_envvar = (char*) malloc(saved_envvarlen); in SandboxSavedEnvironmentVariable() local64 if (!saved_envvar) in SandboxSavedEnvironmentVariable()67 memcpy(saved_envvar, "SANDBOX_", 8); in SandboxSavedEnvironmentVariable()68 memcpy(saved_envvar + 8, envvar, envvar_len); in SandboxSavedEnvironmentVariable()69 saved_envvar[8 + envvar_len] = 0; in SandboxSavedEnvironmentVariable()71 return saved_envvar; in SandboxSavedEnvironmentVariable()
363 char* const saved_envvar = SandboxSavedEnvironmentVariable(envvar); in SetupChildEnvironment() local364 if (!saved_envvar) in SetupChildEnvironment()367 const char* const value = getenv(saved_envvar); in SetupChildEnvironment()370 unsetenv(saved_envvar); in SetupChildEnvironment()373 free(saved_envvar); in SetupChildEnvironment()