Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c626 int envp_count = bprm->envc; in tomoyo_environ()
Dcommon.h659 u16 envc; /* Number of "struct tomoyo_envp". */ member
/kernel/linux/linux-5.10/arch/x86/ia32/
Dia32_aout.c66 int argc = bprm->argc, envc = bprm->envc; in create_aout_tables() local
69 sp -= envc+1; in create_aout_tables()
87 while (envc-- > 0) { in create_aout_tables()
/kernel/linux/linux-5.10/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()
165 for (i = bprm->envc; i > 0; i--) { in create_flat_tables()
978 stack_len += (bprm->envc + 1) * sizeof(char *); /* the envp array */ in load_flat_binary()
Dexec.c505 ptr_size = (max(bprm->argc, 1) + bprm->envc) * sizeof(void *); in bprm_stack_limits()
1910 bprm->envc = retval; in do_execveat_common()
1921 retval = copy_strings(bprm->envc, envp, bprm); in do_execveat_common()
1979 bprm->envc = retval; in kernel_execve()
1990 retval = copy_strings_kernel(bprm->envc, envp, bprm); in kernel_execve()
Dbinfmt_elf.c179 int envc = bprm->envc; in create_elf_tables() local
297 items = (argc + 1) + (envc + 1) + 1; in create_elf_tables()
341 while (envc-- > 0) { in create_elf_tables()
Dbinfmt_elf_fdpic.c597 sp -= (bprm->envc + 1) * sizeof(char *); /* envv[] */ in create_elf_fdpic_tables()
673 csp -= (bprm->envc + 1) * sizeof(elf_caddr_t); in create_elf_fdpic_tables()
708 for (loop = bprm->envc; loop > 0; loop--) { in create_elf_fdpic_tables()
/kernel/liteos_a/kernel/extended/dynload/include/
Dlos_load_elf.h101 INT32 envc; member
/kernel/linux/linux-5.10/include/linux/
Dbinfmts.h54 int argc, envc; member
/kernel/liteos_a/kernel/extended/dynload/src/
Dlos_load_elf.c823 loadInfo->envc = OsGetParamNum(envp); in OsSetArgParams()
831 ret = OsCopyParams(loadInfo, loadInfo->envc, envp); in OsSetArgParams()
848 INT32 items = (loadInfo->argc + 1) + (loadInfo->envc + 1) + 1; in OsPutParamToStack()
867 (OsPutUserArgv(&loadInfo->argStart, &argsPtr, loadInfo->envc) != LOS_OK)) { in OsPutParamToStack()