Age | Commit message (Collapse) | Author |
|
* mapped-time.h: Include <maptime.h>.
(fill_timeval): Function removed.
(fetch_jiffies): Use maptime_read.
* timer-emul.c (init_time): Use maptime_map and maptime_read.
* linux/sched.h (fetch_xtime): Use maptime_read.
* linux/time.h (do_gettimeofday): Likewise.
|
|
|
|
* socket-ops.c (S_socket_getopt): Implement the call.
All options supported by the code in linux-inet are in
fact of type int, so we can support just that one size.
(This is still a bogus untyped interface!)
|
|
|
|
* ethernet.c (ethernet_open): Don't start the input work thread
here.
(more_packets, mark_bh, input_work_thread): Move
these to ...
* devices.c: ... here.
Also include "pfinet.h" instead of list of <> includes.
* main.c (main): Launch input work thread here.
* pfinet.h (input_work_thread): Declare function.
* devices.c (add_device): Remove unused function.
* pfinet.h (incoming_net_packet): Remove unused declaration.
|
|
* io-ops.c (S_io_map_segment): New function.
|
|
|
|
* pfinet.h: Add #include <sys/mman.h> for munmap decl.
|
|
* io-ops.c (S_io_read): Use mmap instead of vm_allocate.
* socket-ops.c (S_socket_whatis_address): Likewise.
|
|
|
|
* io-ops.c: Add #include <sys/mman.h> for munmap decl.
|
|
* io-ops.c (S_io_read): Use munmap instead of vm_deallocate.
(S_io_reauthenticate): Likewise.
|
|
|
|
* main.c (trivfs_goaway): Exit if there are no socket ports.
|
|
* ethernet.c (ether_filter): Use a shorter filter program.
(ether_filter_len): Compute more safely.
|
|
|
|
* main.c (S_startup_dosync): Use ports_class_iterate.
(sigterm_handler): Likewise.
|
|
* io-ops.c (S_io_revoke): New function. Don't attempt to
implement. (Other systems don't even permit non-file revokes.)
|
|
* ethernet.c (ethernet_open): Check error return from device_open and
device_set_filter.
(setup_ethernet_device): Check error return from device_get_status.
* ethernet.c (ethername): Remove static variable.
(setup_ethernet_device): Don't set it.
(ethernet_open): Don't use it; use DEV->name instead.
|
|
|
|
* ethernet.c (ethernet_open): Check error return from device_open and
device_set_filter.
(setup_ethernet_device): Check error return from device_get_status.
* ethernet.c (ethername): Remove static variable.
(setup_ethernet_device): Don't set it.
(ethernet_open): Don't use it; use DEV->name instead.
|
|
|
|
* loopback.c (loopback_type_trans): Return u_int16_t.
|
|
* io-ops.c (S_io_select): When returning EINTR after cancellation,
deallocate REPLY because the stub won't do it for us. Reported by
UCHIYAMA Yasushi (uch@nop.or.jp).
|
|
|
|
Negate linux error codes before returning.
|
|
|
|
* linux-inet/tcp.c (tcp_check): Move to end of file so it isn't
inlined and can be profiled easily.
* linux-inet/udp.c (udp_check): Likewise.
|
|
* main.c (main): New args for
ports_manage_port_operations_multithread.
|
|
SK->err holds errno values, not linux negative errno return vals.
|
|
* Makefile (HURDLIBS): Add iohelp.
* main.c (trivfs_goaway): If FSYS_GOAWAY_FORCE is set, then go
away, otherwise, continue to return EBUSY.
|
|
|
|
Renamed from trivfs_get_options.
Don't initialize ARGZ/ARGZ_LEN.
|
|
|
|
Return EADDRNOTAVAIL if ADDR is 0.
(S_socket_send):
Don't deref ADDR if it's 0.
|
|
* loopback.c (loopback_type_trans): New function.
(setup_loopback_device): Bother to mark interface up
too. Set LOOPBACK_DEV.type_trans.
|
|
* loopback.c (setup_loopback_device): Bother to mark interface up
too.
|
|
* main.c (main): Call setup_loopback_device before parsing args
(and thus before the ethernet device shows up).
* loopback.c: New file.
* Makefile (SRCS): Add loopback.c.
* pfinet.h (loopback_dev): New variable.
* pfinet.h (ip_rt_del): New prototype.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
we get EINTR. Deal with other errors without crashing.
|
|
auth_server_authenticate.
|
|
the hardware header size; subtract that off the value the kernel
specifies as maximum packet size in setting ETHER_DEV.mtu.
|
|
(lndist-asm-files): New rule.
(ASMHEADERS): New variable.
($(top_srcdir)/hurd-snap/$(dir)/asm): New rule.
|