diff options
author | Roland McGrath <roland@gnu.org> | 1994-06-24 08:15:59 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-06-24 08:15:59 +0000 |
commit | f4b67131645d658fb6e3034d6c72c7d1d7ff4a67 (patch) | |
tree | 5324e00920d75c3978e6dc0d28eecbb17a8cf806 | |
parent | 652c43e7ba8ab2cce576d6e30b1f05681cce5b19 (diff) |
Formerly mgt.c.~12~
-rw-r--r-- | proc/mgt.c | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -265,17 +265,28 @@ S_proc_getpids (struct proc *p, return 0; } -/* Implement proc_setprocargs as described in <hurd/proc.defs>. */ +/* Implement proc_set_arg_locations as described in <hurd/proc.defs>. */ kern_return_t -S_proc_setprocargs (struct proc *p, - int argv, - int envp) +S_proc_set_arg_locations (struct proc *p, + vm_address_t argv, + vm_address_t envp) { p->p_argv = argv; p->p_envp = envp; return 0; } +/* Implement proc_get_arg_locations as described in <hurd/proc.defs>. */ +kern_return_t +S_proc_get_arg_locations (struct proc *p, + vm_address_t *argv, + vm_address_t *envp) +{ + *argv = p->p_argv; + *envp = p->p_envp; + return 0; +} + /* Implement proc_dostop as described in <hurd/proc.defs>. */ kern_return_t S_proc_dostop (struct proc *p, |