aboutsummaryrefslogtreecommitdiff
path: root/libfshelp/fetch-root.c
Commit message (Collapse)AuthorAgeFilesLines
* 2002-05-07 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-2/+2
| | | | | * fetch-root.c (fshelp_fetch_root): int -> size_t * delegate.c (fshelp_delegate_translation): Likewise.
* daemons/Marcus Brinkmann2001-01-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-03-171-2/+3
| | | | | * fetch-root.c (fshelp_fetch_root): Don't use MAKE_SEND in Hurd RPC.
* 1999-10-07 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-071-64/+65
| | | | | | | | | | * 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.
* Wed Apr 28 03:06:19 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-04-301-1/+3
| | | | | | | * fetch-root.c (fshelp_fetch_root): Don't deallocate the INIT_PORT_CWDIR after starting the passive translator; we still need to keep our reference around until the getroot call happens. Reported by Marcus Brinkmann (Marcus.Brinkmann@ruhr-uni-bochum.de).
* Tue Apr 20 21:43:20 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-04-211-2/+2
| | | | | * fetch-root.c (fshelp_fetch_root): When starting a passive translator, set cwd to be DOTDOT instead of our own cwd.
* Fri Nov 15 14:43:44 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-11-181-2/+2
| | | | | | | | | | | | * fshelp.h (fshelp_access): Uh, shift bits the right direction. Tue Nov 12 22:07:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * fetch-root.c (fshelp_fetch_root): Name idvec members correctly. * fshelp.h: <iohelp.h> -> <hurd/iohelp.h>. Include <sys/stat.h>. (fshelp_access): Declare `gotit'.
* Wed Nov 6 17:49:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-11-131-4/+4
| | | | | | | | | | * fshelp.h (fshelp_fetch_root): Delete args `uids', `gids', `uids_len', and `gids_len'. New arg `user'. * fetch-root.c (fshelp_fetch_root): Ditto. * fshelp.h: Include <iohelp.h>. (fshelp_access, fshelp_isowner, fshelp_checkdirmod): New functions.
* (fshelp_fetch_root): Don't use unsafe MOVE_SEND in call toMichael I. Bushnell1996-07-081-2/+7
| | | | fshelp_start_translator_long.
* (fshelp_fetch_root): Deal properly with errors from auth_makeauth.Michael I. Bushnell1996-06-241-1/+2
|
* (fshelp_fetch_root) [reauth]: Use new args for auth_user_authenticate.Michael I. Bushnell1996-05-091-3/+2
|
* (fshelp_fetch_root): Make sure the returned fsys control port is valid.Miles Bader1996-02-211-1/+5
|
* (fshelp_fetch_root): Use hurd_condition_wait instead ofMichael I. Bushnell1996-01-291-2/+5
| | | | condition_wait.
* (fshelp_fetch_root):Miles Bader1996-01-271-5/+5
| | | | | | If io_reauthenticate returns an error, just return MACH_PORT_NULL instead of aborting (the server probably died; not a good sign for the health of the translator, but it's better than dying ourselves...).
* (fshelp_fetch_root):Miles Bader1995-11-061-10/+4
| | | | | | | When PORT_TYPE is MACH_MSG_TYPE_MAKE_SEND, make the right *before* using it. Don't bother reauthenticating the underlying node returned by CALLBACK2 -- it already has the right ids. This also gets rid of a problem with giving away our auth port prematurely.
* (fshelp_fetch_root):Miles Bader1995-11-021-11/+29
| | | | | | Uses two callbacks now. Pass an appropiate function to fshelp_start_translator_long instead of the actual underlying node.
* (fshelp_fetch_root): Wakeup other blocked calls *before* returningMichael I. Bushnell1995-06-261-6/+8
| | | | errors provided by fshelp_start_translator_long or CALLBACK.
* (fshelp_fetch_root): Parenthesize assert test correctly.Michael I. Bushnell1995-06-231-1/+1
|
* (fshelp_fetch_root) [reauth]: If PORT is null, then just return it.Michael I. Bushnell1995-06-221-0/+3
|
* (fshelp_fetch_root): Pass type and length parameters in the rightMichael I. Bushnell1995-06-221-6/+5
| | | | order in calls to auth_makeauth and fshelp_start_translator_long.
* (fshelp_fetch_root): Pass new third arg to fshelp_set_active.Michael I. Bushnell1995-06-211-1/+1
|
* (fshelp_fetch_root): Reduce levels of loops. Only change ACTIVE whenMichael I. Bushnell1995-06-191-95/+106
| | | | | we are holding the lock. Use condition mechanism to serialize attempts to start the passive translator.
* (fshelp_fetch_root): Never consume the right on DOTDOT.Michael I. Bushnell1995-06-141-2/+1
|
* (fshelp_fetch_root): Free ARGZ after we're done with them.Michael I. Bushnell1995-06-141-0/+2
|
* (fshelp_fetch_root): Take new arg COOKIE and pass it to CALLBACK.Michael I. Bushnell1995-06-141-2/+3
|
* *** empty log message ***Michael I. Bushnell1995-06-141-40/+118
|
* entered into RCSMichael I. Bushnell1994-09-061-3/+21
|
* Initial revisionMichael I. Bushnell1994-09-061-0/+53