From 1fcd5f26a9b373e1a1a493601af9bb30c42080ad Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 27 Jun 1995 15:07:29 +0000 Subject: (trivfs_S_io_restrict_auth): Use new ports interface. --- libtrivfs/io-restrict-auth.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libtrivfs') diff --git a/libtrivfs/io-restrict-auth.c b/libtrivfs/io-restrict-auth.c index 1d466f69..e29aca47 100644 --- a/libtrivfs/io-restrict-auth.c +++ b/libtrivfs/io-restrict-auth.c @@ -60,7 +60,9 @@ trivfs_S_io_restrict_auth (struct trivfs_protid *cred, if (listmember (gids, cred->gids[i], ngids)) newgids[newngids++] = cred->gids[i]; - newcred = ports_allocate_port (sizeof (struct trivfs_protid), cred->pi.type); + newcred = ports_allocate_port (cred->po->cntl->protid_bucket, + sizeof (struct trivfs_protid), + cred->po->cntl->protid_class); newcred->isroot = 0; mutex_lock (&cred->po->cntl->lock); newcred->po = cred->po; -- cgit v1.2.3