Home
last modified time | relevance | path

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

/linux/fs/tests/
H A Dexec_kunit.c13 .argc = INT_MIN, .envc = INT_MIN }, .expected_rc = -E2BIG },
15 .argc = 5, .envc = -1 }, .expected_rc = -E2BIG },
17 .argc = -1, .envc = 10 }, .expected_rc = -E2BIG },
20 .argc = INT_MAX, .envc = INT_MAX }, .expected_rc = -E2BIG },
22 .argc = MAX_ARG_STRINGS, .envc = MAX_ARG_STRINGS }, .expected_rc = -E2BIG },
24 .argc = 0, .envc = MAX_ARG_STRINGS }, .expected_rc = -E2BIG },
26 .argc = MAX_ARG_STRINGS, .envc = 0 }, .expected_rc = -E2BIG },
33 .argc = 0x20000001, .envc = 0x20000001 }, .expected_rc = -E2BIG },
37 .argc = 10, .envc = 10 }, .expected_rc = -E2BIG },
44 .argc = 1, .envc = 0 }, .expected_argmin = ULONG_MAX - ARG_MAX + sizeof(void *)},
[all …]
/linux/security/tomoyo/
H A 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 …]
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()
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.h659 u16 envc; /* Number of "struct tomoyo_envp". */ member
/linux/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()
/linux/include/linux/
H A Dbinfmts.h59 int argc, envc; member
/linux/fs/
H A Dbinfmt_flat.c117 sp -= bprm->envc + 1; in create_flat_tables()
150 for (i = bprm->envc; i > 0; i--) { in create_flat_tables()
877 stack_len += (bprm->envc + 1) * sizeof(char *); /* the envp array */ in load_flat_binary()
H A Dbinfmt_elf.c163 int envc = bprm->envc; in create_elf_tables() local
294 items = (argc + 1) + (envc + 1) + 1; in create_elf_tables()
338 while (envc-- > 0) { in create_elf_tables()
H A Dbinfmt_elf_fdpic.c601 sp -= (bprm->envc + 1) * sizeof(char *); /* envv[] */ in create_elf_fdpic_tables()
677 csp -= (bprm->envc + 1) * sizeof(elf_caddr_t); in create_elf_fdpic_tables()
712 for (loop = bprm->envc; loop > 0; loop--) { in create_elf_fdpic_tables()