From 5bd18d37d60336a4c7e704e462a6357efb3c38a8 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 14 Jun 1995 20:26:54 +0000 Subject: (fshelp_fetch_root): Never consume the right on DOTDOT. --- libfshelp/fetch-root.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libfshelp') diff --git a/libfshelp/fetch-root.c b/libfshelp/fetch-root.c index 1ee6e2be..d69493ba 100644 --- a/libfshelp/fetch-root.c +++ b/libfshelp/fetch-root.c @@ -78,7 +78,7 @@ fshelp_fetch_root (struct transbox *box, void *cookie, &gid, &argz, &argz_len); if (err) return err; - + mutex_lock (&box->innerlock); /* cancellation point XXX */ mutex_unlock (box->lock); @@ -144,7 +144,6 @@ fshelp_fetch_root (struct transbox *box, void *cookie, } while (err == MACH_SEND_INVALID_DEST || err == MIG_SERVER_DIED); - mach_port_deallocate (mach_task_self (), dotdot); return err; } -- cgit v1.2.3