Age | Commit message (Collapse) | Author |
|
* Makefile (HURDLIBS): Add `iohelp' and `ports'.
|
|
|
|
* 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.
|
|
* lock-acquire.c (fshelp_acquire_lock): Also wait for exclusive
locks which might have been acquired while we were waiting for
shared locks to finish.
|
|
|
|
* fshelp.h: Use io_statbuf_t in place of struct stat throughout.
(fshelp_get_identity): ino_t -> ino64_t
|
|
|
|
* exec-reauth.c (fshelp_exec_reauth): Always set *SECURE if nonnull,
as the comment says we do.
|
|
|
|
* fetch-root.c (fshelp_fetch_root): int -> size_t
* delegate.c (fshelp_delegate_translation): Likewise.
|
|
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* hurd.texi (Diskfs Callbacks): Refer to dir_lookup, not dir_pathtrans.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
fstests/
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* fstests.c (main): Call dir_lookup, not dir_pathtrans.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
hurd/
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* fs.defs: Refer to dir_lookup, not dir_pathtrans, in comments.
* fsys.defs: Likewise.
* hurd_types.h (enum retry_type): Likewise.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
libdiskfs/
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* diskfs.h: Refer to dir_lookup, not dir_pathtrans, in comment.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
libfshelp/
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* fshelp.h: Refer to dir_lookup, not dir_pathtrans, in comment.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
|
|
|
|
* start-translator-long.c (fshelp_start_translator_long)
[KERN_INVALID_LEDGER]: Pass extra args to task_create for OSF variant.
|
|
|
|
* fshelp.h (fshelp_iscontroller): Declare new function.
* perms-iscontroller.c: New file.
* Makefile (SRCS): Add it.
|
|
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.
|
|
|
|
* delegate.c (fshelp_delegate_translation): Add const to arg type.
* fshelp.h: Fix decl.
|
|
* fetch-root.c (fshelp_fetch_root): Don't use MAKE_SEND in Hurd
RPC.
|
|
|
|
* 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.
|
|
* start-translator-long.c (fshelp_start_translator_long): Doc fix.
* fshelp.h (fshelp_start_translator_long): Document OWNER_UID.
|
|
|
|
* 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.
|
|
|
|
* delegate.c (fshelp_delegate_translation): Free ARGZ after RPC.
|
|
* set-options.c (fshelp_set_options): Explicitly cast first arg to
argz_extract to keep GCC quiet.
|
|
* translated.c: New file; guts from fshelp.h.
* perms-isowner.c: Likewise.
* perms-access.c: Likewise.
* prems-checkdirmod.c: Likewise.
* touch.c: Likewise.
* fshelp.h (fshelp_translated, fshelp_isowner, fshelp_access,
fshelp_checkdirmod, fshelp_touch): Replace inline definitions with
ordinary declarations.
(FSHELP_EI): Removed macro.
* fshelp.c: Deleted file.
* Makefile (SRCS): Added translated.c, perms-isowner.c,
perms-access.c, perms-checkdirmod.c, touch.c. Removed fshelp.c.
|
|
* 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.
|
|
* start-translator-long.c (service_fsys_startup): Doc fixes, and
omit unused member `dead' from REQUEST.
|
|
|
|
* get-identity.c (fshelp_get_identity): Use ports_class_iterate.
|
|
|
|
* fshelp.h (fshelp_set_options): Use `const' for `char *' parameter.
* set-options.c (fshelp_set_options): Fix defn.
|
|
|
|
* Makefile (SRCS): Remove return-buffer.c.
|
|
|
|
|
|
* fshelp.h: Moved fshelp_return_malloced_buffer to libiohelp.
* return-buffer.c: Moved to ../libiohelp/return-buffer.c.
(fshelp_return_malloced_buffer): Renamed to iohelp_*.
|
|
* exec-reauth.c (fshelp_exec_reauth): If the new set of eff_uids
is empty, then still do proc_setowner, but this time to set it to
"unowned" status.
|
|
|
|
New function.
(TOUCH_ATIME, TOUCH_MTIME, TOUCH_CTIME):
New macros.
(fshelp_fetch_root_callback1_t):
Chage ARGZ_LEN to type size_t.
Include <maptime.h>.
|
|
* 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.h: Add extern inline protection.
* fshelp.c: New file.
* Makefile (SRCS): Add fshelp.c.
|
|
|
|
Return success, not EBADF, when unlocking a file which we don't haved
locked; this is netbsd's behavior.
|
|
|
|
|