diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-14 20:26:54 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-14 20:26:54 +0000 |
commit | 5bd18d37d60336a4c7e704e462a6357efb3c38a8 (patch) | |
tree | 1a82a98daf5c3a528c6f995c3d847f3746e26234 /libfshelp | |
parent | 688204745b43f79886f86c94b23e2e25a1ba93f9 (diff) |
(fshelp_fetch_root): Never consume the right on DOTDOT.
Diffstat (limited to 'libfshelp')
-rw-r--r-- | libfshelp/fetch-root.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |