summaryrefslogtreecommitdiff
path: root/libfshelp/fetch-root.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-11-13 00:20:59 +0000
committerThomas Bushnell <thomas@gnu.org>1996-11-13 00:20:59 +0000
commite881d19bded1191cf1157b212e1007ba80892e26 (patch)
treebccaf4cfafa2c888ddd9315ef7c85ab9f359c602 /libfshelp/fetch-root.c
parente50352b16beed1f96343f780603b6dca1c9ada3a (diff)
Wed Nov 6 17:49:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* fshelp.h (fshelp_fetch_root): Delete args `uids', `gids', `uids_len', and `gids_len'. New arg `user'. * fetch-root.c (fshelp_fetch_root): Ditto. * fshelp.h: Include <iohelp.h>. (fshelp_access, fshelp_isowner, fshelp_checkdirmod): New functions.
Diffstat (limited to 'libfshelp/fetch-root.c')
-rw-r--r--libfshelp/fetch-root.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libfshelp/fetch-root.c b/libfshelp/fetch-root.c
index b38b276d..c0d30489 100644
--- a/libfshelp/fetch-root.c
+++ b/libfshelp/fetch-root.c
@@ -27,8 +27,7 @@
error_t
fshelp_fetch_root (struct transbox *box, void *cookie,
file_t dotdot,
- uid_t *uids, int uids_len,
- uid_t *gids, int gids_len,
+ struct iouser *user,
int flags,
fshelp_fetch_root_callback1_t callback1,
fshelp_fetch_root_callback2_t callback2,
@@ -170,8 +169,9 @@ fshelp_fetch_root (struct transbox *box, void *cookie,
/* Cancellation point XXX */
err = fsys_getroot (control, dotdot, MACH_MSG_TYPE_COPY_SEND,
- uids, uids_len, gids, gids_len, flags,
- retry, retryname, root);
+ user->uids->ids, user->uids->len,
+ user->gids->ids, user->gids->len,
+ flags, retry, retryname, root);
mutex_lock (box->lock);