summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-04-21 02:02:58 +0000
committerThomas Bushnell <thomas@gnu.org>1999-04-21 02:02:58 +0000
commit342dd1301dd4f2866137816078ffa73888e16156 (patch)
tree3c965329586e1a96bddcf967a65e9acd6ea751aa
parent9bb89193ac2a1be9f3ed4130615ce82f4fad2c32 (diff)
Tue Apr 20 21:43:20 1999 Thomas Bushnell, BSG <tb@mit.edu>
* fetch-root.c (fshelp_fetch_root): When starting a passive translator, set cwd to be DOTDOT instead of our own cwd.
-rw-r--r--libfshelp/ChangeLog5
-rw-r--r--libfshelp/fetch-root.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/libfshelp/ChangeLog b/libfshelp/ChangeLog
index b5aca721..943b76e3 100644
--- a/libfshelp/ChangeLog
+++ b/libfshelp/ChangeLog
@@ -1,3 +1,8 @@
+Tue Apr 20 21:43:20 1999 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * fetch-root.c (fshelp_fetch_root): When starting a passive
+ translator, set cwd to be DOTDOT instead of our own cwd.
+
Sat Mar 6 17:03:02 1999 Thomas Bushnell, BSG <tb@mit.edu>
* start-translator-long.c (service_fsys_startup): Doc fixes, and
diff --git a/libfshelp/fetch-root.c b/libfshelp/fetch-root.c
index 4e397d10..76839993 100644
--- a/libfshelp/fetch-root.c
+++ b/libfshelp/fetch-root.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1999 Free Software Foundation, Inc.
Written by Michael I. Bushnell.
This file is part of the GNU Hurd.
@@ -119,7 +119,7 @@ fshelp_fetch_root (struct transbox *box, void *cookie,
bzero (fds, (STDERR_FILENO + 1) * sizeof (mach_port_t));
bzero (ints, INIT_INT_MAX * sizeof (int));
- ports[INIT_PORT_CWDIR] = reauth (getcwdir (), MACH_MSG_TYPE_MOVE_SEND);
+ ports[INIT_PORT_CWDIR] = dotdot;
ports[INIT_PORT_CRDIR] = reauth (getcrdir (), MACH_MSG_TYPE_MOVE_SEND);
ports[INIT_PORT_AUTH] = newauth;