aboutsummaryrefslogtreecommitdiff
path: root/exec/exec.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-29 12:35:13 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-04-05 13:40:08 +0200
commitf274c66b2141aca0f332e272b77cd0a048cef7f6 (patch)
tree04d26cb83988e515ce07578a8973ee57b6ae5cd0 /exec/exec.c
parentb939d0b64ac0cfb90e672386a8586a5515ebcd16 (diff)
downloadhurd-f274c66b2141aca0f332e272b77cd0a048cef7f6.tar.gz
hurd-f274c66b2141aca0f332e272b77cd0a048cef7f6.tar.bz2
hurd-f274c66b2141aca0f332e272b77cd0a048cef7f6.zip
exec: fix receiver lookup
* exec/Makefile (exec_startup-MIGSFLAGS): New variable. * exec/execmutations.h: Add mutators for exec_startup_t. * exec/mig-decls.h: New file. * exec/priv.h (bootinfo_t): New type declaration to appease mig. * exec/exec.c (S_exec_startup_get_info): Fix receiver lookup.
Diffstat (limited to 'exec/exec.c')
-rw-r--r--exec/exec.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/exec/exec.c b/exec/exec.c
index e693f633..935762e2 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -1457,7 +1457,7 @@ S_exec_setexecdata (struct trivfs_protid *protid,
/* RPC sent on the bootstrap port. */
kern_return_t
-S_exec_startup_get_info (mach_port_t port,
+S_exec_startup_get_info (struct bootinfo *boot,
vm_address_t *user_entry,
vm_address_t *phdr_data, vm_size_t *phdr_size,
vm_address_t *stack_base, vm_size_t *stack_size,
@@ -1472,11 +1472,8 @@ S_exec_startup_get_info (mach_port_t port,
mach_msg_type_number_t *nports,
int **intarray, mach_msg_type_number_t *nints)
{
- struct bootinfo *boot = ports_lookup_port (port_bucket, port,
- execboot_portclass);
if (! boot)
return EOPNOTSUPP;
- ports_port_deref (boot);
/* Pass back all the information we are storing. */