Lines Matching refs:envp
50 * tomoyo_envp - Check envp[] in "struct linux_binbrm".
54 * @envc: Length of @envp.
55 * @envp: Pointer to "struct tomoyo_envp".
56 * @checked: Set to true if @envp[@env_name] was found.
61 const int envc, const struct tomoyo_envp *envp,
72 for (i = 0; i < envc; envp++, checked++, i++) {
75 if (!tomoyo_path_matches_pattern(&name, envp->name))
78 if (envp->value) {
80 envp->value);
81 if (envp->is_not)
85 if (!envp->is_not)
100 * @envc: Length of @envp.
101 * @envp: Pointer to "struct tomoyo_envp".
107 const u16 envc, const struct tomoyo_envp *envp)
173 envc, envp,
206 for (i = 0; i < envc; envp++, i++) {
211 * in bprm->envp[] are either undefined or not matched.
213 if ((!envp->value && !envp->is_not) ||
214 (envp->value && envp->is_not))
310 * tomoyo_parse_envp - Parse an envp[] condition part.
314 * @envp: Pointer to "struct tomoyo_envp".
319 struct tomoyo_envp *envp)
342 envp->name = name;
343 envp->value = value;
502 struct tomoyo_envp *envp = NULL;
579 if (!strncmp(left_word, "exec.envp[\"", 11)) {
580 if (!envp) {
587 envp->is_not = is_not;
589 right_word, envp++))
678 envp = (struct tomoyo_envp *) (argv + e.argc);
775 const struct tomoyo_envp *envp;
797 envp = (const struct tomoyo_envp *) (argv + argc);
806 /* Check argv[] and envp[] later. */
1118 /* Check argv[] and envp[] now. */
1120 return tomoyo_scan_bprm(r->ee, argc, argv, envc, envp);