Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* 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).
|
|
* fetch-root.c (fshelp_fetch_root): When starting a passive
translator, set cwd to be DOTDOT instead of our own cwd.
|
|
* 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'.
|
|
* 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_start_translator_long.
|
|
|
|
|
|
|
|
condition_wait.
|
|
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...).
|
|
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.
|
|
Uses two callbacks now.
Pass an appropiate function to fshelp_start_translator_long instead of the
actual underlying node.
|
|
errors provided by fshelp_start_translator_long or CALLBACK.
|
|
|
|
|
|
order in calls to auth_makeauth and fshelp_start_translator_long.
|
|
|
|
we are holding the lock. Use condition mechanism to serialize
attempts to start the passive translator.
|
|
|
|
|
|
|
|
|
|
|
|
|