aboutsummaryrefslogtreecommitdiff
path: root/trans
Commit message (Collapse)AuthorAgeFilesLines
* Fix select on pfinet tunnel and streamioSamuel Thibault2011-11-281-2/+1
| | | | | * pfinet/tunnel.c (trivfs_S_io_select): Do not return EINVAL on SELECT_URG. * trans/streamio.c (trivfs_S_io_select): Likewise.
* Fix defpager into using the correct control portMaksym Planeta2011-11-201-1/+0
| | | | | | | | | | | | | The reply_port is only the correct control port when RPCs are from the kernel, not from e.g. tmpfs, such as default_pager_object_set_size calls. * mach-defpager/default_pager.c (seqnos_memory_object_terminate, S_default_pager_object_set_size): Make default pager use its own memory object control ports for external objects, remove reply_to parameter. * trans/proxy-defpager.c (S_default_pager_object_set_size): Remove reply_to parameter. * hurd/default_pager.defs (default_pager_object_set_size): Remove unused parameter.
* Fix magic link with goldSamuel Thibault2011-04-101-0/+1
| | | | * trans/Makefile (magic): Link against libiohelp.
* Switch to the new ChangeLog style.Thomas Schwinge2009-07-111-1006/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ChangeLog: Wipe out content, and add instructions about how to get it back. * auth/ChangeLog: Remove file. * benchmarks/ChangeLog: Likewise. * boot/ChangeLog: Likewise. * bsdfsck/ChangeLog: Likewise. * config/ChangeLog: Likewise. * console-client/ChangeLog: Likewise. * console/ChangeLog: Likewise. * daemons/ChangeLog: Likewise. * defpager/ChangeLog: Likewise. * doc/ChangeLog: Likewise. * exec/ChangeLog: Likewise. * ext2fs/ChangeLog: Likewise. * fatfs/ChangeLog: Likewise. * fstests/ChangeLog: Likewise. * ftpfs/ChangeLog: Likewise. * hostmux/ChangeLog: Likewise. * hurd/ChangeLog: Likewise. * include/ChangeLog: Likewise. * init/ChangeLog: Likewise. * isofs/ChangeLog: Likewise. * libcons/ChangeLog: Likewise. * libdirmgt/ChangeLog: Likewise. * libdiskfs/ChangeLog: Likewise. * libfshelp/ChangeLog: Likewise. * libftpconn/ChangeLog: Likewise. * libhurdbugaddr/ChangeLog: Likewise. * libihash/ChangeLog: Likewise. * libiohelp/ChangeLog: Likewise. * libnetfs/ChangeLog: Likewise. * libpager/ChangeLog: Likewise. * libpipe/ChangeLog: Likewise. * libports/ChangeLog: Likewise. * libps/ChangeLog: Likewise. * libshouldbeinlibc/ChangeLog: Likewise. * libstore/ChangeLog: Likewise. * libthreads/ChangeLog: Likewise. * libtrivfs/ChangeLog: Likewise. * login/ChangeLog: Likewise. * mach-defpager/ChangeLog: Likewise. * nfs/ChangeLog: Likewise. * nfsd/ChangeLog: Likewise. * pfinet/ChangeLog: Likewise. * pflocal/ChangeLog: Likewise. * proc/ChangeLog: Likewise. * release/ChangeLog: Likewise. * serverboot/ChangeLog: Likewise. * storeio/ChangeLog: Likewise. * sutils/ChangeLog: Likewise. * term/ChangeLog: Likewise. * tmpfs/ChangeLog: Likewise. * trans/ChangeLog: Likewise. * ufs-fsck/ChangeLog: Likewise. * ufs-utils/ChangeLog: Likewise. * ufs/ChangeLog: Likewise. * usermux/ChangeLog: Likewise. * utils/ChangeLog: Likewise.
* 2008-12-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2008-12-082-3/+7
| | | | * Makefile (HURDLIBS): Add iohelp.
* Update copyright years.Thomas Schwinge2008-07-011-1/+1
|
* Fix typo (bis)Samuel Thibault2008-06-121-1/+1
|
* Fix typo.Samuel Thibault2008-06-121-1/+1
|
* * fakeroot.c (netfs_attempt_utimes): Use a union to avoid an improperSamuel Thibault2008-06-102-7/+16
| | | | cast.
* 2007-06-06 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2007-06-063-8/+10
| | | | | | * Makefile (default_pager-MIGCOMSFLAGS): Remove variable. * proxy-defpager.c (proxy_defpager_demuxer): Invoke `default_pager_server' instead of `S_default_pager_server'.
* 2007-05-01 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2007-05-012-4/+5
| | | | * crash.c (S_msg_startup_dosync): Remove function.
* 2006-11-27 Ben Asselstine <benasselstine@canada.com>Thomas Schwinge2006-11-272-4/+24
| | | | | | Thomas Schwinge <tschwinge@gnu.org> * crash.c (trivfs_append_args): Handle CRASH_ORPHANS_HOW.
* 2006-11-27 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2006-11-272-7/+12
| | | | * crash.c: Correct the usage of the argp documentation string.
* 2006-11-27 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2006-11-272-2/+7
| | | | * Makefile (HURDLIBS): Add `netfs'.
* *** empty log message ***Thomas Schwinge2006-06-151-1/+1
|
* 2006-06-15 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2006-06-153-16/+28
| | | | | | * hello-mt.c (trivfs_S_io_seek): Seek into the right direction for `SEEK_END'. Return EINVAL if file pointer would become negative. * hello.c (trivfs_S_io_seek): Likewise.
* 2006-03-25 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2006-03-252-2/+29
| | | | | | | | | [bug #15808] * ifsock.c: Include <argp.h>, <sys/cdefs.h> and <version.h>. (__XSTRING): New macro. (argp_program_version, doc, argp): New variables. (main): Call argp_parse(). Based on a patch by Ben Asselstine <benasselstine@gmail.com>.
* 2005-07-12 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2005-07-122-5/+23
| | | | | | | | * magic.c (magic_getroot): Deallocate DOTDOT if processing here. (magic_open): Do not allocate and deallocate DOTDOT, just consume the reference given to us. (magic_peropen_destroy): New function. (main): If in directory mode, install magic_peropen_destroy hook.
* auth/Marcus Brinkmann2004-03-012-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * auth.c: Include <stddef.h>. (pending_users, pending_server): Change type to struct hurd_ihash, initialize with HURD_IHASH_INITIALIZER. (struct pending): Change type of member LOCP to hurd_ihash_locp_t. (S_auth_user_authenticate): Use hurd_ihash_* functions instead ihash_*. (S_auth_server_authenticate): Likewise. (main): Do not allocate the hash tables. console-client/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * vga-dynafont.c: Include <stddef.h>. (struct mapped_character): Change type of LOCP to hurd_ihash_locp_t. (struct dynafont): Change type of CHARMAP to struct hurd_ihash. (dynafont_new): Use hurd_ihash_init instead of ihash_create. Remove variable ERR. Call hurd_ihash_add instead of ihash_add. (dynafont_free): Call hurd_ihash_destroy, no ihash_free. (dynafont_lookup_internal): Use hurd_ihash_find, not ihash_find. (dynafont_lookup_internal): Call hurd_ihash_locp_remove instead ihash_locp_remove, and hurd_ihash_add instead ihash_add. (dynafont_change_font): Likewise. Clean out LOCP if character is unmapped. ftpfs/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * ftpfs.h: Include <hurd/ihash.h>. (struct ftpfs): Change type of INODE_MAPPINGS to struct hurd_ihash. (struct ftpfs_dir_entry): Change type of INODE_LOCP to hurd_ihash_locp_t. * node.c (ftpfs_create_node): Call hurd_ihash_add, not ihash_add. (netfs_node_norefs): Call hurd_ihash_locp_remove, not ihash_locp_remove. * fs.c: Include <stddef.h>. (ftpfs_create): Call hurd_ihash_init, not hurd_ihash_create. Call hurd_ihash_destroy on error. libihash/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * ihash.c: Rewritten. * ihash.h: Rewritten. * Makefile (SRCS): Remove sizes.c. (LCLHDRS): Remove priv.h. * primes.c, sizes.c, priv.h: Files removed. 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * ports.h (struct port_bucket): Change type of HTABLE to struct hurd_ihash. (struct port_info): Change type of HENTRY to hurd_ihash_locp_t. * lookup-port.c (ports_lookup_port): Use hurd_ihash_find instead ihash_find. * bucket-iterate.c (_ports_bucket_class_iterate): Use HURD_IHASH_ITERATE instead ihash_iterate. * inhibit-all-rpcs.c (ports_inhibit_all_rpcs): Likewise. * inhibit-bucket-rpcs.c (ports_inhibit_bucket_rpcs): Likewise. * create-internal.c (_ports_create_port_internal): Use hurd_ihash_add instead ihash_add. * import-port.c (ports_import_port): Likewise. * reallocate-from-external.c (ports_reallocate_from_external): Likewise. * reallocate-port.c (ports_reallocate_port): Likewise. * transfer-right.c (ports_transfer_right): Likewise. * create-bucket.c: Include <stddef.h>. (ports_create_bucket): Use hurd_ihash_init instead hurd_ihash_create. * class-iterate.c: Do not include <hurd/ihash.h>. * claim-right.c (ports_claim_right): Call hurd_ihash_locp_remove instead ihash_locp_remove. * complete-deallocate.c (_ports_complete_deallocate): Likewise. * destroy-right.c (ports_destroy_right): Likewise. * reallocate-from-external.c (ports_reallocate_from_external): Likewise. * reallocate-port.c (ports_reallocate_port): Likewise. * transfer-right.c (ports_transfer_right): Likewise. libps/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * ps.h (struct ps_context): Change type of members procs, ttys, ttys_by_cttyid and users to struct hurd_ihash. * context.c (ps_context_create): Remove variables err_procs, err_ttys, err_ttys_by_cttyid and err_users. Use hurd_ihash_init instead of ihash_create. Call hurd_ihash_set_cleanup and the hurd_ihash_cleanup_t type instead of ihash_set_cleanup. (ps_context_free): Call hurd_ihash_destroy instead of ihash_free. (lookup): Call hurd_ihash_find instead ihash_find, hurd_ihash_add instead ihash_add. (ps_context_find_proc_stat): Take pointer of hash object. (ps_context_find_tty): Likewise. (ps_context_find_tty_by_cttyid): Likewise. (ps_context_find_user): Likewise. libpthread/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * sysdeps/hurd/pt-key.h (PTHREAD_KEY_MEMBERS): Change type of THREAD_SPECIFICS to hurd_ihash_t. * sysdeps/hurd/pt-setspecific.c (pthread_setspecific): Call hurd_ihash_create instead ihash_create, and hurd_ihash_add instead ihash_add. * sysdeps/hurd/pt-getspecific.c (pthread_getspecific): Call hurd_ihash_find instead of ihash_find. * sysdeps/hurd/pt-destroy-specific.c (__pthread_destroy_specific): Call hurd_ihash_find instead of ihash_find, hurd_ihash_remove instead of ihash_remove, and hurd_ihash_free instead of ihash_free. proc/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * proc.h: Include <hurd/ihash.h>. (struct proc): Change type of members p_pidhashloc and p_taskhashloc to hurd_ihash_locp_t. (struct pgrp): Likewise for pg_hashloc. (struct session): Likewise for s_hashloc. * hash.c: Change type of pghash, pidhash, taskhash and sidhash to struct hurd_ihash and initialize them with HURD_IHASH_INITIALIZER. Include stddef.h. (pid_find): Call hurd_ihash_find instead ihash_find. (pid_find_allow_zombie): Likewise. (task_find): Likewise. (task_find_nocreate): Likewise. (pgrp_find): Likewise. (session_find): Likewise. (add_proc_to_hash): Call hurd_ihash_add instead ihash_add. (add_pgrp_to_hash): Likewise. (add_session_to_hash): Likewise. (remove_pgrp_from_hash): Call hurd_ihash_locp_remove instead ihash_locp_remove, and provide hash table pointer. (remove_proc_from_hash): Likewise. (remove_session_from_hash): Likewise. (prociterate): Use HURD_IHASH_ITERATE instead ihash_iterate. trans/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * fakeroot.c: Include <stddef.h>. (struct netnode): Change type of member idport_locp to hurd_ihash_locp_t. (idport_ihash): Change type to struct hurd_ihash and initialize with HURD_IHASH_INITIALIZER. (new_node): Call hurd_ihash_add instead of ihash_add. (netfs_node_norefs): Call hrd_ihash_locp_remove instead ihash_locp_remove. (netfs_S_dir_lookup): Call hurd_ihash_find instead ihash_find. utils/ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> * rpctrace.c: Include <stddef.h>. (struct traced_info): Change type of LOCP to hurd_ihash_locp_t. (msgid_ihash): Change type to struct hurd_ihash, and initialize with HURD_IHASH_INITIALIZER, don't set cleanup here. (traced_names): Likewise. (main): Call hurd_ihash_set_cleanup for msgid_ihash. Don't create traced_names. (parse_msgid_list): Call hurd_ihash_add instead ihash_add. (new_send_wrapper): Likewise. (msgid_info): Likewise. Call hurd_ihash_find instead ihash_find. (rewrite_right): Likewise. (traced_dropweak): Call hurd_ihash_locp_remove instead ihash_locp_remove.
* .Roland McGrath2003-09-061-0/+5
|
* 2003-09-05 Greg Buchholz <greg@sleepingsquirrel.org>Roland McGrath2003-09-063-4/+4
| | | | | * fifo.c, new-fifo.c, null.c (trivfs_S_io_map): Change return value to EOPNOTSUPP (was EINVAL).
* .Roland McGrath2003-03-061-0/+30
|
* 2003-03-05 Roland McGrath <roland@frob.com>Roland McGrath2003-03-061-87/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make /hurd/magic support translator delegation via /servers/magic. * magic.c (struct magic): New structure. (magic, directory, dirbuf, dirbufsize): Variables removed, not members of struct magic. (trivfs_modify_stat, magic_getroot, trivfs_S_dir_readdir): Use a struct magic hanging off CNTL->hook rather than global variables. (trivfs_append_args): Likewise. (trivfs_S_dir_lookup): Likewise. Let magic string be null to indicate prepending nothing in --directory mode. (parse_opt): Use struct magic in STATE->input instead of globals. If no argument, turn on --directory and leave M->magic null. (argp): New static variable, instead of auto in main. (main): Set both trivfs hook functions unconditionally. Use a struct magic, pass it to argp_parse and store it in FSYS->hook. Move directory buffer setup to ... (parse_opt): ... here, do it on ARGP_KEY_SUCCESS. (magic_open): Track users with a count. (magic_protid_destroy): New function to track users. (main): Set trivfs_protid_destroy_hook to that. (trivfs_goaway): Call ports_destroy_right if FSYS has no users. (all_fsys): New variable, list of all filesystems. (trivfs_clean_cntl): New function, exit if no filesystems left. (main): Put FSYS on that list. On timeout with no RPCs, try trivfs_goaway on each filesystem on the list. (trivfs_S_fsys_forward): New function. (delegate): New variable. (options): New option -U/--use-server to set it.
* .Roland McGrath2002-12-081-0/+4
|
* 2002-12-08 Roland McGrath <roland@frob.com>Roland McGrath2002-12-081-1876/+0
| | | | * pump.c: File removed.
* 2002-08-16 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-08-162-2/+20
| | | | | | * proxy-defpager.c (S_default_pager_object_pages): New function. (proxy_defpager_demuxer): Use S_default_pager_server (ie add the prefix).
* 2002-08-14 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-08-142-5/+7
| | | | | * Makefile: Revert undocumented changes related to devpts that were checked in unintentionally with the last change.
* .Roland McGrath2002-08-061-0/+8
|
* 2002-08-06 Roland McGrath <roland@frob.com>Roland McGrath2002-08-062-26/+35
| | | | | | | | * proxy-defpager.c: Rename all the server functions with S_ prefix. Include "default_pager_U.h" for client stub prototypes. * Makefile (default_pager-MIGCOMSFLAGS): New variable, give -prefix S_. (OBJS): Add default_pagerUser.o here. (proxy-defpager): Depend on it.
* 2002-08-05 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-08-052-3/+21
| | | | | | | * proxy-defpager.c (allowed): Check CRED, not PORT. (default_pager_info): Use real_defpager, not DEFAULT_PAGER. (proxy_defpager_demuxer): New demuxer. (main): Use it.
* .Roland McGrath2002-06-251-0/+7
|
* 2002-06-14 Roland McGrath <roland@frob.com>Roland McGrath2002-06-252-4/+261
| | | | | | | * proxy-defpager.c: New file. * Makefile (targets, SRCS): Add it. (proxy-defpager): New target. (OBJS): Add default_pagerServer.o here.
* .Roland McGrath2002-06-211-0/+5
|
* 2002-06-21 Roland McGrath <roland@frob.com>Roland McGrath2002-06-211-1/+1
| | | | | * streamio.c (parse_opt): Fix fencepost error in -n arg parsing. Reported by Nicola Girardi <nicola@g-n-u.de>.
* .Roland McGrath2002-06-201-0/+5
|
* 2002-06-20 Roland McGrath <roland@frob.com>Roland McGrath2002-06-201-1/+1
| | | | | * firmlink.c (trivfs_S_io_read): Fix pointer arithmetic. Reported by Nicola Girardi <nicola@g-n-u.de>.
* .Roland McGrath2002-06-151-0/+4
|
* 2002-06-15 Roland McGrath <roland@frob.com>Roland McGrath2002-06-151-2/+2
| | | | * magic.c (trivfs_S_dir_readdir): u_int -> size_t
* .Roland McGrath2002-06-131-0/+30
|
* 2002-06-13 Roland McGrath <roland@frob.com>Roland McGrath2002-06-131-7/+8
| | | | | * new-fifo.c (trivfs_S_io_map): Add reply port args. (trivfs_S_io_select): Remove bogus last arg.
* 2002-06-13 Roland McGrath <roland@frob.com>Roland McGrath2002-06-133-15/+23
| | | | | | | | | | | | | | | * firmlink.c (trivfs_S_io_read): Fix type of DATA argument. * streamio.c (trivfs_S_io_read): Likewise. (trivfs_S_io_write): Likewise. * hello.c (trivfs_S_io_read): Likewise. * hello-mt.c (trivfs_S_io_read): Likewise. * null.c (trivfs_S_io_read): Likewise. (trivfs_S_io_write): Likewise. (trivfs_S_file_set_size): Add reply port args. * hello.c (trivfs_S_io_read): off_t -> loff_t * hello-mt.c (trivfs_S_io_read): Likewise. * streamio.c (trivfs_S_io_read, trivfs_S_io_write): Likewise. (trivfs_S_file_sync): Add missing arg.
* 2002-06-13 Roland McGrath <roland@frob.com>Roland McGrath2002-06-131-6/+5
| | | | | | | | | | | | | * firmlink.c (trivfs_S_io_read): Fix type of DATA argument. * streamio.c (trivfs_S_io_read): Likewise. (trivfs_S_io_write): Likewise. * hello.c (trivfs_S_io_read): Likewise. * hello-mt.c (trivfs_S_io_read): Likewise. * null.c (trivfs_S_io_read): Likewise. (trivfs_S_io_write): Likewise. (trivfs_S_file_set_size): Add reply port args. * firmlink.c (trivfs_S_io_read): off_t -> loff_t (trivfs_S_io_select): Remove bogus last arg.
* 2002-06-13 Roland McGrath <roland@frob.com>Roland McGrath2002-06-131-7/+8
| | | | | * fifo.c (trivfs_S_io_map): Add reply port args. (trivfs_S_io_select): Remove bogus last arg.
* 2002-06-13 Roland McGrath <roland@frob.com>Roland McGrath2002-06-131-12/+15
| | | | | | | | | | | | | | | * firmlink.c (trivfs_S_io_read): Fix type of DATA argument. * streamio.c (trivfs_S_io_read): Likewise. (trivfs_S_io_write): Likewise. * hello.c (trivfs_S_io_read): Likewise. * hello-mt.c (trivfs_S_io_read): Likewise. * null.c (trivfs_S_io_read): Likewise. (trivfs_S_io_write): Likewise. (trivfs_S_file_set_size): Add reply port args. * null.c (trivfs_S_io_map): Add reply port args. (trivfs_S_io_read, trivfs_S_io_write): off_t -> loff_t (trivfs_S_file_set_size): Likewise. (trivfs_S_io_select): Remove bogus last arg.
* .Roland McGrath2002-06-091-0/+5
|
* 2002-06-09 Roland McGrath <roland@frob.com>Roland McGrath2002-06-091-2/+2
| | | | | * fakeroot.c (new_node): Use ino_t for io_identity argument. (netfs_S_dir_lookup): Likewise.
* .Roland McGrath2002-06-071-0/+5
|
* 2002-06-07 Roland McGrath <roland@frob.com>Roland McGrath2002-06-071-7/+7
| | | | | * firmlink.c (trivfs_S_io_readable): Use intptr_t, not off_t. (trivfs_S_io_read): Likewise.
* .Roland McGrath2002-05-291-0/+1
|
* 2002-05-28 Roland McGrath <roland@frob.com>Roland McGrath2002-05-291-2/+1
| | | | | | | * 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