/openbmc/linux/security/tomoyo/ |
H A 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 …]
|
H A 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()
|
H A 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()
|
H A D | domain.c | 624 int envp_count = bprm->envc; in tomoyo_environ()
|
H A D | common.h | 659 u16 envc; /* Number of "struct tomoyo_envp". */ member
|
/openbmc/linux/tools/objtool/ |
H A 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()
|
/openbmc/qemu/linux-user/ |
H A D | linuxload.c | 89 abi_ulong loader_build_argptr(int envc, int argc, abi_ulong sp, in loader_build_argptr() argument 97 sp -= (envc + 1) * n; in loader_build_argptr() 102 ts->info->envc = envc; in loader_build_argptr() 129 while (envc-- > 0) { in loader_build_argptr() 151 bprm->envc = count(envp); in loader_exec()
|
H A D | loader.h | 78 int argc, envc; member 86 abi_ulong loader_build_argptr(int envc, int argc, abi_ulong sp,
|
H A D | flatload.c | 482 for (i = 0; i < bprm->envc; ++i) { in load_flt_binary() 487 stack_len += (bprm->envc + 1) * 4; /* the envp array */ in load_flt_binary() 519 p = copy_strings(p, bprm->envc, bprm->envp); in load_flt_binary() 525 stack_len = bprm->envc + bprm->argc + 2; in load_flt_binary() 530 sp = loader_build_argptr(bprm->envc, bprm->argc, sp, p, in load_flt_binary()
|
H A D | elfload.c | 2470 static abi_ulong create_elf_tables(abi_ulong p, int argc, int envc, in create_elf_tables() argument 2579 size += envc + argc + 2; in create_elf_tables() 2594 u_auxv = u_envp + (envc + 1) * n; in create_elf_tables() 2597 info->envc = envc; in create_elf_tables() 2668 for (i = 0; i < envc; ++i) { in create_elf_tables() 3817 bprm->p = copy_elf_strings(bprm->envc, bprm->envp, scratch, in load_elf_binary() 3828 bprm->p = copy_elf_strings(bprm->envc, bprm->envp, scratch, in load_elf_binary() 3898 bprm->p = create_elf_tables(bprm->p, bprm->argc, bprm->envc, &ehdr, info, in load_elf_binary()
|
H A D | qemu.h | 42 abi_ulong envc; member
|
H A D | syscall.c | 8569 int argc, envc; in do_execv() local 8586 envc = 0; in do_execv() 8594 envc++; in do_execv() 8598 envp = g_new0(char *, envc + 1); in do_execv()
|
/openbmc/qemu/bsd-user/freebsd/ |
H A D | target_os_stack.h | 105 for (i = 0; i < bprm->envc; ++i) { in setup_initial_stack() 114 p = argvp = destp - (bprm->argc + bprm->envc + 2) * sizeof(abi_ulong); in setup_initial_stack() 150 ps_strs.ps_nenvstr = tswap32(bprm->envc); in setup_initial_stack() 151 for (i = 0; i < bprm->envc; ++i) { in setup_initial_stack()
|
H A D | target_os_elf.h | 69 static abi_ulong target_create_elf_tables(abi_ulong p, int argc, int envc, in target_create_elf_tables() argument 88 size += envc + argc + 2; in target_create_elf_tables() 135 sp = loader_build_argptr(envc, argc, sp, stringp); in target_create_elf_tables()
|
H A D | os-proc.c | 36 int argc, envc; in freebsd_exec_common() local 54 envc = 0; in freebsd_exec_common() 62 envc++; in freebsd_exec_common() 69 envp = g_new0(char *, envc + 1); in freebsd_exec_common()
|
/openbmc/qemu/bsd-user/ |
H A D | bsdload.c | 98 abi_ulong loader_build_argptr(int envc, int argc, abi_ulong sp, in loader_build_argptr() argument 105 sp -= (envc + 1) * n; in loader_build_argptr() 121 while (envc-- > 0) { in loader_build_argptr() 186 bprm->envc = count(envp); in loader_exec()
|
H A D | qemu.h | 151 int argc, envc; member 160 abi_ulong loader_build_argptr(int envc, int argc, abi_ulong sp,
|
H A D | elfload.c | 627 bprm->p = copy_elf_strings(bprm->envc, bprm->envp, bprm->page, bprm->p); in load_elf_binary() 810 bprm->p = target_create_elf_tables(bprm->p, bprm->argc, bprm->envc, in load_elf_binary()
|
/openbmc/qemu/bsd-user/openbsd/ |
H A D | target_os_elf.h | 66 static abi_ulong target_create_elf_tables(abi_ulong p, int argc, int envc, in target_create_elf_tables() argument 101 size += envc + argc + 2; in target_create_elf_tables() 144 sp = loader_build_argptr(envc, argc, sp, stringp); in target_create_elf_tables()
|
/openbmc/qemu/bsd-user/netbsd/ |
H A D | target_os_elf.h | 66 static abi_ulong target_create_elf_tables(abi_ulong p, int argc, int envc, in target_create_elf_tables() argument 101 size += envc + argc + 2; in target_create_elf_tables() 144 sp = loader_build_argptr(envc, argc, sp, stringp); in target_create_elf_tables()
|
/openbmc/linux/include/linux/ |
H A D | binfmts.h | 54 int argc, envc; member
|
/openbmc/linux/fs/ |
H A 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()
|
H A D | exec.c | 507 ptr_size = (max(bprm->argc, 1) + bprm->envc) * sizeof(void *); in bprm_stack_limits() 1963 bprm->envc = retval; in do_execveat_common() 1974 retval = copy_strings(bprm->envc, envp, bprm); in do_execveat_common() 2036 bprm->envc = retval; in kernel_execve() 2047 retval = copy_strings_kernel(bprm->envc, envp, bprm); in kernel_execve()
|
H A D | binfmt_elf.c | 182 int envc = bprm->envc; in create_elf_tables() local 307 items = (argc + 1) + (envc + 1) + 1; in create_elf_tables() 351 while (envc-- > 0) { in create_elf_tables()
|
H A D | binfmt_elf_fdpic.c | 597 sp -= (bprm->envc + 1) * sizeof(char *); /* envv[] */ in create_elf_fdpic_tables() 675 csp -= (bprm->envc + 1) * sizeof(elf_caddr_t); in create_elf_fdpic_tables() 710 for (loop = bprm->envc; loop > 0; loop--) { in create_elf_fdpic_tables()
|