From 78acd22c416dedb1b966a1732c4cd72a0b4fc06f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 16 Aug 1994 01:24:02 +0000 Subject: Formerly exec.c.~79~ --- exec/exec.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/exec/exec.c b/exec/exec.c index 911fee06..ef33c323 100644 --- a/exec/exec.c +++ b/exec/exec.c @@ -32,6 +32,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include +#include #include #include #include @@ -809,7 +810,7 @@ static void set_init_port (mach_port_t port, mach_port_t *slot, auth_t authenticate, int consume) { - int pid = getpid (); + pid_t pid = getpid (); if (*slot != MACH_PORT_NULL) mach_port_deallocate (mach_task_self (), *slot); @@ -1478,7 +1479,8 @@ S_exec_init (mach_port_t server, auth_t auth, process_t proc) /* Have the proc server notify us when the canonical ints and ports change. The notification comes as a normal RPC on the message port, which the C library's signal thread handles. */ - __USEPORT (PROC, proc_execdata_notify (port, execserver)); + __USEPORT (PROC, proc_execdata_notify (port, execserver, + MACH_MSG_TYPE_MAKE_SEND)); /* Don't call startup_essential_task here. Init knows that once we call that we are all set up; we actually aren't all set up -- cgit v1.2.3