Home
last modified time | relevance | path

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

/Linux-v5.4/security/tomoyo/
Dcondition.c61 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 …]
Dgc.c285 const u16 envc = cond->envc; in tomoyo_del_condition() local
304 for (i = 0; i < envc; envp++, i++) { in tomoyo_del_condition()
Daudit.c33 int envp_count = bprm->envc; in tomoyo_print_bprm()
285 realpath, bprm->argc, bprm->envc, bprm_info); in tomoyo_init_log()
Ddomain.c622 int envp_count = bprm->envc; in tomoyo_environ()
Dcommon.h659 u16 envc; /* Number of "struct tomoyo_envp". */ member
/Linux-v5.4/fs/
Dbinfmt_aout.c65 int envc = bprm->envc; in create_aout_tables() local
81 sp -= envc+1; in create_aout_tables()
100 while (envc-->0) { in create_aout_tables()
Dbinfmt_flat.c132 sp -= bprm->envc + 1; in create_flat_tables()
162 for (i = bprm->envc; i > 0; i--) { in create_flat_tables()
944 stack_len += (bprm->envc + 1) * sizeof(char *); /* the envp array */ in load_flat_binary()
Dexec.c460 bprm->envc = count(envp, MAX_ARG_STRINGS); in prepare_arg_pages()
461 if (bprm->envc < 0) in prepare_arg_pages()
462 return bprm->envc; in prepare_arg_pages()
486 ptr_size = (bprm->argc + bprm->envc) * sizeof(void *); in prepare_arg_pages()
1812 retval = copy_strings(bprm->envc, envp, bprm); in __do_execve_file()
Dbinfmt_elf.c169 int envc = bprm->envc; in create_elf_tables() local
286 items = (argc + 1) + (envc + 1) + 1; in create_elf_tables()
327 while (envc-- > 0) { in create_elf_tables()
Dbinfmt_elf_fdpic.c597 sp -= (bprm->envc + 1) * sizeof(char *); /* envv[] */ in create_elf_fdpic_tables()
671 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()
/Linux-v5.4/arch/x86/ia32/
Dia32_aout.c67 int argc = bprm->argc, envc = bprm->envc; in create_aout_tables() local
70 sp -= envc+1; in create_aout_tables()
88 while (envc-- > 0) { in create_aout_tables()
/Linux-v5.4/include/linux/
Dbinfmts.h56 int argc, envc; member