summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-15 20:35:23 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-15 20:35:23 +0000
commit48e13cd1354e2737b750a0d23beb1e2519a79d8f (patch)
tree7fe750aaccca4e5268612e63d99655cecc26d667 /proc
parent4812755f9e489798dcdd8f1333ffeb7064d797eb (diff)
Formerly main.c.~12~
Diffstat (limited to 'proc')
-rw-r--r--proc/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/proc/main.c b/proc/main.c
index 792be5c6..381bee9f 100644
--- a/proc/main.c
+++ b/proc/main.c
@@ -61,6 +61,10 @@ main (int argc, char **argv, char **envp)
mach_port_allocate (mach_task_self (), MACH_PORT_RIGHT_PORT_SET,
&request_portset);
+ mach_port_allocate (mach_task_self (), MACH_PORT_RIGHT_RECEIVE,
+ &generic_port);
+ mach_port_move_member (mach_task_self (), generic_port, request_portset);
+
/* new_proc depends on these assignments which must occur in this order. */
self_proc = new_proc (mach_task_self ()); /* proc 0 is the procserver */
startup_proc = new_proc (MACH_PORT_NULL); /* proc 1 is init */