summaryrefslogtreecommitdiff
path: root/trans
AgeCommit message (Collapse)Author
2002-05-29.Roland McGrath
2002-05-292002-05-28 Roland McGrath <roland@frob.com>Roland McGrath
* symlink.c (S_fsys_getroot, S_fsys_getfile): u_int -> size_t * streamio.c (device_open_reply): size_t -> int for dev_status_t * crash.c (S_msg_report_wait): int -> mach_msg_id_t (S_crash_dump_task): int -> integer_t
2002-05-29.Roland McGrath
2002-05-292002-05-28 Roland McGrath <roland@frob.com>Roland McGrath
* symlink.c (S_fsys_getroot, S_fsys_getfile): u_int -> size_t
2002-05-28.Roland McGrath
2002-05-282002-05-28 Roland McGrath <roland@frob.com>Roland McGrath
* streamio.c (device_open_reply): size_t -> int for dev_status_t * crash.c (S_msg_report_wait): int -> mach_msg_id_t
2002-05-262002-05-26 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* magic.c (trivfs_S_dir_readdir): Increment I after comparing it with ENTRY, to fix off-by-one error.
2002-05-24.Roland McGrath
2002-05-242002-05-23 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_report_access): Always report O_RDWR|O_EXEC.
2002-05-232002-05-23 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* fakeroot.c (check_openmodes): Remove spurious if clause. (netfs_attempt_mksymlink): Don't evaluate stat information to get the length of the name, but use the string length of NAME and store it in the new variable NAMELEN. (netfs_S_dir_lookup): Don't always add O_NOLINK to FLAGS, but add it to the mask instead.
2002-05-18.Roland McGrath
2002-05-182002-05-18 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_S_file_exec): Call check_openmodes and extract a ref to the send right with the node locked.
2002-05-18.Roland McGrath
2002-05-182002-05-18 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (new_node): Get a reference on NP to return to the caller. (netfs_attempt_mkfile): Unlock before new_node call. (new_node): Take new arg LOCKED, says idport_ihash_lock already held. (netfs_S_dir_lookup, netfs_attempt_mkfile, main): Update callers. * fakeroot.c (fakeroot_auth_port): New variable. (main): Initialize it. (check_openmodes): New static function. (netfs_check_open_permissions): Rewritten using it. (netfs_S_dir_lookup): New function. (netfs_attempt_lookup, netfs_attempt_create_file): Replaced with stubs.
2002-05-13.Roland McGrath
2002-05-132002-05-13 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_validate_stat): Set NP->nn_translated.
2002-05-13.Roland McGrath
2002-05-132002-05-13 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_S_file_exec): Don't lock the node (no need). Don't use MACH_MSG_TYPE_MOVE_SEND.
2002-05-13.Roland McGrath
2002-05-132002-05-13 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_attempt_chmod): Handle a MODE argument with no S_IFMT bits set.
2002-05-13libnetfs/Marcus Brinkmann
2002-05-13 Marcus Brinkmann <marcus@gnu.org> * io-version.c: New file. * Makefile (IOSRCS): Add io-version.c. * fsstubs.c (netfs_S_io_server_version): Function removed. * netfs.h (netfs_server_name, netfs_server_version): New external variables to be defined by the user. ftpfs/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * ftpfs.c (netfs_server_name, netfs_server_version): New variables. hostmux/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * hostmux.c (netfs_server_name, netfs_server_version): New variables. nfs/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * main.c: Include <version.h>. (netfs_server_name, netfs_server_version, argp_program_version): New variables. trans/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * fakeroot.c (netfs_server_name, netfs_server_version): New variables. usermux/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * usermux.c (netfs_server_name, netfs_server_version): New variables.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* symlink.c: Include <argp.h> and <version.h>. (argp_program_version, options, args_doc, doc, argp): New variables. (parse_opt): New function. (main): Replace argument count check and usage output by argp_parse invocation.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* fakeroot.c (netfs_S_file_exec): New function. (netfs_S_io_prenotify): Fix last change. (netfs_S_io_postnotify): Likewise.
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* fakeroot.c (NETFS_S_SIMPLE): New macro. (netfs_S_io_get_conch): New function. (netfs_S_io_release_conch): New function. (netfs_S_io_eofnotify): New function. (netfs_S_io_prenotify): New function. (netfs_S_io_postnotify): New function. (netfs_S_io_readnotify): New function. (netfs_S_io_readsleep): New function. (netfs_S_io_sigio): New function. (netfs_S_io_map_cntl): New function.
2002-05-12.Roland McGrath
2002-05-122002-05-12 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_attempt_lookup): Treat EOPNOTSUPP like EACCES. When all modes fail, try opening the node with zero openmodes.
2002-05-12.Roland McGrath
2002-05-122002-05-12 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_demuxer): New function. Reflect unrecognized messages to the underlying node port.
2002-05-11.Roland McGrath
2002-05-112002-05-11 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (main): Stat the root node and fake its st_mode immediately to remove translator bits.
2002-05-06Fix typo.Marcus Brinkmann
2002-05-062002-05-06 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* fakeroot.c (netfs_attempt_lookup): Really check for EROFS or EISDIR error from O_RDWR lookup (the last change checked for O_RDWR | O_EXEC looks up, which is also necessary). (netfs_attempt_mkfile): Unlock DIR. (netfs_attempt_create_file): Likewise. (netfs_S_io_map): New function.
2002-05-05.Roland McGrath
2002-05-052002-05-05 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_attempt_lookup): Check for EROFS or EISDIR error from O_RDWR lookup.
2002-05-05.Roland McGrath
2002-05-052002-05-05 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_attempt_lookup): Check io_identity result for our own fsys identity port; on match, look up the existing node for the port to ourselves.
2002-05-05.Roland McGrath
2002-05-052002-05-05 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c (netfs_attempt_lookup): Unlock DIR before doing RPCs.
2002-05-032002-05-03 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* fakeroot.c (netfs_node_norefs): Unlock node after not dropping it at all.
2002-05-03.Roland McGrath
2002-05-032002-05-03 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (fakeroot): New target. (targets): Add it. (SRCS): Add fakeroot.c. * fakeroot.c: New file.
2002-05-032002-05-03 Roland McGrath <roland@frob.com>Roland McGrath
* fakeroot.c: New file.
2002-03-26*** empty log message ***Neal H. Walfield
2002-03-262002-03-23 James A. Morrison <ja2morri@uwaterloo.ca>Neal H. Walfield
* ifsock.c (main): Use ERR, not errno. * symlink.c: Include <error.h> and <errno.h>. (main): Use err, not fprintf and exit. Use error, not perror and exit. Use err, not error. Check for MACH_PORT_NULL explicitly. Check for proper usage of symlink before checking if symlink is started as a translator.
2002-03-11.Roland McGrath
2002-03-112002-03-11 Roland McGrath <roland@frob.com>Roland McGrath
* crash.c: Add `corelimit' parameter to `dump_core' forward decl. (S_crash_dump_task): Change caller, pass (off_t)-1 for now. (struct crasher): New member `core_limit'. (dead_crasher): Pass C->core_limit to dump_core. (S_crash_dump_task): Set C->core_limit, to (off_t) -1 for now. (dump_core): Function removed; now ../exec/elfcore.c defines it. * Makefile (OBJS, crash): Add elfcore.o. (elfcore.c): vpath decl to find this in $(top_srcdir)/exec.
2001-12-22.Roland McGrath
2001-12-222001-12-22 Roland McGrath <roland@frob.com>Roland McGrath
* streamio.c (create_buffer): extern inline -> static inline (buffer_size, buffer_readable, buffer_writable): Likewise. (clear_buffer, buffer_read): Likewise.
2001-12-112001-12-11 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* streamio.c (device_open_reply): In the D_INVALID_OPERATION case, clear ERR, which is a global variable.
2001-06-16.Roland McGrath