Searched refs:envp (Results 1 – 5 of 5) sorted by relevance
/security/tomoyo/ |
D | load_policy.c | 89 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()
|
D | condition.c | 61 const int envc, const struct tomoyo_envp *envp, in tomoyo_envp() argument 72 for (i = 0; i < envc; envp++, checked++, i++) { in tomoyo_envp() 75 if (!tomoyo_path_matches_pattern(&name, envp->name)) in tomoyo_envp() 78 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() 107 const u16 envc, const struct tomoyo_envp *envp) in tomoyo_scan_bprm() argument 173 envc, envp, in tomoyo_scan_bprm() 206 for (i = 0; i < envc; envp++, i++) { in tomoyo_scan_bprm() [all …]
|
D | gc.c | 295 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()
|
D | common.c | 1256 const struct tomoyo_envp *envp = in tomoyo_print_condition() local 1257 (typeof(envp)) (argv + cond->argc); in tomoyo_print_condition() 1270 envp++; in tomoyo_print_condition() 1309 envp->name->name); in tomoyo_print_condition() 1310 tomoyo_io_printf(head, "\"]%s=", envp->is_not ? "!" : ""); in tomoyo_print_condition() 1311 if (envp->value) { in tomoyo_print_condition() 1313 tomoyo_set_string(head, envp->value->name); in tomoyo_print_condition() 1319 envp++; in tomoyo_print_condition()
|
/security/keys/ |
D | request_key.c | 96 static int call_usermodehelper_keys(const char *path, char **argv, char **envp, in call_usermodehelper_keys() argument 101 info = call_usermodehelper_setup(path, argv, envp, GFP_KERNEL, in call_usermodehelper_keys() 122 char *argv[9], *envp[3], uid_str[12], gid_str[12]; in call_sbin_request_key() local 176 envp[i++] = "HOME=/"; in call_sbin_request_key() 177 envp[i++] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; in call_sbin_request_key() 178 envp[i] = NULL; in call_sbin_request_key() 193 ret = call_usermodehelper_keys(request_key, argv, envp, keyring, in call_sbin_request_key()
|