Home
last modified time | relevance | path

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

1234

/linux-2.4.37.9/kernel/
Dkmod.c95 int exec_usermodehelper(char *program_path, char *argv[], char *envp[]) in exec_usermodehelper() argument
138 if (execve(program_path, argv, envp) < 0) in exec_usermodehelper()
152 static char * envp[] = { "HOME=/", "TERM=linux", "PATH=/sbin:/usr/sbin:/bin:/usr/bin", NULL }; in exec_modprobe() local
156 ret = exec_usermodehelper(modprobe_path, argv, envp); in exec_modprobe()
275 char **envp; member
289 retval = exec_usermodehelper(sub_info->path, sub_info->argv, sub_info->envp); in ____call_usermodehelper()
327 int call_usermodehelper(char *path, char **argv, char **envp) in call_usermodehelper() argument
334 envp: envp, in call_usermodehelper()
/linux-2.4.37.9/lib/
Dfirmware_class.c76 char *argv[3], **envp, *buf, *scratch; in call_helper() local
92 if (!(envp = (char **) kmalloc(20 * sizeof (char *), GFP_KERNEL))) { in call_helper()
97 kfree(envp); in call_helper()
108 envp[i++] = "HOME=/"; in call_helper()
109 envp[i++] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; in call_helper()
113 envp[i++] = "DEBUG=kernel"; in call_helper()
118 envp[i++] = scratch; in call_helper()
123 envp[i++] = scratch; in call_helper()
126 envp[i++] = scratch; in call_helper()
130 envp[i++] = 0; in call_helper()
[all …]
/linux-2.4.37.9/include/linux/
Dkmod.h31 extern int exec_usermodehelper(char *program_path, char *argv[], char *envp[]);
32 extern int call_usermodehelper(char *path, char *argv[], char *envp[]);
/linux-2.4.37.9/arch/mips/au1000/pb1000/
Dinit.c51 int __init prom_init(int argc, char **argv, char **envp, int *prom_vec) in prom_init() argument
58 prom_envp = envp; in prom_init()
/linux-2.4.37.9/arch/mips/au1000/pb1100/
Dinit.c52 int __init prom_init(int argc, char **argv, char **envp, int *prom_vec) in prom_init() argument
59 prom_envp = envp; in prom_init()
/linux-2.4.37.9/arch/mips/au1000/pb1500/
Dinit.c51 int __init prom_init(int argc, char **argv, char **envp, int *prom_vec) in prom_init() argument
58 prom_envp = envp; in prom_init()
/linux-2.4.37.9/arch/mips/au1000/pb1550/
Dinit.c52 int __init prom_init(int argc, char **argv, char **envp, int *prom_vec) in prom_init() argument
59 prom_envp = envp; in prom_init()
/linux-2.4.37.9/arch/mips/au1000/xxs1500/
Dinit.c52 int __init prom_init(int argc, char **argv, char **envp, int *prom_vec) in prom_init() argument
59 prom_envp = envp; in prom_init()
/linux-2.4.37.9/arch/mips/jmr3927/rbhma3100/
Dinit.c60 int __init prom_init(int argc, char **argv, char **envp, int *prom_vec) in prom_init() argument
69 prom_envp = envp; in prom_init()
/linux-2.4.37.9/arch/mips/au1000/mtx-1/
Dinit.c53 int __init prom_init(int argc, char **argv, char **envp, int *prom_vec) in prom_init() argument
60 prom_envp = envp; in prom_init()
/linux-2.4.37.9/arch/mips/au1000/db1x00/
Dinit.c56 int __init prom_init(int argc, char **argv, char **envp, int *prom_vec) in prom_init() argument
63 prom_envp = envp; in prom_init()
/linux-2.4.37.9/arch/mips/au1000/hydrogen3/
Dinit.c56 int __init prom_init(int argc, char **argv, char **envp, int *prom_vec) in prom_init() argument
63 prom_envp = envp; in prom_init()
/linux-2.4.37.9/arch/mips/arc/
Dinit.c22 void __init prom_init(int argc, char **argv, char **envp, int *prom_vec) in prom_init() argument
28 _prom_envp = (LONG *) envp; in prom_init()
/linux-2.4.37.9/include/asm-mips/
Dsgialib.h33 extern void prom_init(int argc, char **argv, char **envp, int *prom_vec);
116 extern long prom_invoke(unsigned long pc, unsigned long sp, long argc, char **argv, char **envp);
117 extern long prom_exec(char *name, long argc, char **argv, char **envp);
/linux-2.4.37.9/include/asm-mips64/
Dsgialib.h33 extern void prom_init(int argc, char **argv, char **envp, int *prom_vec);
116 extern long prom_invoke(unsigned long pc, unsigned long sp, long argc, char **argv, char **envp);
117 extern long prom_exec(char *name, long argc, char **argv, char **envp);
/linux-2.4.37.9/fs/
Dbinfmt_som.c67 char **argv, **envp; in create_som_tables() local
76 envp = (char **) sp; in create_som_tables()
81 __put_user((unsigned long) envp,++sp); in create_som_tables()
96 __put_user((char *)p,envp++); in create_som_tables()
99 __put_user(NULL, envp); in create_som_tables()
Dbinfmt_aout.c202 char **argv, **envp; in create_aout_tables() local
227 envp = (char **) sp; in create_aout_tables()
231 put_user((unsigned long) envp,--sp); in create_aout_tables()
247 put_user(p,envp++); in create_aout_tables()
252 put_user(NULL,envp); in create_aout_tables()
/linux-2.4.37.9/arch/mips/ite-boards/ivr/
Dinit.c58 int __init prom_init(int argc, char **argv, char **envp, int *prom_vec) in prom_init() argument
65 prom_envp = envp; in prom_init()
/linux-2.4.37.9/arch/mips/ite-boards/qed-4n-s01b/
Dinit.c58 int __init prom_init(int argc, char **argv, char **envp, int *prom_vec) in prom_init() argument
65 prom_envp = envp; in prom_init()
/linux-2.4.37.9/drivers/ieee1394/
Dnodemgr.c740 char *argv [3], **envp, *buf, *scratch; in nodemgr_call_policy() local
747 if (!(envp = (char **) kmalloc(20 * sizeof (char *), GFP_KERNEL))) { in nodemgr_call_policy()
752 kfree(envp); in nodemgr_call_policy()
763 envp[i++] = "HOME=/"; in nodemgr_call_policy()
764 envp[i++] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; in nodemgr_call_policy()
768 envp[i++] = "DEBUG=kernel"; in nodemgr_call_policy()
775 envp[i++] = scratch; in nodemgr_call_policy()
777 envp[i++] = scratch; in nodemgr_call_policy()
779 envp[i++] = scratch; in nodemgr_call_policy()
781 envp[i++] = scratch; in nodemgr_call_policy()
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Dpower.c70 static char *envp[] = { "HOME=/", "TERM=linux", "PATH=/sbin:/usr/sbin:/bin:/usr/bin", NULL }; in powerd() local
85 if (execve("/sbin/shutdown", argv, envp) < 0) { in powerd()
/linux-2.4.37.9/arch/mips/galileo-boards/ev96100/
Dinit.c158 void __init prom_init(int argc, char **argv, char **envp, int *prom_vec) in prom_init() argument
165 prom_envp = envp; in prom_init()
/linux-2.4.37.9/arch/mips/mips-boards/generic/
Dinit.c127 int __init prom_init(int argc, char **argv, char **envp) in prom_init() argument
131 _prom_envp = (int *)envp; in prom_init()
/linux-2.4.37.9/arch/ia64/sn/io/sn2/
Dkdba_io.c49 kdba_io(int argc, const char **argv, const char **envp, struct pt_regs *regs) in kdba_io() argument
/linux-2.4.37.9/drivers/usb/
Dusb.c815 char *argv [3], **envp, *buf, *scratch; in call_policy_interface() local
833 if (!(envp = (char **) kmalloc (20 * sizeof (char *), GFP_KERNEL))) { in call_policy_interface()
838 kfree (envp); in call_policy_interface()
849 envp [i++] = "HOME=/"; in call_policy_interface()
850 envp [i++] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; in call_policy_interface()
854 envp [i++] = "DEBUG=kernel"; in call_policy_interface()
862 envp [i++] = scratch; in call_policy_interface()
872 envp [i++] = "DEVFS=/proc/bus/usb"; in call_policy_interface()
873 envp [i++] = scratch; in call_policy_interface()
879 envp [i++] = scratch; in call_policy_interface()
[all …]

1234