From a72b2f3a06bf9fb6c32cee0ee3cc834109f704d6 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 5 Jul 1994 17:44:40 +0000 Subject: entered into RCS --- libtrivfs/io-modes-off.c | 2 ++ libtrivfs/io-readable.c | 2 ++ libtrivfs/io-restrict-auth.c | 2 ++ libtrivfs/io-stubs.c | 36 ++++++++++++++++++++++++++++-------- 4 files changed, 34 insertions(+), 8 deletions(-) diff --git a/libtrivfs/io-modes-off.c b/libtrivfs/io-modes-off.c index ed542278..c78791e9 100644 --- a/libtrivfs/io-modes-off.c +++ b/libtrivfs/io-modes-off.c @@ -25,6 +25,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ kern_return_t trivfs_S_io_clear_some_openmodes (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t replytype, int bits) { assert (!trivfs_support_read && !trivfs_support_write); diff --git a/libtrivfs/io-readable.c b/libtrivfs/io-readable.c index 241070fb..26fd43c4 100644 --- a/libtrivfs/io-readable.c +++ b/libtrivfs/io-readable.c @@ -21,6 +21,8 @@ kern_return_t trivfs_S_io_readable (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t replytype, int *amount) { assert (!trivfs_support_read); diff --git a/libtrivfs/io-restrict-auth.c b/libtrivfs/io-restrict-auth.c index 21783ef9..ac1faa7e 100644 --- a/libtrivfs/io-restrict-auth.c +++ b/libtrivfs/io-restrict-auth.c @@ -36,6 +36,8 @@ listmember (int *list, int query, int n) kern_return_t trivfs_S_io_restrict_auth (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t replytype, mach_port_t *newport, mach_msg_type_name_t *newporttype, uid_t *uids, u_int nuids, diff --git a/libtrivfs/io-stubs.c b/libtrivfs/io-stubs.c index 69d00bec..2c4f7330 100644 --- a/libtrivfs/io-stubs.c +++ b/libtrivfs/io-stubs.c @@ -24,6 +24,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ kern_return_t trivfs_S_io_map_cntl (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t replytype, mach_port_t *obj, mach_msg_type_name_t *objtype) { @@ -31,51 +33,69 @@ trivfs_S_io_map_cntl (struct trivfs_protid *cred, } kern_return_t -trivfs_S_io_get_conch (struct trivfs_protid *cred) +trivfs_S_io_get_conch (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t replytype) { return EOPNOTSUPP; } kern_return_t -trivfs_S_io_release_conch (struct trivfs_protid *cred) +trivfs_S_io_release_conch (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t replytype) { return EOPNOTSUPP; } kern_return_t -trivfs_S_io_eofnotify (struct trivfs_protid *cred) +trivfs_S_io_eofnotify (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t replytype) { return EOPNOTSUPP; } kern_return_t -trivfs_S_io_prenotify (struct trivfs_protid *cred, vm_offset_t start, +trivfs_S_io_prenotify (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t replytype, + vm_offset_t start, vm_offset_t end) { return EOPNOTSUPP; } kern_return_t -trivfs_S_io_postnotify (struct trivfs_protid *cred, vm_offset_t start, +trivfs_S_io_postnotify (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t replytype, + vm_offset_t start, vm_offset_t end) { return EOPNOTSUPP; } kern_return_t -trivfs_S_io_readsleep (struct trivfs_protid *cred) +trivfs_S_io_readsleep (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t replytype) { return EOPNOTSUPP; } kern_return_t -trivfs_S_io_sigio (struct trivfs_protid *cred) +trivfs_S_io_sigio (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t replytype) { return EOPNOTSUPP; } kern_return_t -trivfs_S_io_readnotify (struct trivfs_protid *cred) +trivfs_S_io_readnotify (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t replytype) { return EOPNOTSUPP; } -- cgit v1.2.3