Home
last modified time | relevance | path

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

/security/tomoyo/
A Dload_policy.c89 char *envp[3]; in tomoyo_load_policy() local
103 envp[0] = "HOME=/"; in tomoyo_load_policy()
104 envp[1] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; in tomoyo_load_policy()
105 envp[2] = NULL; in tomoyo_load_policy()
106 call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in tomoyo_load_policy()
A Dcondition.c78 if (envp->value) { in tomoyo_envp()
80 envp->value); in tomoyo_envp()
81 if (envp->is_not) in tomoyo_envp()
85 if (!envp->is_not) in tomoyo_envp()
173 envc, envp, in tomoyo_scan_bprm()
213 if ((!envp->value && !envp->is_not) || in tomoyo_scan_bprm()
214 (envp->value && envp->is_not)) in tomoyo_scan_bprm()
342 envp->name = name; in tomoyo_parse_envp()
343 envp->value = value; in tomoyo_parse_envp()
580 if (!envp) { in tomoyo_get_condition()
[all …]
A Dgc.c295 const struct tomoyo_envp *envp in tomoyo_del_condition() local
304 for (i = 0; i < envc; envp++, i++) { in tomoyo_del_condition()
305 tomoyo_put_name(envp->name); in tomoyo_del_condition()
306 tomoyo_put_name(envp->value); in tomoyo_del_condition()
A Dcommon.c1248 const struct tomoyo_envp *envp = in tomoyo_print_condition() local
1249 (typeof(envp)) (argv + cond->argc); in tomoyo_print_condition()
1262 envp++; in tomoyo_print_condition()
1301 envp->name->name); in tomoyo_print_condition()
1302 tomoyo_io_printf(head, "\"]%s=", envp->is_not ? "!" : ""); in tomoyo_print_condition()
1303 if (envp->value) { in tomoyo_print_condition()
1305 tomoyo_set_string(head, envp->value->name); in tomoyo_print_condition()
1311 envp++; in tomoyo_print_condition()
/security/keys/
A Drequest_key.c99 static int call_usermodehelper_keys(const char *path, char **argv, char **envp, in call_usermodehelper_keys() argument
104 info = call_usermodehelper_setup(path, argv, envp, GFP_KERNEL, in call_usermodehelper_keys()
125 char *argv[9], *envp[3], uid_str[12], gid_str[12]; in call_sbin_request_key() local
179 envp[i++] = "HOME=/"; in call_sbin_request_key()
180 envp[i++] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; in call_sbin_request_key()
181 envp[i] = NULL; in call_sbin_request_key()
196 ret = call_usermodehelper_keys(request_key, argv, envp, keyring, in call_sbin_request_key()

Completed in 15 milliseconds