Home
last modified time | relevance | path

Searched refs:envp (Results 1 – 13 of 13) sorted by relevance

/fs/
Dbinfmt_som.c70 char **argv, **envp; in create_som_tables() local
79 envp = (char **) sp; in create_som_tables()
84 __put_user((unsigned long) envp,++sp); in create_som_tables()
99 __put_user((char *)p,envp++); in create_som_tables()
102 __put_user(NULL, envp); in create_som_tables()
Dbinfmt_aout.c148 char __user * __user *envp; in create_aout_tables() local
168 envp = (char __user * __user *) sp; in create_aout_tables()
172 put_user((unsigned long) envp,--sp); in create_aout_tables()
188 put_user(p,envp++); in create_aout_tables()
193 put_user(NULL,envp); in create_aout_tables()
Dexec.c1459 struct user_arg_ptr envp) in do_execve_common() argument
1522 bprm->envc = count(envp, MAX_ARG_STRINGS); in do_execve_common()
1535 retval = copy_strings(bprm->envc, envp, bprm); in do_execve_common()
1588 struct user_arg_ptr envp = { .ptr.native = __envp }; in do_execve() local
1589 return do_execve_common(filename, argv, envp); in do_execve()
1601 struct user_arg_ptr envp = { in compat_do_execve() local
1605 return do_execve_common(filename, argv, envp); in compat_do_execve()
1680 const char __user *const __user *, envp) in SYSCALL_DEFINE3() argument
1685 error = do_execve(path->name, argv, envp); in SYSCALL_DEFINE3()
1693 const compat_uptr_t __user * envp) in compat_sys_execve() argument
[all …]
Dbinfmt_flat.c125 unsigned long *argv,*envp; in create_flat_tables() local
136 envp = argv + (argc + 1); in create_flat_tables()
139 put_user((unsigned long) envp, sp + 2); in create_flat_tables()
154 put_user((unsigned long)p, envp); envp++; in create_flat_tables()
159 put_user((unsigned long) NULL, envp); in create_flat_tables()
Dbinfmt_elf.c151 elf_addr_t __user *envp; in create_elf_tables() local
292 envp = argv + argc + 1; in create_elf_tables()
310 if (__put_user((elf_addr_t)p, envp++)) in create_elf_tables()
317 if (__put_user(0, envp)) in create_elf_tables()
322 sp = (elf_addr_t __user *)envp + 1; in create_elf_tables()
Dbinfmt_elf_fdpic.c482 elf_caddr_t __user *argv, *envp; in create_elf_fdpic_tables() local
649 envp = (elf_caddr_t __user *) csp; in create_elf_fdpic_tables()
681 __put_user((elf_caddr_t)(unsigned long) p, envp++); in create_elf_fdpic_tables()
687 __put_user(NULL, envp); in create_elf_fdpic_tables()
/fs/ocfs2/
Dstackglue.c422 char *argv[5], *envp[3]; in ocfs2_leave_group() local
431 envp[0] = "HOME=/"; in ocfs2_leave_group()
432 envp[1] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; in ocfs2_leave_group()
433 envp[2] = NULL; in ocfs2_leave_group()
435 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in ocfs2_leave_group()
/fs/nfs/
Dcache_lib.c36 static char *envp[] = { "HOME=/", in nfs_cache_upcall() local
51 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_EXEC); in nfs_cache_upcall()
/fs/nfsd/
Dnfs4recover.c1134 char *envp[2]; in nfsd4_umh_cltrack_upcall() local
1147 envp[0] = legacy; in nfsd4_umh_cltrack_upcall()
1148 envp[1] = NULL; in nfsd4_umh_cltrack_upcall()
1155 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in nfsd4_umh_cltrack_upcall()
/fs/gfs2/
Drecovery.c437 char *envp[] = { env_jid, env_status, NULL }; in gfs2_recovery_done() local
445 kobject_uevent_env(&sdp->sd_kobj, KOBJ_CHANGE, envp); in gfs2_recovery_done()
Dops_fstype.c572 char *envp[] = { message, NULL }; in gfs2_others_may_mount() local
579 kobject_uevent_env(&sdp->sd_kobj, KOBJ_CHANGE, envp); in gfs2_others_may_mount()
1066 char *envp[] = { ro, spectator, NULL }; in gfs2_online_uevent() local
1069 kobject_uevent_env(&sdp->sd_kobj, KOBJ_ONLINE, envp); in gfs2_online_uevent()
Dsys.c623 char *envp[] = { ro, spectator, NULL }; in gfs2_sys_fs_add() local
651 kobject_uevent_env(&sdp->sd_kobj, KOBJ_ADD, envp); in gfs2_sys_fs_add()
/fs/nfs/objlayout/
Dobjlayout.c668 static char *envp[] = { "HOME=/", in __objlayout_upcall() local
694 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in __objlayout_upcall()