about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/fork.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-06-13 09:53:59 +0000
committerRoland McGrath <roland@gnu.org>1999-06-13 09:53:59 +0000
commita1c93156c80012b1d54acd87e450841e57478bcb (patch)
treee8021621a2a50520ee5afd92cc5d908299d73a11 /sysdeps/mach/hurd/fork.c
parent397d46fdbe0dd55a8d3aee931a32d744cdf6ad27 (diff)
downloadglibc-a1c93156c80012b1d54acd87e450841e57478bcb.tar.gz
glibc-a1c93156c80012b1d54acd87e450841e57478bcb.tar.xz
glibc-a1c93156c80012b1d54acd87e450841e57478bcb.zip
1999-06-12 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when 
inserting a send right into the child instead of unconditionally 
copying the send right.
Diffstat (limited to 'sysdeps/mach/hurd/fork.c')
-rw-r--r--sysdeps/mach/hurd/fork.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/mach/hurd/fork.c b/sysdeps/mach/hurd/fork.c
index 57f09595b0..3981ed2087 100644
--- a/sysdeps/mach/hurd/fork.c
+++ b/sysdeps/mach/hurd/fork.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994,95,96,97,99 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -371,8 +371,7 @@ __fork (void)
 		/* Insert the chosen send right into the child.  */
 		err = __mach_port_insert_right (newtask,
 						portnames[i],
-						insert,
-						MACH_MSG_TYPE_COPY_SEND);
+						insert, insert_type);
 	      switch (err)
 		{
 		case KERN_NAME_EXISTS: