Home
last modified time | relevance | path

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

/system/core/init/
Dinit.cpp91 const char *ENV[32]; variable
123 for (n = 0; n < (arraysize(ENV) - 1); n++) { in add_environment()
126 if (ENV[n] != NULL) { in add_environment()
127 size_t entry_key_len = strcspn(ENV[n], "="); in add_environment()
128 if ((entry_key_len == key_len) && (strncmp(ENV[n], key, entry_key_len) == 0)) { in add_environment()
129 free((char*)ENV[n]); in add_environment()
130 ENV[n] = NULL; in add_environment()
135 if (ENV[n] == NULL) { in add_environment()
138 ENV[n] = entry; in add_environment()
836 if (!fork_execve_and_wait_for_completion(compile_args[0], (char**)compile_args, (char**)ENV)) { in selinux_load_split_policy()
Dinit.h30 extern const char *ENV[32];
Dservice.cpp151 return execve(c_strings[0], c_strings.data(), (char**)ENV) == 0; in ExpandArgsAndExecve()