Home
last modified time | relevance | path

Searched refs:envc (Results 1 – 12 of 12) sorted by relevance

/linux-6.15/fs/tests/
H A Dexec_kunit.c15 .argc = 5, .envc = -1 }, .expected_rc = -E2BIG },
17 .argc = -1, .envc = 10 }, .expected_rc = -E2BIG },
37 .argc = 10, .envc = 10 }, .expected_rc = -E2BIG },
84 .argc = ARG_MAX / sizeof(void *), .envc = 0 },
87 .argc = 0, .envc = ARG_MAX / sizeof(void *) - 1 },
91 .argc = 0, .envc = 0 },
94 .argc = 0, .envc = 0 },
98 .argc = 0, .envc = 0 },
101 .argc = 0, .envc = 0 },
104 .argc = 0, .envc = 0 },
[all …]
/linux-6.15/security/tomoyo/
H A Dcondition.c116 int envp_count = bprm->envc; in tomoyo_scan_bprm()
173 envc, envp, in tomoyo_scan_bprm()
363 a->argc == b->argc && a->envc == b->envc && in tomoyo_same_condition()
581 e.envc++; in tomoyo_get_condition()
584 e.envc--; in tomoyo_get_condition()
657 e.envc); in tomoyo_get_condition()
779 u16 envc; in tomoyo_condition() local
786 envc = cond->envc; in tomoyo_condition()
790 if (!bprm && (argc || envc)) in tomoyo_condition()
935 value = bprm->envc; in tomoyo_condition()
[all …]
H A Dgc.c285 const u16 envc = cond->envc; in tomoyo_del_condition() local
304 for (i = 0; i < envc; envp++, i++) { in tomoyo_del_condition()
H A Daudit.c33 int envp_count = bprm->envc; in tomoyo_print_bprm()
285 realpath, bprm->argc, bprm->envc, bprm_info); in tomoyo_init_log()
H A Ddomain.c624 int envp_count = bprm->envc; in tomoyo_environ()
H A Dcommon.h659 u16 envc; /* Number of "struct tomoyo_envp". */ member
/linux-6.15/tools/objtool/
H A Dbuiltin-check.c112 int envc; in cmd_parse_options() local
117 for (envc = 1; envc < ARRAY_SIZE(envv); ) { in cmd_parse_options()
118 envv[envc++] = env; in cmd_parse_options()
126 parse_options(envc, envv, check_options, env_usage, 0); in cmd_parse_options()
/linux-6.15/include/linux/
H A Dbinfmts.h59 int argc, envc; member
/linux-6.15/fs/
H A Dexec.c528 if (bprm->argc < 0 || bprm->envc < 0) in bprm_stack_limits()
543 if (check_add_overflow(max(bprm->argc, 1), bprm->envc, &ptr_size) || in bprm_stack_limits()
1933 bprm->envc = retval; in do_execveat_common()
1944 retval = copy_strings(bprm->envc, envp, bprm); in do_execveat_common()
2009 bprm->envc = retval; in kernel_execve()
2020 retval = copy_strings_kernel(bprm->envc, envp, bprm); in kernel_execve()
H A Dbinfmt_flat.c117 sp -= bprm->envc + 1; in create_flat_tables()
150 for (i = bprm->envc; i > 0; i--) { in create_flat_tables()
877 stack_len += (bprm->envc + 1) * sizeof(char *); /* the envp array */ in load_flat_binary()
H A Dbinfmt_elf.c163 int envc = bprm->envc; in create_elf_tables() local
294 items = (argc + 1) + (envc + 1) + 1; in create_elf_tables()
338 while (envc-- > 0) { in create_elf_tables()
H A Dbinfmt_elf_fdpic.c601 sp -= (bprm->envc + 1) * sizeof(char *); /* envv[] */ in create_elf_fdpic_tables()
677 csp -= (bprm->envc + 1) * sizeof(elf_caddr_t); in create_elf_fdpic_tables()
712 for (loop = bprm->envc; loop > 0; loop--) { in create_elf_fdpic_tables()