Home
last modified time | relevance | path

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

/fs/
Dexec.c1680 struct user_arg_ptr envp, in do_execveat_common() argument
1763 bprm->envc = count(envp, MAX_ARG_STRINGS); in do_execveat_common()
1776 retval = copy_strings(bprm->envc, envp, bprm); in do_execveat_common()
1829 struct user_arg_ptr envp = { .ptr.native = __envp }; in do_execve() local
1830 return do_execveat_common(AT_FDCWD, filename, argv, envp, 0); in do_execve()
1839 struct user_arg_ptr envp = { .ptr.native = __envp }; in do_execveat() local
1841 return do_execveat_common(fd, filename, argv, envp, flags); in do_execveat()
1853 struct user_arg_ptr envp = { in compat_do_execve() local
1857 return do_execveat_common(AT_FDCWD, filename, argv, envp, 0); in compat_do_execve()
1869 struct user_arg_ptr envp = { in compat_do_execveat() local
[all …]
Dbinfmt_aout.c143 char __user * __user *envp; in create_aout_tables() local
163 envp = (char __user * __user *) sp; in create_aout_tables()
167 put_user((unsigned long) envp,--sp); in create_aout_tables()
183 put_user(p,envp++); in create_aout_tables()
188 put_user(NULL,envp); in create_aout_tables()
Dbinfmt_flat.c129 unsigned long argv, envp; in create_flat_tables() local
131 envp = (unsigned long)(sp + 2 + bprm->argc + 1); in create_flat_tables()
133 __put_user(envp, sp++); in create_flat_tables()
Dbinfmt_elf.c157 elf_addr_t __user *envp; in create_elf_tables() local
298 envp = argv + argc + 1; in create_elf_tables()
316 if (__put_user((elf_addr_t)p, envp++)) in create_elf_tables()
323 if (__put_user(0, envp)) in create_elf_tables()
328 sp = (elf_addr_t __user *)envp + 1; in create_elf_tables()
Dbinfmt_elf_fdpic.c498 elf_caddr_t __user *argv, *envp; in create_elf_fdpic_tables() local
666 envp = (elf_caddr_t __user *) csp; in create_elf_fdpic_tables()
698 __put_user((elf_caddr_t)(unsigned long) p, envp++); in create_elf_fdpic_tables()
704 __put_user(NULL, envp); in create_elf_fdpic_tables()
/fs/ocfs2/
Dstackglue.c435 char *argv[5], *envp[3]; in ocfs2_leave_group() local
444 envp[0] = "HOME=/"; in ocfs2_leave_group()
445 envp[1] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; in ocfs2_leave_group()
446 envp[2] = NULL; in ocfs2_leave_group()
448 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.c1200 char *envp[3]; in nfsd4_umh_cltrack_upcall() local
1214 envp[0] = env0; in nfsd4_umh_cltrack_upcall()
1215 envp[1] = env1; in nfsd4_umh_cltrack_upcall()
1216 envp[2] = NULL; in nfsd4_umh_cltrack_upcall()
1223 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in nfsd4_umh_cltrack_upcall()
Dnfs4layouts.c617 static char *envp[] = { in nfsd4_cb_layout_fail() local
637 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.c532 char *envp[] = { message, NULL }; in gfs2_others_may_mount() local
539 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()