Searched refs:envp (Results 1 – 5 of 5) sorted by relevance
/security/tomoyo/ |
D | load_policy.c | 88 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 | 59 const int envc, const struct tomoyo_envp *envp, in tomoyo_envp() argument 69 for (i = 0; i < envc; envp++, checked++, i++) { in tomoyo_envp() 71 if (!tomoyo_path_matches_pattern(&name, envp->name)) in tomoyo_envp() 74 if (envp->value) { in tomoyo_envp() 76 envp->value); in tomoyo_envp() 77 if (envp->is_not) in tomoyo_envp() 81 if (!envp->is_not) in tomoyo_envp() 103 const u16 envc, const struct tomoyo_envp *envp) in tomoyo_scan_bprm() argument 166 envc, envp, in tomoyo_scan_bprm() 198 for (i = 0; i < envc; envp++, i++) { in tomoyo_scan_bprm() [all …]
|
D | gc.c | 287 const struct tomoyo_envp *envp in tomoyo_del_condition() local 295 for (i = 0; i < envc; envp++, i++) { in tomoyo_del_condition() 296 tomoyo_put_name(envp->name); in tomoyo_del_condition() 297 tomoyo_put_name(envp->value); in tomoyo_del_condition()
|
D | common.c | 1225 const struct tomoyo_envp *envp = in tomoyo_print_condition() local 1226 (typeof(envp)) (argv + cond->argc); in tomoyo_print_condition() 1237 envp++; in tomoyo_print_condition() 1276 envp->name->name); in tomoyo_print_condition() 1277 tomoyo_io_printf(head, "\"]%s=", envp-> in tomoyo_print_condition() 1279 if (envp->value) { in tomoyo_print_condition() 1281 tomoyo_set_string(head, envp-> in tomoyo_print_condition() 1288 envp++; in tomoyo_print_condition()
|
/security/keys/ |
D | request_key.c | 74 static int call_usermodehelper_keys(const char *path, char **argv, char **envp, in call_usermodehelper_keys() argument 79 info = call_usermodehelper_setup(path, argv, envp, GFP_KERNEL, in call_usermodehelper_keys() 100 char *argv[9], *envp[3], uid_str[12], gid_str[12]; in call_sbin_request_key() local 156 envp[i++] = "HOME=/"; in call_sbin_request_key() 157 envp[i++] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; in call_sbin_request_key() 158 envp[i] = NULL; in call_sbin_request_key() 173 ret = call_usermodehelper_keys(request_key, argv, envp, keyring, in call_sbin_request_key()
|