aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 2000-11-27 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-11-275-0/+182
| | | | | | | * changelog: Update to reflect Debian upgrade. * rc: New file. * rules: Install rc. * control: Add Build-Depends.
* 2000-11-27 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-11-273-14/+63
| | | | | | | | | | | | | | | | The last two changes introduced two new inode overlaps (file_start was not shifted by store block size, and directories' shifted file_start offset can be the same as the struct dirrect offset of their first directory entry). * inode.c (use_file_start_as_id): New function to determine if to use file_start or struct dirrect * as node id. The directory recognition code comes from read_disknode. (cache_inode): Use use_file_start_as_id instead doing the work ourselve. Shift file_start by store->log2_block_size. (load_inode): Likewise. * lookup.c (diskfs_get_directs): Likewise. Declare use_file_start_id.
* 2000-11-26 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-11-262-4/+12
| | | | | | * ops.c (netfs_attempt_mkdir): Add casts -1 -> (struct iouser *) -1 to silence gcc warning. (netfs_attempt_create_file): Likewise.
* 2000-11-26 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-11-263-22/+73
| | | | | | | | | | | | | | | | | | Fix hard link handling for non-zero length files. * inode.c: Fix comment about inode numbers. (node_cache): New member ID to store unique identifier. (inode_cache_find): Change RECORD arg into ID and compare it with id member of node_cache. (cache_inode): Swap order of args and add new arg RR (change dr into record along the way). Use RR to find out cache ID. Use id member of node_cache to look for ID. Cache ID. (load_inode): Call inode_cache_find with correct ID, depending on RR and file size. Frob arguments to cache_inode to comply with the new definition. (read_disknode): Set st_ino according depending on RR and file size. * lookup.c: Doc spelling fix. (diskfs_get_directs): Include code again that was removed by last change, but use it only if not symlink or zero length file.
* 2000-11-26 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-11-265-28/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes Debian Bug #68417: * rr.c (rrip_work): In helper function add_comp set targused to zero after malloc, and loop over realloc in case doubling is not enough. After finalizing the link, set VALID_SL valid flag. * inode.c (read_disknode): For links use rl->target instead rl->name. Closes Debian Bug #69281: Don't use file_start as inode numbers, but the offset of the directory record in disk_image. This is what Linux 2.4 does. * isofs.h (struct disknode): New member struct dirrect *dr. * inode.c: Fix comment about inode numbers. (struct node_cache): Fix comment about file_start (it's not unique). In fact, file_start is invalid for symlinks, and only stored here for convenience. Maybe caching file_start can be avoided by rearranging the code. (inode_cache_find): Change first argument from off_t file_start to struct dirrect *dr and fix the doc. Compare cached value of DR with this argument, instead FILE_START. (diskfs_cached_lookup): Set DR member of DN. (load_inode): Call inode_cache_find with RECORD instead FILE_START. Set DR member of DN. (read_disknode): Set inode number to DR - DISK_IMAGE instead FILE_START. * lookup.c (diskfs_get_directs): Remove variable file_start. Don't calculate file_start. Set D_FILENO to EP - DISK_IMAGE instead FILE_START.
* 2000-11-15 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-11-152-1/+6
| | | | | * hurd_types.h: Doc fix reported by Neal H Walfield (neal@cs.uml.edu), STORAGE_NULL is actually STORAGE_ZERO.
* 2000-10-30 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-10-302-0/+5
| | | | * wire.c: Include <error.h>.
* .Roland McGrath2000-10-291-0/+3
|
* 2000-10-29 Roland McGrath <roland@redhat.sf.frob.com>Roland McGrath2000-10-291-1/+4
| | | | | * wire.c (map_extent): Pass second arg of RTLD_NOLOAD to dlopen. (RTLD_NOLOAD): Define macro to zero if undefined.
* .Roland McGrath2000-10-291-0/+4
|
* 2000-10-29 Roland McGrath <roland@frob.com>Roland McGrath2000-10-291-5/+20
| | | | * wire.c (map_extent): Rewrite using dlsym on library's _end symbol.
* 2000-10-18 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-10-182-0/+7
| | | | | * devprobe.c (main): Call device_close before freeing the device port.
* 2000-10-06 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-10-067-24/+704
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile (SRCS): Add tunnel.c * tunnel.c: New file. * linux-src/net/ipv4/devinet.c (configure_device): New argument PEER. Implement support for setting the destination address for point-to-point interfaces. (inquire_device): New argument PEER. Implement support to get the destination address. * main.c: Include fcntl.h. Update prototype of configure_device. Set trivfs_support_read and trivfs_support_write to 1, as we support those in some cases now. For the same reason, set trivfs_allow_open to O_READ | O_WRITE. (pfinet_demuxer): If the port is not in the socketport_class, don't try io_server (so requests for trivfs are not catched too early). (find_device): Use setup_tunnel_device for tun* interfaces. (main): Add peer argument to configure_device call for the lo interface. * options.c: Update prototypes for configure_device, inquire_device. (options): Add --peer option. (stuct parse_interface): Add peer member. (parse_hook_add_interface): Initialize peer. (parse_opt): Add a case for --peer. Add peer argument to configure_device call. (add_dev_opts): Add peer variable, add it to inquire_device call arguments. Check for peer argument and add it to command line if it is there. * pfinet.h: Add prototype for setup_tunnel_device.
* 2000-10-04 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-10-046-70/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile (SRCS): Add dummy.c * dummy.c: New file. * ethernet.c: Moved ETHER_PORT, READPT, READPTNAME to ... (struct ether_device): ... here. New struct. ETHER_DEV is now a pointer to a struct ether_device. (ethernet_demuxer): New variables edev, dev. Iterate over linked list ETHER_DEV to find correct readptname. Use dev instead ETHER_DEV for socket buffer manipulation. (ethernet_open): New variable edev. Use dev->priv to find correct edev. Use members of edev instead global variables. (ethernet_xmit): New variable edev. Use dev->priv to find correct edev.Use member of edev instead global variable ETHER_PORT. (setup_ethernet_device): New output argument DEVICE. New variables edev and dev. Allocate memory for edev, add it to the head of ETHER_DEV. Use dev instead ETHER_DEV. Use members of edev instead global variables. * main.c: ALREADY_OPEN removed. (find_device): Fix comment. Redone to work with multiple devices by iterating over DEV_BASE. (enumerate_device): Likewise. * pfinet.h: Add new argument to prototype of setup_ethernet_device. Add prototype for setup_dummy_device. Remove prototype for ETHER_DEV. Add prototype for DEV_BASE.
* .Roland McGrath2000-10-021-1/+5
|
* 2000-10-01 Roland McGrath <roland@frob.com>Roland McGrath2000-10-021-6/+3
| | | | * inode.c (write_node): Use memcpy instead of a loop.
* .Roland McGrath2000-10-011-1/+10
|
* 2000-10-01 Roland McGrath <roland@frob.com>Roland McGrath2000-10-011-10/+22
| | | | | | | | * exec.c: Comments. 2000-09-24 Roland McGrath <roland@frob.com> * exec.c (map): Bail if the requested position + data size does not fit in the file size.
* 2000-09-30 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-09-302-0/+8
| | | | * main.c: Prototype configure_device to supress compiler warning.
* * pf.c (S_socket_create): Only accept S_IFCHR, S_IFSOCK andMark Kettenis2000-08-092-6/+18
| | | | S_IFIFO as `magic' protocols.
* Add `magic' protocols to specify the file type of a sockets. ThisMark Kettenis2000-08-025-11/+41
| | | | | | | | | | | | | allows implementation of POSIX pipes by using a S_IFSOCK protocol. * sock.h: Include <sys/types.h>. (struct sock): Add new member `mode'. (sock_create): Add new parameter `mode'. * sock.c (sock_create): Initialize `mode' member of struct sock, with new parameter. * pf.c (S_socket_create): Pass file type/mode to sock_create based on PROTOCOL. * io.c (S_io_stat): Use new member of `struct sock' to set ST->st_mode.
* 2000-07-27 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-07-272-1/+9
| | | | | | * portinfo.c: Comment out unimplemented argument `--show-targets'. Reported by Marcus.Brinkmann@ruhr-uni-bochum.de.
* *** empty log message ***Thomas Bushnell2000-07-271-1/+0
|
* * glue-include/linux/poll.h (POLLERR): Define as SELECT_READ |Mark Kettenis2000-07-262-2/+6
| | | | | SELECT_WRITE. (POLLHUP): Define as SELECT_READ.
* * linux-src/net/core/dev.c (net_bh) [_HURD_]: Leave out the codeMark Kettenis2000-07-262-0/+16
| | | | | that gives other bottom halves a chance to run; the network bottom half is the only one present in pfinet.
* * Makefile (HURDLIBS): Reorder libs such that the threads libMark Kettenis2000-07-266-6/+28
| | | | | | comes before 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.
* * Makefile: Reorder libs such that the threads lib comes beforeMark Kettenis2000-07-262-6/+13
| | | | | | 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.
* * Makefile (HURDLIBS): Reorder libs such that the threads libMark Kettenis2000-07-266-6/+27
| | | | | | comes before 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.
* * Makefile (HURDLIBS): Reorder libs such that the threads libMark Kettenis2000-07-264-6/+18
| | | | | | comes before 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.
* * Makefile (HURDLIBS): Reorder libs such that the threads libMark Kettenis2000-07-266-6/+27
| | | | | | comes before 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.
* * Makefile (HURDLIBS): Reorder libs such that the threads libMark Kettenis2000-07-262-3/+11
| | | | | | | | | comes before 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. * truncate.c (trunc_indirect): Add missing argument to pager_flush_some.
* * Makefile (HURDLIBS): Reorder libs such that the threads libMark Kettenis2000-07-262-1/+8
| | | | | | comes before 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.
* * Makefile (HURDLIBS): Reorder libs such that the threads libMark Kettenis2000-07-262-2/+9
| | | | | | comes before 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-07-26 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-07-262-1/+5
| | | | * truncate.c (trunc_indirect): Add missing argument to pager_flush_some.
* * inhibit-all-rpcs.c (ports_inhibit_all_rpcs): Avoid callingMark Kettenis2000-07-255-14/+43
| | | | | | | hurd_thread_cancel on the current thread. * inhibit-class-rpcs.c (ports_inhibit_class_rpcs): Likewise. * inhibit-bucket-rpcs.c (ports_inhibit_bucket_rpcs): Likewise. * inhibit-port-rpcs.c (ports_inhibit_port_rpcs): Likewise.
* 2000-07-25 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-07-252-1/+9
| | | | | * truncate.c (trunc_indirect): Before freeing an indirect block, remove it from the disk pager's kernel cache.
* 2000-07-25 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-07-259-31/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | * priv.h (PM_WRITEWAIT): New pagemap bit. * data-return.c (_pager_do_write_request): Don't proceed with a pageout if one is already in progress. Once we finish, wake up any potential PM_WRITEWAIT waiters. * priv.h (PM_INIT): Provide value again. * data-return.c (_pager_do_write_request): Track PM_INIT again. * priv.h (struct pager): Make pagemap consist of 16-bit elements instead of only 8 bits. * data-request.c (_pager_seqnos_memory_object_data_request): Make PM_ENTRY a short pointer. * data-return.c (_pager_do_write_request): Make PM_ENTRIES a short pointer. * lock-object.c (_pager_lock_object): Make PM_ENTRIES a short pointer. * mark-error.c (_pager_mark_next_request_error): Make P a short pointer. (_pager_mark_object_error): Likewise. * offer-page.c (pager_offer_page): Make PM_ENTRY a short pointer. * object-terminate.c (_pager_free_structure): Interpret pagemapsize correctly. * pagemap.c (_pager_pagemap_resize): Likewise.
* 2000-07-20 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-07-202-1/+6
| | | | | * hashexec.c (check_hashbang): Count characters in interp correctly. Fix from Kalle Olavi Niemitalo <tosi@stekt.oulu.fi>.
* 2000-07-18 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-07-184-7/+14
| | | | | | | * mux.c (free_name): Fix typo in comment. * usermux.c: Likewise. * usermux.h: Likewise (struct usermux): Likewise.
* 2000-07-18 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-07-182-28/+35
| | | | | * io-seek.c (diskfs_S_io_seek): Don't use CHANGE_NODE_FIELD anymore; it was causing problems and was a gross hack anyway.
* 2000-07-04 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-07-043-4/+29
| | | | | | | | | | * changelog: Update to reflect Debian uploads. * rules: Use install_script to install scripts. Don't check for shared libraries in scripts. 2000-01-30 Marcus Brinkmann <marcus@gnu.org> * changelog: Update to reflect Debian uploads.
* * libthreads.map: Update comment to reflect Roland's 2000-03-30Mark Kettenis2000-05-252-3/+11
| | | | | change, and my change to the toplevel configure.in that disables versioning for the old stdio-using libc.
* * configure.in: Add check for libio. Only enable versioning if weMark Kettenis2000-05-252-2/+27
| | | | found libio.
* 2000-05-14 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>Marcus Brinkmann2000-05-144-2/+20
| | | | | | | | | | | * priv.h (DEFAULT_SYNC_INTERVAL): New macro. (DEFAULT_SYNC_INTERVAL_STRING): Likewise. (STRINGIFY): Likewise. (STRINGIFY_1): Likewise. * opts-common.h (diskfs_common_options): Use DEFAULT_SYNC_INTERVAL_STRING instead hardcoded value. * sync-default.h: Include "priv.h". Use DEFAULT_SYNC_INTERVAL instead hardcoded value.
* 2000-04-29 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>Marcus Brinkmann2000-05-142-1/+6
| | | | | * init-main.c (diskfs_init_main): Dereference BOOTSTRAP before checking for MACH_PORT_NULL.
* Remove stale reference to mom.Gordon Matzigkeit2000-04-211-1/+0
|
* Drop libmom documentation.Gordon Matzigkeit2000-04-182-28/+5
|
* Minor task updates.Gordon Matzigkeit2000-04-182-34/+32
|
* .Roland McGrath2000-04-032-0/+10
|
* 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-04-031-5/+3
| | | | | * panic.c: Include <stdarg.h> instead of <varargs.h>. (panic): Use stdarg style.