Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 8 of 8) sorted by relevance

/fs/ocfs2/
Dstackglue.c396 char *argv[5], *envp[3]; in ocfs2_leave_group() local
398 argv[0] = ocfs2_hb_ctl_path; in ocfs2_leave_group()
399 argv[1] = "-K"; in ocfs2_leave_group()
400 argv[2] = "-u"; in ocfs2_leave_group()
401 argv[3] = (char *)group; in ocfs2_leave_group()
402 argv[4] = NULL; in ocfs2_leave_group()
409 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in ocfs2_leave_group()
414 ret, argv[0], argv[1], argv[2], argv[3]); in ocfs2_leave_group()
/fs/
Dbinfmt_som.c70 char **argv, **envp; in create_som_tables() local
81 argv = (char **) sp; in create_som_tables()
85 __put_user((unsigned long) argv,++sp); in create_som_tables()
93 __put_user((char *)p,argv++); in create_som_tables()
96 __put_user(NULL, argv); in create_som_tables()
Dexec.c373 static int count(char __user * __user * argv, int max) in count() argument
377 if (argv != NULL) { in count()
381 if (get_user(p, argv)) in count()
385 argv++; in count()
399 static int copy_strings(int argc, char __user * __user * argv, in copy_strings() argument
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()
1269 extern void qemu_trace_execve(int argc, char __user * __user * argv);
1276 char __user *__user *argv, in do_execve() argument
[all …]
Dbinfmt_aout.c164 char __user * __user *argv; in create_aout_tables() local
187 argv = (char __user * __user *) sp; in create_aout_tables()
190 put_user((unsigned long) argv,--sp); in create_aout_tables()
196 put_user(p,argv++); in create_aout_tables()
201 put_user(NULL,argv); in create_aout_tables()
Dbinfmt_flat.c110 unsigned long *argv,*envp; in create_flat_tables() local
122 argv = sp; in create_flat_tables()
127 --sp; put_user((unsigned long) argv, sp); in create_flat_tables()
133 put_user((unsigned long) p, argv++); in create_flat_tables()
138 put_user((unsigned long) NULL, argv); in create_flat_tables()
Dcompat.c1268 static int compat_count(compat_uptr_t __user *argv, int max) in compat_count() argument
1272 if (argv != NULL) { in compat_count()
1276 if (get_user(p, argv)) in compat_count()
1280 argv++; in compat_count()
1292 static int compat_copy_strings(int argc, compat_uptr_t __user *argv, in compat_copy_strings() argument
1305 if (get_user(str, argv+argc) || in compat_copy_strings()
1389 compat_uptr_t __user *argv, in compat_do_execve() argument
1427 bprm->argc = compat_count(argv, MAX_ARG_STRINGS); in compat_do_execve()
1448 retval = compat_copy_strings(bprm->argc, argv, bprm); in compat_do_execve()
Dbinfmt_elf.c150 elf_addr_t __user *argv; in create_elf_tables() local
288 argv = sp; in create_elf_tables()
289 envp = argv + argc + 1; in create_elf_tables()
295 if (__put_user((elf_addr_t)p, argv++)) in create_elf_tables()
302 if (__put_user(0, argv)) in create_elf_tables()
Dbinfmt_elf_fdpic.c472 elf_caddr_t __user *argv, *envp; in create_elf_fdpic_tables() local
641 argv = (elf_caddr_t __user *) csp; in create_elf_fdpic_tables()
659 __put_user((elf_caddr_t) p, argv++); in create_elf_fdpic_tables()
665 __put_user(NULL, argv); in create_elf_fdpic_tables()