Age | Commit message (Collapse) | Author |
|
Fix type signature of short_circuited_callback1.
|
|
|
|
Re-aquire the lock on DNP when looping to follow a symlink.
|
|
|
|
|
|
Clear *NODE on errors.
Check for lookup permission.
Re-arrange code to correctly handle errors.
|
|
If the underlying node isn't a directory, propagate read permission to
execute permission.
|
|
|
|
Fix typo.
|
|
|
|
New macro.
(ftp_conn_validate_syshooks):
Use FTP_CONN_EI instead of `static inline'.
Protect with __OPTIMIZE__.
|
|
Don't cleanup CONN->actv_data_conn_queue.
|
|
Don't initialize CONN->actv_data_conn_queue.
|
|
|
|
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.
|