aboutsummaryrefslogtreecommitdiff
path: root/trans/magic.c
diff options
context:
space:
mode:
Diffstat (limited to 'trans/magic.c')
-rw-r--r--trans/magic.c15
1 files changed, 11 insertions, 4 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,