summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-10-16 07:29:08 +0000
committerRoland McGrath <roland@gnu.org>1995-10-16 07:29:08 +0000
commit924b9ff68db26697e50a298c3ae12159de259c2f (patch)
tree2374009a4bcd22360f0380b4974255461ab660fa /hurd
parent2948fc64a6dd7aa23757daf2c5256dfe07f4c61a (diff)
downloadglibc-924b9ff68db26697e50a298c3ae12159de259c2f.tar.gz
glibc-924b9ff68db26697e50a298c3ae12159de259c2f.tar.xz
glibc-924b9ff68db26697e50a298c3ae12159de259c2f.zip
Mon Oct 16 03:22:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951016
	* sysdeps/mach/hurd/getcwd.c: Use __file_name_lookup_under.
	* sysdeps/mach/hurd/bind.c: Likewise.
	* sysdeps/mach/hurd/access.c: Use new __hurd_file_name_lookup
	calling convention.

	* hurd/hurdexec.c: Undo last change (10 Oct 95).
Diffstat (limited to 'hurd')
-rw-r--r--hurd/fchroot.c1
-rw-r--r--hurd/hurdexec.c14
2 files changed, 8 insertions, 7 deletions
diff --git a/hurd/fchroot.c b/hurd/fchroot.c
index 37163c0277..26ff6d9081 100644
--- a/hurd/fchroot.c
+++ b/hurd/fchroot.c
@@ -20,6 +20,7 @@ Cambridge, MA 02139, USA.  */
 #include <unistd.h>
 #include <hurd.h>
 #include <hurd/fd.h>
+#include <fcntl.h>
 
 /* Change the current root directory to FD.  */
 int
diff --git a/hurd/hurdexec.c b/hurd/hurdexec.c
index 2f38679ff2..0ac18e42da 100644
--- a/hurd/hurdexec.c
+++ b/hurd/hurdexec.c
@@ -217,14 +217,14 @@ _hurd_exec (task_t task, file_t file,
 	  *pdp++ = dtable[i];
       }
 
-    err = __file_exec (file, task, MACH_MSG_TYPE_COPY_SEND,
+    err = __file_exec (file, task,
 		       _hurd_exec_flags & EXEC_INHERITED,
-		       args, argslen, 0, env, envlen, 0,
-		       dtable, MACH_MSG_TYPE_COPY_SEND, dtablesize,  0,
-		       ports, MACH_MSG_TYPE_COPY_SEND, _hurd_nports, 0,
-		       ints, INIT_INT_MAX, 0,
-		       please_dealloc, pdp - please_dealloc, 0,
-		       NULL, 0, 0);
+		       args, argslen, env, envlen,
+		       dtable, MACH_MSG_TYPE_COPY_SEND, dtablesize,
+		       ports, MACH_MSG_TYPE_COPY_SEND, _hurd_nports,
+		       ints, INIT_INT_MAX,
+		       please_dealloc, pdp - please_dealloc,
+		       NULL, 0);
   }
 
   /* Release references to the standard ports.  */