/linux-6.12.1/fs/tests/ |
D | exec_kunit.c | 13 .argc = INT_MIN, .envc = INT_MIN }, .expected_rc = -E2BIG }, 15 .argc = 5, .envc = -1 }, .expected_rc = -E2BIG }, 17 .argc = -1, .envc = 10 }, .expected_rc = -E2BIG }, 20 .argc = INT_MAX, .envc = INT_MAX }, .expected_rc = -E2BIG }, 22 .argc = MAX_ARG_STRINGS, .envc = MAX_ARG_STRINGS }, .expected_rc = -E2BIG }, 24 .argc = 0, .envc = MAX_ARG_STRINGS }, .expected_rc = -E2BIG }, 26 .argc = MAX_ARG_STRINGS, .envc = 0 }, .expected_rc = -E2BIG }, 33 .argc = 0x20000001, .envc = 0x20000001 }, .expected_rc = -E2BIG }, 37 .argc = 10, .envc = 10 }, .expected_rc = -E2BIG }, 44 .argc = 1, .envc = 0 }, .expected_argmin = ULONG_MAX - ARG_MAX + sizeof(void *)}, [all …]
|
/linux-6.12.1/security/tomoyo/ |
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() 107 const u16 envc, const struct tomoyo_envp *envp) in tomoyo_scan_bprm() argument 116 int envp_count = bprm->envc; in tomoyo_scan_bprm() 121 if (argc + envc <= sizeof(local_checked)) { in tomoyo_scan_bprm() 125 checked = kzalloc(argc + envc, GFP_NOFS); in tomoyo_scan_bprm() 173 envc, envp, in tomoyo_scan_bprm() 206 for (i = 0; i < envc; envp++, i++) { in tomoyo_scan_bprm() 363 a->argc == b->argc && a->envc == b->envc && in tomoyo_same_condition() 581 e.envc++; in tomoyo_get_condition() [all …]
|
D | gc.c | 285 const u16 envc = cond->envc; in tomoyo_del_condition() local 304 for (i = 0; i < envc; envp++, i++) { in tomoyo_del_condition()
|
D | audit.c | 33 int envp_count = bprm->envc; in tomoyo_print_bprm() 285 realpath, bprm->argc, bprm->envc, bprm_info); in tomoyo_init_log()
|
D | domain.c | 624 int envp_count = bprm->envc; in tomoyo_environ()
|
D | common.h | 659 u16 envc; /* Number of "struct tomoyo_envp". */ member
|
/linux-6.12.1/tools/objtool/ |
D | builtin-check.c | 105 int envc; in cmd_parse_options() local 110 for (envc = 1; envc < ARRAY_SIZE(envv); ) { in cmd_parse_options() 111 envv[envc++] = env; in cmd_parse_options() 119 parse_options(envc, envv, check_options, env_usage, 0); in cmd_parse_options()
|
/linux-6.12.1/include/linux/ |
D | binfmts.h | 52 int argc, envc; member
|
/linux-6.12.1/fs/ |
D | exec.c | 536 if (bprm->argc < 0 || bprm->envc < 0) in bprm_stack_limits() 551 if (check_add_overflow(max(bprm->argc, 1), bprm->envc, &ptr_size) || in bprm_stack_limits() 1920 bprm->envc = retval; in do_execveat_common() 1931 retval = copy_strings(bprm->envc, envp, bprm); in do_execveat_common() 1993 bprm->envc = retval; in kernel_execve() 2004 retval = copy_strings_kernel(bprm->envc, envp, bprm); in kernel_execve()
|
D | binfmt_flat.c | 117 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()
|
D | binfmt_elf.c | 163 int envc = bprm->envc; in create_elf_tables() local 288 items = (argc + 1) + (envc + 1) + 1; in create_elf_tables() 332 while (envc-- > 0) { in create_elf_tables()
|
D | binfmt_elf_fdpic.c | 598 sp -= (bprm->envc + 1) * sizeof(char *); /* envv[] */ in create_elf_fdpic_tables() 668 csp -= (bprm->envc + 1) * sizeof(elf_caddr_t); in create_elf_fdpic_tables() 703 for (loop = bprm->envc; loop > 0; loop--) { in create_elf_fdpic_tables()
|