Home
last modified time | relevance | path

Searched refs:envc (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/security/tomoyo/
H A Dcondition.c54 * @envc: Length of @envp.
61 const int envc, const struct tomoyo_envp *envp, in tomoyo_envp()
72 for (i = 0; i < envc; envp++, checked++, i++) { in tomoyo_envp()
100 * @envc: Length of @envp.
107 const u16 envc, const struct tomoyo_envp *envp) in tomoyo_scan_bprm()
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; env in tomoyo_scan_bprm()
60 tomoyo_envp(const char *env_name, const char *env_value, const int envc, const struct tomoyo_envp *envp, u8 *checked) tomoyo_envp() argument
105 tomoyo_scan_bprm(struct tomoyo_execve *ee, const u16 argc, const struct tomoyo_argv *argv, const u16 envc, const struct tomoyo_envp *envp) tomoyo_scan_bprm() argument
779 u16 envc; tomoyo_condition() local
[all...]
H A Dgc.c285 const u16 envc = cond->envc; in tomoyo_del_condition() local
304 for (i = 0; i < envc; envp++, i++) { in tomoyo_del_condition()
H A Daudit.c33 int envp_count = bprm->envc; in tomoyo_print_bprm()
267 /* +80 is for " exec={ realpath=\"%s\" argc=%d envc=%d %s }" */ in tomoyo_init_log()
284 " exec={ realpath=\"%s\" argc=%d envc=%d %s }", in tomoyo_init_log()
285 realpath, bprm->argc, bprm->envc, bprm_info); in tomoyo_init_log()
H A Ddomain.c626 int envp_count = bprm->envc; in tomoyo_environ()
H A Dcommon.h81 TOMOYO_EXEC_ENVC, /* "struct linux_binprm *"->envc */
659 u16 envc; /* Number of "struct tomoyo_envp". */ member
667 * struct tomoyo_envp envp[envc];
/kernel/linux/linux-6.6/security/tomoyo/
H A Dcondition.c54 * @envc: Length of @envp.
61 const int envc, const struct tomoyo_envp *envp, in tomoyo_envp()
72 for (i = 0; i < envc; envp++, checked++, i++) { in tomoyo_envp()
100 * @envc: Length of @envp.
107 const u16 envc, const struct tomoyo_envp *envp) in tomoyo_scan_bprm()
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; env in tomoyo_scan_bprm()
60 tomoyo_envp(const char *env_name, const char *env_value, const int envc, const struct tomoyo_envp *envp, u8 *checked) tomoyo_envp() argument
105 tomoyo_scan_bprm(struct tomoyo_execve *ee, const u16 argc, const struct tomoyo_argv *argv, const u16 envc, const struct tomoyo_envp *envp) tomoyo_scan_bprm() argument
779 u16 envc; tomoyo_condition() local
[all...]
H A Dgc.c285 const u16 envc = cond->envc; in tomoyo_del_condition() local
304 for (i = 0; i < envc; envp++, i++) { in tomoyo_del_condition()
H A Daudit.c33 int envp_count = bprm->envc; in tomoyo_print_bprm()
267 /* +80 is for " exec={ realpath=\"%s\" argc=%d envc=%d %s }" */ in tomoyo_init_log()
284 " exec={ realpath=\"%s\" argc=%d envc=%d %s }", in tomoyo_init_log()
285 realpath, bprm->argc, bprm->envc, bprm_info); in tomoyo_init_log()
H A Ddomain.c624 int envp_count = bprm->envc; in tomoyo_environ()
H A Dcommon.h81 TOMOYO_EXEC_ENVC, /* "struct linux_binprm *"->envc */
659 u16 envc; /* Number of "struct tomoyo_envp". */ member
667 * struct tomoyo_envp envp[envc];
/kernel/linux/linux-6.6/tools/objtool/
H A Dbuiltin-check.c105 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()
/kernel/linux/linux-5.10/fs/
H A 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()
H A 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()
H A Dexec.c505 ptr_size = (max(bprm->argc, 1) + bprm->envc) * sizeof(void *); in bprm_stack_limits()
1919 bprm->envc = retval; in do_execveat_common()
1930 retval = copy_strings(bprm->envc, envp, bprm); in do_execveat_common()
1988 bprm->envc = retval; in kernel_execve()
1999 retval = copy_strings_kernel(bprm->envc, envp, bprm); in kernel_execve()
H A 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()
H A Dbinfmt_elf_fdpic.c596 sp -= (bprm->envc + 1) * sizeof(char *); /* envv[] */ in create_elf_fdpic_tables()
672 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()
/kernel/linux/linux-5.10/arch/x86/ia32/
H A 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/liteos_a/kernel/extended/dynload/include/
H A Dlos_load_elf.h101 INT32 envc; member
/kernel/linux/linux-5.10/include/linux/
H A Dbinfmts.h54 int argc, envc; member
/kernel/linux/linux-6.6/include/linux/
H A Dbinfmts.h52 int argc, envc; member
/kernel/linux/linux-6.6/fs/
H A Dbinfmt_flat.c115 sp -= bprm->envc + 1; in create_flat_tables()
148 for (i = bprm->envc; i > 0; i--) { in create_flat_tables()
875 stack_len += (bprm->envc + 1) * sizeof(char *); /* the envp array */ in load_flat_binary()
H A Dexec.c510 ptr_size = (max(bprm->argc, 1) + bprm->envc) * sizeof(void *); in bprm_stack_limits()
1937 bprm->envc = retval; in do_execveat_common()
1948 retval = copy_strings(bprm->envc, envp, bprm); in do_execveat_common()
2010 bprm->envc = retval; in kernel_execve()
2021 retval = copy_strings_kernel(bprm->envc, envp, bprm); in kernel_execve()
H A Dbinfmt_elf.c182 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 Dbinfmt_elf_fdpic.c597 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()
/kernel/liteos_a/kernel/extended/dynload/src/
H A 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()

Completed in 53 milliseconds