diff options
author | Thomas Bushnell <thomas@gnu.org> | 1996-11-13 00:20:59 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1996-11-13 00:20:59 +0000 |
commit | e881d19bded1191cf1157b212e1007ba80892e26 (patch) | |
tree | bccaf4cfafa2c888ddd9315ef7c85ab9f359c602 /libfshelp/fetch-root.c | |
parent | e50352b16beed1f96343f780603b6dca1c9ada3a (diff) | |
download | hurd-e881d19bded1191cf1157b212e1007ba80892e26.tar.gz hurd-e881d19bded1191cf1157b212e1007ba80892e26.tar.bz2 hurd-e881d19bded1191cf1157b212e1007ba80892e26.zip |
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.c | 8 |
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); |