summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trans/magic.c15
-rw-r--r--trans/symlink.c17
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,