Age | Commit message (Collapse) | Author |
|
Remove ACTV_DATA_CONN_QUEUE field.
|
|
Close the data queue socket.
(ftp_conn_finish_open_actv_data):
Close the listen queue after looking for a connection.
(ftp_conn_start_open_actv_data):
Always generate a new data connection (it doesn't work to always listen on a
single address).
|
|
|
|
Add the ACTV_DATA_ADDR and ACTV_DATA_CONN_QUEUE fields.
Add USE_PASSIVE field.
|
|
Close CONN->actv_data_conn_queue if necessary.
(ftp_conn_open):
Set SIN_LEN field correctly.
|
|
Free the ACTV_DATA_ADDR field.
(ftp_conn_create):
Initialiaze the ACTV_DATA_ADDR & ACTV_DATA_CONN_QUEUE fields.
Initialize USE_PASSIVE field.
|
|
ftp_conn_start_open_actv_data, ftp_conn_finish_open_actv_data):
New functions.
(ftp_conn_start_open_data):
Renamed from ftp_conn_open_data.
Use an active data connection if passive doesn't work.
(ftp_conn_start_transfer):
Use ftp_conn_start_open_data and ftp_conn_finish_open_data instead of
ftp_conn_open_data.
|
|
|
|
Use a copy of CRED->user when creating NEW_CRED.
|
|
Always update CC->max to something reasonable after a transfer.
Use ports_self_interrupted to check for interrupts.
|
|
|
|
Turn on debugging when there *aren't* any errors...
|
|
|
|
Don't lock DNP or assume it's locked when it shouldn't be.
|
|
|
|
Negate linux error codes before returning.
|
|
|
|
Initialize to 12.
(parse_common_opt):
Release DEBUG_LOCK even if we get an error.
|
|
Handle devices of the form "cd*".
|
|
|
|
file_get_translator_cntl can also return ENXIO for an inactive translator.
|
|
|
|
* ops.c (netfs_attempt_link): Implement EXCL == 0 case.
(netfs_attempt_rename): Implement EXCL != 0 case.
|
|
|
|
Put RPC into the interrupted list.
|
|
|
|
Add interrupted.c.
|
|
|
|
Call ports_self_interrupted to remove the current thread from the
interrupted list.
|
|
New declarations.
(struct rpc_info):
Add interrupted_next field.
|
|
* cthreads.c (cthread_body): Wire self before calling user work
function. This way all cthreads will be wired, which the ports
library (and hurd_thread_cancel, etc.) depend on.
|
|
* dir.c (diskfs_lookup_hard): Cope with error return from
diskfs_get_filemap.
* sizes.c (diskfs_grow): Likewise.
* dir.c (diskfs_dirempty): Cope (poorly) with error return from
diskfs_get_filemap.
* sizes.c (diskfs_truncate): Likewise.
(block_extended): Likewise.
* pager.c (diskfs_get_filemap): If pager_create fails, return
error to caller.
|
|
* pager.c (dev_get_memory_object): Deal with errors from
pager_create properly.
|
|
* pager.c (netfs_get_filemap): If pager_create fails, return
error to caller.
|
|
* pager.h: Doc fix.
|
|
* pager.c (diskfs_get_filemap): If pager_create fails, return
error to caller.
|
|
* dir.c (diskfs_lookup_hard): Cope with error return from
diskfs_get_filemap.
(diskfs_dirempty): Cope (poorly) with error return from
diskfs_get_filemap.
* truncate.c (force_delayed_copies): Likewise.
* pager.c (diskfs_get_filemap): If pager_create fails, return
error to caller.
|
|
|
|
* diskfs.h: Doc fix.
* io-map.c (diskfs_S_io_map): Cope with error return from
diskfs_get_filemap.
* rdwr-internal.c (_diskfs_rdwr_internal): Likewise.
|
|
* crash.c (main): New args for
ports_manage_port_operations_multithread.
* fifo.c (main): Likewise.
* firmlink.c (main): Likewise.
* new-fifo.c (main): Likewise.
* null.c (main): Likewise.
|
|
* main.c (main): New args for
ports_manage_port_operations_multithread.
|
|
* pager.c (service_paging_requests): New args for
ports_manage_port_operations_multithread.
* storeio.c (main): Likewise.
|
|
* main.c (main): New args for
ports_manage_port_operations_multithread.
|
|
* pflocal.c (main): New args for
ports_manage_port_operations_multithread.
* sserver.c (handle_sock_requests): Likewise.
|
|
* 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.
|
|
* Makefile (SRCS): Delete malloc.c; libc now has a thread safe
malloc.
(malloc.c): Delete file.
|
|
* manage-multithread.c (ports_manage_port_operations_multithread):
Drop parms `wire_cthreads' and `wire_threads'. Add parm `hook'.
(thread_function): Call HOOK instead of cthread_wire and/or
thread_wire.
* ports.h (ports_manage_port_operations_multithread): Adjust
declaration.
|
|
* init-loop.c (netfs_server_loop): New args for
ports_manage_port_operations_multithread.
|
|
* disk-pager.c (service_paging_requests): New args for
ports_manage_port_operations_multithread.
* init-first.c (master_thread_function): Likewise.
|