summaryrefslogtreecommitdiff
path: root/libfshelp/start-translator-long.c
AgeCommit message (Collapse)Author
2013-05-31Reset task priority when spawning a passive translatorRichard Braun
Server threads spawned by libports attempt to adjust their priority and succeed when the server is privileged. This priority is currently inherited by child tasks, which could be passive translators owned by unprivileged users. Reset the priority of the task used for translator instantiation. * libfshelp/start-translator-long.c (fshelp_start_translator_long): Set new task priority to 25 (BASEPRI_USER).
2004-02-112004-02-10 Roland McGrath <roland@frob.com>Roland McGrath
* start-translator-long.c (service_fsys_startup): Move mach_msg_type_t const variables inside the function, make them auto so they are optimized away to integer constants. Use a union instead of casts to do efficient type checking.
2002-01-022002-01-02 Roland McGrath <roland@frob.com>Roland McGrath
* start-translator-long.c (fshelp_start_translator_long) [KERN_INVALID_LEDGER]: Pass extra args to task_create for OSF variant.
2001-01-30daemons/Marcus Brinkmann
2001-01-17 Neal H Walfield <neal@cs.uml.edu> * console-run.c (open_console): Conform to new fshelp_start_translator semantics. init/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * init.c (open_console): Conform to new fshelp_start_translator semantics. libfshelp/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * fshelp.h: Add two new parameters to fshelp_open_fn_t: a port to the new task and a cookie. Add a new parameter, cookie, to fshelp_start_translator and fshelp_start_translator_long that will be passed to fshelp_open_fn_t. * fetch-root.c (fshelp_fetch_root): Conform to new fshelp_start_translator_long semantics. * start-translator-long.c (service_fsys_startup): Likewise. (fshelp_start_translator_long): Likewise. * start-translator.c (fshelp_start_translator): Likewise. libtreefs/ Conform to new fshelp_start_translator semantics. trans/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * pump.c (start_pfinet): Conform to new fshelp_start_translator semantics. utils/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * mount.c (do_mount): Conform to new fshelp_start_translator semantics. * settrans.c (main): Conform to new fshelp_start_translator semantics therby allowing us to print the pid of the an active translator.
2000-03-142000-03-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* start-translator-long.c (service_fsys_startup): If mach_msg fails with MACH_SEND_INTERRUPTED, clean up the send right in the pseudo-received request message.
1999-10-071999-10-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* start-translator-long.c (fshelp_start_translator_long): Doc fix. * fshelp.h (fshelp_start_translator_long): Document OWNER_UID.
1999-10-071999-10-07 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* start-translator-long.c (fshelp_start_translator_long): Take new argument OWNER_UID. Get child's proc port and do proc_setowner on it. * fshelp.h: Update decl. * start-translator.c (fshelp_start_translator): Pass new arg to fshelp_start_translator_long with value from geteuid (). * fetch-root.c (fshelp_fetch_root): Pass UID as new arg to fshelp_start_translator_long.
1999-03-06Sat Mar 6 17:03:02 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* start-translator-long.c (service_fsys_startup): Doc fixes, and omit unused member `dead' from REQUEST.
1996-04-27(service_fsys_startup):Miles Bader
Make the mach_msg call sending the startup reply interruptible.
1996-04-27(service_fsys_startup):Miles Bader
Make the mach_msg call waiting for the startup message interruptible.
1996-02-15(fshelp_start_translator_long): Terminate TASK if the exec fails.Miles Bader
1995-11-06(service_fsys_startup):Miles Bader
Don't pass the address of reply.realnodeType.msgt_name -- it's not really an int, although the compiler pretends it is.
1995-11-02(fshelp_start_translator_long, service_fsys_startup):Miles Bader
Change to use a callback function instead of passing the actual node. (service_fsys_startup): Support the open flags coming from the translator. (struct fsys_startup_request): Add the flags field. (flagsCheck): New variable.
1995-10-13(fshelp_start_translator_long): Undo last change to file_exec args.Miles Bader
1995-10-11(fshelp_start_translator_long):Miles Bader
Add values for the dealloc parameters to file_exec (all false). Give away our send right to TASK when we do file_exec. Initialize BOOTSTRAP & TASK so the cleanup code doesn't get confused.
1995-07-11(fshelp_start_translator_long): If PORTS_TYPE isMichael I. Bushnell
MACH_MSG_TYPE_COPY_SEND, then drop our right on bootstrap after the call, because we are pretending we haven't changed the calling user's state. For the same reason, save the old BOOTSTRAP port value, and restore it after the call.
1995-06-23(service_fsys_startup): Parenthesize construction of flags argMichael I. Bushnell
correctly.
1995-06-14Initial revisionMichael I. Bushnell