aboutsummaryrefslogtreecommitdiff
path: root/libnetfs
Commit message (Collapse)AuthorAgeFilesLines
* .Roland McGrath2002-05-081-0/+8
|
* 2002-05-07 Roland McGrath <roland@frob.com>Roland McGrath2002-05-082-22/+18
| | | | | * fsys-getroot.c (netfs_S_fsys_getroot): Fix arg type in decl. * append-std-options.c (netfs_append_std_options): Likewise.
* 2002-05-07 Roland McGrath <roland@frob.com>Roland McGrath2002-05-082-23/+23
| | | | | * file-exec.c (netfs_S_file_exec): u_int -> size_t in decl. * netfs.h (netfs_append_args): unsigned -> size_t in decl.
* .Roland McGrath2002-05-051-0/+5
|
* 2002-05-04 Roland McGrath <roland@frob.com>Roland McGrath2002-05-051-62/+8
| | | | | * io-restrict-auth.c (netfs_S_io_restrict_auth): Use iohelp_restrict_iouser.
* ChangeLogNeal H. Walfield2002-03-101-0/+4
|
* 2002-03-9 James A. Morrison <ja2morri@uwaterloo.ca>Neal H. Walfield2002-03-101-6/+7
| | | | * init-startup (netfs_startup): Use err, not errno.
* Remove these files. Really.Marcus Brinkmann2002-02-072-63/+0
| | | | Reported by Alfred M. Szmidt <ams@kemisten.nu>.
* .Roland McGrath2001-12-221-0/+6
|
* 2001-12-22 Roland McGrath <roland@frob.com>Roland McGrath2001-12-221-4/+4
| | | | | | * priv.h (begin_using_protid_port): Change extern inline decl into static inline with __attribute__ ((unused)) (end_using_protid_port): Likewise.
* 2001-08-31 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-09-095-28/+71
| | | | | | | | | | | | * file-get-translator.c (netfs_S_file_get_translator): If asprintf() fails, set ERR to errno. * dir-lookup.c (netfs_S_dir_lookup): Catch if asprintf() fails and return ENOMEM. If netfs_make_protid() fails, set ERROR to errno, not ENOMEM. Do this before freeing USER. * dir-mkfile.c (netfs_S_dir_mkfile): If netfs_make_protid() fails, set ERROR to errno and free USER. * file-exec.c (netfs_S_file_exec): Likewise. Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>.
* .Roland McGrath2001-07-031-0/+6
|
* 2001-06-21 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-07-031-4/+6
| | | | | | * file-getcontrol.c (netfs_S_file_getcontrol): When checking if we can give the control port out, use fshelp_iscontroller rather than doing the check by hand.
* .Roland McGrath2001-06-161-1/+1
|
* 2001-04-01 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-06-161-13/+51
| | | | | | | | | | | | | | | | | | | | | | * dir-lookup.c (netfs_S_dir_lookup): Use iohelp_create_empty_iouser. Use iohelp_dup_iouser as per the new semantics. * dir-mkfile.c (netfs_S_dir_mkfile): Use iohelp_dup_iouser as per the new semantics. * file-exec.c (netfs_S_file_exec): Likewise. * file-reparent.c (netfs_S_file_reparent): Likewise. * fsys-getroot.c (netfs_S_fsys_getroot): Use iohelp_create_complex_iouser. * fsys-syncfs.c (netfs_S_fsys_syncfs): Use iohelp_create_simple_iouser. * io-duplicate.c (netfs_S_io_duplicate): Use iohelp_dup_iouser as per the new semantics. * io-reauthenticate.c (netfs_S_io_reauthenticate): Use iohelp_reauth as per the new semantics. * io-restrict-auth.c (netfs_S_io_restrict_auth): Use iohelp_create_complex_iouser. Check return values. * trans-callback.c (_netfs_transcallback2_fn): Use iohelp_create_simple_iouser.
* .Roland McGrath2001-06-161-0/+22
|
* 2001-04-01 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-06-169-71/+109
| | | | | | | | | | | | | | | | | | | | | | * dir-lookup.c (netfs_S_dir_lookup): Use iohelp_create_empty_iouser. Use iohelp_dup_iouser as per the new semantics. * dir-mkfile.c (netfs_S_dir_mkfile): Use iohelp_dup_iouser as per the new semantics. * file-exec.c (netfs_S_file_exec): Likewise. * file-reparent.c (netfs_S_file_reparent): Likewise. * fsys-getroot.c (netfs_S_fsys_getroot): Use iohelp_create_complex_iouser. * fsys-syncfs.c (netfs_S_fsys_syncfs): Use iohelp_create_simple_iouser. * io-duplicate.c (netfs_S_io_duplicate): Use iohelp_dup_iouser as per the new semantics. * io-reauthenticate.c (netfs_S_io_reauthenticate): Use iohelp_reauth as per the new semantics. * io-restric-auth.c (netfs_S_io_restric_auth): Use iohelp_create_complex_iouser. Check return values. * trans-callback.c (_netfs_transcallback2_fn): Use iohelp_create_simple_iouser.
* .Roland McGrath2001-06-161-0/+6
|
* 2001-06-15 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-06-161-2/+3
| | | | | | * file-set-translator.c (netfs_S_file_set_translator): If FS_TRANS_ORPHAN is set, do not ask the active translator to go away, just disconnect it.
* .Roland McGrath2001-04-011-4/+8
|
* 2001-04-01 Roland McGrath <roland@frob.com>Roland McGrath2001-04-012-2/+1
| | | | | * Makefile (FSYSSRCS): Add fsys-goaway.c. * fsys-goaway.c: Don't include "priv.h" here.
* .Roland McGrath2001-04-011-0/+20
|
* 2001-03-31 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-04-012-18/+149
| | | | | * fsys-goaway.c (netfs_S_fsys_goaway): Actually implement it. * shutdown.c (netfs_attempt_shutdown): Likewise.
* 2001-03-31 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-04-015-13/+23
| | | | | | | | | | | | | | | * Makefile (fsys-MIGSFLAGS): Add -DREPLY_PORTS, which we want for netfs_S_fsys_goaway. * fsys-get-options.c (netfs_S_fsys_getoptions): Add reply port arguments to declaration. * fsys-getroot.c (netfs_S_fsys_getroot): Likewise. * fsys-goaway.c (netfs_S_fsys_goaway): Likewise. * fsys-set-options.c (netfs_S_fsys_set_options): Likewise. * fsys-syncfs.c (netfs_S_fsys_syncfs): Likewise. * fsysstubs.c (netfs_S_fsys_getfile): Likewise. (netfs_S_fsys_getpriv): Likewise. (netfs_S_fsys_forward): Likewise. (netfs_S_fsys_startup): Likewise.
* 2001-03-31 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-04-011-2/+2
| | | | | | | | | | | | | | | | * Makefile (fsys-MIGSFLAGS): Add -DREPLY_PORTS, which we want for netfs_S_fsys_goaway. * fsys-get-options.c (netfs_S_fsys_getoptions): Add reply port arguments to declaration. * fsys-getroot.c (netfs_S_fsys_getroot): Likewise. * fsys-goaway.c (netfs_S_fsys_goaway): Likewise. * fsys-set-options.c (netfs_S_fsys_set_options): Likewise. * fsys-syncfs.c (netfs_S_fsys_syncfs): Likewise. * fsysstubs.c (netfs_S_fsys_getfile): Likewise. (netfs_S_fsys_getpriv): Likewise. (netfs_S_fsys_forward): Likewise. (netfs_S_fsys_startup): Likewise. * Makefile (MIGSTUBS): Add fsys_replyUser.o.
* 2001-01-15 Neal H Walfield <neal@cs.uml.edu>Marcus Brinkmann2001-01-311-0/+55
| | | | | | | | * netfs.h: Added netfs_get_storage_info. * file-get-storage-info.c (netfs_S_get_storage_info): Calls netfs_get_storage_info instead of providing default response. * file-get-storage-info-default.c: New file. (netfs_get_storage_info): Provides default response.
* 2001-01-15 Neal H Walfield <neal@cs.uml.edu>Marcus Brinkmann2001-01-304-28/+45
| | | | | | | | * netfs.h: Added netfs_get_storage_info. * file-get-storage-info.c (netfs_S_get_storage_info): Calls netfs_get_storage_info instead of providing default response. * file-get-storage-info-default.c: New file. (netfs_get_storage_info): Provides default response.
* 2001-01-30 Neal H Walfield <neal@cs.uml.edu>Marcus Brinkmann2001-01-302-1/+6
| | | | * netfs.h: Fix comment for netfs_nref (finally).
* 2001-01-14 Neal H Walfield <neal@cs.uml.edu>Marcus Brinkmann2001-01-212-7/+11
| | | | * netfs.h: Documentation fixes.
* Bah.Marcus Brinkmann2000-12-302-2/+9
| | | | | | 2000-12-30 Marcus Brinkmann <marcus@gnu.org> * netfs.h: Revert doc "fix" of netfs_attempt_chmod.
* 2000-12-30 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-12-302-6/+14
| | | | | * netfs.h: Merge Neals words into documentation of netfs_nput, netfs_nrele, netfs_nref.
* Adjust "localizer".Marcus Brinkmann2000-12-301-2/+2
|
* 2000-12-30 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-12-3013-120/+205
| | | | | | | | | | | | | | | | | | | | | | * netfs.h (struct node): Adjust comment fixes by last change to be more in line with similar comments elsewhere. * make-node.c (netfs_make_node): Return 0 if malloc does. Reported by Neal H Walfield <neal@cs.uml.edu>. 2000-12-29 Neal H Walfield <neal@cs.uml.edu> * dir-lookup.c (netfs_S_dir_lookup): Do not bother zeroing np, it happens later anyway. Replace bcopy with memcpy. * file-get-translator.c (netfs_S_file_get_translator): Replace bcopy with memcpy. * io-seek.c (netfs_S_io_seek): Only get the lock if we need it. * io-stat.c (netfs_S_io_stat): Replace bcopy with memcpy. * io-write.c (netfs_S_io_write): Wait until the lock is needed. * netfs.h: Complete documentation revision. The locking protocol is now very explicit. * nput.c (netfs_nput): Added comment. * nrele.c (netfs_nrele): Likewise. * set-get-trans.c: Likewise.
* .Roland McGrath2000-03-171-2/+5
|
* 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-171-13/+13
| | | | * file-exec.c (netfs_S_file_exec): Fix typo and braino in last change.
* 2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-03-173-7/+17
| | | | | | * file-exec.c (netfs_S_file_exec): Don't use MAKE_SEND in Hurd RPC. * init-startup.c (netfs_startup): Likewise.
* .Roland McGrath2000-03-171-0/+8
|
* 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-171-9/+6
| | | | | * io-reauthenticate.c (netfs_S_io_reauthenticate): Use ports_get_send_right.
* 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-171-3/+4
| | | | | * dir-lookup.c (netfs_S_dir_lookup): Use ports_get_send_right. Deallocate DIRPORT after fshelp_fetch_root.
* .Roland McGrath2000-01-251-0/+5
|
* 2000-01-25 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-01-251-2/+4
| | | | | * dir-lookup.c (netfs_S_dir_lookup): Follow symlink despite flags if MUSTBEDIR is set (i.e. there was a trailing slash).
* .Roland McGrath1999-10-111-0/+4
|
* 1999-10-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-111-5/+7
| | | | * dir-readdir.c (netfs_S_dir_readdir): Take new DATA_DEALLOC parameter.
* Reverted changes related to io_map_segment.Roland McGrath1999-09-132-10/+5
|
* 1999-09-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-094-10/+77
| | | | | | * fsstubs.c (netfs_S_io_pathconf): Delete function. * io-pathconf.c: New file. * Makefile (IOSRCS): Add io-pathconf.c.
* 1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-082-1/+14
| | | | * iostubs.c (netfs_S_io_map_segment): New function.
* .Roland McGrath1999-07-111-0/+1
|
* 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-1/+1
| | | | | * file-get-storage-info.c: Add #include <sys/mman.h>. * file-get-translator.c: Likewise.
* .Roland McGrath1999-07-111-0/+4
|
* 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-4/+3
| | | | * file-get-storage-info.c: Add #include <sys/mman.h>.