Home
last modified time | relevance | path

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

/fs/
Dexec.c1535 struct user_arg_ptr envp, in do_execveat_common() argument
1618 bprm->envc = count(envp, MAX_ARG_STRINGS); in do_execveat_common()
1631 retval = copy_strings(bprm->envc, envp, bprm); in do_execveat_common()
1682 struct user_arg_ptr envp = { .ptr.native = __envp }; in do_execve() local
1683 return do_execveat_common(AT_FDCWD, filename, argv, envp, 0); in do_execve()
1692 struct user_arg_ptr envp = { .ptr.native = __envp }; in do_execveat() local
1694 return do_execveat_common(fd, filename, argv, envp, flags); in do_execveat()
1706 struct user_arg_ptr envp = { in compat_do_execve() local
1710 return do_execveat_common(AT_FDCWD, filename, argv, envp, 0); in compat_do_execve()
1722 struct user_arg_ptr envp = { in compat_do_execveat() local
[all …]
Dbinfmt_aout.c147 char __user * __user *envp; in create_aout_tables() local
167 envp = (char __user * __user *) sp; in create_aout_tables()
171 put_user((unsigned long) envp,--sp); in create_aout_tables()
187 put_user(p,envp++); in create_aout_tables()
192 put_user(NULL,envp); in create_aout_tables()
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.c158 elf_addr_t __user *envp; in create_elf_tables() local
299 envp = argv + argc + 1; in create_elf_tables()
317 if (__put_user((elf_addr_t)p, envp++)) in create_elf_tables()
324 if (__put_user(0, envp)) in create_elf_tables()
329 sp = (elf_addr_t __user *)envp + 1; in create_elf_tables()
Dbinfmt_elf_fdpic.c500 elf_caddr_t __user *argv, *envp; in create_elf_fdpic_tables() local
667 envp = (elf_caddr_t __user *) csp; in create_elf_fdpic_tables()
699 __put_user((elf_caddr_t)(unsigned long) p, envp++); in create_elf_fdpic_tables()
705 __put_user(NULL, envp); in create_elf_fdpic_tables()
/fs/ocfs2/
Dstackglue.c429 char *argv[5], *envp[3]; in ocfs2_leave_group() local
438 envp[0] = "HOME=/"; in ocfs2_leave_group()
439 envp[1] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; in ocfs2_leave_group()
440 envp[2] = NULL; in ocfs2_leave_group()
442 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.c1189 char *envp[3]; in nfsd4_umh_cltrack_upcall() local
1203 envp[0] = env0; in nfsd4_umh_cltrack_upcall()
1204 envp[1] = env1; in nfsd4_umh_cltrack_upcall()
1205 envp[2] = NULL; in nfsd4_umh_cltrack_upcall()
1212 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in nfsd4_umh_cltrack_upcall()
Dnfs4layouts.c583 static char *envp[] = { in nfsd4_cb_layout_fail() local
605 error = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in nfsd4_cb_layout_fail()
/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.c531 char *envp[] = { message, NULL }; in gfs2_others_may_mount() local
538 kobject_uevent_env(&sdp->sd_kobj, KOBJ_CHANGE, envp); in gfs2_others_may_mount()
1037 char *envp[] = { ro, spectator, NULL }; in gfs2_online_uevent() local
1040 kobject_uevent_env(&sdp->sd_kobj, KOBJ_ONLINE, envp); in gfs2_online_uevent()
Dsys.c655 char *envp[] = { ro, spectator, NULL }; in gfs2_sys_fs_add() local
683 kobject_uevent_env(&sdp->sd_kobj, KOBJ_ADD, envp); in gfs2_sys_fs_add()
/fs/nfs/objlayout/
Dobjlayout.c597 static char *envp[] = { "HOME=/", in __objlayout_upcall() local
623 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in __objlayout_upcall()