Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* 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.
|
|
|
|
* inode.c (write_node): Use memcpy instead of a loop.
|
|
|
|
* 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.
|
|
* main.c: Prototype configure_device to supress compiler warning.
|
|
S_IFIFO as `magic' protocols.
|
|
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.
|
|
* portinfo.c: Comment out unimplemented argument
`--show-targets'. Reported by
Marcus.Brinkmann@ruhr-uni-bochum.de.
|
|
|
|
SELECT_WRITE.
(POLLHUP): Define as SELECT_READ.
|
|
that gives other bottom halves a chance to run; the network bottom
half is the only one present in pfinet.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
* truncate.c (trunc_indirect): Before freeing an indirect block,
remove it from the disk pager's kernel cache.
|
|
* 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.
|
|
* hashexec.c (check_hashbang): Count characters in interp
correctly. Fix from Kalle Olavi Niemitalo <tosi@stekt.oulu.fi>.
|
|
* mux.c (free_name): Fix typo in comment.
* usermux.c: Likewise.
* usermux.h: Likewise
(struct usermux): Likewise.
|
|
* io-seek.c (diskfs_S_io_seek): Don't use CHANGE_NODE_FIELD
anymore; it was causing problems and was a gross hack anyway.
|
|
* 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.
|
|
change, and my change to the toplevel configure.in that disables
versioning for the old stdio-using libc.
|
|
found libio.
|
|
* 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.
|
|
* init-main.c (diskfs_init_main): Dereference BOOTSTRAP before
checking for MACH_PORT_NULL.
|
|
|
|
|
|
|
|
|
|
* panic.c: Include <stdarg.h> instead of <varargs.h>.
(panic): Use stdarg style.
|
|
* glue-include/asm/byteorder.h: Include <hurd.h> early on,
to get the things it #include's that need __BYTE_ORDER to work.
|
|
|
|
* libthreads.map: Define HURD_CTHREADS_0.3 version set,
putting all symbols there except the lockfile symbols.
* lockfile.c: Nit fixes.
|
|
|
|
* configure.in (VERSIONING): New check for ld --version-script.
* config.make.in (VERSIONING): New variable, set by configure.
|
|
Locking support for stdio streams with glibc-2.2 libio. EXPERIMENTAL!
* lockfile.c: New file.
* libthreads.map: New file.
* Makefile (SRCS): Add lockfile.c.
[$(VERSIONING) = yes] ($(libname).so.$(hurd-version)): Depend
on $(srcdir)/$(libname).map to get version script into the link.
|
|
|
|
* fstests.c (main): Fix return type. #if 0 out some unused variables.
|
|
* exec.c (do_exec): Set interp.file to MACH_PORT_NULL before the
first `goto out'.
|
|
|
|
* delegate.c (fshelp_delegate_translation): Add const to arg type.
* fshelp.h: Fix decl.
|
|
* new-fifo.c (trivfs_protid_portclasses, trivfs_protid_nportclasses):
Fix to size 2.
|