summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-10-07 22:17:41 +0000
committerThomas Bushnell <thomas@gnu.org>1999-10-07 22:17:41 +0000
commitc310b96d9448f2c2ef324fc88f757a6dea6fc54a (patch)
tree546e0945d934eb7903dd1b1488d528d50ea3b362
parent6b9383cb0b3df0c5ba144e428937e78b98b76933 (diff)
1999-10-07 Thomas Bushnell, BSG <tb@mit.edu>
* start-translator-long.c (fshelp_start_translator_long): Doc fix. * fshelp.h (fshelp_start_translator_long): Document OWNER_UID.
-rw-r--r--libfshelp/ChangeLog5
-rw-r--r--libfshelp/fshelp.h6
-rw-r--r--libfshelp/start-translator-long.c4
3 files changed, 11 insertions, 4 deletions
diff --git a/libfshelp/ChangeLog b/libfshelp/ChangeLog
index a347bc97..dfe88e94 100644
--- a/libfshelp/ChangeLog
+++ b/libfshelp/ChangeLog
@@ -1,3 +1,8 @@
+1999-10-07 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * start-translator-long.c (fshelp_start_translator_long): Doc fix.
+ * fshelp.h (fshelp_start_translator_long): Document OWNER_UID.
+
1999-10-07 Roland McGrath <roland@baalperazim.frob.com>
* start-translator-long.c (fshelp_start_translator_long): Take new
diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h
index 309f64b4..08622725 100644
--- a/libfshelp/fshelp.h
+++ b/libfshelp/fshelp.h
@@ -50,7 +50,9 @@ typedef error_t (*fshelp_open_fn_t) (int flags,
table to FDS (length FDS_LEN). Return the control port in
*CONTROL. If the translator doesn't respond or die in TIMEOUT
milliseconds (if TIMEOUT > 0), return an appropriate error. If the
- translator dies before responding, return EDIED. */
+ translator dies before responding, return EDIED. Set the new
+ task's owner to OWNER_UID (or, if OWNER_UID is -1, then clear the
+ new task's owner. */
error_t
fshelp_start_translator_long (fshelp_open_fn_t underlying_open_fn,
char *name, char *argz, int argz_len,
@@ -59,7 +61,7 @@ fshelp_start_translator_long (fshelp_open_fn_t underlying_open_fn,
mach_port_t *ports,
mach_msg_type_name_t ports_type, int ports_len,
int *ints, int ints_len,
- uid_t owner_uid,
+ uid_t owner_uid,
int timeout, fsys_t *control);
diff --git a/libfshelp/start-translator-long.c b/libfshelp/start-translator-long.c
index c11258c2..bf576035 100644
--- a/libfshelp/start-translator-long.c
+++ b/libfshelp/start-translator-long.c
@@ -172,7 +172,7 @@ service_fsys_startup (fshelp_open_fn_t underlying_open_fn,
error_t
fshelp_start_translator_long (fshelp_open_fn_t underlying_open_fn,
char *name, char *argz, int argz_len,
- mach_port_t *fds,
+ mach_port_t *fds,
mach_msg_type_name_t fds_type, int fds_len,
mach_port_t *ports,
mach_msg_type_name_t ports_type, int ports_len,
@@ -204,7 +204,7 @@ fshelp_start_translator_long (fshelp_open_fn_t underlying_open_fn,
if (err)
goto lose;
- /* Designate TASK as our child. */
+ /* Designate TASK as our child and set it's owner accordingly. */
proc = getproc ();
proc_child (proc, task);
err = proc_task2proc (proc, task, &childproc);