summaryrefslogtreecommitdiff
path: root/libnetfs
AgeCommit message (Collapse)Author
2012-06-05Add header inclusion guardsSamuel Thibault
* console/priv.h [!_CONSOLE_PRIV_H]: Define _CONSOLE_PRIV_H. * libnetfs/priv.h [!_LIBNETFS_PRIV_H]: Define _LIBNETFS_PRIV_H. * libpager/priv.h [!_LIBPAGER_PRIV_H]: Define _LIBPAGER_PRIV_H.
2012-04-08Replace fragile manual »make dist« system with one based on »git archive«.Thomas Schwinge
* Makeconf (lndist): Remove target. (dist-hook, dist.tar): New targets. * Makefile (dist): Rewrite this target's as well as accompanying rules. (%-lndist, cp-linked-files, $(lf-inst)): Remove targets. (%.bz2, %.gz, %/dist-hook): New targets. (DISTFILES): Set. * doc/Makefile (DISTFILES): Set. * doc/Makefile (lndist, lndist-info-targets): Remove targets. * include/Makefile (lndist): Remove target. * libthreads/Makefile (lndist, lndist-i386-files, lndist-map-file): Remove targets. * pfinet/Makefile (lndist, lndist-linux-src-net-core-files) (lndist-linux-src-net-ethernet-files, lndist-linux-src-net-ipv4-files) (lndist-linux-src-net-ipv6-files, lndist-linux-src-asm-files) (lndist-linux-src-include-linux-files, lndist-linux-src-include-net-files) (lndist-linux-src-include-asm-files, lndist-glue-include-linux-files) (lndist-glue-include-asm-files): Remove targets. * auth/Makefile (LCLHDRS): Don't set. * boot/Makefile (LCLHDRS, DIST_FILES): Likewise. * bsdfsck/Makefile (LCLHDRS): Likewise. * config/Makefile (DIST_FILES): Likewise. * console-client/Makefile (LCLHDRS): Likewise. * console/Makefile (LCLHDRS, DIST_FILES): Likewise. * doc/Makefile (DIST_FILES): Likewise. * exec/Makefile (LCLHDRS, DIST_FILES): Likewise. * ext2fs/Makefile (LCLHDRS): Likewise. * fatfs/Makefile (LCLHDRS): Likewise. * ftpfs/Makefile (LCLHDRS): Likewise. * hostmux/Makefile (LCLHDRS): Likewise. * hurd/Makefile (DIST_FILES): Likewise. * include/Makefile (LCLHDRS): Likewise. * isofs/Makefile (LCLHDRS, DIST_FILES): Likewise. * libcons/Makefile (LCLHDRS): Likewise. * libdirmgt/Makefile (LCLHDRS): Likewise. * libdiskfs/Makefile (LCLHDRS): Likewise. * libfshelp/Makefile (LCLHDRS): Likewise. * libftpconn/Makefile (LCLHDRS): Likewise. * libihash/Makefile (LCLHDRS): Likewise. * libiohelp/Makefile (LCLHDRS): Likewise. * libnetfs/Makefile (LCLHDRS): Likewise. * libpager/Makefile (LCLHDRS): Likewise. * libpipe/Makefile (LCLHDRS): Likewise. * libports/Makefile (LCLHDRS): Likewise. * libps/Makefile (LCLHDRS): Likewise. * libshouldbeinlibc/Makefile (LCLHDRS): Likewise. * libstore/Makefile (LCLHDRS, DIST_FILES): Likewise. * libthreads/Makefile (LCLHDRS): Likewise. * libtreefs/Makefile (LCLHDRS): Likewise. * libtrivfs/Makefile (LCLHDRS): Likewise. * mach-defpager/Makefile (LCLHDRS): Likewise. * nfs/Makefile (LCLHDRS): Likewise. * nfsd/Makefile (LCLHDRS): Likewise. * pfinet/Makefile (LCLHDRS): Likewise. * pflocal/Makefile (LCLHDRS): Likewise. * proc/Makefile (LCLHDRS, DIST_FILES): Likewise. * release/Makefile (DIST_FILES): Likewise. * storeio/Makefile (LCLHDRS): Likewise. * sutils/Makefile (LCLHDRS): Likewise. * term/Makefile (LCLHDRS, DIST_FILES): Likewise. * tmpfs/Makefile (LCLHDRS): Likewise. * ufs-fsck/Makefile (LCLHDRS): Likewise. * ufs/Makefile (LCLHDRS): Likewise. * usermux/Makefile (LCLHDRS): Likewise. * utils/Makefile (LCLHDRS): Likewise.
2011-10-19libnetfs: handle _PC_PATH_MAX in pathconfPino Toscano
Explicitly return -1 also for _PC_PATH_MAX to indicate there is no limit for it, otherwise EINVAL is returned for it. * libnetfs/io-pathconf.c (netfs_S_io_pathconf): Handle _PC_PATH_MAX too.
2009-07-11Switch to the new ChangeLog style.Thomas Schwinge
* ChangeLog: Wipe out content, and add instructions about how to get it back. * auth/ChangeLog: Remove file. * benchmarks/ChangeLog: Likewise. * boot/ChangeLog: Likewise. * bsdfsck/ChangeLog: Likewise. * config/ChangeLog: Likewise. * console-client/ChangeLog: Likewise. * console/ChangeLog: Likewise. * daemons/ChangeLog: Likewise. * defpager/ChangeLog: Likewise. * doc/ChangeLog: Likewise. * exec/ChangeLog: Likewise. * ext2fs/ChangeLog: Likewise. * fatfs/ChangeLog: Likewise. * fstests/ChangeLog: Likewise. * ftpfs/ChangeLog: Likewise. * hostmux/ChangeLog: Likewise. * hurd/ChangeLog: Likewise. * include/ChangeLog: Likewise. * init/ChangeLog: Likewise. * isofs/ChangeLog: Likewise. * libcons/ChangeLog: Likewise. * libdirmgt/ChangeLog: Likewise. * libdiskfs/ChangeLog: Likewise. * libfshelp/ChangeLog: Likewise. * libftpconn/ChangeLog: Likewise. * libhurdbugaddr/ChangeLog: Likewise. * libihash/ChangeLog: Likewise. * libiohelp/ChangeLog: Likewise. * libnetfs/ChangeLog: Likewise. * libpager/ChangeLog: Likewise. * libpipe/ChangeLog: Likewise. * libports/ChangeLog: Likewise. * libps/ChangeLog: Likewise. * libshouldbeinlibc/ChangeLog: Likewise. * libstore/ChangeLog: Likewise. * libthreads/ChangeLog: Likewise. * libtrivfs/ChangeLog: Likewise. * login/ChangeLog: Likewise. * mach-defpager/ChangeLog: Likewise. * nfs/ChangeLog: Likewise. * nfsd/ChangeLog: Likewise. * pfinet/ChangeLog: Likewise. * pflocal/ChangeLog: Likewise. * proc/ChangeLog: Likewise. * release/ChangeLog: Likewise. * serverboot/ChangeLog: Likewise. * storeio/ChangeLog: Likewise. * sutils/ChangeLog: Likewise. * term/ChangeLog: Likewise. * tmpfs/ChangeLog: Likewise. * trans/ChangeLog: Likewise. * ufs-fsck/ChangeLog: Likewise. * ufs-utils/ChangeLog: Likewise. * ufs/ChangeLog: Likewise. * usermux/ChangeLog: Likewise. * utils/ChangeLog: Likewise.
2008-12-082008-12-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* Makefile (HURDLIBS): New variable.
2008-07-20Update copyright year.Thomas Schwinge
2008-07-20Correct file name and convert file to UTF-8.Thomas Schwinge
2008-07-202008-07-19 Flávio Cruz <flaviocruz@gmail.com>Samuel Thibault
* file-get-translator.c (netfs_S_file_get_translator): Call major() and minor() macros.
2006-06-152006-06-15 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* io-seek.c (netfs_S_io_seek): Return EINVAL if file pointer would become negative.
2004-09-122004-09-12 Marco Gerards <metgerards@student.han.nl>Marco Gerards
* io-select.c: Include <hurd/ports.h>. (netfs_S_io_select): Add arguments `reply' and `replytype'. * mutations.h (IO_SELECT_REPLY_PORT): New macro.
2004-07-27.Roland McGrath
2004-07-272004-07-27 Roland McGrath <roland@frob.com>Roland McGrath
* misc.h (OPENONLY_STATE_MODES): Remove O_NONBLOCK.
2004-02-11.Roland McGrath
2004-02-112004-02-10 Roland McGrath <roland@frob.com>Roland McGrath
* runtime-argp.c (netfs_runtime_argp): Include <argp.h>.
2002-06-13.Roland McGrath
2002-06-132002-06-13 Roland McGrath <roland@frob.com>Roland McGrath
* dir-readdir.c (netfs_S_dir_readdir): Revert last change.
2002-06-11.Roland McGrath
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* dir-readdir.c (netfs_S_dir_readdir): Use vm_size_t for AMT.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* io-identity.c (netfs_S_io_identity): Use ino_t for FILENO.
2002-06-112002-06-07 Roland McGrath <roland@frob.com>Roland McGrath
* netfs.h (struct node): Use io_statbuf_t instead of struct stat. (netfs_attempt_statfs): Use fsys_statfsbuf_t instead of struct statfs. (struct peropen): Use loff_t instead of off_t. (netfs_attempt_read, netfs_attempt_write): Likewise. (netfs_attempt_set_size, netfs_file_get_storage_info): Likewise.
2002-05-232002-05-23 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* io-read.c (netfs_S_io_read): If desired amount is larger than symlink length, truncate amount. Actually use WHOLE_LINK to store link target temporarily. When reading the link target directly, update *DATALEN.
2002-05-13.Roland McGrath
2002-05-132002-05-13 Roland McGrath <roland@frob.com>Roland McGrath
* netfs.h (struct node): New member `nn_translated'. * dir-lookup.c (netfs_S_dir_lookup): Examine that in place of nn_stat.st_mode to decide if there is a passive translator.
2002-05-13Removing a spurious '<' character at the top of the file which somehow gotMarcus Brinkmann
there when I did a last minute check with emacs, blech.
2002-05-13libnetfs/Marcus Brinkmann
2002-05-13 Marcus Brinkmann <marcus@gnu.org> * io-version.c: New file. * Makefile (IOSRCS): Add io-version.c. * fsstubs.c (netfs_S_io_server_version): Function removed. * netfs.h (netfs_server_name, netfs_server_version): New external variables to be defined by the user. ftpfs/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * ftpfs.c (netfs_server_name, netfs_server_version): New variables. hostmux/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * hostmux.c (netfs_server_name, netfs_server_version): New variables. nfs/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * main.c: Include <version.h>. (netfs_server_name, netfs_server_version, argp_program_version): New variables. trans/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * fakeroot.c (netfs_server_name, netfs_server_version): New variables. usermux/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * usermux.c (netfs_server_name, netfs_server_version): New variables.
2002-05-12.Roland McGrath
2002-05-122002-05-11 Roland McGrath <roland@frob.com>Roland McGrath
* trans-callback.c (_netfs_translator_callback1_fn): Add an assert that netfs_get_translator not fail with EOPNOTSUPP.
2002-05-08.Roland McGrath
2002-05-082002-05-07 Roland McGrath <roland@frob.com>Roland McGrath
* fsys-getroot.c (netfs_S_fsys_getroot): Fix arg type in decl. * append-std-options.c (netfs_append_std_options): Likewise.
2002-05-082002-05-07 Roland McGrath <roland@frob.com>Roland McGrath
* file-exec.c (netfs_S_file_exec): u_int -> size_t in decl. * netfs.h (netfs_append_args): unsigned -> size_t in decl.
2002-05-05.Roland McGrath
2002-05-052002-05-04 Roland McGrath <roland@frob.com>Roland McGrath
* io-restrict-auth.c (netfs_S_io_restrict_auth): Use iohelp_restrict_iouser.
2002-03-10ChangeLogNeal H. Walfield
2002-03-102002-03-9 James A. Morrison <ja2morri@uwaterloo.ca>Neal H. Walfield
* init-startup (netfs_startup): Use err, not errno.
2002-02-07Remove these files. Really.Marcus Brinkmann
Reported by Alfred M. Szmidt <ams@kemisten.nu>.
2001-12-22.Roland McGrath
2001-12-222001-12-22 Roland McGrath <roland@frob.com>Roland McGrath
* priv.h (begin_using_protid_port): Change extern inline decl into static inline with __attribute__ ((unused)) (end_using_protid_port): Likewise.
2001-09-092001-08-31 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* 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>.
2001-07-03.Roland McGrath
2001-07-032001-06-21 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* 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.
2001-06-16.Roland McGrath
2001-06-162001-04-01 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* 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.
2001-06-16.Roland McGrath
2001-06-162001-04-01 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* 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.
2001-06-16.Roland McGrath
2001-06-162001-06-15 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* 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.
2001-04-01.Roland McGrath
2001-04-012001-04-01 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (FSYSSRCS): Add fsys-goaway.c. * fsys-goaway.c: Don't include "priv.h" here.
2001-04-01.Roland McGrath
2001-04-012001-03-31 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* fsys-goaway.c (netfs_S_fsys_goaway): Actually implement it. * shutdown.c (netfs_attempt_shutdown): Likewise.