libosmocore
1.5.1
Osmocom core library
|
Go to the documentation of this file.
28 int osmo_system_nowait2(
const char *command,
const char **env_whitelist,
char **addl_env,
const char *user);
29 int osmo_system_nowait(
const char *command,
const char **env_whitelist,
char **addl_env);
int osmo_environment_filter(char **out, size_t out_len, char **in, const char **whitelist)
filtered a process environment by whitelist; only copying pointers, no actual strings.
Definition: exec.c:86
int osmo_close_all_fds_above(int last_fd_to_keep)
Definition: exec.c:168
int osmo_system_nowait(const char *command, const char **env_whitelist, char **addl_env)
call an external shell command without waiting for it.
Definition: exec.c:288
const char * osmo_environment_whitelist[]
suggested list of environment variables to pass (if they exist) to a sub-process/script
Definition: exec.c:42
int osmo_system_nowait2(const char *command, const char **env_whitelist, char **addl_env, const char *user)
call an external shell command as 'user' without waiting for it.
Definition: exec.c:212
int osmo_environment_append(char **out, size_t out_len, char **in)
append one environment to another; only copying pointers, not actual strings.
Definition: exec.c:142