From 3820adeaa4b010360b6046234d14a17d47d24b0a Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 24 May 1994 21:52:54 +0000 Subject: Formerly io-restrict-auth.c.~5~ --- libtrivfs/io-restrict-auth.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libtrivfs/io-restrict-auth.c') diff --git a/libtrivfs/io-restrict-auth.c b/libtrivfs/io-restrict-auth.c index 7d4d0f7a..7f24b2a2 100644 --- a/libtrivfs/io-restrict-auth.c +++ b/libtrivfs/io-restrict-auth.c @@ -20,21 +20,22 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Written by Michael I. Bushnell. */ #include "priv.h" +#include "io_S.h" -error_t -trivfs_S_io_restrict_auth (struct protid *cred, +kern_return_t +trivfs_S_io_restrict_auth (struct trivfs_protid *cred, mach_port_t *newport, mach_msg_type_name_t *newporttype, uid_t *uids, u_int nuids, uid_t *gids, u_int ngids) { - struct protid *newcred; + struct trivfs_protid *newcred; int i; if (!cred) return EOPNOTSUPP; - newcred = ports_allocate_port (sizeof (struct protid), + newcred = ports_allocate_port (sizeof (struct trivfs_protid), trivfs_protid_porttype); newcred->isroot = 0; newcred->cntl = cred->cntl; -- cgit v1.2.3