/linux-2.4.37.9/kernel/ |
D | kmod.c | 95 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/ |
D | firmware_class.c | 76 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/ |
D | kmod.h | 31 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/ |
D | init.c | 51 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/ |
D | init.c | 52 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/ |
D | init.c | 51 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/ |
D | init.c | 52 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/ |
D | init.c | 52 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/ |
D | init.c | 60 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/ |
D | init.c | 53 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/ |
D | init.c | 56 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/ |
D | init.c | 56 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/ |
D | init.c | 22 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/ |
D | sgialib.h | 33 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/ |
D | sgialib.h | 33 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/ |
D | binfmt_som.c | 67 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()
|
D | binfmt_aout.c | 202 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/ |
D | init.c | 58 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/ |
D | init.c | 58 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/ |
D | nodemgr.c | 740 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/ |
D | power.c | 70 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/ |
D | init.c | 158 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/ |
D | init.c | 127 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/ |
D | kdba_io.c | 49 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/ |
D | usb.c | 815 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 …]
|