summaryrefslogtreecommitdiff
path: root/trans
AgeCommit message (Collapse)Author
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
2001-06-162001-04-01 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* magic.c (trivfs_S_dir_lookup): Use iohelp_dup_iouser as per the new semantics.
2001-03-01.Roland McGrath
2001-03-012001-02-28 Roland McGrath <roland@frob.com>Roland McGrath
* streamio.c (trivfs_modify_stat): Fix inverted sense of tests for O_READ, O_WRITE bits.
2001-02-26.Roland McGrath
2001-02-262001-02-25 Roland McGrath <roland@frob.com>Roland McGrath
* symlink.c: Include <string.h> for decls of built-ins. * firmlink.c: Include <stdlib.h> for exit decl. * ifsock.c: Likewise. * null.c: Likewise. * magic.c: Likewise. * fifo.c: Likewise. * hello.c: Likewise. * hello-mt.c: Likewise.
2001-02-12auth/Marcus Brinkmann
2001-02-12 Marcus Brinkmann <marcus@gnu.org> * auth.c (main): New variable ARGP defining a doc string. Pass address of ARGP to argp_parse(). exec/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * main.c: Change hurd version name from proc to exec. (main): Add period to doc string. ftpfs/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * ftpfs.c: Include <version.h>. Add global variable ARGP_PROGRAM_VERSION. Add period to DOC. hostmux/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * hostmux.c: Include <version.h>. Add global variable ARGP_PROGRAM_VERSION. Add period to DOC. usermux/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * usermux.c (options): Include <version.h>. Add global variable ARGP_PROGRAM_VERSION. Add period to DOC. trans/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * fifo.c: Make version string say `fifo', not `null'. Add period to doc text in ARGP. * firmlink.c: Add period to doc text in ARGP_DOC, convert semi-colon to colon. * magic.c (options): Add period to DOC. * new-fifo.c (fifo_trans_parse_args): Add doc string to ARGP. Include <version.h>, new global variable ARGP_PROGRAM_VERSION. * crash.c: Include <version.h>, add global variable ARGP_PROGRAM_VERSION. * hello.c: Include <version.h>, add global variable ARGP_PROGRAM_VERSION. (hello_argp): Add doc string. * hello-mt.c: Likewise. * streamio.c: Add period to DOC. Change streamdev to streamio in version string. * password.c (main): Add period to doc string in ARGP.
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.
2001-01-21.Roland McGrath
2001-01-212001-01-20 Roland McGrath <roland@frob.com>Roland McGrath
* streamio.c (options): Add aliases --rdonly, --ro for -r. Add aliases --rdwr, -rw for -w. Add new option --writeonly/--wronly/-W. (readonly): Variable removed. (parse_opt): Set trivfs_allow_open for -r/-w/-W. (main): Don't set trivfs_allow_open here. Instead, use it to decide whether to set up input_buffer/output_buffer or not. (open_hook): Use trivfs_allow_open instead of readonly. Check whether read is allowed too. (trivfs_modify_stat): Likewise. (clear_buffer): Do nothing if argument is null. * streamio.c (stream_name, readonly, rdev, nperopens): Remove superfluous zero initializers.
2001-01-20.Roland McGrath
2001-01-202001-01-20 Roland McGrath <roland@frob.com>Roland McGrath
* streamio.c (options): Add aliases --rdonly, --ro for -r. Add aliases --rdwr, -rw for -w. Add new option --writeonly/--wronly/-W. (readonly): Variable removed. (parse_opt): Set trivfs_allow_open for -r/-w/-W. (main): Don't set trivfs_allow_open here. Instead, use it to decide whether to set up input_buffer/output_buffer or not. (open_hook): Use trivfs_allow_open instead of readonly. Check whether read is allowed too. (trivfs_modify_stat): Likewise. * streamio.c (stream_name, readonly, rdev, nperopens): Remove superfluous zero initializers.
2001-01-14trans/Marcus Brinkmann
2001-01-13 Marcus Brinkmann <marcus@gnu.org> * Makefile (SRCS): Add streamio.c (streamio): Add dependency on device_replyServer.o. Other dependencies identical to those for crash and password. (OBJS): Add missing object files to list (crashServer.o crash_replyUser.o msgServer.o device_replyServer.o). * storeio.c: New file by OKUJI Yoshinori. sutils/ 2001-01-14 Marcus Brinkmann <marcus@gnu.org> * MAKEDEV.sh (mkdev: klog): New device, using /hurd/streamio kmsg. (mkdev: std): Add klog to the standard list.
2000-07-26* Makefile: Reorder libs such that the threads lib comes beforeMark Kettenis
the ports lib. This makes sure the functions in libthreads properly override the stubs in libports with the new dynamic linker semantics in glibc 2.2.
2000-03-20.Roland McGrath
2000-03-202000-03-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* new-fifo.c (trivfs_protid_portclasses, trivfs_protid_nportclasses): Fix to size 2.
2000-03-172000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* symlink.c (main): Don't use MAKE_SEND in Hurd RPC.
2000-03-17.Roland McGrath
2000-03-172000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* crash.c (S_crash_dump_task): Use ports_get_send_right.
2000-03-04new fileThomas Bushnell
2000-01-29.Roland McGrath
2000-01-292000-01-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* crash.c (enum crash_action): New alternative crash_unspecified (0). (crash_orphans_how): New variable. (S_crash_dump_task): If crash_how != crash_orphans_how, ascertain if the task is an orphan before deciding what to do. (options): New options --action, --orphan-action. Old options now compatability aliases for --action=foo. (parse_opt): Parse them. (doc): New variable. (crash_argp): Use DOC.