Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c166 char **script_env; /* Env. variable values for scripts */ variable
322 script_env = NULL;
1973 if (script_env != NULL) {
1974 while (*script_env != NULL) {
1975 if (putenv(*script_env) == -1)
1976 warn("unable to set %s for %s: %m", *script_env, program);
1977 script_env++;
2101 (void) execve(prog, args, script_env);
2289 if (script_env != NULL) {
2290 for (i = 0; (p = script_env[i]) != NULL; ++i) {
[all …]
H A Dpppd.h198 extern char **script_env; /* Environment variables for scripts */
/titanic_44/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c186 static char *script_env[MAX_ENV_PARAMS]; variable
481 script_env[j++] = rcmscript_strdup("PATH=/usr/sbin:/usr/bin"); in build_env()
487 script_env[j] = (char *)rcmscript_malloc(len); in build_env()
489 (void) snprintf(script_env[j++], len, "%s=%s", in build_env()
495 script_env[j] = (char *)rcmscript_malloc(len); in build_env()
504 (void) snprintf(script_env[j++], len, "RCM_ENV_DEBUG_LEVEL=%d", d); in build_env()
506 script_env[j] = NULL; in build_env()
1513 if (do_cmd(rsi, argv, script_env, &errmsg) == 0) { in do_script_info()
1634 if (do_cmd(rsi, argv, script_env, error) == 0) { in script_get_info()
1772 if (do_cmd(rsi, argv, script_env, &errmsg) == 0) { in script_register_interest()
[all …]