diff options
author | Miles Bader <miles@gnu.org> | 1995-11-06 21:04:07 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-11-06 21:04:07 +0000 |
commit | bfad67a5d8e2ed25630c32cc3d2aeff7a1a25a47 (patch) | |
tree | 95766917779cbad369eedf62f1bc43fa6be6818a /trans | |
parent | f311cedf0b66b77f375fee514c0861b4605f4c59 (diff) |
(S_fsys_get_options): New function.
(main): Add flags argument to fsys_startup call.
(S_fsys_startup): Add FLAGS arg.
Diffstat (limited to 'trans')
-rw-r--r-- | trans/magic.c | 15 | ||||
-rw-r--r-- | trans/symlink.c | 17 |
2 files changed, 22 insertions, 10 deletions
diff --git a/trans/magic.c b/trans/magic.c index 40b1584b..952a5c28 100644 --- a/trans/magic.c +++ b/trans/magic.c @@ -51,7 +51,8 @@ main (int argc, char **argv) /* Reply to our parent */ mach_port_allocate (mach_task_self (), MACH_PORT_RIGHT_RECEIVE, &control); - err = fsys_startup (bootstrap, control, MACH_MSG_TYPE_MAKE_SEND, &realnode); + err = + fsys_startup (bootstrap, 0, control, MACH_MSG_TYPE_MAKE_SEND, &realnode); if (err) error(1, err, "starting translator"); @@ -85,9 +86,8 @@ S_fsys_getroot (mach_port_t fsys_t, error_t S_fsys_startup (mach_port_t bootstrap, - mach_port_t control, - mach_port_t *real, - mach_msg_type_name_t *realtype) + int flags, mach_port_t control, + mach_port_t *real, mach_msg_type_name_t *real_type) { return EOPNOTSUPP; } @@ -116,6 +116,13 @@ S_fsys_set_options (mach_port_t control, } error_t +S_fsys_get_options (mach_port_t control, + char **data, mach_msg_type_number_t *len) +{ + return EOPNOTSUPP; +} + +error_t S_fsys_getfile (mach_port_t control, uid_t *uids, u_int nuids, uid_t *gids, u_int ngids, char *handle, u_int handllen, diff --git a/trans/symlink.c b/trans/symlink.c index bf527255..d8495f8b 100644 --- a/trans/symlink.c +++ b/trans/symlink.c @@ -55,8 +55,8 @@ main (int argc, char **argv) /* Reply to our parent */ mach_port_allocate (mach_task_self (), MACH_PORT_RIGHT_RECEIVE, &control); - error = fsys_startup (bootstrap, control, - MACH_MSG_TYPE_MAKE_SEND, &realnode); + error = + fsys_startup (bootstrap, 0, control, MACH_MSG_TYPE_MAKE_SEND, &realnode); if (error) { perror ("Starting up translator"); @@ -119,10 +119,8 @@ S_fsys_getroot (mach_port_t fsys_t, } error_t -S_fsys_startup (mach_port_t bootstrap, - mach_port_t control, - mach_port_t *real, - mach_msg_type_name_t *realtype) +S_fsys_startup (mach_port_t bootstrap, int flags, mach_port_t control, + mach_port_t *real, mach_msg_type_name_t *realtype) { return EOPNOTSUPP; } @@ -151,6 +149,13 @@ S_fsys_set_options (mach_port_t control, } error_t +S_fsys_get_options (mach_port_t control, + char **data, mach_msg_type_number_t *len) +{ + return EOPNOTSUPP; +} + +error_t S_fsys_getfile (mach_port_t control, uid_t *uids, u_int nuids, |