Age | Commit message (Collapse) | Author |
|
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.
|
|
* main.c (main): New args for
ports_manage_port_operations_multithread.
|
|
* auth.c (main): New args for
ports_manage_port_operations_multithread.
|
|
SK->err holds errno values, not linux negative errno return vals.
|
|
|
|
|
|
Initialize the SYSHOOKS_VALID field.
|
|
* rr.c (rrip_work) [SL]: Component length field does not include
the two header bytes, so add an extra two in advancing the pointer
past the component.
|
|
|
|
Print FILE argument to --debug.
(debug_stream, debug_stream_name):
New variables.
(debug_lock):
New variable (was local to cntl_debug).
(cntl_debug):
Print to DEBUG_STREAM.
(ftpfs_ftp_hooks):
Use ports_self_interrupted to check for interrupts.
(parse_common_opt):
Accept a FILE argument to --debug.
|
|
|
|
|
|
|
|
Use ftpfs_dir_null_lookup instead of ftpfs_dir_lookup.
|
|
New declaration.
|
|
Add PRESERVE_ENTRY parameter; all callers changed.
(ftpfs_refresh_node):
Record ENOENT entries.
(ftpfs_dir_lookup):
Handle "" lookups like ".".
Set E's name timestamp for noent entries.
(ftpfs_dir_null_lookup):
New function.
|