Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 10 of 10) sorted by relevance

/fs/
Dbinfmt_em86.c69 bprm->argc++; in load_em86()
73 bprm->argc++; in load_em86()
77 bprm->argc++; in load_em86()
Dbinfmt_script.c76 bprm->argc++; in load_script()
80 bprm->argc++; in load_script()
84 bprm->argc++; in load_script()
Dbinfmt_som.c71 int argc = bprm->argc; in create_som_tables() local
82 sp += argc + 1; in create_som_tables()
87 __put_user(argc, ++sp); in create_som_tables()
92 while (argc-- > 0) { in create_som_tables()
Dexec.c399 static int copy_strings(int argc, char __user * __user * argv, in copy_strings() argument
407 while (argc-- > 0) { in copy_strings()
412 if (get_user(str, argv+argc) || in copy_strings()
482 int copy_strings_kernel(int argc,char ** argv, struct linux_binprm *bprm) in copy_strings_kernel() argument
487 r = copy_strings(argc, (char __user * __user *)argv, bprm); in copy_strings_kernel()
1149 if (!bprm->argc) in remove_arg_zero()
1173 bprm->argc--; in remove_arg_zero()
1269 extern void qemu_trace_execve(int argc, char __user * __user * argv);
1319 bprm->argc = count(argv, MAX_ARG_STRINGS); in do_execve()
1320 if ((retval = bprm->argc) < 0) in do_execve()
[all …]
Dbinfmt_aout.c167 int argc = bprm->argc; in create_aout_tables() local
186 sp -= argc+1; in create_aout_tables()
192 put_user(argc,--sp); in create_aout_tables()
194 while (argc-->0) { in create_aout_tables()
Dbinfmt_flat.c113 int argc = bprm->argc; in create_flat_tables() local
121 sp -= argc+1; in create_flat_tables()
130 put_user(argc,--sp); in create_flat_tables()
132 while (argc-->0) { in create_flat_tables()
855 stack_len += (bprm->argc + 1) * sizeof(char *); /* the argv array */ in load_flat_binary()
Dbinfmt_elf.c148 int argc = bprm->argc; in create_elf_tables() local
265 items = (argc + 1) + (envc + 1) + 1; in create_elf_tables()
286 if (__put_user(argc, sp++)) in create_elf_tables()
289 envp = argv + argc + 1; in create_elf_tables()
293 while (argc-- > 0) { in create_elf_tables()
Dbinfmt_misc.c171 bprm->argc++; in load_misc_binary()
177 bprm->argc ++; in load_misc_binary()
Dcompat.c1292 static int compat_copy_strings(int argc, compat_uptr_t __user *argv, in compat_copy_strings() argument
1300 while (argc-- > 0) { in compat_copy_strings()
1305 if (get_user(str, argv+argc) || in compat_copy_strings()
1427 bprm->argc = compat_count(argv, MAX_ARG_STRINGS); in compat_do_execve()
1428 if ((retval = bprm->argc) < 0) in compat_do_execve()
1448 retval = compat_copy_strings(bprm->argc, argv, bprm); in compat_do_execve()
Dbinfmt_elf_fdpic.c568 sp -= (bprm->argc + 1) * sizeof(char *); /* argv[] */ in create_elf_fdpic_tables()
640 csp -= (bprm->argc + 1) * sizeof(elf_caddr_t); in create_elf_fdpic_tables()
645 __put_user(bprm->argc, (unsigned long __user *) csp); in create_elf_fdpic_tables()
658 for (loop = bprm->argc; loop > 0; loop--) { in create_elf_fdpic_tables()