Home
last modified time | relevance | path

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

/linux-6.1.9/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.c624 int envp_count = bprm->envc; in tomoyo_environ()
Dcommon.h659 u16 envc; /* Number of "struct tomoyo_envp". */ member
/linux-6.1.9/tools/objtool/
Dbuiltin-check.c96 int envc; in cmd_parse_options() local
101 for (envc = 1; envc < ARRAY_SIZE(envv); ) { in cmd_parse_options()
102 envv[envc++] = env; in cmd_parse_options()
110 parse_options(envc, envv, check_options, env_usage, 0); in cmd_parse_options()
/linux-6.1.9/include/linux/
Dbinfmts.h52 int argc, envc; member
/linux-6.1.9/fs/
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()
Dexec.c503 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()
1983 bprm->envc = retval; in kernel_execve()
1994 retval = copy_strings_kernel(bprm->envc, envp, bprm); in kernel_execve()
Dbinfmt_elf.c181 int envc = bprm->envc; in create_elf_tables() local
302 items = (argc + 1) + (envc + 1) + 1; in create_elf_tables()
346 while (envc-- > 0) { in create_elf_tables()
Dbinfmt_elf_fdpic.c598 sp -= (bprm->envc + 1) * sizeof(char *); /* envv[] */ in create_elf_fdpic_tables()
676 csp -= (bprm->envc + 1) * sizeof(elf_caddr_t); in create_elf_fdpic_tables()
711 for (loop = bprm->envc; loop > 0; loop--) { in create_elf_fdpic_tables()