summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--term/ChangeLog5
-rw-r--r--term/users.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/term/ChangeLog b/term/ChangeLog
index a6377a7d..fc333779 100644
--- a/term/ChangeLog
+++ b/term/ChangeLog
@@ -1,3 +1,8 @@
+Mon Feb 22 04:34:55 1999 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * users.c (trivfs_S_io_revoke): Protect the revocation by blocking
+ all other rpcs.
+
Sat Feb 20 04:59:15 1999 Thomas Bushnell, BSG <tb@mit.edu>
* users.c (trivfs_S_io_revoke): Release global_lock before
diff --git a/term/users.c b/term/users.c
index 8849c4dc..ea6e22db 100644
--- a/term/users.c
+++ b/term/users.c
@@ -854,7 +854,9 @@ trivfs_S_io_revoke (struct trivfs_protid *cred,
mutex_unlock (&global_lock);
+ ports_inhibit_bucket_rpcs (term_bucket);
ports_bucket_iterate (term_bucket, iterator_function);
+ ports_resume_bucket_rpcs (term_bucket);
return 0;
}