summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-06-24 08:15:59 +0000
committerRoland McGrath <roland@gnu.org>1994-06-24 08:15:59 +0000
commitf4b67131645d658fb6e3034d6c72c7d1d7ff4a67 (patch)
tree5324e00920d75c3978e6dc0d28eecbb17a8cf806
parent652c43e7ba8ab2cce576d6e30b1f05681cce5b19 (diff)
Formerly mgt.c.~12~
-rw-r--r--proc/mgt.c19
1 files changed, 15 insertions, 4 deletions
diff --git a/proc/mgt.c b/proc/mgt.c
index 138c4cce..eb70bdfe 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -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,