Home
last modified time | relevance | path

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

/Linux-v4.19/security/tomoyo/
Dcondition.c59 const int envc, const struct tomoyo_envp *envp, in tomoyo_envp() argument
69 for (i = 0; i < envc; envp++, checked++, i++) { in tomoyo_envp()
103 const u16 envc, const struct tomoyo_envp *envp) in tomoyo_scan_bprm() argument
112 int envp_count = bprm->envc; in tomoyo_scan_bprm()
116 if (argc + envc <= sizeof(local_checked)) { in tomoyo_scan_bprm()
120 checked = kzalloc(argc + envc, GFP_NOFS); in tomoyo_scan_bprm()
166 envc, envp, in tomoyo_scan_bprm()
198 for (i = 0; i < envc; envp++, i++) { in tomoyo_scan_bprm()
351 a->argc == b->argc && a->envc == b->envc && in tomoyo_same_condition()
563 e.envc++; in tomoyo_get_condition()
[all …]
Dgc.c277 const u16 envc = cond->envc; in tomoyo_del_condition() local
295 for (i = 0; i < envc; envp++, i++) { in tomoyo_del_condition()
Daudit.c33 int envp_count = bprm->envc; in tomoyo_print_bprm()
280 realpath, bprm->argc, bprm->envc, bprm_info); in tomoyo_init_log()
Ddomain.c602 int envp_count = bprm->envc; in tomoyo_environ()
Dcommon.h656 u16 envc; /* Number of "struct tomoyo_envp". */ member
/Linux-v4.19/fs/
Dbinfmt_aout.c147 int envc = bprm->envc; in create_aout_tables() local
163 sp -= envc+1; in create_aout_tables()
182 while (envc-->0) { in create_aout_tables()
Dbinfmt_flat.c121 sp -= bprm->envc + 1; in create_flat_tables()
150 for (i = bprm->envc; i > 0; i--) { in create_flat_tables()
930 stack_len += (bprm->envc + 1) * sizeof(char *); /* the envp array */ in load_flat_binary()
Dexec.c237 ptr_size = (bprm->argc + bprm->envc) * sizeof(void *); in get_arg_page()
1796 bprm->envc = count(envp, MAX_ARG_STRINGS); in __do_execve_file()
1797 if ((retval = bprm->envc) < 0) in __do_execve_file()
1809 retval = copy_strings(bprm->envc, envp, bprm); in __do_execve_file()
Dbinfmt_elf.c170 int envc = bprm->envc; in create_elf_tables() local
287 items = (argc + 1) + (envc + 1) + 1; in create_elf_tables()
328 while (envc-- > 0) { in create_elf_tables()
Dbinfmt_elf_fdpic.c601 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()
707 for (loop = bprm->envc; loop > 0; loop--) { in create_elf_fdpic_tables()
/Linux-v4.19/arch/x86/ia32/
Dia32_aout.c223 int argc = bprm->argc, envc = bprm->envc; in create_aout_tables() local
226 sp -= envc+1; in create_aout_tables()
244 while (envc-- > 0) { in create_aout_tables()
/Linux-v4.19/include/linux/
Dbinfmts.h56 int argc, envc; member