From e7c792104650598a20172427df71c76fff36659d Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Mon, 18 Nov 1996 23:55:58 +0000 Subject: Mon Nov 18 18:13:42 1996 Thomas Bushnell, n/BSG * io-stat.c (trivfs_S_io_stat): Make the mode specify IFCHR by default. Sat Nov 16 17:20:15 1996 Thomas Bushnell, n/BSG * Makefile (HURDLIBS): Add `iohelp'. Thu Nov 14 13:13:10 1996 Thomas Bushnell, n/BSG * io-restrict-auth.c (trivfs_S_io_restrict_auth): idvec_set -> idvec_set_ids. Fix unrelated typos. * protid-dup.c (trivfs_protid_dup): Use iouser_dup_iouser instead of copying old arrays by hand. * protid-clean.c (trivfs_clean_protid): Free CRED->user instead of CRED->uids and CRED->gids. * io-reauthenticate.c (trivfs_S_io_reauthenticate): Args for io_restrict_auth now come from the new structure definitions. * open.c (trivfs_open): Pass correct first arg to idvec_contains. * open.c (trivfs_open): Delete variable I. * trivfs.h: Include --- libtrivfs/io-reauthenticate.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libtrivfs/io-reauthenticate.c') diff --git a/libtrivfs/io-reauthenticate.c b/libtrivfs/io-reauthenticate.c index 31a7c99b..3754ff72 100644 --- a/libtrivfs/io-reauthenticate.c +++ b/libtrivfs/io-reauthenticate.c @@ -70,7 +70,10 @@ trivfs_S_io_reauthenticate (struct trivfs_protid *cred, do err = io_restrict_auth (newcred->po->cntl->underlying, &newcred->realnode, - gen_uids, genuidlen, gen_gids, gengidlen); + newcred->user->uids->ids, + newcred->user->uids->num, + newcred->user->gids->ids, + newcred->user->gids->num); while (err == EINTR); if (!err && trivfs_protid_create_hook) { -- cgit v1.2.3