summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-02-16 10:57:35 +0000
committerThomas Bushnell <thomas@gnu.org>1999-02-16 10:57:35 +0000
commit561bf758ec66553a04a454ea4a8c7bd94898a9e4 (patch)
treea8d5aedeb3efae2e1f57b3182f1f9681ca7634d6
parent3dc4ad6a33b34d6a9df0f58c38cc9a94772cb0d9 (diff)
Tue Feb 16 05:52:35 1999 Thomas Bushnell, BSG <tb@mit.edu>
* io.c (S_io_revoke): New function. Don't attempt to implement. (Other systems don't even permit non-file revokes.)
-rw-r--r--pflocal/ChangeLog5
-rw-r--r--pflocal/io.c9
2 files changed, 13 insertions, 1 deletions
diff --git a/pflocal/ChangeLog b/pflocal/ChangeLog
index b4ea9e2d..1f26dcff 100644
--- a/pflocal/ChangeLog
+++ b/pflocal/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 16 05:52:35 1999 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * io.c (S_io_revoke): New function. Don't attempt to implement.
+ (Other systems don't even permit non-file revokes.)
+
1998-10-20 Roland McGrath <roland@baalperazim.frob.com>
* io.c (S_io_select): Add braces to silence gcc warning.
diff --git a/pflocal/io.c b/pflocal/io.c
index 58522ac6..4d5b733d 100644
--- a/pflocal/io.c
+++ b/pflocal/io.c
@@ -1,6 +1,6 @@
/* Socket I/O operations
- Copyright (C) 1995, 1996, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -510,10 +510,17 @@ S_io_identity (struct sock_user *user,
return err;
}
+
/* Stubs for currently unsupported rpcs. */
error_t
+S_io_revoke (struct sock_user *user)
+{
+ return EOPNOTSUPP;
+}
+
+error_t
S_io_async(struct sock_user *user,
mach_port_t notify_port,
mach_port_t *async_id_port,