Age | Commit message (Collapse) | Author |
|
|
|
* 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.
|
|
Fix test for address-less netmask.
Fix byte order when using IN_* macros.
Base default netmask on dev->pa_addr, not in->address.
Don't clear dev->pa_addr.
Delete old routing entries before adding new ones.
(trivfs_get_options): Add & use ADD_ADDR_OPT macro.
(parse_hook_add_interface): Initialize H->curint->device.
(trivfs_get_options): Initialize *ARGZ & *ARGZ_LEN.
|
|
|
|
(rt_del): Renamed from ip_rt_del.
(rt_kill): Call rt_del, not ip_rt_del.
|
|
(rt_kill): Use ip_rt_del instead of rt_del.
|
|
|
|
Renamed from sighup_handle. Make void. Deal with SIGTERM instead of SIGHUP.
(main): Use SIGTERM & sigterm_handler instead of SIGHUP &c.
|
|
(parse_opt): Don't fail if there were no options.
(RETURN): New macro.
(PERR, FAIL): Use RETURN instead of return to free memory if nec.
|
|
(arrange_shutdown_notification): Register SIGHUP handler.
|
|
|
|
../libshouldbeinlibc/libshouldbeinlibc.a.
(SRCS): Add options.c.
|
|
|
|
|
|
(shutdown_notify_class): Declare variable.
(S_startup_dosync): Give enough args to ports_lookup_port.
(S_startup_dosync/do1): Return a value.
(arrange_shutdown_notification): Correct spelling of
ports_create_port. Initialize shutdown_notify_class.
(find_device): Construct arg to strcmp correctly. Correct spelling of
ENXIO.
|
|
|
|
(find_device, enumerate_devices): New functions.
(pfinet_argp): New declaration.
(already_open): New variable.
<error.h>, <argp.h>: New includes.
|