diff options
57 files changed, 62 insertions, 35368 deletions
@@ -1,1744 +1,62 @@ -2008-12-08 Thomas Schwinge <tschwinge@gnu.org> - - * Makeconf (local-installhdrsubdir): Always put files below `include/'. - -2008-11-17 Thomas Schwinge <tschwinge@gnu.org> - - * configure.in: Unconditionally use the provided `install-sh'. Make - use of its `-C' option. - * configure: Regenerate. - - * install-sh: Update to the GNU Automake 1.10.1 one. - -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * configure: Regenerate. - -2007-11-07 Thomas Schwinge <tschwinge@gnu.org> - - * config.make.in (gnu89-inline-CFLAGS): New variable. - * Makeconf (CFLAGS): Evaluate that one instead of hard-coding. - Suggested by Olaf Buddenhagen, - <http://lists.gnu.org/archive/html/bug-hurd/2007-11/msg00006.html> - * configure.in (libc_cv_gnu89_inline): Fill depending on a compile-time - test, as per glibc HEAD, 2007-11-07. - -2007-10-07 Thomas Schwinge <tschwinge@gnu.org> - - * Makeconf (CFLAGS): Add ``-fgnu89-inline''. - -2007-09-30 Thomas Schwinge <tschwinge@gnu.org> - - * INSTALL-cross: Refer to the wiki. - -2007-06-14 Thomas Schwinge <tschwinge@gnu.org> - - * Makeconf (CFLAGS): Allow for appending target-specific flags. - -2007-04-07 Thomas Schwinge <tschwinge@gnu.org> - - * INSTALL-cross: Link to the `cross-gnu' script. - -2006-12-03 Thomas Schwinge <tschwinge@gnu.org> - - [bug #17121 --- ``GNU Hurd debian dir''] - * debian/ChangeLog: Remove file. - * Makefile (other-subdirs): Remove `debian'. - -2006-07-24 Thomas Schwinge <tschwinge@gnu.org> - - [bug #17127] - * Makeconf (clean): Don't remove `*.*_d' files. - (%.sdefsi): Add `%.sdefs.d' to the target list. Create these files by - specifying `-MD' as a flag for CPP and mangle the output as needed. - Include these `*.sdefs.d' files instead of `*.migs_d' and `*.migsh_d' - files. - (%.udefsi): Likewise for `%.udefs.d' / `*.migu_d' and `*.miguh_d'. - (%.migs_d, %.migu_d, %.migsh_d, %.miguh_d): Remove targets. - -2006-03-21 Leonardo Lopes Pereira <leonardolopespereira@gmail.com> - - [patch #4984] - * Makeconf (mach_defs_names): Remove `mach_norma' and `norma_task'. - -2006-01-26 Thomas Schwinge <tschwinge@gnu.org> - - * config.guess: Updated from the canonical source. - * config.sub: Likewise. - -2005-04-07 Alfred M. Szmidt <ams@gnu.org> - - * configure.in: Error out if MiG couldn't be found. - * configure: Regenerated. - -2004-09-29 Alfred M. Szmidt <ams@kemisten.nu> - - * config.make.in (datadir): New variable. - -2004-09-10 Roland McGrath <roland@frob.com> - - * Makefile (lib-subdirs): Remove bogon in last checkin. - -2004-09-09 Roland McGrath <roland@frob.com> - - * Makefile (prog-subdirs): Remove serverboot. - -2004-03-14 Marcus Brinkmann <marcus@gnu.org> - - * README.CVS: New file. - -2004-01-26 Jeff Bailey <jbailey@nisa.net> - - * config.make.in (hurddir): Use ${exec_prefix} instead of - $(exec_prefix) - (bootdir): Likewise - (libdir): Get definition from autoconf - (bindir): Likewise - (sbindir): Likewise - (includedir): Likewise - (libexecdir): Likewise - (infodir): Likewise - (sysconfdir): Likewise - (localstatedir): Likewise - (sharedstatedir): Likewise - -2003-11-05 Jeff Bailey <jbailey@nisa.net> - - * config.sub: Update. - * config.guess: Update. - -2003-10-09 Alfred M. Szmidt <ams@kemisten.nu> - - * Makeconf (TAGS): Add a space between the function `strip' and - its argument. - -2003-02-15 Roland McGrath <roland@frob.com> - - * configure: New generated file, now in the repository. - -2002-10-23 Jeff Bailey <jbailey@gnu.org> - - Update for Autoconf 2.54. - * configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD. - (AC_PREREQ): Require Autoconf 2.54. - (AC_INIT): Update to no arguments syntax. Call AC_CONFIG_SRCDIR. - (AC_OUTPUT): Update to no arguments syntax. Call AC_CONFIG_FILES. - (AC_CHECK_TOOL, hurd_PROG_CC): Replace with ... - (AC_PROG_CC): ... this. - * aclocal.m4: Replace AC_FD_CC with AS_MESSAGE_LOG_FD. - (hurd_PROG_CC, hurd_PROG_CC_WORKS): Removed. - -2002-12-03 Marcus Brinkmann <marcus@gnu.org> - - * Makefile (prog-subdirs): Add fatfs. - -2002-10-12 Neal H. Walfield <neal@cs.uml.edu> - - * Makefile (lib-subdirs): Add libpthread. - -2002-09-17 Marcus Brinkmann <marcus@gnu.org> - - * Makeconf (CPPFLAGS): Move -std=gnu99 option to ... - (CFLAGS): ... here. - - * Makefile (prog-subdirs): Add console-client. - -2002-09-05 Roland McGrath <roland@frob.com> - - * Makeconf (CPPFLAGS): Add -std=gnu99 option. - -2002-08-26 Roland McGrath <roland@frob.com> - - * configure.in: Check for uselocale function. - -2002-08-22 Marcus Brinkmann <marcus@gnu.org> - - * aclocal.m4 (hurd_LIB_NCURSESW): New test, modified from GNU - inetutils 1.4.0. - * configure.in: Use hurd_LIB_NCURSESW. - * config.make.in (LIBNCURSESW): New variable, substituted by - configure. - (NCURSESW_INCLUDE): Likewise. - * Makefile (lib-subdirs): Add libcons. - (prog-subdirs): Add console. - -2002-06-14 Roland McGrath <roland@frob.com> - - * Makeconf (cleantarg): Add $(libname).so.$(hurd-version). - - * Makeconf ($(patsubst %.o,%.d,$(filter %.o,$(OBJS)))): Give these dep - files a dependency on $(INSTALLED_LOCAL_HEADERS). - -2002-06-13 Roland McGrath <roland@frob.com> - - * Makeconf (%_S.h %Server.c): Prepend $(mig-sheader-prefix) - to stub header file name. - (INSTALLED_LOCAL_HEADERS): Put them in the build directory, - not the source. Make files with #include rather than symlinks. - (../$(dir)/%: %): New dummy pattern rule. - (INCLUDES): New variable broken out of CPPFLAGS. Add -I$(..)include. - Include ..-relative dirs only if [$(dir) != .]. - (CPPFLAGS): Use that. - -2002-06-11 Roland McGrath <roland@frob.com> - - * Makeconf (CPPFLAGS): Add -D_FILE_OFFSET_BITS=64. - (hurd-version): Update to 0.3 so as to change sonames. - -2002-05-16 Roland McGrath <roland@frob.com> - - * configure.in (asm_syntax): Add patterns for all the flavors we have - pfinet/linux-src/include/asm-* directories for: arm, m68k, mips, - sparc, sparc64. - -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * version.h.in (STANDARD_HURD_VERSION): Remove EXTRA argument, - because cpp 3.0 is not removing any token before ##args that is - not a single comma, in order to be more C99 compliant. - (_SHV_SEP): Removed. - (STANDARD_HURD_VERSION_EXTRA): New macro that does the job of the - old macro with an extra argument. - -2002-04-27 Roland McGrath <roland@frob.com> - - * configure.in: Match $host_cpu of powerpc*, not just powerpc. - Match $host_cpu of alpha* to set asm_syntax=alpha. - -2002-03-21 Roland McGrath <roland@frob.com> - - * Makeconf ($(libname).so.$(hurd-version)): Reorder link arguments so - that .map files come after the -( ... -) group. - -2002-03-15 Roland McGrath <roland@frob.com> - - * configure.in: Remove the checks for libparted. - Instead, check just for a static -lstore_part library and do - that only if no --enable-boot-store-types option was given. - - * configure.in (boot_store_types): Add remap to the default list. - -2002-03-11 Roland McGrath <roland@frob.com> - - * Makeconf ($(libname).so.$(hurd-version)): - Include $($(libname).so-LDLIBS) and $(LDLIBS) in the link. - - * configure.in (--enable-boot-store-types): Grok this arg. - * config.make.in (boot-store-types): New variable, set by it. - * Makeconf [$(dir) != libstore] - ($(boot-store-types:%=../libstore/libstore_%.a)): Make these targets - depend on ../libstore/libstore.so. - -2002-02-10 Marcus Brinkmann <marcus@gnu.org> - - * INSTALL: Change install-hdrs to install-headers. Reported by - Vicente Hernando Ara <bizenton@terra.es>. - -2002-01-05 Roland McGrath <roland@frob.com> - - * aclocal.m4 (hurd_MIG_RETCODE): New macro. - * configure.in: Broken out of here, now use that. - -2002-01-01 Roland McGrath <roland@frob.com> - - * configure.in: If mig supports `retcode', define HAVE_MIG_RETCODE. - -2001-12-31 Roland McGrath <roland@frob.com> - - * configure.in: Check mig for `retcode' keyword support. - If not there, add -DRetCode=NoLong. - -2001-11-15 Neal H Walfield <neal@cs.uml.edu> - - * Makeconf (TAGS) [configured]: Create tags for MiG generated files. - * Makefile (TAGS): Generate dependencies respecting broken - code markers, i.e. based on $(working-prog-subdirs) and not - $(prog-subdirs). - -2001-12-22 Roland McGrath <roland@frob.com> - - * configure.in (asm_syntax): Grok "powerpc" value for $host_cpu. - Default asm_syntax to $host_cpu if not a known type. - Complain about unsupported CPU iff libthreads/$asm_syntax/cthreads.h - is missing; make that complaint a warning rather than fatal error. - - * Makeconf (MIGCOMFLAGS): New variable, set -subrprefix __ here. - (%_S.h %Server.c rule, %_U.h %User.c rule): Pass that to $(MIGCOM). - -2001-11-24 Roland McGrath <roland@frob.com> - - * config.make.in (bootdir): New variable, set to $(exec_prefix)/boot. - (installationdirlist): Add $(bootdir) to the list. - From Alfred M. Szmidt <ams@kemisten.nu>. - -2001-11-15 Roland McGrath <roland@frob.com> - - * Makeconf: Typo fix in last change. - -2001-11-14 Roland McGrath <roland@frob.com> - - * Makeconf: Include config.make only if it exists. - (configured): Set this if we included config.make. - [! configured]: Set no_deps=t. - -2001-10-12 Marcus Brinkmann <marcus@gnu.org> - - * configure.in: If parted/parted.h is found, define - HAVE_PARTED_PARTED_H explicitely. - -2001-08-25 Roland McGrath <roland@frob.com> - - * configure.in: Add a check for Parted's libraries. - (PARTED_LIBS): New variable, substitute it. - -2001-08-24 Roland McGrath <roland@frob.com> - - * config.make.in (PARTED_LIBS): New variable, substituted by configure. - - * Makeconf ($(libname).so.$(hurd-version)): Replace $($@-LDFLAGS) - with $($(libname).so-LDFLAGS). - -2001-08-23 Roland McGrath <roland@frob.com> - - * Makeconf (CPPFLAGS); Add -D_IO_MTSAFE_IO. - -2001-08-20 Roland McGrath <roland@frob.com> - - * hurd.boot: Change --bootflags to --multiboot-command-line. - -2001-06-24 Mark Kettenis <kettenis@gnu.org> - - * configure.in: Add check for getgrouplist. - -2001-06-15 Roland McGrath <roland@frob.com> - - * Makeconf (CPPFLAGS, CFLAGS): Append to these before we include the - config.make file. - -2001-03-11 Roland McGrath <roland@frob.com> - - * Makeconf (%_S.h %Server.c): Split out an intermediate rule for the - cpp stage ... - (%.sdefsi: %.defs): ... into this rule. - (%_U.h %User.c): Likewise split ... - (%.udefsi: %.defs): ... into this rule. - (clean): Remove *.[su]defsi too. - -2000-12-28 Roland McGrath <roland@frob.com> - - * Makeconf (mach_defs_names): Remove default_pager (replaced by our - own in hurd) and default_pager_helper (never used). - -2001-02-02 Roland McGrath <roland@frob.com> - - * Makefile (prog-subdirs): Add tmpfs. - -2000-05-20 Mark Kettenis <kettenis@gnu.org> - - * configure.in: Add check for libio. Only enable versioning if we - found libio. - -2000-03-27 Roland McGrath <roland@baalperazim.frob.com> - - * configure.in (VERSIONING): New check for ld --version-script. - * config.make.in (VERSIONING): New variable, set by configure. - -1999-12-14 Roland McGrath <roland@baalperazim.frob.com> - - * mkbootfs: Removed directory and all files. - They have long been obsolete. - -1999-11-18 Roland McGrath <roland@baalperazim.frob.com> - - * mach-defpager: New directory. See its ChangeLog. - Makefile (prog-subdirs): Add mach-defpager. - -1999-10-03 Roland McGrath <roland@baalperazim.frob.com> - - * Makeconf [$(makemode) = misc]: If no installationdir and no targets, - set makemode-instdir so it's not empty, to avoid expanding `$(dir)'. - -1999-10-01 Roland McGrath <roland@baalperazim.frob.com> - - * Makeconf [Decode makemode page]: Clean up variable usage in each - cases, as follows: - (installationdir): Don't test and set this directly. - (makemode-instdir): New variable, set instead for each makemode. - (linktarg): Don't this for each program-linking makemode. - (targets): Make sure this is always set, i.e. = $(target) in singular - modes. - [$(makemode) != library] (progtarg): New variable. - [$(makemode) != library] (linktarg): Set from $(progtarg), including - .static versions. - (installationdir): Test and default once, using $(makemode-instdir). - [linking and dep rules]: Use $(linktarg) and $(progtarg) as - appropriate instead of $(targets) or $(target). - -1999-09-19 Roland McGrath <roland@baalperazim.frob.com> - - * configure.in (enable_static_progs): Move sed translation of commas - to spaces out of case stmt, so it applies to default too. - -1999-09-18 Roland McGrath <roland@baalperazim.frob.com> - - * Makeconf [$(makemode) != misc]: Use this to protect linking rules, - so we don't define any rule for $(targets) if $(makemode) is misc. - - * Makefile: Revert last change; it is definitely wrong, and there is - no verified bug that needs to be fixed at all. - -1999-09-17 Thomas Bushnell, BSG <tb@mit.edu> - - * Makeconf [Installation section]: Last change (9 Sep 1999) broke - this. Separate more clearly the library and non-library install - rules. - - * Makefile ($(prog-subdirs) $(lib-subdirs), %-lndist, %-clean, - %-relink, %-objs, %-install, %-install-headers, %-TAGS, %.d): Pass - -e to sub-make, so that explicit prefix= args (etc.) get passed - down correctly. - -1999-09-09 Roland McGrath <roland@baalperazim.frob.com> - - * Makeconf (link-executable): New variable, partial linking - commands for executables. - ($(target)): Use it. Move .o's before -Wl,-(, just cause. - ($(addsuffix .static,$(target))): New static pattern rule, - use `$(link-executable) -static' and static hurd libs. - [$(doinst) = one]: Give deps to $(target).static too. - {"Decode makemode" page}: Set linktarg instead of cleantarg for each - makemode that sets only one. - [$(makemode) != library]: Append $(linktarg:=.static) to linktarg. - [$(cleantarg) empty]: Set cleantarg to $(linktarg). - [Installation section] (targets): Set to $(target) if empty. - (installable): New variable, union of $(linktarg) and $(targets). - Remove conditionals on $(doinst), leaving only multi-target version. - Use $(installable) rather than $(targets) to compute list of - targets for static pattern rule that does the install. - (install-targets): New variable, $(targets) plus subset of $(linktarg) - matching $(build-static:=.static). - (all): Depend on $(install-targets) rather than $(targets). - (install): Likewise for computed list of targets in $(installationdir). - * config.make.in (build-static): New variable. - * configure.in: Support --enable-static-progs=LIST. - -1999-09-12 Thomas Bushnell, BSG <tb@mit.edu> - - * libmom: Remove directory and contents. - * Makefile (lib-subdirs): Remove `libmom'. - -1999-09-08 Thomas Bushnell, BSG <tb@mit.edu> - - * Makeconf (cleantarg): Add `$(libname)_pic.a'. - [$(makemode) = library] (targets): Likewise. - ($(libname)_pic.a): New rule. - ($(libdir)/$(libname)_pic.a): Extended from the previous _p.a and - .a rules. - Submitted by Marcus Brinkmann (Marcus.Brinkmann@ruhr-uni-bochum.de). - -1999-06-19 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (DIST_FILES): Add move-if-change. - -1999-06-17 Roland McGrath <roland@baalperazim.frob.com> - - * move-if-change: New file, canonical GNU script. - -1999-03-23 Roland McGrath <roland@baalperazim.frob.com> - - * Makeconf [$(makemode) = library] - (linktarg): Append .$(hurd-version). - (cleantarg): Add $(linktarg) here. - -1999-03-17 Gordon Matzigkeit <gord@trick.fig.org> - - * Makefile (other-subdirs): Add the debian directory. - -1999-02-16 Roland McGrath <roland@baalperazim.frob.com> - - * Makeconf (install): Fix typo in Thomas's last change. - ($(libdir)/$(libname).so): Depend on ....so.$(hurd-version). - - * Makeconf ($(libname).so): Make it a symlink to - $(libname).so.$(hurd-version). - ($(libname).so.$(hurd-version)): New target, renamed from - $(libname).so; link the actual shared object with this name. - -Tue Feb 16 02:31:06 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * Makeconf ($(libname).so): Include $(hurd-version) as part of the - soname. - ($(libdir)/$(libname).so.$(hurd-version)): New rule. - ($(libdir)/$(libname).so): Only create a symlink to the - version-numbered name. - (install) [makemode == library]: Add - the versioned name $(libdir)/$(libname.so).$(hurd-version). - - * version.h.in: New file. - * versioh.h, sh-version.sed: Deleted files. - * Makeconf (hurd-version): New variable. - * Makefile ($(subdirs)): Depend on version.h. - (version.h): New rule. - (DIST_FILES): Delete version.h and sh-version.sed. Add version.h.in. - -1999-01-24 Roland McGrath <roland@baalperazim.frob.com> - - * configure.in: Add AC_PROG_AWK. - * config.make.in (AWK): New variable, substituted by configure. - -1998-12-27 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (prog-subdirs): Reordered with vague topical grouping. - -1998-11-29 Roland McGrath <roland@baalperazim.frob.com> - - * Makeconf ($(libdir) installation rules): Use automatic variables. - Use a static pattern rule for foo.a and foo_p.a, treated the same. - -1998-10-20 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (TAGS): Create a TAGS file that specifies the subdir TAGS - files as includes. - - * Makeconf (TAGS): Make rules cope with having no source files to tag. - -1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - - * Makeconf (objs): Don't build PIC objects unless $(makemode) library. - - * Makeconf (objs): New target, just compile w/o ar or ld. - (OBJS): Remove bogus `%.o' default defn. - - * Makefile (objs, %-objs): New subdir target. - -1998-08-12 Roland McGrath <roland@baalperazim.frob.com> - - * aclocal.m4 (AC_PROG_CC_LOCAL): Renamed to hurd_PROG_CC. - (AC_PROG_CC_WORKS_LOCAL): Renamed to hurd_PROG_CC_WORKS. - * configure.in: Use hurd_PROG_CC instead of AC_PROG_CC_LOCAL. - (AC_PREREQ): Require 2.12. - (AC_CANONICAL_HOST): Give helpful error messages for likely cases of - bogus host specs. - (crypt check): Don't do AC_CHECK_FUNCS to get HAVE_CRYPT, - just check for -lcrypt to set $LIBCRYPT. - -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * configure.in: Grok --{en,dis}able-profile, default enable. - * config.make.in (build-profiled): New variable, from @enable_profile@. - * Makeconf (no_prof): Set to t if $(build-profiled) is not no. - - * Makeconf: Inhibit $(target).prof_d include if no_prof=t. - -Tue Jul 7 11:39:08 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * Makeconf (CPPFLAGS): Include $($*-CPPFLAGS). Reported by Gordon - Matzigkeit (gord@gnu.org). - - * INSTALL-cross: Updated by Gordon Matzigkeit (gord@gnu.org). - -1998-04-02 Gordon Matzigkeit <gord@profitpress.com> - - * Makefile (srcdir): Don't set srcdir, since this is either done - in the generated Makefile or in Makeconf. Just include ./Makeconf - directly. - - * configure.in (makefiles): Check for $ac_unique_file, rather than - doing string comparisons to determine if we are configured in the - source directory. This works for silly things like `srcdir=./.'. - -1997-08-06 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (prog-subdirs): Add ftpfs. - -1997-07-23 Miles Bader <miles@gnu.ai.mit.edu> - - * usermux: New directory. - * Makefile (prog-subdirs): Add usermux. - -Mon Jul 21 16:18:50 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makeconf (linking .prof executable): Don't mutate library names - here. - (making %.prof_d special target): Mutate library names here. - (%.prof_d): Depend on Makefile in srcdir. - -Fri Jul 18 16:37:22 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * isofs: New directory. - * Makefile (prog-subdirs): Add isofs. - -Thu Jul 10 14:10:32 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makeconf ($(makemode) == library): If $(no_prof) is `t', then - don't build _p.a versions of libraries. - -1997-06-19 Miles Bader <miles@gnu.ai.mit.edu> - - * hostmux: New directory. - * Makefile (prog-subdirs): Add hostmux. - -1997-06-18 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (version): Use a four-digit year. - (dist): Always generate distributes of the form - `hurd-${version}.tar.gz'. - -Thu Jun 12 18:58:41 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Released version 0.2. - -1997-06-10 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Remove SETUP. - * SETUP: File removed. - -Mon Jun 9 12:27:40 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * version.h (HURD_VERSION): Update version number to 0.2. - * sh-version.sed: Likewise. - * README: Likewise. - * INSTALL: Likewise. - -Thu Jun 5 14:20:56 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile: Don't include directory .d files if no_deps is t. - (prog-subdirs): Omit ftpfs. - -Fri May 23 10:06:34 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROG_CC. - * aclocal.m4: New file. - * Makefile (DIST_FILES): Add aclocal.m4. - (Patch from Marcus G. Daniels, marcus@cathcart.sysc.pdx.edu). - -Wed May 7 12:28:58 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * libftpconn, ftpfs: New directories. - * Makefile (lib-subdirs): Add libftpconn. - (prog-subdirs): Add ftpfs. - -Mon Mar 10 17:07:11 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (prog-subdirs): Add `serverboot'. - * serverboot: New directory. - -Fri Oct 25 20:17:47 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makeconf (%.prof_d): Don't set no-deps. - (.prof_d inclusion): Don't do it if prof-depend=t. - -Wed Oct 23 01:36:35 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makeconf ($(target)): Repair rule for building of .prof_d - files. - ($(target), $(target).prof): Refer to generated variables - (-CFLAGS, -LFLAGS, -LDLIBS) by the base name ($*) not $@. - (_libext): Likewise. - -Mon Oct 21 22:22:49 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makeconf (cleantarg) [makemode == library]: Add $(libname)_p.a. - (targets) [makemode == library]: Include $(libname)_p.a in default - value. - ($(libdir)/$(libname)_p.a) [makemode == library]: New rule. - ($(libname)_p.a) [makemode == library]: New rule. - (%_p.o): Two new rules (depend on %.c or %.S). - (make_deps): Make dependency now specify $*_p.o too. - ($(addsuffix .prof,$(target))): New rule to link profiled objects. - ($(target)): Surround usual build rule with if prof-depend == nil. - ($(addsuffix .prof_d, $(target))): Include this if not a library. - Also a new rule to build them. - ($(target)) [prof-depend == t]: Kludge to write out its dependencies. - -Tue Oct 15 12:29:26 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makeconf (relink): Remove $(linktarg) always. - (linktarg) [makemode == library]: Set variable. - (linktarg): And also a default. - * Makefile (%-relink): Set no_deps=t here. - (relink): Do $(lib-subdirs) too. - -Tue Oct 8 22:39:12 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makeconf ($(includedir)/$(installhdrsubdir), - $(installationdirlist)): Suppress command echo (when mkinstalldirs - actually does something, it prints the resulting commands itself). - -Fri Oct 4 17:52:54 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makeconf ($(..)$(dir).d): Always include libhurdbugaddr in the - list for non-libraries. - -Thu Sep 26 15:43:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makeconf (%: %.sh): New rule. - -Tue Sep 24 21:43:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * configure.in: Add check for crypt function. - -Mon Sep 23 00:10:52 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * sh-version.sed: Change to use new version format. - - * configure.in: Check for libcrypt. - * config.make.in (LIBCRYPT): New variable. - -Wed Sep 18 16:26:06 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * version.h (STANDARD_HURD_VERSION): Change to use new format. - Add EXTRA tail arg. - (_SHV_SEP): New macro. - - * Makefile (prog-subdirs): Remove devio. - -Thu Sep 19 16:53:09 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile ($(addsuffix .d,$(subdirs))): Depend on the makefile in - the source directory, not the build directory. - * Makeconf ($(..)$(dir).d): Likewise. - - * Makeconf (install) [all variants]: Depend on installation - directory directly; don't make installed file depend on it. - -Thu Sep 12 15:45:34 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (include $(addsuffix .d,$(subdirs))): New directive to - get dependencies for directories included. - ($(addsuffix .d,$(subdirs))) New target. - * Makeconf (library_deps): New variable. - (directory-depend): New target. - ($(..)/$(dir).d): New target. - ($(target)) [doinst == one]: Depend on libraries from library_deps. - ($(libname).so) [makemode == library]: Likewise. - - * Makefile ($(prog-subdirs) $(lib-subdirs)): New rule. - (%-all): Delete rule. - (all): Depend on directory names without appended -all. - -Sun Sep 8 14:21:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (prog-subdirs): Add storeio. - -Fri Sep 6 17:00:23 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * INSTALL: Update to version 0.1. - * README: Likewise. - -Thu Sep 5 11:04:38 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * version.h: New file. - * sh-version.sed: New file. - * Makefile (DIST_FILES): Add version.h and sh-version.sed. - -Wed Sep 4 16:25:24 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makeconf - ($(addprefix $(includedir)/$(installhdrsubdir)/,$(installhdrs))): - `$(includdir)' --> `$(includedir)' - -Wed Sep 4 08:56:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * configure.in (asm_syntax): New variable, canonicalized from - host_cpu. AC_SUBST it. - * config.make.in (asm_syntax): New variable, from @asm_syntax@. - -Sun Sep 1 14:03:20 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makeconf ($(target): %$(target-suffix)): Add dependency on - $(BUGADDR), and $(BUGADDR_REF) to the flags. - (BUGADDR, BUGADDR_REF): New variables. - * Makefile (lib-subdirs): Add libhurdbugaddr. - * libhurdbugaddr: New directory. - -Thu Aug 29 14:14:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makeconf [doinst == one] (install): Don't depend on - $(installationdir). - [doinst==one] ($(installationdir)/$(target)): Do depend on - $(installationdir). - [doinst == many] (install): Don't depend on $(installationdir). - $(addprefix $(installationdir)/,$(targets)): Depend on - $(installationdir). - [makemode == library] (install): Don't depend on $(libdir), - $(includedir), or $(includedir)/$(installhdrsubdir). - [makemode == library] ($(libdir)/$(libname.a)): Depend on - $(libdir). - [makemode == library] ($(libdir)/$(libname).so): Likewise. - [makemode == library] $(addprefix - $(includedir)/$(installhdrsubdir)/,$(installhdrs)): Depend on - $(includdir)/$(installhdrsubdir) - [makemode == library] $(includedir)/$(installhdrsubdir): Depend on - $(includedir). - [makemode == library] (install-headers): Don't depend on - $(includedir)/$(installhdrsubdir) or $(includedir). - - * INSTALL: Tell people to delete Mach's mach_init.h if it got - installed. - -Wed Aug 28 11:22:28 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * INSTALL: Say to use `no_deps=t' when installing headers. - -Tue Aug 13 17:54:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makeconf ($(target)): Add $($@-LDLIBS) $(LDLIBS) to libs. - -Tue Aug 13 14:05:54 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makeconf (vpath %.defs): Remove reference for mach and device - headers. - (mach_defs_names, device_defs,names, mach_defs, device_defs): New - variables. - ($(mach_defs), $(device_defs)): New rules. - * config.make.in (install_prefix, install_includedir): Delete - variables. - * configure.in (install_prefix): Delete AC_SUBST. - -Mon Aug 12 12:51:03 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makeconf: Comment out the lines that cause recursive makes into - library subdirs. - -Thu Aug 8 13:14:44 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * configure.in: Add AC_SUBST for `install_prefix'. - * config.make.in (install_prefix, install_includedir): New - variables. - * Makeconf (vpath %.defs): Look for these in install_includedir. - -Wed Aug 7 14:57:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (prog-subdirs): Add `nfsd'. - -Tue Aug 6 12:20:37 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Released source version 0.0. - -Fri Aug 2 11:02:11 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (cp-linked-files): Add missing hyphen to rule. - (dist): Delete directory named for VERSION, not old var DATE. - Build tar file from SRCDIR to avoid embedding an odd pathname in - the archive. - -Tue Jul 30 13:54:47 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makeconf (top_srcdirinc): Don't define EWOULDBLOCK anymore. - -Sat Jul 20 15:42:43 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makeconf (lndist): Find DISTFILES in $(srcdir). - * Makefile (date): Delete vare. - (version, dirname): New vars. - (dist): Operate in $(srcdir). Use $(dirname) for the tar dir name. - (hurd-snap): Create in $(srcdir). - -Thu Jul 18 00:40:04 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makeconf (install): Depend on $(includedir)/$(installhdrsubdir). - (install-headers): Likewise. - ($(includedir)/$(installhdrsubdir)): New rule. - - * Makeconf (vpath -l%): Tell make where to find -l libraries. - -Wed Jul 17 22:49:50 1996 Roland McGrath <roland@baalperazim.frob.com> - - * build.mkcf.in: Use top_srcdir instead of srcdir. - -Wed Jul 17 14:28:29 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makeconf: gs/install-hdrs/install-headers/g - * Makefile: Likewise. - -Tue Jul 16 11:35:48 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makeconf (CFLAGS): Define EWOULDBLOCK here to work around new - libc bug. - -Sat Jul 13 20:34:41 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (other-subdirs): Add `include'. - * Makeconf (install-hdrs) [library]: Depend on installed copies of - headers. - (install-hdrs): Provide default target. - * Makefile (%-install-hdrs, install-hdrs): New targets. - * INSTALL: Discourage cross-building; include instructions for - libc/hurd co-installation. - * README: Discourage cross-building. - - * Makefile (install): Install $(other-subdirs) too. - -Fri Jul 12 14:18:37 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makeconf (install) [doinst==one || doinst==many]: Include - file-specific options in call to INSTALL_PROGRAM. - -Mon Jul 8 00:54:56 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Removed *.h. - - * Makefile (DIST_FILES): Removed INSTALL-binary; now in - ./release/. - (other-subdirs): Add `release'. - * release: New directory. - - * Makeconf: disable excessive cleverness for now... - -Sun Jul 7 22:41:04 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (lib-subdirs): Move libthreads up before libpager. - * Makeconf (libs) [library]: Depend on add-to-librecord instead of - $(targets). - (install) [library]: Add dependency on add-to-librecord. - (add-to-librecord) [library]: Depend on $(targets). - (librecord) [MAKELEVEL == 0]: Define and export. - (include librecord): New inclusion. - ($(librecord)): New target. - (add-to-librecord): New target. - -Thu Jun 27 09:51:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * config.make.in (installationdirlist): New variable. - * Makeconf (MKINSTALLDIRS): New variable. - (install) [all versions]: Add dependency on the directory being - installed into. - ($(installationdirlist)): New dependency. - - * Makefile (linked-files, lf-inst): New variables. - (cp-linked-files): Use implicit rule. - ($(lfinst)): New implicit rule. - * mkinstalldirs: New symlink to /gd/gnu/lib program. - - * Makefile (distclean): Add config.cache. - - * Makefile (lndist-cthreads-h): Delet target. - (lndist): Remove `lndist-cthreads-h'. - -Fri Jun 21 12:28:26 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makeconf ($(target)): Get rid of -defsym hack for ___brk_addr - (there's a hack in libc now). - -Thu Jun 20 14:33:01 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (prog-subdirs): Add `daemons'. - * daemons: New directory. - * config.make.in (libexecdir): New variable. - -Mon Jun 17 11:24:49 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makeconf ($(target)): Add bletcherous hack to deal with undefined - (and unused) libc symbol. - - * Makefile (prog-subdirs): init.trim -> init. - (other-subdirs): Delete init; add config. - * init.trim: Renamed to be init. - * init: Sluffed into olds. - - * config: New directory. - -Mon Jun 17 10:30:54 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makeconf (CPPFLAGS): Add -I$(top_srcdir)/include. - (INSTALLED_LOCAL_HEADERS): Split into two cases based on - $(installhdrsubdir). - ($(INSTALLED_LOCAL_HEADERS)) [$(installhdrsubdir) == .]: Linked to - $(top_srcdir)/include. Prefix ../ to link contents. - * include: New directory. - - * Makefile (prog-subdirs): Rename fsck to ufs-fsck. Add sutils. - * ufs-fsck: Renamed from fsck. - * sutils: New directory. - -Thu Jun 13 17:14:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * config.make.in (localstatedir, sharedstatedir): Add variables. - -Fri May 24 15:16:25 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (lib-subdirs): Add libmom. - * libmom: New directory. - -Sat May 11 17:00:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * Makeconf: Add .PHONY spec for phony targets. - -Thu May 9 12:19:08 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Add *.h. - - * Makeconf (INSTALLED_LOCAL_HEADERS): New variable that $(libs) - depends on. This arranges to make sure that headers exported by - this library always get installed eventually into the source - directory as symlinks. - -Mon May 6 16:25:46 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * libiohelp: Renamed from `libioserver'. - * Makefile (lib-subdirs): libioserver -> libiohelp. - -Tue Apr 30 22:06:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Add build.mkcf.in. - * build.mkcf.in: New file. - * configure.in (makefiles): Add Makeconf:build.mkcf.in. - - * Makefile (srcdir): Set to . if undefined. Find Makeconf in - $(srcdir). - -Tue Apr 30 09:27:31 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makeconf ($(target)): Don't depend on $(OBJS) or $(OTHERLIBS) in - the main build rule. Add new rule specifying such a dependency - only when doinst is one. - -Sun Apr 28 19:02:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * Makeconf (make-deps): New canned sequence. Remove gcc-lib hdrs from - deps. Use atomic mv for output. - (%.d: %.c, %.d: %.S): Use $(make-deps). - -Fri Apr 26 09:25:48 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makeconf (OBJS): Provide default definition. - (_objs): Delete variable; replace references with $(OBJS). - - * Makefile (cp-linked-files): New target. - (lndist): Add `cp-linked-files'. - -Thu Apr 25 03:13:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * Makeconf: Use -include for generated dep files. - -Thu Apr 11 16:18:25 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * INSTALL-binary: Renamed from README-binary. - -Thu Apr 11 16:13:35 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Add SETUP. - -Thu Apr 11 16:06:21 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * README: Rewritten for a new purpose. - * INSTALL-cross: Renamed from INSTALL. - * INSTALL: New file. - -Mon Mar 25 03:09:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - - * configure.in: After CC tool check, invoke AC_PROG_CC to set default - CFLAGS and test for GCC. Barf if not GCC. - -Thu Mar 21 11:41:53 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makeconf (CFLAGS): Always turn on -g and -O3. - -Wed Mar 20 15:30:49 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makeconf (vpath %.defs): Make that $(includedir)/mach and - $(includedir)/device. - (CPPFLAGS): Add -D_GNU_SOURCE. - -Wed Mar 20 15:29:21 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - - * Makeconf (vpath %.defs): Use $(includedir) to locate mach files. - -Tue Feb 27 14:48:19 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (prog-subdirs): Change `newfs' to `ufs-utils'. - - * Makeconf ($(target): %): Add $(target-suffix) to destination name. - -Thu Nov 30 10:57:21 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (prog-subdirs): Added pfinet. - -Tue Nov 21 14:34:04 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makeconf (top_srcdirinc, srcdirinc): New variables. - (CPPFLAGS): Use new vars $(top_srcdirinc) and $(srcdirinc) to avoid - ugly duplication of `.' and `..' in compile lines when possible. - -Tue Oct 24 17:24:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Replace hurd.boot.in with hurd.boot - (hurd.boot): Target removed. - (clean-misc): Don't remove hurd.boot. - (all): Don't depend on it. - * hurd.boot: Renamed back from hurd.boot.in. - Name ufs and ld.so as they will be found in an installed Hurd - filesystem. - -Tue Oct 10 23:31:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf (rpath): New variable. - ($(target)): Use it in link command. - ($(libname).so): Likewise. - Use $^ instead of $+. - -Sat Oct 7 05:02:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf ($(libname).so): Pass $(LDFLAGS) and $($@-LDFLAGS). - -Wed Oct 4 16:21:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf (%_pic.o: %.c): Use $(COMPILE.c) instead of its - contents. Pass -DPIC. - (%_pic.o: %.S): New rule. - -Sat Sep 23 02:45:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf (top_srcdir): Define properly in parent directory. - - * Makefile (other-subdirs): Remove lib. - -Fri Sep 22 14:26:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * build.mk.in (VPATH): New variable. - -Thu Sep 21 19:07:44 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (hurd.boot): New target. - (all): Depend on hurd.boot - (DIST_FILES): Add build.mk.in and hurd.boot.in. - (clean-misc, distclean): New targets. - (clean): Depend on clean-misc. - - * hurd.boot.in: Renamed from hurd.boot; use @exec_prefix@ instead - of hardcoded dir. Added some comments. - * build.mk.in: New file. - * configure.in: If not in $srcdir, produce */Makefile from - build.mk.in. - -Thu Sep 21 14:28:26 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * Makefile (prog-subdirs): Removed `pfinet'. - - * term, newterm: Renamed `term' to be `term.old'; renamed - `newterm' to be `term', thus installing the new version. - -Wed Sep 20 20:10:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * hurd.boot: Run ld.so with arg of /hurd/exec, instead of running - exec/exec. Now exec can be dynamically linked. - -Tue Sep 19 13:40:47 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makeconf (LDFLAGS): Variable removed. - -Tue Sep 19 02:33:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf (libthreads-libsubst): Variable removed. - -Sat Sep 16 14:17:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * configure.in: New file. - * config.make.in: New file. - * Maketools: File removed. - * Makefile (DIST_FILES): Remove Maketools. - Add config.make.in, configure.in, configure. - * Makeconf: Include $(..)config.make for configure-generated - parameters. - No longer include Maketools. - (prefix, exec_prefix, srcdir, hurddir, bindir, sbindir, libdir, - infodir, includedir): Variables removed. - (..): New variable. - (srcdir, top_srcdir): Set if not already set. - (CPPFLAGS): Append -I's for . and .. and $(srcdir) and $(top_srcdir). - (CFLAGS): Remove -g. - Change miscellaneous uses of $(srcdir) to $(top_srcdir). - (vpath %.defs): Remove $(crossheaders) dirs from path. - -Sat Sep 16 13:26:59 1995 Miles Bader <roland@churchy.gnu.ai.mit.edu> - - * Makeconf (sbindir): New variable. - (installationdir): Don't set if already set. - -Mon Sep 11 12:06:44 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Maketools (CCVERSION): Changed to 2.7.1. - (CCVERSION-duality.gnu.ai.mit.edu): Removed. - -Fri Sep 1 13:02:12 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makeconf (libsubst, libsubst-override, _libsubst): New vars. - ($(target): %): Replace each library reference with $(_libsubst). - (libthreads-libsubst): New variable. - [$(makemode)==library] (targets): Default to both .a and .so libraries. - [$(makemode)==library] (all, install): Make and install $(targets) - instead of the explicit default list of them. - [$(makemode)==library] (libs): New target. - (../%.a ../%.so): Make the `libs' target instead of an explicit - list of libraries. - -Mon Aug 28 17:22:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * hurd.boot: Use ${boot-args} preset variable. - Use $(...) for action directives. - -Mon Aug 28 15:52:16 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * Makeconf (inclusion of .d files based on OBJS): Only deal with - .o files in $(OBJS). - -Mon Aug 28 09:59:04 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makeconf (TAGS): Automagically find all the files to scan from - the dependency information. - (DEP_SRCS): Sort in reverse order so that local files come first. - -Fri Aug 25 08:02:04 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makeconf ($(libname).so): Use the linker -soname option to - specify what library name should be recorded by users. - (__libext, __libext-static, _libext): New variables. - ($(target): %): Link against the absolute library with the - appropiate extension do determine whether shared or not, instead - of using -L...-l syntax. - -Thu Aug 24 10:09:59 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makeconf (HURDLIBS-files, HURDLIBS-libs): Removed. - ($(targets): %): The same rule now used for both many and one - cases. Get the things to be linked against entirely from the - dependency list, and munge it to convert library pathnames to - -L...-l pairs. - Stop using *HURDLIBS as the mechanism for passing in libraries to - be linked against. Now you should just put the pathname in the - dependency list of the target, along with the object files, etc. - [$(doinst)==many] (target): Set this from $(targets). - ($(sort $(HURDLIBS-files))): Rule deleted. - (../%.a ../%.so): New rule, replacing the previous one. - -Wed Aug 23 17:55:04 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Add hurd.boot. - * hurd.boot: New file. - -Tue Aug 22 17:04:19 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makeconf ($(addprefix $(installationdir)/,$(targets)),): Use - INSTALL_PROGRAM, not INSTALL_BIN. - * Maketools (INSTALL_BIN): Changed to INSTALL_PROGRAM. - - * Makeconf (HURDLIBS-libs): Re-enable the -L... version, but using - -Wl,-L... instead to avoid gcc hosage. - (HURDLIBS-files): Use both the target specific and general values - of HURDLIBS. - Get rid of the merging of all target-specific HURDLIBS into the - general HURDLIBS, as the former are use properly now. - [$(doinst)==one] ($(target)): Don't explicitly link with $(libc). - [$(doinst)==many] ($(targets): %:): Depend on the .o file of the - same name, and on all the hurd library files, and on all - appropriate other libraries. Use $^ instead of $+ as we now get - all the libraries from the various HURDLIBS instead of from the - dependencies list, and this allows us to put %.o in our - dependencies without worrying about duplicating what the user has - done. Don't explicitly link with $(libc). - - * Makeconf [$(makemode)==library]: Use $(installhdrsubdir) to - determine where headers in $(installhdrs) should be installed, - instead of a constant `hurd'. - -Fri Aug 18 21:53:17 1995 Miles Bader <miles@duality.gnu.ai.mit.edu> - - * Makeconf [$(doinst)==many]: Depend on what's in plain OTHERLIBS - as well as the target specific $@-OTHERLIBS. - -Mon Aug 7 16:29:53 1995 Miles Bader <miles@duality.gnu.ai.mit.edu> - - * Makefile (prog-subdirs): Remove pipes. - -Fri Aug 4 14:49:25 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * README-binary: Say to run /hurd/pflocal instead of /hurd/pipes. - -Wed Jul 26 14:30:17 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (lib-subdirs): Added libpipe. - (prog-subdirs): Added pflocal. - * libpipe: New directory. - -Sun Jul 23 15:57:50 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Removed `missing'. - (dist): Include date in snapshot name. - -Sat Jul 22 14:19:36 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (%-lndist, %-clean, %-TAGS): Set no_deps in recursive - make. - * Makeconf: Don't include dependency files if no_deps is set. - -Tue Jul 18 20:09:35 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makeconf (%.d: %.c): Include the _pic.o files if we are making a - library. - -Wed Jul 12 11:41:19 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (lib-subdirs): Removed `libnetserv'. - * libnetserv: Move to old. - * pfinet: Move to old; start new directory. - -Fri Jul 7 17:34:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf [$(doinst)==many] ($(targets) installation rule): Fix typo. - -Fri Jul 7 00:29:12 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makeconf (install) [doinst == one || doinst == many]: Don't - install files if they already exist and are up to date. - -Thu Jul 6 14:45:30 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Maketools (OBJCOPY): New var. - - * Makeconf (HURDLIBS-libs): Comment out path-search rule here; I - don't yet trust -L to work right; particularly inside linker - parens. - - * Makeconf (%.d:%.c %.d:%.S): Repair sed line to include more - context. - - * Makeconf (Building targets) [doinst == many]: Don't try and - build $(special-targets). - - * Makeconf: Delete now-unneeeded explicit dependencies. - - * Makeconf (clean): Add dependency files to be removed. - - * cthreads.h: New link to libthreads/cthreads.h to make sure we - get the local copy instead of the one in the include dir. - * Makefile (lndist): Add new dependency. - (lndist-cthreads-h): Rule to create the cthreads.h link. - - * Makeconf ($(target) [doinst == one]): Don't explicitly depend on - libc. Too hairy for now. - - * Makeconf: Added many new rules for automatic dependency - generation. - - * Makeconf (install) [makemode == library]: Install libraries and - headers as separate targets. - -Wed Jul 5 17:41:33 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makeconf: Make things work nicer for $(doinst)==many by allowing - per-target HURDLIBS and LDFLAGS values. - - * Makefile (prog-subdirs): Removed `pflocal'. - -Thu Jun 29 15:14:25 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makeconf (cleantarg) [makemode == library]: Add $(libname).so. - (`Building Hurd libraries'): Make simpler rule that doesn't need - allibs. - (alllibs): Delete variable. - (all) [makemode == library]: Add $(libname).so. - (install) [makemode == library]: Install $(libname.so) too. - ($(libname).so) [makemode == library]: New rule to build shared - library. - (%_pic.o): New rule to build pic object files. - -Wed Jun 28 15:06:25 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makeconf (HURDLIBS-libs): Restore variable definition. - ($(target)) [doinst == one]: Use HURDLIBS-libs instead of - HURDLIBS-files. - (HURDLIBS-files): Compute names automatically. Dike out - per-library variables up above. - - * Makefile (prog-subdirs): Removed dev.trim. - -Thu Jun 22 11:47:05 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makeconf (libihash): New variable. - (alllibs): Add libihash. - -Mon Jun 19 21:34:14 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makeconf (CFLAGS): Omit -Wno-parentheses. - -Tue Jun 6 13:18:14 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (lib-subdirs): Added libihash. - * libihash: New directory. - -Thu May 18 03:34:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf (LDFLAGS): Append -static. - -Fri May 12 18:39:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (prog-subdirs): Removed mkbootfs. - -Fri May 5 09:46:01 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makeconf: Make MIGCOMUFLAGS & <target>-MIGCOMUFLAGS actually work. - -Fri Apr 21 11:44:05 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Maketools (INSTALL_BIN): Reverse Miles's last change. - -Wed Apr 12 11:12:51 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makeconf (install [$(makemode) == library]): Use `$(RANLIB)', - not `ranlib'. - -Tue Apr 11 10:51:22 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Add README-binary. - * README: Small doc fix. - * INSTALL: Many changes. - * README-binary: New file. - - * Makeconf (prefix): Change to /home/gd4/hurdinst. - - * Makefile (all, install): Do lib-subdirs too. - - * Makefile (prog-subdirs): Added devio, newfs, ext2fs, benchmarks, - pfinet, tmpfs, defpager, login, and nfs. - (other-subdirs): Added lib. - (lib-subdirs): Added libps, libnetserv, libdirmgt, and libnetfs. - (subdirs-nodist): Remove libnetserv. - - * devio, lib, libps, ext2fs: New directories (actually created - several weeks before this log entry). - -Mon Apr 10 14:38:26 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Maketools (INSTALL_BIN): Use /gd4/hurd-cross/install-stripped to - install binaries stripped. - - * Makeconf (prefix, exec_prefix): Point at the currently correct place. - -Fri Apr 7 18:14:01 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * ext2fs: Delete directory and its contents. - * Makefile (subdirs-nodist, other-subdirs): Delete `ext2fs'. - -Wed Apr 5 12:59:10 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (clean): Only clean in working-prog-subdirs. - - * Makeconf (hurdinst, hurdroot): Deleted vars. Replaced usages - with $(prefix) and derivatives. - (hurdroot-douglas.gnu.ai.mit.edu, hurdroot-ernst.gnu.ai.mit.edu, - hostname, hurdrootdev): Deleted vars. - (hurdsource): Replaced with `srcdir'. - (startup, libc): Deleted vars; now in Maketools. - (prefix, exec_prefix): New vars. - (hurddir, bindir, libdir, infodir, includedir): New vars. - ($(hurdroot), $(hurdroot)/mounted): Deleted rules. - (vpath %.defs): Look in $(crossheaders), not installation dir. - * Maketools (crossdir, startup, libc, crossheaders): New vars. - (MIGCOM): Use $(crossdir) instead of literal string. - -Fri Mar 31 23:45:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf [makemode=library] (install): Only do $(installhdrs) if - defined. - * Makeconf [makemode=library] (install): Use $(INSTALL_DATA). - * Maketools (INSTALL, INSTALL_DATA, INSTALL_BIN): Define normally - using `install'. - -Mon Mar 20 14:02:08 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makeconf (libps): New variable. - (alllibs): Add libps. - - * ps, libps: New directories. - - * Makeconf: Doc fix. - - * Maketools (CC): Specify `$(CCTARGET)-gcc' instead of just `gcc'. - -Thu Feb 16 00:43:43 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf (CPPFLAGS, CFLAGS): Set with += so Makefiles can add things. - - * Maketools (hostname): New variable, so CCVERSION actually works. - -Wed Feb 15 22:40:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Maketools (CCVERSION-duality.gnu.ai.mit.edu): New variable. - -Sat Feb 11 03:59:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Maketools (INSTALL_BIN): Use objcopy. - -Wed Dec 14 07:31:46 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * Makeconf (libnetserv): New variable. - (alllibs): Added `libnetserv'. - -Thu Nov 24 07:36:57 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Remove gcc-specs. - -Tue Nov 22 22:29:41 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf ($(target)): Use normal linking with -Wl,-( $+ -Wl,-). - -Wed Nov 16 14:52:20 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Maketools (MIG, MIGCOM): Never define using rsh; use - /usr/local/i386-gnu/.... - -Tue Nov 8 14:27:58 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makeconf (link-objects): Mention libgcc.a explicitly here. - * Maketools (CCVERSION): Upgrade default to version 2.6.2. - -Thu Nov 3 17:17:15 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Renamed `fsck' to `bsdfsck'; renamed `newfsck' to `fsck'. - * Makefile (prog-subdirs): Added bsdfsck. - -Tue Nov 1 13:15:28 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf (hurdroot): Don't set if already defined. - -Fri Oct 14 17:43:46 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * newfsck: New directory. - -Fri Sep 23 15:57:45 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (working-prog-subdirs): New variable, omits dirs - containing a file BROKEN. - (all, install): Use that instead of $(prog-subdirs). - -Fri Sep 16 10:16:19 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * Makeconf (libc): Now that libc.a is a linker script, do the - Right Thing here. - ($(target)): Here too. - -Thu Sep 8 12:20:05 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * Makefile (prog-subdirs): Added `fsck'. - - * Makefile (DIST_FILES): Added `INSTALL'. - * INSTALL: New file. - -Tue Aug 30 11:29:50 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (other-subdirs): Add libnetserv. - (lib-subdirs): Remove libnetserv. - -Tue Aug 23 09:35:44 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makeconf (link-objects): Don't use -v anymore. - -Fri Aug 19 01:36:11 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf (link-objects): Don't put $(OBJS) inside -( ... -). - -Tue Aug 16 14:21:46 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makeconf (link-objects): Don't use $^; it omits duplicates. - -Tue Aug 16 00:47:08 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf (link-objects): Define with hair to use -( ... -). - -Mon Aug 15 21:24:42 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * gcc-specs: Updated; now expects gcc configured for - {i386,mips}-gnu target and libc installed in - /usr/local/{i386,mips}-gnu/{lib,include} or wherever configured. - (cpp): Grok only -posix. - (lib): Use -( ... -) hack. - (startfile): Use normal defn. - (predefines): Remove `hurd'; `gnu' is enough. - - * Makeconf (link-objects): New variable. - ($(target)): Use it in place of other objects variables. - Depend on $(libc). - - * Maketools (BUILD_CC): Set this instead of HOST_CC. - -Wed Aug 10 13:59:40 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * netinet: New directory. - -Wed Aug 10 13:41:54 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Maketools (LD): Find ld in $(tooldir) instead of $(ccdir). - -Mon Aug 8 15:37:29 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * libnetserv: New directory. - * Makefile (lib-subdirs): Added `libnetserv'. - - * Makeconf (distfiles): Don't set with :=. - * Makefile (dist): Fix typo. - -Fri Aug 5 15:23:49 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * Makeconf (machdefs, devicedefs): Deleted vars. - (vpath %.defs): Added $(includedir)/device. - - * Makeconf (install) [doinst == many]: Repair shell syntax. - - * sh.trim, ps, su: Deleted directories. - -Mon Aug 1 19:41:06 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Maketools (CC): Add -pipe. - -Sun Jul 31 21:12:40 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Maketools (tooldir): Use /usr/local/i386-gnu/bin. - (CCVERSION): Use 2.6.0. - (INSTALL_BIN): Use objcopy -S. - -Sat Jul 23 01:35:03 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf: Removed all the hairy mig rules. - Replaced with two pattern rules and a vpath %.defs directive. - Rationalized use of flag variables; add dash after interface name - in computed flag variable names. - - * gcc-specs (predefines): Remove -Asystem(hurd); `gnu' is enough. - - * Makeconf ($(target)): Pass $(LDFLAGS) like a sane person. - -Fri Jul 22 19:42:53 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makeconf (HURDLIBS-files): New variable. - ($(target)): Use that instead of $($(HURDLIBS)). (mib braino.) - (distfiles): Use $(DIST_FILES) instead of just DIST_FILES. - (TAGS): Use a substitution reference instead of several function - invocations. - -Fri Jul 22 10:18:33 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (other-subdirs): Removed `i386'. - * i386: Deleted directory. - * machine: Deleted symlink. - - * Makeconf (CFLAGS): Use += instead of :=. - (TAGS): New var OTHERTAGS for source not in the usual places. - -Thu Jul 21 15:09:34 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makeconf (CPPFLAGS): Remove -I. and add -I$(hurdsource) in - accord with reorganization. - (libthreads,libports,libioserver,libpager,libfshelp,libdiskfs, - libtrivfs): Changed to find libraries in local (uninstalled) - locations. - ($(hurdsource)/lib%/lib%.a): Define this instead of bogus rules for - each installed library and header file separately. - (%_S.h, %Server.c): New implicit rules for Hurd and Mach - interfaces; associated variables. - (makemode): New variable parent should set. - (doinst, installationdir): New vars. - (install, $(target), $(libname).a): New targets. - (TAGS): Rewritten with new variable names. - - * Makefile (prog-subdirs): Removed sh.trim, ps, and su. Added - utils. Removed ifsock and symlink. Added trans. - -Wed Jul 20 16:27:50 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Maketools (MIGHOSTCCVERSION, MIGCCTYPE, MIGHOSTCC): Deleted - variables. - -Tue Jul 19 12:25:06 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (other-subdirs): Added ext2fs. - (subdirs-nodist): New variable. - (dist): Don't include things in subdirs-nodist. - - * gcc-specs (cpp): Use -idirafter instead of -I in searching for - our substitute /usr/include. - (lib): Don't look for libmalloc. - - * Maketools (CCTARGET): Changed to be i386-gnu. - (CPP): Use $(CC) instead of calling CPP directly. - * Makeconf (CPPFLAGS): Deleted -nostdinc and -I flags. - (link): Deleted macro. - (ldflags, gccheaders, libgcc): Deleted variables. - - * Makeconf (malloc): Deleted variable. - (link): Deleted $(malloc) and `-u _malloc'. - -Tue Jul 12 15:23:43 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (other-subdirs): Moved dev here from $(prog-subdirs). - (prog-subdirs): Added dev.trim. - -Tue Jul 5 14:07:02 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Snapshot published. - - * Makefile (prog-subdirs): Added dev, su, symlink. - (DIST_FILES): Added tasks and ChangeLog. - - * Makeconf (TAGS): New target. - * Makefile (%-TAGS): New target. - (TAGS): New target. - - (other-subdirs): Moved tmpfs here from $(prog-subdirs). - -Mon Jun 20 15:03:14 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Maketools (INSTALL_BIN): New macro. - -Sat Jun 18 12:34:04 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * Maketools (MIGCOM): Fix mib's losing command to propagate umask - through rsh to the remote migcom run. - -Wed May 25 12:55:35 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makeconf (libtrivfs): New variable. - ($(libtrivfs), $(includedir/hurd/trivfs.h)): New targets. - -Tue May 24 16:15:30 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Maketools (MIGHOSTCC, CC): Don't use -pipe any more. - -Wed May 18 13:02:44 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * tasks: New file. - -Tue May 17 19:51:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Snapshot published. - - * gcc-specs: New file. - * Makefile (DIST_FILES): Added gcc-specs. - -Fri May 6 13:24:42 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * Maketools (MIGHOSTCCVERSION, MIGHOSTCCTYPE, MIGHOSTCC): - New variables. - (mighost): Fully canonicalize name. - -Thu May 5 19:34:57 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * Makeconf (malloc): Changed to point to libmalloc.a; installed - there by libthreads/Makefile. - -Thu May 5 07:10:49 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makeconf (malloc): Pass -u _malloc and reference $(libthreads). - - * Makeconf (headers): Variable renamed to includedir; all uses changed. - (CPPFLAGS): Add -I. before other -Is. - -Wed May 4 07:07:16 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Maketools (machine): Define variable. - -Wed Apr 27 01:54:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile (LIB_SUBDIRS, PROG_SUBDIRS, OTHER_SUBDIRS, SUBDIRS): - Renamed to less annoying names, not in ALL GRATUITOUS CAPS. - (lib-subdirs): Fixed name of libthreads. +2772f5c6a6a51cf946fd95bf6ffe254273157a21 is the last commit imported from CVS. +All commits after that one have valid author and committer information. + +Use this to examine the change log for earlier changes: + + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:auth/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:benchmarks/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:boot/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:bsdfsck/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:config/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:console-client/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:console/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:daemons/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:defpager/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:doc/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:exec/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:ext2fs/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:fatfs/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:fstests/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:ftpfs/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:hostmux/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:hurd/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:include/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:init/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:isofs/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libcons/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libdirmgt/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libdiskfs/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libfshelp/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libftpconn/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libhurdbugaddr/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libihash/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libiohelp/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libnetfs/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libpager/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libpipe/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libports/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libps/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libshouldbeinlibc/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libstore/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libthreads/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:libtrivfs/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:login/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:mach-defpager/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:nfs/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:nfsd/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:pfinet/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:pflocal/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:proc/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:release/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:serverboot/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:storeio/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:sutils/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:term/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:tmpfs/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:trans/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:ufs-fsck/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:ufs-utils/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:ufs/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:usermux/ChangeLog + $ git show 2772f5c6a6a51cf946fd95bf6ffe254273157a21:utils/ChangeLog diff --git a/auth/ChangeLog b/auth/ChangeLog deleted file mode 100644 index caddb11f..00000000 --- a/auth/ChangeLog +++ /dev/null @@ -1,217 +0,0 @@ -2003-08-17 Marcus Brinkmann <marcus@gnu.org> - - * auth.c: Include <stddef.h>. - (pending_users, pending_server): Change type to struct hurd_ihash, - initialize with HURD_IHASH_INITIALIZER. - (struct pending): Change type of member LOCP to hurd_ihash_locp_t. - (S_auth_user_authenticate): Use hurd_ihash_* functions instead - ihash_*. - (S_auth_server_authenticate): Likewise. - (main): Do not allocate the hash tables. - -2002-05-07 Roland McGrath <roland@frob.com> - - * auth.c (S_auth_getids): u_int -> size_t - (S_auth_makeauth, S_auth_server_authenticate): Likewise. - (idvec_copyout): Fix argument type; make static. - -2002-05-03 Roland McGrath <roland@frob.com> - - * auth.c (S_auth_server_authenticate): Take reply port args. - -2001-02-12 Marcus Brinkmann <marcus@gnu.org> - - * auth.c (main): New variable ARGP defining a doc string. - Pass address of ARGP to argp_parse(). - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile (HURDLIBS): Reorder libs such that the threads lib - comes before the ports lib. This makes sure the functions in - libthreads properly override the stubs in libports with the new - dynamic linker semantics in glibc 2.2. - -1999-05-13 Roland McGrath <roland@baalperazim.frob.com> - - * auth.c (S_auth_server_authenticate, S_auth_user_authenticate): If - rendezvous port arrives as MACH_PORT_DEAD, fail with EINVAL. - -1999-05-02 Roland McGrath <roland@baalperazim.frob.com> - - * auth.c: Include <error.h>. - -1999-05-01 Roland McGrath <roland@baalperazim.frob.com> - - * auth.c (main): Give diagnostics for lack of bootstrap port or - failure of startup_authinit RPC. - -1998-11-27 Mark Kettenis <kettenis@phys.uva.nl> - - * auth.c (main): Call _hurd_proc_init with new args set to zero. - -Wed Aug 20 14:01:43 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * auth.c (main): New args for - ports_manage_port_operations_multithread. - -Wed Feb 19 23:04:30 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * auth.c (argp_program_version): Make const. - -Thu Sep 12 16:27:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (auth): Delete special depedencies. - -Thu Sep 5 11:05:37 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * auth.c (AUTH_VERSION): Delete macro. - (argp_program_version): Use STANDARD_HURD_VERSION. - (main): Pass empty string as release; HURD_VERSION as version. - -Fri Jul 19 00:35:46 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * auth.c (S_auth_makeauth): Deallocate initial reference to - NEWAUTH after *NEWHANDLE has been set. - -Thu Jul 18 19:31:53 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * auth.c (S_auth_makeauth): It's fine if a passed in auth port is - not one we know about; just make the loops across AUTHS deal - properly with null values. Only deallocate the AUTHPTS passed in - if we don't encounter any errors. Always deallocate the - references in the AUTHS array. ISUID and GROUPMEMBER functions - should check both effective and auxiliary members of AUTH. - (struct pending): Delete member `passthrough_type'. - (S_auth_user_authenticate): Always use MOVE_SEND to send pass - through port back to user. - (S_auth_server_authenticate): Don't bother initializing - U.passthrough_type or S.passthrough_type. - -Sat Jul 6 23:16:42 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * auth.c (AUTH_VERSION): New macro. - (argp_program_version): New variable. - (auth_version): Variable removed. - (main): Call argp_parse to get defaults. - Use AUTH_VERSION instead of auth_version. - <argp.h>: New include. - <idvec.h>: Changed from <hurd/idvec.h>. - -Wed Jun 26 14:22:51 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * auth.c (S_auth_makeauth): Don't special-case the 0 explicit ids - case (it used to merge in all the ids from passed in auth-handles - in that case). - -Mon May 6 14:22:13 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * auth.c (auth_version): Upgrade to 0.0. - -Sat May 4 22:40:42 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * auth.c (S_auth_user_authenticate, S_auth_server_authenticate): - Use ports_interrupt_self_on_port_death instead of - cancel_on_dead_name. Hurd_condition_wait returns a boolean, not - an error_t, so supply EINTR ourselves. - (cancel_on_dead_name): Function removed. - -Fri May 3 17:07:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * auth.c (S_auth_server_authenticate, S_auth_user_authenticate): - Remove IGNORED arg. - -Tue Apr 30 21:16:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * auth.c (S_auth_makeauth): Increment NAUTHS for first elt. - (main): Initialize the ihash tables, dammit. - -Thu Apr 25 02:57:53 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * auth.c: Rewritten. - * authmutations.h: New file. - * Makefile (LCLHDRS): Add it, remove auth_mig.h. - (OBJS): Remove auth_replyUser.o, notifyServer.o. - (auth): Depend on libports, libihash, libthreads, libshouldbeinlibc. - - * auth_mig.h: Rewritten. - * Makefile (OBJS): Add auth_replyUser.o. - -Thu Jul 6 15:29:43 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile: Removed dependencies that are now automatically - generated. - -Fri Nov 18 07:34:11 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (OBJS): Add notifyServer.o. - (auth.o): Depend on notify_S.h. - * auth.c: Include "notify_S.h". Remove _S_ from all - do_mach_notify_* server routines. - -Wed Sep 7 13:14:41 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * auth.c (isuid): Look for TEST in the uid arrays, not the gid arrays. - -Tue Sep 6 14:33:02 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * auth.c (auth_nosenders): Remove auth struct from allapts - list correctly. - -Thu Aug 25 13:24:24 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * auth.c (struct saved_user): Use second rendezvous port in place - of rend_int. - (strut saved_server): Likewise. - (S_auth_user_authenticate): Replace int arg with secondary - rendezvous port. Check it instead of old rend_int for match. - Deallocate it (twice) if we are completing the auth transaction - here. Store it in U in place of the old int. - (S_auth_server_authenticate): Likewise, mutatis mutandis. - -Mon Aug 15 11:52:49 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * auth.c (main): Make startup_essential_task the last thing we - do before processing messages. - -Thu Jul 21 18:39:38 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile: Rewritten in accord with new scheme. - * auth.c: Include "auth_reply_U.h" instead of "auth_reply.h". - -Tue Jul 19 12:32:54 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (auth): Don't use variable $(link) anymore. - -Tue Jul 5 14:18:23 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (SRCS, TAGSHDRS): New variables. - -Mon Jun 20 15:04:42 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (install): Use $(INSTALL_BIN) instead of cp. - -Thu May 19 15:18:52 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * auth.c (auth_nosenders): Take auth off of allapts list - before destroying it. - -Thu May 12 15:28:50 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * auth.c (main): Declare args ARGC and ARGV; pass ARGV in call - to _hurd_proc_init. - -Mon May 9 16:50:09 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * auth.c (auth_version): New variable. - (main): Call proc_register_version. - -Thu May 5 07:42:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile: Change uses of $(headers) to $(includedir). - -Fri Apr 29 16:50:50 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * auth.c (main): Fetch hostpriv arg and provide it to - startup_essential_task in accord with interface change to - startup.defs. diff --git a/benchmarks/ChangeLog b/benchmarks/ChangeLog deleted file mode 100644 index aa2447a7..00000000 --- a/benchmarks/ChangeLog +++ /dev/null @@ -1,24 +0,0 @@ -2008-06-10 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * forks.c (main): Set type of `argc' to `int'. - -2002-06-15 Roland McGrath <roland@frob.com> - - * forks.c (main): Fix cast of sbrk result. - -1999-10-01 Roland McGrath <roland@baalperazim.frob.com> - - * forks.c: Add #include's to silence implicit decl warnings - (main): Use time_t and add a cast, to silence type warnings. - -1999-09-14 Thomas Bushnell, BSG <tb@mit.edu> - - * forks.c (main): Count argc correctly. - -Wed Apr 12 11:25:25 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (OBJS): New var. - -Tue Apr 11 11:17:32 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile: Rewrote in accordance with new scheme. diff --git a/boot/ChangeLog b/boot/ChangeLog deleted file mode 100644 index b1e3a6ad..00000000 --- a/boot/ChangeLog +++ /dev/null @@ -1,893 +0,0 @@ -2006-03-15 Thomas Schwinge <tschwinge@gnu.org> - - * boot.c (boot_script_exec_cmd): Fix invalid lvalues. - -2003-01-04 Roland McGrath <roland@frob.com> - - * boot_script.c (boot_script_parse_line): Copy the file name into - malloc'd storage. - (add_arg): New arg TEXTLEN. Store malloc'd copy of TEXT. - (boot_script_parse_line): Update callers. - -2002-06-13 Roland McGrath <roland@frob.com> - - * boot.c (ds_device_write): int -> size_t in store_write call. - (ds_device_write_inband): Likewise. - -2002-06-08 Roland McGrath <roland@frob.com> - - * boot.c (S_io_identity): Use ino_t for FILENO. - -2002-05-31 Roland McGrath <roland@frob.com> - - * boot.c: Don't include "exec_S.h". - - * boot.c (boot_script_exec_cmd): Fix typos: - {I386,ALPHA}_THREAD_STATE -> {i386,ALPHA}_THREAD_STATE_COUNT - -2002-05-28 Roland McGrath <roland@frob.com> - - * boot_script.c (boot_script_set_variable): Values int -> integer_t. - (boot_script_define_function): Likewise. - (boot_script_parse_line): Likewise. - (struct sym, struct arg): Likewise. - (boot_script_exec): Likewise. - (builtin_symbols): Likewise. - * boot.c (main): Likewise. - * boot_script.h: Update decls. - - * boot.c (boot_script_exec_cmd) - [I386_THREAD_STATE]: Conditionalize i386 thread setup code on this. - [ALPHA_THREAD_STATE]: Add Alpha thread setup code. - (set_mach_stack_args): Obsolete function removed. - - * boot.c (load_image): u_int -> vm_address_t - (ds_xxx_device_get_status, ds_xxx_device_set_status): u_int -> size_t - (S_io_restrict_auth, S_io_reauthenticate): Likewise. - (ds_device_write, ds_device_read_inband): Likewise. - (ds_device_get_status): Likewise. - (ds_device_set_status): Likewise. - (boot_script_exec_cmd): Likewise. - (ds_device_read, ds_device_write_inband): Likewise. - (ds_xxx_device_set_filter): Likewise. - (ds_device_set_filter): Likewise. - -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * boot.c: Include <version.h> - (argp_program_version): New variable. - -2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca> - - * boot.c (main): Use error, not perror and exit. - -2001-10-07 Neal H Walfield <neal@cs.uml.edu> - - * boot.c (main): Set the boot script variables based on - the KERNEL_COMMAND_LINE value. - -2001-08-23 Roland McGrath <roland@frob.com> - - * boot.c (kernel_command_line): New variable. - (options): Add --kernel-command-line/-K. - (parse_opt): Parse it, set kernel_command_line. - (main): If unset, default it to "argv[0] bootstrap_args bootdevice". - Set ${kernel-command-line} boot script variable to kernel_command_line. - -2001-08-17 Neal H Walfield <neal@cs.uml.edu> - - * userland-boot.c (boot_script_task_create): Suspend the newly - created task as the protocol requires. - (boot_script_insert_right): Fix the error message. - -2001-08-17 Roland McGrath <roland@frob.com> - - * userland-boot.c (boot_script_insert_right): Take new result - parameter for send right name in target task. - (boot_script_insert_task_port): New function. - - * boot_script.h: Update those two decls. - (VAL_TASK): New macro. - * boot_script.c (VAL_SYM, VAL_FUNC): Increase these constants. - (builtin_symbols): Use VAL_TASK for "task-create". - (boot_script_exec): Update caller of boot_script_insert_right. - Treat VAL_TASK like VAL_PORT, but call boot_script_insert_task_port. - - * boot_script.h: size_t -> unsigned int - * boot_script.c: Don't #include <string.h>. - -2001-08-16 Roland McGrath <roland@frob.com> - - * userland-boot.c (boot_script_insert_right): New function. - * boot_script.h: Declare it. - * boot_script.c (boot_script_exec): Use that instead of - mach_port_insert_right. - - * boot_script.h: Protect from multiple inclusion. - (safe_gets): Remove decl. - - * boot_script.h (boot_script_exec_cmd): Change TASK arg type to task_t. - * userland-boot.c: Likewise. - - * boot_script.h (struct cmd): Change `task' member type to `task_t'. - (boot_script_task_create, boot_script_task_resume, - boot_script_prompt_task_resume, boot_script_free_task): Declare new - functions that callers must define. - * userland-boot.c: Define those. - * boot_script.c (create_task, resume_task, prompt_resume_task): Use - those instead of direct Mach calls. - (free_cmd): Likewise. - (read_file): Function removed. - (builtin_symbols): Remove the "read-file" element. - - * boot_script.h (boot_script_malloc, boot_script_free): Declare new - functions that callers must define. - * boot_script.c: All uses of malloc/free changed to use those instead. - * userland-boot.c: New file. Defines them using malloc/free. - * Makefile (SRCS, OBJS): Add it. - * boot.c (boot_script_malloc, boot_script_free): Old cruft functions - removed. - - * boot_script.c (boot_script_parse_line): Take new first argument HOOK. - Store it in CMD->hook. - (main): Update caller. - (boot_script_exec): Pass CMD->hook as 1st arg to boot_script_exec_cmd. - (boot_script_exec_cmd): Take new first argument HOOK. - * boot.c (boot_script_exec_cmd): Likewise. - * boot_script.h (struct cmd): New member `void *hook'. - Update decls for HOOK arguments added. - -2001-02-25 Roland McGrath <roland@frob.com> - - * Makefile (ourdevice.defs): Loosen up regexp since some whitespace in - the file changed. - -2000-12-21 Marcus Brinkmann <marcus@gnu.org> - - * boot.c (main): If malloc or realloc fails, print diagnostic - message and exit. - (queue_read): Change return type from void to kern_return_t. - If malloc fails, return D_NO_MEMORY, otherwise D_SUCCESS (to simplify - code flow, malloc before acquiring the queuelock). - (ds_device_read): New variable err (local to the block in which it is - used). If queue_read fails, pass through error. - (ds_device_read_inband): Likewise. - (S_io_read): Likewise. - Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>. - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * boot.c (S_io_reauthenticate): Check mach_port_insert_right result - with assert_perror. - -2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> - - * boot.c (S_io_reauthenticate): Don't use MACH_MSG_TYPE_MAKE_SEND - in Hurd RPC. - -2000-02-28 Roland McGrath <roland@baalperazim.frob.com> - - * boot.c (ds_device_get_status): Accept *STATUSLEN greater than needed. - -1999-09-13 Roland McGrath <roland@baalperazim.frob.com> - - * boot.c: Reverted changes related to io_map_segment. - -1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> - - * boot.c (S_io_map_segment): New function. - -1999-07-11 Roland McGrath <roland@baalperazim.frob.com> - - * boot.c (ds_device_read, S_io_read): Fix sloppy bugs in last change. - -1999-07-06 Thomas Bushnell, BSG <tb@mit.edu> - - * boot.c (load_image): Use mmap instead of vm_allocate, when - allocating in mach_task_self (). - (boot_script_exec_cmd): Likewise. - (set_mach_stack_args): Likewise. - (read_reply): Likewise. - (S_io_read): Likewise. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * boot.c: Add #include <sys/mman.h> for munmap decl. - -Mon Jul 5 20:04:06 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * boot.c (load_image): Fix typo in cast. Reported by Yamashita - TAKAO <jargon@lares.dti.ne.jp>. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * boot.c (load_image): Use munmap instead of vm_deallocate when - it's from our own task. - (boot_script_read_file): Likewise. - (boot_script_exec_cmd): Likewise. - (set_mach_stack_args): Likewise. - (ds_device_read_inband): Likewise. - -1999-03-20 Roland McGrath <roland@baalperazim.frob.com> - - * boot.c (S_term_get_peername): New function. - -1999-03-14 Roland McGrath <roland@baalperazim.frob.com> - - * boot.c: Fix typo in last change. - -1999-03-10 Roland McGrath <roland@baalperazim.frob.com> - - * boot.c (main): Only use real device name if root_store is for an - enforced single run starting at the beginning of the device. - -1999-03-09 Roland McGrath <roland@baalperazim.frob.com> - - * boot.c (main): Add newline to error msg. - Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>. - -1999-02-16 Roland McGrath <roland@baalperazim.frob.com> - - * boot.c (S_io_revoke): Add reply, replyPoly args. - -Tue Feb 16 05:06:12 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * boot.c (S_io_revoke): New (unsupported) routine. - -1998-12-26 Roland McGrath <roland@baalperazim.frob.com> - - * boot.c (isig): New variable. - (init_termstate): If it's set, set ISIG flag in c_lflag. - (options): New option -I/--isig. - (parse_opt): Make -I set `isig'. - (boot_script_exec_cmd): Print out args as well as file name. - -1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - - * boot_script.c: Include <string.h> instead of declaring memset here. - Include <stdlib.h> instead of declaring malloc, free here. - -1997-07-08 Miles Bader <miles@gnu.ai.mit.edu> - - * boot_script.c (prompt_resume_task): Pass more than a single - character buffer to safe_gets. - -Mon Jul 7 16:25:49 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * boot.c: Include <fcntl.h> instead of <fcntlbits.h>. Suggested - by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu). - -1997-06-20 Miles Bader <miles@gnu.ai.mit.edu> - - * boot.c (bootscript): Made global. - (parse_opt): New function. - (options, doc, args_doc): New variables. - (bootscript_args): Now an array. - (ds_device_open, ds_device_close, ds_device_write, - ds_device_write_inband, ds_device_read, ds_device_read_inband, - ds_device_get_status, ds_device_set_status, ds_device_map, - ds_xxx_device_set_filter, ds_xxx_device_get_status, - ds_xxx_device_set_status, ds_device_set_filter): - Handle "pseudo-root" device. - (pseudo_root, root_store): New variables. - (main): Use argp to parse args, and implement the pseudo-root device. - Include <argp.h> & <hurd/store.h> - * Makefile (HURDLIBS): Include libstore & libshouldbeinlibc. - -Thu Apr 10 11:53:57 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * boot.c: Don't include varargs.h. - (set_mach_stack_args): Use stdarg instead of vararg. - -Mon Mar 17 13:12:45 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * boot_script.c (boot_script_parse_line): Don't print gratuitous - output noise. - -Thu Sep 12 16:28:47 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (boot): Delete special depedencies. - -Tue Aug 13 16:57:22 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (device.defs): Rule removed. - (ourdevice.defs): Fix rule to work with Makeconf-generated device.defs. - -Tue Aug 13 15:09:45 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (ourdevice.defs): Depend on local device.defs. - (device.defs): New rule. - -Mon Aug 12 11:11:08 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (ourdevice.defs): Find device.defs under - install_includedir now. - - * Makefile (all): No longer build uxboot by default. - -Thu Aug 1 14:38:38 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * boot_script.h (safe_gets): Declare second parm as type `int'. - * boot.c (safe_gets): Likewise. - -Sun Jul 7 21:10:08 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * boot.c (S_io_reauthenticate): Don't use unsafe MOVE_SEND in - auth_server_authenticate. - -Fri May 10 16:11:49 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * boot.c (S_io_identity): Typo. - -Fri May 10 09:18:53 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * boot.c (S_io_identity): New function. - -Thu May 9 18:57:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * boot.c (S_io_select): No longer has TAG parm. - - * boot.c (S_io_reauthenticate): Use new interface. - -Sun Apr 28 22:50:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * boot.c (main): Use select instead of SIGIO. - -Mon Apr 15 12:57:29 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (uxboot): Permit errors because people might not have - the a.out-mach3 target installed, and that's OK for many users. - - * Makefile (uxboot.0): Find frank1.ld in #(srcdir). - - * boot_script.h (safe_gets): Add decl. - * boot_script.c: Include <stdio.h>. - -Wed Apr 3 18:54:22 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ux.c (printf): Add %d. - -Wed Mar 27 11:30:29 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * boot.c [notanymore] (S_tioctl_tiocgeta, S_tioctl_tiocseta, - S_tioctl_tiocsetaf, term_modes, term_ccs, term_speeds): - Functions & variables removed. - * Makefile (COMMON-OBJS): Remove tcattr.o. - (SRCS): Remove tcattr.c. - -Thu Mar 14 10:10:20 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - - * Makefile (boot): Depend on libthreads.so, nothing wrong with shared - libs. - (uxboot.0, uxboot.1): Use automatic vars in cmds instead of gratuitous - redundancy. - (LDFLAGS-uxboot.0): Remove useless indirection through variable. - -Wed Feb 14 16:50:05 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * boot.c [!UX] - (orig_tty_state): New variable. - (init_termstate, restore_termstate): New hurd versions of these funcs. - * ux.c (init_termstate, restore_termstate, term_sgb, localbits): - Moved here from boot.c - -Tue Feb 13 18:49:26 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * boot.c (load_image, boot_script_read_file, main): Use O_RDONLY, - not 0 (kind of ironic, this...). - (load_image): Give the filename with the error message (and a newline). - - * ux.h (O_RDONLY, O_WRONLY, O_RDWR): New macros. - - * ux.c, ux.h: New files. - * boot.c: Move all the ux-specific grot into ux.c & ux.h. - If UX is defined, include "ux.h", else define hurdish stuff. - (main): Use get_privileged_ports instead of task_by_pid. - (load_image, boot_script_read_file, main, do_mach_notify_no_senders, - do_mach_notify_dead_name): Use host_exit instead of uxexit. - (boot_script_read_file): Use host_stat instead of uxstat. - (init_termstate, S_tioctl_tiocseta): Use sg_flags fld in struct sgttyb. - - * Makefile (all): Depend on `boot' and `uxboot'. - (COMMON-OBJS, UX-OBJS): New macros. - (OBJS): Inherit most names from $(COMMON-OBJS). - (LCLHDRS): Add ux.h. - (LDFLAGS): Use target-specific value. - (uxboot.0-LDFLAGS): New macro (with contents from old LDFLAGS). - (uxboot.o, uxboot.0): New targets. - (uxboot): Target renamed from boot.a. - -Sun Dec 10 18:05:14 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * boot.c (read_reply): Don't call clear_should_read(), just do - things ourselves. - (should_read_lock): Variable deleted. - (service_sigio): Function deleted. - (main): Use read_reply to service SIGIO again, not service_sigio. - - * boot.c (service_sigio): New function, replacing set_should_read. - Calls read_reply() itself too. - (unlock_readlock): New function. - (ds_device_read, ds_device_read_inband, S_io_read): Call - unlock_readlock instead of directly unlocking READLOCK. - (request_server, main): Don't call read_reply() anymore. - - * boot.c (should_read): New variable. - (main): SIGIO uses set_should_read instead of read_reply. - Call read_reply() after sigpause() returns. - (read_reply): Call clear_should_read(), and don't do anything if - SHOULD_READ wasn't set. - (set_should_read): New function. - (clear_should_read): New function. - (request_server): Call read_reply() before returning. - -Sat Dec 9 19:01:10 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * boot.c (S_io_read, ds_device_read_inband, ds_device_read): Don't - block SIGIO. - (main): Don't trap SIGMSG & SIGEMSG. - -Mon Dec 4 23:54:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot.c (main): Request no-senders notification on - pseudo_master_device_port. - Deallocate our send right to it when we no longer need it. - (do_mach_notify_no_senders): Exit only when both pseudo_console and - pseudo_master_device_port have no senders. - (ds_device_read_inband): Unlock readlock properly. - -Thu Nov 30 15:58:47 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * boot.c (readlock): New variable. - (read_reply): Check FIONREAD before dequeueing QR so that we don't - abandon requests. Lock READLOCK around FIONREAD/read pair. - (ds_device_read): Lock READLOCK around FIONREAD/read pair. - (ds_device_read_inband): Likewise. - (S_io_read): Likewise. - -Nov 22 16:25:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot.c (request_server): Don't call exec_server. - (S_exec_*): Functions removed. - (boot_script_task_port): Variable removed. - (boot_script_task_*, boot_script_port_*): Functions removed. - -Tue Nov 14 12:07:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (OBJS): Remove execServer.o. - -Thu Sep 28 14:47:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot_script.c (read_file): Pass CMD->path for file name. - (CHECK_CMDLINE_LEN): Update ARGV pointers after reallocating the line - buffer. - -Wed Sep 27 14:01:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot.c (struct uxstat): New type. - (uxfstat): Renamed from fstat; use struct uxstat * for arg. - (boot_script_read_file): Use those. - Return the memory object port, not zero. - - * boot.c (fstat): New syscall function. - - * boot_script.c (read_file): New function. - (builtin_symbols): Add $(read-file) builtin. - * boot_script.h (boot_script_read_file): Declare it. - * boot.c (close): New syscall function. - (defpager): New variable. - (main): Set it up. - (boot_script_read_file): New function. - (useropen_dir): New variable. - (useropen): New function. - (load_image): Call it instead of open. - (main): Grok -D arg to set useropen_dir. - -Sat Sep 23 00:53:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * syscall.S: Restore entry SP before return. - - * boot.c (main): Use static const for constant strings. - On boot script error, write script line with error msg. - - * boot_script.c (boot_script_parse_line): Ignore line beginning - with #. - - * boot.c (S_io_pathconf): New function. - - * Makefile (LDFLAGS): Add -static. - -Fri Sep 22 14:14:23 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * mach-crt0.c (__data_start): New variable. - -Tue Aug 29 10:41:29 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * boot.c (mig_dealloc_reply_port): Remove __ from call to - mach_port_mod_refs. - (main): Look for -d in bootstrap_args, not (nonexistent) - boot_args. Remove `const' keyword from decl of MSG. - - * boot.c (sigblock, sigsetmask): New functions. - (sigmask): New macro. - (ds_device_read): Block SIGIO around critical section. - (ds_device_read_inband): Likewise. - (S_io_read): Likewise. - -Mon Aug 28 17:16:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot_script.h, boot_script.c: Updated by Shantanu Goel, to - accept action keywords only inside $(...) and only variable values - inside ${...}. - * boot.c: Updated for changes in boot_script.h protocol by - Shantanu Goel. - (main): Use boot_script_set_variable instead of magic variables. - Under -d, pause between parsing bootscript and executing it. - -Wed Aug 23 16:08:04 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - New script-driven boot mechanism, mostly implemented by Shantanu Goel. - * Makefile (SRCS): Add boot_script.c. - (OBJS): Add boot_script.o. - (LCLHDRS): New variable. - (HURDLIBS): Variable removed. - (boot): Depend on ../libthreads/libthreads.a. - * boot_script.c, boot_script.h: New files. - * boot.c (boot_like_kernel, boot_like_cmudef, boot_like_hurd): - Variables removed. - (main): Don't interpret switches. Instead of servers, take - command line argument of boot script file name. Read the file and - use boot_script functions to parse and execute its directives. - (boot_script_*): New variables and functions for boot_script callbacks. - -Sun Jul 30 23:50:53 1995 Michael I. Bushnell, p/BSG <mib@geech.gnu.ai.mit.edu> - - * Makefile: DISTFILES -> DIST_FILES. - -Sat Jul 8 11:37:32 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * boot.c (free_reply_ports, free_reply_ports_lock): New variables. - (__mig_get_reply_port, __mig_put_reply_port, __mig_dealloc_reply_port, - mig_get_reply_port, mig_put_reply_port, mig_dealloc_reply_port): - Provide better versions of these routines that won't leak reply ports. - -Fri Jul 7 15:55:18 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * mach-crt0.c: New file, from mach4-i386/libmach/standalone. - * boot.c (mach_init_routine): New variable, wanted by mach-crt0.o. - (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_put_reply_port): - New functions, to avoid using hurdish versions. - * Makefile (OBJS): Add mach-crt0.o. - (SRCS): Add mach-crt0.c. - (LDFLAGS): Add -nostartfiles (as we now use mach-crt0.o). - -Thu Jul 6 15:30:18 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (boot.1, boot.a): Use $(LD) and $(OBJCOPY) instead of - explicit names. - - * boot.c: Include <mach/mig_support.h>. - (S_io_reauthenticate): Cast first arg to mig_deallocate. - (load_image): Cast second arg to read. - * tcattr.c: Undo last change; add private decl of ioctl. - - * boot.c (bootdevice): Initialize to hard-coded `sd0a' instead of - DEFAULT_BOOTDEVICE. - - * Makefile (all): Depend on boot.a too. - - * Makefile: Removed dependencies that are now automatically - generated. - -Wed May 31 10:02:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (DISTFILES): New variable; include frank1.ld and - frankemul.ld. - (CPPFLAGS): Variable removed. - (LDFLAGS): Append -T frank1.ld. - (boot.1, boot.a): New targets. - - * syscall.S: Omit .globl decl for errno; it caused some as - complaint. - -Mon May 22 11:48:58 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * sigvec.S: Remove copyright notice. - -Wed May 17 13:10:27 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * boot.c (load_image): Make sure we actually allocate enough - memory to read into, including the offset into the buffer at which - the segment is read. - - * sigvec.S (sigreturn, _sigreturn, sigvec): Remove the explicit - underscore prefixes from these names, now that we're using elf. - Instead we use the various macros from <i386/asm.h>. Also, return - errors correctly. [Also added a copyright notice] - -Sat May 13 03:37:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot.c (load_image): Fixed alignment calculation in ELF segment - loading. - - * syscall.S: Include i386/asm.h and use ENTRY and EXT macros, - instead of explicit _s. - -Fri May 12 18:36:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot.c (load_image): Grok ELF executables as well as a.out. - (main): Load multiple servers. Suspend all but the first. - The first gets an extra arg, its name for the task port of the - second. - -Wed Apr 12 09:18:50 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile: Don't try and install boot in /usr/local/bin. - -Wed Apr 5 17:25:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot.c: Don't include <errno.h>. Define `errno' variable. - * Makefile (SRCS): Add syscall.S. - (OBJS): Add syscall.o. - * syscall.S: Check for errors. - -Thu Jan 19 01:21:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot.c (S_io_select): Updated to new io_select protocol. - -Fri Dec 9 01:23:22 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot.c: Use mach_msg_type_number_t in place of unsigned int and - int. - -Fri Nov 11 14:05:43 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * boot.c (main): Always set `f' flag (signifying "fake" because we - aren't a real native bootstrap). - -Thu Nov 3 17:26:37 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (boot.o): Depend on bootstrap_S.h. - -Fri Oct 28 17:08:12 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot.c (main): Create the thread before setting it up. - (bootstrap_compat): Make a send right for psuedo_master_device_port. - (main): Explicitly clear NEWTASK's bootstrap port for boot_like_kernel. - (main): Format strings for port names for boot_like_kernel. - -Fri Oct 28 15:26:48 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * boot.c (boot_like_kernel, boot_like_cmudef, boot_like_hurd): New - global vars. - (set_mach_stack_args): New function. - (main): If the -k flag is given, set BOOT_LIKE_KERNEL. - If the -p flag is given, set BOOT_LIKE_CMUDEF. If neither is - given, set BOOT_LIKE_HURD. - Only set a bootstrap port if BOOT_LIKE_CMUDEF or BOOT_LIKE_HURD. - If BOOT_LIKE_KERNEL or BOOT_LIKE_CMUDEF, set up the stack the - Mach way using set_mach_stack_args. - (request_server): Declare and call bootstrap_server. - (do_bootstrap_priveleged_ports, bootstrap_compat): New functions. - * Makefile (OBJS): Require bootstrapServer.o. - * bootstrap.defs: New file. - -Tue Aug 30 11:41:33 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * boot.c (S_io_reauthenticate): Use new authentication protocol. - -Mon Aug 22 13:43:32 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * boot.c: Include <cthreads.h>. - (main): Run msg_thread fork; don't call - mach_msg_server_timeout here. Use sigpause instead of getpid. - (msg_thread): New function. - (queuelock): New variable. - (queue_read): Acquire queuelock. - (read_reply): Acquire queuelock. - * Makefile (HURDLIBS): New var to get threads. - -Thu Aug 18 18:04:36 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * boot.c (restore_termstate): New function. - (do_mach_notify_no_senders): Call restore_termstate before exiting. - - * boot.c (main): New var `usagemsg'; print it if args are wrong. - Allow flags and disk device to be given on command line. - New var `bootfile'. - (bootdevice, bootstrap_args): New vars. - (load_image): Exit nicely if the startup file can't be found. - (S_exec_startup): Use `bootdevice' instead of hardcoded name. - Use `bootstrap_args' instead of hardcoded "-x". - (main): Only do `pausing' hack if -d was provided. - - * Makefile (CPPFLAGS): Define DEFAULT_BOOTDEVICE. - - * Makefile (/usr/local/bin/boot): Depend on boot. - - * boot.c (S_termctty_open_terminal): New "function". - (S_io_select): Added `rettype' arg. - -Sat Jul 23 02:58:05 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (io-MIGSFLAGS): Renamed from ioMIGSFLAGS. - -Fri Jul 22 15:10:45 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * boot.c (request_server): Remove S_ from io_server and - term_server. - -Thu Jul 21 19:00:36 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile: Rewritten to use new scheme. - * boot.c: Include io_reply_U.h and device_reply_U.h instead - of io_repl.h and device_reply.h. - -Wed Jul 20 13:19:45 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * boot.c: Comment out bits relating to tioctl interface. - * Makefile: Likewise. - -Tue Jul 19 12:41:46 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (boot): Don't use variable $(link) anymore. - -Tue Jul 5 14:19:36 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (SRCS): New variable. - -Sun Jul 3 17:20:07 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * tcattr.c: New file. - * boot.c (S_tioctl_tiocgeta): Call tcgetattr. - (S_tioctl_tiocseta): Call tcsetattr. - * Makefile (OBJS): Add tcattr.o. - (DIST_FILES): Add tcattr.c. - -Fri Jul 1 11:16:27 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * boot.c (init_termstate): Enter raw mode here. - -Fri Jun 24 14:27:56 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * boot.c (S_term_open_ctty): Renamed from term_become_ctty. - Deleted SIGPT arg. Add msg type arg for NEWTTY. - -Fri Jun 17 13:46:07 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * boot.c (request_server): Remove S_ prefix from exec_server - and notify_server. - -Fri Jun 17 00:12:16 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * Makefile (boot.o): Depend on term_S.h. - -Tue Jun 14 01:28:10 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * boot.c (request_server): Add S_ prefix to demuxer functions. - -Wed Jun 8 18:02:19 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * boot.c (S_tioctl_tiocseta): Turn off ECHO. - (S_io_select): Implement. - -Tue Jun 7 04:33:42 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * Makefile (tioctlServer.o): Depend on ../hurd/ioctl_types.h. - -Mon Jun 6 20:33:39 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * boot.c (authserver): New variable. - (S_io_reauthenticate): Do auth_server_authenticate and throw away - the returned info. - (S_exec_init): Set authserver to the passed port. - -Sat Jun 4 02:32:03 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * boot.c: Include term_S.h and tioctl_S.h. - (S_term_getctty): New function. - (S_term_*): Stub functions. - (request_server): Use S_term_server. - - * Makefile (termServer.c term_S.h): New rule. - (OBJS): Add termServer.o. - - * boot.c (S_exec_setexecdata, S_exec_exec): Fix prototypes. - -Tue May 17 18:44:29 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * boot.c (ds_device_write): DATA arg is char *; don't dereference - it in call to write. - -Mon May 16 14:34:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * boot.c (fsname): New variable. - (main): Set fsname to argv[1]. - (S_exec_startup): Include fsname in child's argv[0]. - - * boot.c (init_termstate): Add forward declaration. - (struct sigvec): Make SV_HANDLER member void (*)(). - (sigvec): Add declaration to avoid warning. - -Tue May 10 18:14:39 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * boot.c (tioctl_tiocseta, tioctl_tiocsetw, tioctl_tiocsetf, - tioctl_tiocgeta, init_termstate): New functions. - (term_modes, term_ccs, term_speeds, term_sgb, localbits): Nev - vars. - Also added new bits from ioctl.h. - (main): Call init_termstate. - (request_server): Call tioctl_server. - * Makefile (tioctlServer.c tioctl_S.h): New targets. - (OBJS): Include tioctlServer.o. - (boot.o): Depend on tioctl_S.h - -Fri May 6 13:56:58 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * boot.c (main): Restore braindamage of yesterday relating to - signals; that is, restore declaration of VEC and calls to sigvec. - * Makefile (DIST_FILES): Add sigvec.S. - -Thu May 5 13:16:42 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * Makefile (device_replyUser.c): Mention that this build - device_reply.h as well. - (boot.o): Add dependency on device_reply.h and io_repl.h. - - * boot.c: Include <stdlib.h> for malloc and free prototypes. - Include <string.h> for bcopy and bzero prototypes. - Include <stdio.h> for sprintf prototype. - Include "device_reply.h" for its prototypes. - Include "io_reply.h" for its prototypes. - Declare return type for all the server functions that were lacking - such. - (sigpause): Declare type of MASK. - (ioctl): Declare third arg to be generic pointer, not char *. - (request_server): Declare MiG functions we call. - (load_image): Delete unused variable STACKADDR. - (main): Comment out declaration of VEC. - Comment out calls to sigvec. - Cast STARTPC in call to __mach_setup_thread. - Delete unused variable TIMEOUT. - (read_reply): Cast BUF correctly in call to ds_device_read_reply. - (S_exec_startup): Delete unused variable DTABLE. - (ds_device_write): Double cast arg to write to avoid warning. - (S_io_read): Order args to vm_allocate properly; cast DATA arg. - Check *datalen properly for unsigned type. - - * boot.c: Renamed _exit to uxexit to avoid library name clash. - (do_mach_notify_dead_name, do_mach_notify_no_senders): - Call uxexit instead of _exit. - - * boot.c (S_io_async, S_io_get_icky_async_id, S_io_map_cntl): - Expect new type arg for returned port. - (S_io_prenotify, S_io_postnotify): START and END args are now - vm_offset_t. - - * boot.c: Change error_t to kern_return_t because error_t - is now unsigned and conflicts with MiG's use of kern_return_t. - - * Makefile (io_S.h, ioServer.c): Punt mungio hack; use - -DREPLY_PORTS. - * boot.c: Changed all io server stubs to expect reply ports. - - * mungio: removed file. - * Makefile (DIST_FILES): Removed mungio. - - * boot.c (load_image): Only read from the image file the actual - amount being read, not that amount rounded to the nearest page. - Otherwise, the first bit of the BSS will not be zero, but will be - whatever is in the front of the symbol section of the a.out. - -Thu May 5 07:43:06 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile: Change uses of $(headers) to $(includedir). - -Mon May 2 16:47:49 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * boot.c (S_io_readable): Implement io_readable fully. - -Fri Apr 1 17:55:38 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile (OBJS): Remove boot_machdep.o. diff --git a/bsdfsck/ChangeLog b/bsdfsck/ChangeLog deleted file mode 100644 index 0a948518..00000000 --- a/bsdfsck/ChangeLog +++ /dev/null @@ -1,98 +0,0 @@ -Thu Jul 6 15:30:43 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (tables.o): Delete target. - (vpath tables.c): Tell where to find tables.c. - - * Makefile: Removed dependencies that are now automatically - generated. - -Thu Nov 3 17:18:35 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (dir): Changed to bsdfsck. - (target): Changed to bsdfsck. - -Thu Oct 6 13:19:25 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * dir.c (dircheck): Fix from Charles Hannum: dircheck() shouldn't - be looking at d_type or d_namlen in blank entries *at all*. Not - only is it wrong, but it causes a serious problem on little-endian - machines, since after -c2 conversion, d_type will often be > 15. - -Wed Oct 5 12:53:45 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * pass1.c (checkinode) [mode == 0]: Check that di_trans - is also clear here. - - * fsck.h (IFTODT): Provide macro here. - * inode.c: Not here. - -Tue Oct 4 22:42:54 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * inode.c (ckinode) [dino.di_trans set]: Only call IDESC->id_func - if IDESC->id_type is ADDR (meaning call function for each block). - If it's DATA, then that means call dirscan on each data block, - something entirely different. - - * inode.c (IFTODT): Provide macro. - -Fri Sep 30 21:28:57 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (LCLHDRS): Define. - -Fri Sep 16 10:57:04 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * fsck.h (direct): Define macro. - -Thu Sep 1 14:51:23 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * inode.c (ckinode): Don't pay attention to fs_maxsymlinklen - if it's -1. - * pass1.c (checkinode): Likewise. - - * fsck.h (DI_MODE): Use | not & for bitwise disjunction. - -Fri Aug 26 12:35:21 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * main.c (main): Don't call checkblock. - - * pass5.c (ffs_fragacct): Copy in function from ../ufs/subr.c. - - * inode.c (ckinode): Call IDESC->id_func for passive translator - if it's set. - -Thu Aug 25 11:07:05 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * setup.c: Don't include <disklabel.h>. - (setup): Comment out variable LP and label fetching code. - (calcsb, getdisklabel): Comment out functions. Replace - calcsb with one returning constant zero. - - * main.c: Don't include <sys/mount.h> or <fstab.h>. - (main): Don't run checkfstab; just print an error in that case. - (docheck): Comment out this function. - (checkfilesys): Comment out special code for HOTROOT. - -Wed Aug 24 11:11:23 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * fsck.h (NBBY): Define macro. - -Tue Aug 23 15:54:49 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * dir.c (fileerror): Use DI_MODE instead of di_mode member. - (adjust): Likewise. - (linkup): Likewise. - * inode.c (ckinode): Likewise. - (clri): Likewise. - (pinode): Likewise. - * pass1.c (checkinode): Likewise. - * pass2.c (pass2check): Likewise. - * utilities.c (ftypeok): Likewise. - - * inode.c (allocino): Set di_model and di_modeh instead of di_mode. - * pass1.c (checkinode): Likewise. - * pass2.c (pass2): Likewise. - - * fsck.h (DIRSIZ): Replace ufs version with old BSD version. - (struct dirtemplate, struct odirtemplate): Proved old BSD types. - (DEV_BSIZE, MAXPATHLEN): Provide definitions. - (DI_MODE): New macro. diff --git a/config/ChangeLog b/config/ChangeLog deleted file mode 100644 index 3dc6e2f7..00000000 --- a/config/ChangeLog +++ /dev/null @@ -1,210 +0,0 @@ -2004-12-16 Alfred M. Szmidt <ams@gnu.org> - - * Makefile ($(installed_logins)): Don't overwrite already existing - login files unless asked for. - -2002-09-30 Marcus Brinkmann <marcus@gnu.org> - - * ttys (console): Change type column ($TERM setting) to `mach-color'. - -2002-06-05 Roland McGrath <roland@frob.com> - - * login-.bash_login: Prepend ~/ to file names. - -1999-05-29 Roland McGrath <roland@baalperazim.frob.com> - - * ttys (console): Change type column ($TERM setting) to `mach'. - - * login-.bashrc: Alias su to login. - -1999-05-24 Roland McGrath <roland@baalperazim.frob.com> - - * protocols, services, shells, passwd, group, resolv.conf, fstab, - root-.bash_login, root-.bashrc, root-.profile: Files removed. - These files are not really Hurd-specific, and so should be installed - by some other package (and are in Debian). - * Makefile (SYSCONFFILES): Remove those files from the list. - (ROOTDOTS, installed_rootdots): Variables removed. - (DIST_FILES): Remove reference to $(ROOTDOTS). - (install): Remove dep on $(installed_rootdots). - ($(installed_rootdots)): Rule removed. - - * Makefile (SYSCONFFILES): Remove hostname. - * hostname: File removed (it was empty). Current libc copes with - having no hostname file. - -1999-05-16 Roland McGrath <roland@baalperazim.frob.com> - - * syslog.conf: Removed. We don't install syslogd, so we have no - business installing its configuration file. - * Makefile (SYSCONFFILES): Remove syslog.conf. - - * inetd.conf: Removed. We don't install inetd, so we have no business - installing inetd.conf. - * Makefile (SYSCONFFILES): Remove inetd.conf. - -Sat Mar 6 15:46:17 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * group, passwd: Revert preceding change. - -Fri Mar 5 18:25:01 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * passwd (bin): New entry with ID 0, for compatibility with BSD. - * group (bin, kmem): Likewise. - -1997-06-26 Miles Bader <miles@gnu.ai.mit.edu> - - * root-.profile: Recommend using `addauth root'. - -Thu Jun 12 18:39:18 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * syslog.conf: Updated. - -Wed Jun 11 14:17:25 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * inetd.conf, syslog.conf: New files. - * Makefile (SYSCONFFILES): Add inetd.conf and syslog.conf. - -Tue Jun 10 18:41:00 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (install): Repair typo. - -Mon May 26 23:11:52 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * login-.bashrc (sush): Alias renamed from su. - * root-.profile: Say to use `su' rather than `sush root'. - * login-README: Refer to sush rather than su. - -Thu Sep 19 16:56:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (install): Depend on installation directories directly; - don't make installed files depend on the directory. - -Tue Sep 17 16:29:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile ($(installed_logins), $(installed_rootdots), - $(installed_conf): Depend on FORCE instead of /dev/null. - (foo): Deleted target. - (LINKEDCONFFILES, installed_links): Deleted vars. - ($(sysconfdir)/rc): Deleted target. - ($(installed_links)): Deleted target. - (install): Don't depend on $(installed_links). - -Tue Sep 10 13:53:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile ($(installed_conf)): Depend on $(sysconfdir). - ($(installed_links)): Likewise. - -Mon Aug 5 13:43:28 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (SYSCONFFILES): Add `resolv.conf'. - * resolv.conf: New file. - -Fri Aug 2 11:07:18 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Put `root-' before ROOTDOTS and `login-' - before LOGINDOTS. - -Wed Jul 31 12:11:02 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * passwd (games): Have no password. - * Makefile (SYSCONFFILES): Add `group'. - * group: New file. - -Mon Jul 29 14:43:54 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * passwd: mib -> thomas. - -Wed Jul 24 15:23:29 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * root-.profile: But do \ ` inside "s. - -Sat Jul 20 02:13:52 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ttys (console): Change type to `pc3'. - (com0): Renamed from tty00. - -Fri Jul 19 11:02:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * root-.profile: Don't \ ' inside "s. - Advise to use `sush root', not su. - - * passwd (games): New user. - -Thu Jul 18 17:24:55 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * root-.profile: Echo usual noisy message. - - * fstab: Comment out example entry so it doesn't get incorrectly - used by accident. - -Wed Jul 17 17:09:06 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * root-.bashrc: Fixup test and source of user's .root_bashrc. - * root-.profile: Likewise. - -Tue Jul 16 11:12:10 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * passwd (root): Group should be `0'. - - * Makefile: Prettier installation of dotfiles for root and login. - -Mon Jul 15 19:16:30 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ttys: Comment out tty00 entry. - -Sat Jul 13 18:06:49 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile: Always touch /dev/null. If OVERRIDE_CONF, then - $(installed_rootdots) and $(installed_conf) depend on it. - $(installed_logins) always depend on /dev/null. - - * Makefile (DIST_FILES): New variable. Move rules to past - `include ../Makeconf'. - - * Makefile (ROOTDOTS, installed_rootdots): New variables. - (install): Depend on $(installed_rootdots). - ($(installed_rootdots): New target. - * root-.bash_login, root-.bashrc, root-.profile: New files. - - * Makefile (LOGINDOTS, installed_logins): New variables. - (install): Depend on $(installed_logins). - ($(installed_logins)): New rule. - * login-.bash_login, login-.bashrc, login-.hushlogin, - login-.profile, login-README: New files. - - * passwd, fstab: New files. - * hostname: New (empty) file. - * Makefile (SYSCONFFILES): Add hostname, fstab, and passwd. - -Thu Jun 20 14:46:39 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (install): Install symlink for rc. - - * Makefile (SYSCONFFILES): Removed `rc'. - * rc: Removed to daemons/rc.sh. - -Wed Jun 19 15:25:15 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * rc: Print date before running fsck. Comment out pty permission - frobbing. - -Tue Jun 18 22:40:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * rc: Understand special more status codes for signals from fsck. - Fix some messages. Factor out date. - -Mon Jun 17 13:45:40 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * motd: Drop first line. - * rc: Comment out motd update. - - * ttys: Fixup getty spec. - - * protocols: Updated from RFC 1700. - - * Makefile (SYSCONFFILES): Add protocols services shells motd ttys - - * rc: Update /etc/motd. - (autoboot) Make root readonly before fscking it. - Clean /var/run and make utmp. diff --git a/console-client/ChangeLog b/console-client/ChangeLog deleted file mode 100644 index b65ab761..00000000 --- a/console-client/ChangeLog +++ /dev/null @@ -1,337 +0,0 @@ -2008-12-08 Thomas Schwinge <tschwinge@gnu.org> - - * Makefile: Rework, so that dependency tracking is done for all files. - - * Makefile (HURDLIBS): Add ihash and shouldbeinlibc. - -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * trans.c (netfs_attempt_utimes): Adapt to ``struct stat'' changes. - -2007-05-08 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * vga-support.c (vga_fini): Fix call to ioperm(). - * generic-speaker.c (generic_speaker_start): Call ioperm() on GNU Mach - 1 too. - -2005-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * current-vcs.c (repeater_node): Set default. - -2005-07-11 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * Makefile (modules): Add `current-vcs' and its rules. - * console.c (console_current_id): New function. - * input.h (console_current_id): New prototype. - * trans.c (struct netnode): New member `symlink_path'. - (console_demuxer): Handle case when node it anonymous. - (netfs_S_io_select): Likewise. - (netfs_S_io_read): Likewise. - (netfs_S_io_write): Likewise. - (netfs_report_access): Likewise. - (netfs_attempt_mksymlink): Implement symlinks. - (netfs_attempt_lookup): Likewise. - (netfs_attempt_unlink): Likewise. - (netfs_attempt_link): Likewise. - (netfs_attempt_mkfile): Likewise. - (netfs_attempt_readlink): Likewise. - (netfs_get_dirents): Likewise. - (netfs_create_consnode): Likewise. - * trans.h (struct consnode): New members `readlink' and `mksymlink'. - * current-vcs.c: New file. - -2005-01-10 Alfred M. Szmidt <ams@gnu.org> - - * console.c (consnode_path): Renamed to ... - (console_node): ... this. Updated all references. - -2005-01-06 Marco Gerards <metgerards@student.han.nl> - - * Makefile (SRCS): Add `trans.c'. - (LCLHDRS): Add `mach-inputdev.h'. - (HURDLIBS): Add `netfs', `fshelp' and `iohelp'. - (modules): Add `pc_mouse'. - (pc_kbd.so.$(hurd-version)): Add `kdioctlServer.o' and - `kbd-repeat.c'. - (pc_mouse.so.$(hurd-version)): New variable. - * console.c: Include <trans.h>. - (DEFAULT_CONSOLE_NODE): New macro. - (saved_id, saved_cons, consnode_path): New variables. - (console_move_mouse): New function. - (console_switch_away): New function. - (console_switch_back): Likewise. - (cons_vcons_set_mousecursor_pos): Likewise. - (cons_vcons_set_mousecursor_status): Likewise. - (options): Add the option `--console-node'. - (parse_opt): Parse the options that were added to `options'. - (main): Setup the console client translator node. - * display.h (display_ops): New members `set_mousecursor_pos' and - `set_mousecursor_status'. - * driver.c (driver_start): Change the type of `i' to `unsigned - int'. - * driver.h (driver_ops): New members `save_status' and - `restore_status'. - * input.h (console_switch_away): New prototype. - (console_switch_back): Likewise. - (console_move_mouse): Likewise. - * kbd-repeat.c: New file. - * mach-inputdev.h: Likewise. - * pc-mouse.c: Likewise. - * trans.c: Likewise. - * trans.h: Likewise. - * pc-kbd.c: Include <argp.h> and "mach-inputdev.h". - (DEFAULT_REPEATER_NODE): New macro. - (repeater_node, cnode): New variables. - (kev_type, mouse_motion, Scancode, m_deltaX, m_deltaY, MOUSE_LEFT) - (MOUSE_MIDDLE, MOUSE_RIGHT, MOUSE_MOTION, KEYBD_EVENT) - (IOCPARM_MASK, IOC_OUT, IOC_IN, _IOC, _IOR, _IOW, KDSKBDMODE, - (KB_EVENT, KB_ASCII, KDGKBDTYPE, KB_VANILLAKB, KDSETLEDS): - Removed. - (gnumach_v1_input_next): Call the repeater when repeating is - active. - (doc, options, argp): New variables. - (parse_opt): New function. - (pc_kbd_init): Function rewritten. - (pc_kbd_start): Initialize the repeater, when it is active. - (pc_kbd_fini): Destroy the console node. - * vga.c (vga_mousecursor): New struct. - (vga_mousecursor_t): New type. - (mousecursor): New variable. - (hide_mousecursor): New function. - (draw_mousecursor): Likewise. - (vga_display_restore_status): Likewise. - (vga_display_update): Likewise. - (vga_set_mousecursor_pos): Likewise. - (vga_set_mousecursor_status): Likewise. - (vga_display_scroll): Update the mousecursor state. - (driver_vga_ops): Add `vga_display_restore_status'. - (vga_display_op): Add `vga_display_update', `vga_set_mousecursor_pos' - and `vga_set_mousecursor_status'. - -2004-11-15 Marcus Brinkmann <marcus@gnu.org> - - * pc-kbd.c (input_loop): Make the left shift key behave the same - as right shift key with regards to page up/down. - -2004-10-22 Marcus Brinkmann <marcus@gnu.org> - - * driver.c (driver_start): Don't underflow I. - -2004-09-29 Alfred M. Szmidt <ams@kemisten.nu> - - * Makefile (vga-CPPFLAGS): New variable. - - * vga.c (DEFAULT_VGA_FONT, DEFAULT_VGA_FONT_ITALIC) - (DEFAULT_VGA_FONT_BOLD, DEFAULT_VGA_FONT_BOLD_ITALIC): Use - `DEFAULT_VGA_FONT_DIR' instead of hardcoding the filename. - -2004-03-21 Marco Gerards <metgerards@student.han.nl> - - * console.c (main): Make sure the arguments are parsed in order. - * driver.c (driver_add): Set up argc and argv so they can be used - by argp. - * generic-speaker.c: Include <string.h> and <argp.h>. - (struct melody): New member `name'. Every melody was given a - name. - (BELL_CLASSIC, BELL_LINUX, BELL_ALARM, BELL_CMAJOR): New macros. - (doc, options, argp): New variables. - (parse_opt): New function. - (generic_speaker_init): Parse the arguments using argp. - * vga.c (doc, options, argp): New variables. - (parse_opt): New function. - (parse_startup_args): Function removed. - (vga_display_init): Use argp_parse instead of parse_startup_args. - -2004-03-07 Marco Gerards <metgerards@student.han.nl> - - * bdf.c (bdf_read): Change the types of has_size, has_fbbx, - has_metricset, glyph_has_encoding, glyph_has_bbx, glyph_bwidth, - glyph_bheight and glyph_blines to unsigned int. - * bell.h (struct bell_ops): Change the type of the argument KEY of - the interface `deprecated' to unsigned int. All callers changed. - * display.h (struct display_ops): Changed the type of the - arguments width and height to unsigned int. All callers changed. - * driver.c (driver_fini): Change the type of `i' to unsigned int - to silence a gcc warning. - (driver_start): Likewise. - (driver_remove): Likewise. - (ADD_REMOVE_COMPONENT): Likewise. - (driver_add): Likewise. - * generic-speaker.c (beep_on): Cup pitch at 20000, not 327677. - Also silences a gcc warning. - * ncursesw.c: Changed all calls to the function `ncurses_refresh' - to `refresh_screen'. - (current_width): Changed type to unsigned int. - (current_height): Likewise. - (padx): Likewise. - (pady): Likewise. - (refresh_screen): Cast LINES and COLS to unsigned int. - (input_loop): Change `i' from int to unsigned int to silence a gcc - warning. - * vga.c (current_width): Changed type to unsigned int to silence a - gcc warning. - (current_heigh): Likewise. - (struct vga_display): Changed the type of the members `width' and - `height' to unsigned int to silence a gcc warning. - (vga_display_change_font): Disabled the unused code for now. - -2003-08-17 Marcus Brinkmann <marcus@gnu.org> - - * vga-dynafont.c: Include <stddef.h>. - (struct mapped_character): Change type of LOCP to - hurd_ihash_locp_t. - (struct dynafont): Change type of CHARMAP to struct hurd_ihash. - (dynafont_new): Use hurd_ihash_init instead of ihash_create. - Remove variable ERR. Call hurd_ihash_add instead of ihash_add. - (dynafont_free): Call hurd_ihash_destroy, no ihash_free. - (dynafont_lookup_internal): Use hurd_ihash_find, not ihash_find. - (dynafont_lookup_internal): Call hurd_ihash_locp_remove instead - ihash_locp_remove, and hurd_ihash_add instead ihash_add. - (dynafont_change_font): Likewise. Clean out LOCP if character is - unmapped. - -2004-02-02 Marco Gerards <metgerards@student.han.nl> - - * pc-kbd.c (KDSETLEDS): New macro. - (update_leds): Add support for setting the keyboard LED state on - GNUMach 1.x (> 1.3). - (input_loop): Use size_t for `nr' instead of int to silence a gcc - warning. - -2003-08-11 Marco Gerards <metgerards@student.han.nl> - - * console.c (cons_vcons_set_dimension): New function. - * display.h (display_ops): New interface set_dimension. - * ncursesw.c (ncursesw_set_dimension): New function. - (ncursesw_displ): Add ncursesw_set_dimension. - (ncurses_lock): Make variable static. - (current_width): New variable. - (current_height): Likewise. - (cursor_state): Likewise. - (cursor_hidden): Likewise. - (driver_ncursesw_ops): Added ncursesw_set_dimension. - * vga.c (current_width): New variable. - (current_height): Likewise. - (vga_display_set_cursor_status): If the cursor is outside the - screen, don't change the visibility. - (vga_display_set_cursor_pos): Don't set the cursor outside the - physical screen. Update cursor_hidden and hide/unhide - to match cursor_hidden. Function moved to above - vga_display_set_cursor_status. - (vga_display_scroll): Report an error when scrolling is not - possible. - (vga_display_clear): Recalculate cols, rows and length. - (vga_display_write): Make it wrap around the edge. - (vga_set_dimension): New function. - (vga_disp_ops): Added vga_set_dimension. - - * ncursesw.c (conspad): New variable. - (padx): Likewise. - (pady): Likewise. - (autoscroll): Likewise. - (refresh_screen): new function. - (input_loop): Use conspad instead of (the default) stdscr. - Call console_exit instead of exiting here. Add keybindings - 'j, 'k', 'l' and 'i' to scroll the console, add keybinding 'a' - to switch autoscroll. - (mvwputsn): Use conspad instead of (the default) stdscr. - (ncursesw_scroll): Likewise. - (ncursesw_write): Likewise. - (ncursesw_driver_start): Likewise. Initialize conspad. - (ncursesw_update): Call refresh_screen to refresh the console. - (ncursesw_set_cursor_pos): Use conspad instead of (the default) - stdscr. Make the console autoscroll. - - * ncursesw.c (ncursesw_driver_start): Remove endwin call at - the end of the function. - - * ncursesw.c (ncursesw_set_cursor_status): If the status can - not be set, use another status that can sanely be used instead - of the unavailable status. - -2003-07-14 Marco Gerards <metgerards@student.han.nl> - - * vga.c: New global variable vga_display_max_glyphs. - (parse_startup_args): New macro PARSE_FONT_OPT_NOARGS. - (parse_startup_args): Parse "--max-colors" and "--max-glyphs". - (vga_display_init): Set disp->df_size to match the color setting. - -2003-02-24 Marco Gerards <metgerards@student.han.nl> - - * pc-kbd.c (sc_set1_to_set2): Map the set2 scancodes for F11 and - F12 properly on the set1 scancodes for F11 and F12. - -2002-11-25 Marcus Brinkmann <marcus@gnu.org> - - * pc-kbd.c (IS_FUNC_KEY): Fix last change. - -2002-11-21 Marco Gerards <metgerards@student.han.nl> - - * pc-kbd.c (IS_FUNC_KEY): New macro. - (input_loop): Replaced code for set1 for console switching by set2 - code. Also accept F11 and F12. - -2002-11-18 Marcus Brinkmann <marcus@gnu.org> - - * console.c (main): Pass ERR to error invocation. - * generic-speaker.c (generic_spaker_beep): Use currently active - beep's next pointer, instead index 0. - * pc-kbd.c: New global variables led_state and gnumach_v1_compat. - (enum scancode): Change to set 2 encoding. - (enum scancode_x1): Likewise. - (enum scancode_x2): New type. - (sc_to_kc): Change to set 2 encoding. - (sc_x1_to_kc): Likewise. - (sc_set1_to_set2): New variable. - (sc_set1_to_set2_x1): Likewise. - (gnumach_v1_input_next): New function. - (update_leds): Likewise. - (input_next): Likewise. - (input_loop): Use input_next or gnumach_v1_input_next to read next - key code. - (pc_kbd_start): Add support for current GNU Mach @>=kbd interface. - Call update_leds and toggle led_state. - (pc_kbd_fini): Add support for current GNU Mach. - (pc_kbd_set_scroll_lock_status): Toggle led_state and call - update_leds. - * vga-support.c (vga_init): Add support for current GNU Mach's I/O - permission bitmap handling and its mem device. - -2002-09-30 Marcus Brinkmann <marcus@gnu.org> - - * vga-support.c (vga_get_font_width): New function. - * vga-support.h: Add prototype for vga_get_font_width. - * vga-dynafont.c (create_system_font): Call vga_get_font_width to - determine real font width. - -2002-09-22 Marcus Brinkmann <marcus@gnu.org> - - * pc-kbd.c (sc_to_kc): Implement Meta-Backspace combinations. - -2002-09-19 Marcus Brinkmann <marcus@gnu.org> - - * vga-support.c (vga_read_write_font_buffer): New function. It - turns out that reading and writing needs the same register - settings. - (vga_write_font_buffer): Implement in terms of - vga_read_write_font_buffer. - (vga_read_font_buffer): Likewise. - -2002-09-18 Marcus Brinkmann <marcus@gnu.org> - - * ncursesw.c: Add an entry for the clear function. - - * pc-kbd.c (sv_to_kc): Add entries for unused scan codes 0x55 and - 0x56. - -2002-09-17 Marcus Brinkmann <marcus@gnu.org> - - * pc-kbd.c (input_loop): Move code that toggles NumLock after code - that handles direct entry of character codes with RightAlt. - -2002-09-17 Marcus Brinkmann <marcus@gnu.org> - - * Makefile, bdf.c, bdf.h, bell.h, console.c, display.h, driver.c, - driver.h, generic-speaker.c, input.h, pc-kbd.c, timer.c, timer.h, - unicode.h, vga.c, vga-dynacolor.c, vga-dynacolor.h, vga-dynafont.c, - vga-dynafont.h, vga-hw.h, vga-support.c, vga-support.h: New file. diff --git a/console/ChangeLog b/console/ChangeLog deleted file mode 100644 index 45b0dc99..00000000 --- a/console/ChangeLog +++ /dev/null @@ -1,624 +0,0 @@ -2008-06-10 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * console.c (parse_color): Check the character pointed by tail instead - of its address. - -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * console.c (netfs_attempt_utimes): Adapt to ``struct stat'' changes. - -2006-01-23 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * console.c (main): Check CONS instead of MALLOC. - - * input.c (input_create): Fix arguments order of iconv_open() - call. - -2005-01-19 Marco Gerards <metgerards@student.han.nl> - - * README.UTF8: New file. - * motd.UTF8: Likewise. - -2003-04-29 Marco Gerards <metgerards@student.han.nl> - - * display.c (display_create): Added arguments width, height and - lines, variables with the same name were removed. - * display.h (display_creat): Add missing arguments to prototype. - * console.c (DEFAULT_WIDTH): New macro. - (DEFAULT_HEIGHT): Likewise. - (DEFAULT_LINES): Likewise. - (STRX): Likewise. - (STR): Likewise. - (struct cons): New members lines, width and height. - (vcons_lookup): Add missing arguments to display_create. - (options): Add options width, height and lines. - (parse_opt): Parse width, height and lines. - (netfs_append_args): Append arguments width, height and lines. - (netfs_append_args): Fix asprintf error checking. - (main): Initialize cons with default width, height and lines. - -2002-12-10 Marcus Brinkmann <marcus@gnu.org> - - * console.c (main): Don't use err without setting it. - -2002-10-10 Marcus Brinkmann <marcus@gnu.org> - - * hurd.ti (cub1): Change from \E[D to ^H. - * display.c (handle_esc_bracket): Revert last change. - - * display.c (handle_esc_bracket): Implement <bw> for <cub1>. - -2002-09-22 Marcus Brinkmann <marcus@gnu.org> - - * pager.c, pager.h: New file. - * Makefile (SRCS): Add pager.c. - (LCLHDRS): Add pager.h. - * display.c: Do not include <hurd/pager.h>, <sys/mman.h>, - <sys/io.h>, <fcntl.h> and <sys/fcntl.h>. Include <hurd/ports.h> - and "pager.h". - (struct display): Replace member PAGER and MEMOBJ with USER_PAGER. - (display_get_filemap): Implement with user_pager_get_filemap. - (user_destroy): Implement with user_pager_destroy. - (user_create): Implement partially with user_create. - (display_init): Call user_pager_init. - (struct user_pager_info, pager_bucket, pager_clear_user_data, - pager_read_page, pager_write_page, pager_unlock_page, - pager_report_extent, pager_dropweak, service_paging_requests): - Move to ... - * pager.c: ... here. - - * console.c: Include <mach.h>. - (netfs_S_dir_notice_changes): New variable PREQ. Clean out the - dead wood, eh, dead name notifications from the CONS->dirmod_req - list. - * display.c (struct user_pager_info): Drop members DISPLAY and P. - (struct display): Remove member UPI and add member PAGER. - (pager_report_extent): Remove local variable DISPLAY, use UPI - directly. - (user_create): New variable UPI to hold the user pager info. - Modify the code to match new struct organization. - (user_destroy): Unmap the user data. - (display_notice_changes): Request dead-name notifications. - (free_modreqs): Cancel dead-name notification request before - deallocation send right. - (display_notice_filechange): Likewise. - (do_mach_notify_msg_accepted): Likewise. - (display_destroy): Take DISPLAY->lock while operating. Reset the - filemod_reqs and filemod_reqs_pending members of DISPLAY to NULL. - (do_mach_notify_port_deleted): Add comment. - (do_mach_notify_dead_name): Implement. - (do_mach_notify_no_senders): Implement by delegating to libports. - (do_mach_notify_send_once): Don't fail. - -2002-09-18 Marcus Brinkmann <marcus@gnu.org> - - * hurd.ti: Enable <kb2> and <kmouse>, fix the comments. - * display.c (handle_esc_bracket_question_hl): Handle escape - bracket 1000 h/l for XTerm-like mouse tracking enable/disable. - - * display.c (handle_esc_bracket): Use scrolling region for <ind>, - <indn>, <ri>, <rin>, <il1>, <il>, <dl1> and <dl>. Also fix - off-by-one error in <ri>, <rin>. - - * hurd.ti: Change <gsbom> and <grbom> to escape bracket - right-angle sequences. Add <csr>, <smir>, <rmir> and <mir>, - disable <ich1>. - * display.c (handle_esc_bracket_m): Map \E[21m to normal intensity - (as a way to switch off bright intensity). - (handle_esc_bracket): Fix calculation of fill area for <ech>. - (struct scrolling_region): New type. - (struct display): New members INSERT_MODE and CSR. - (display_output_one): For <rs2>, also reset DISPLAY->insert_mode - and DISPLAY->csr. - (display_create): Initialize DISPLAY->csr.bottom. - (display_output_one): If in insert mode, shift to the right before - printing the character. - (linefeed): Take scrolling region into account. - (handle_esc_bracket): Switch the meaning of 'h' and 'l'. - (handle_esc_bracket_question): Likewise. - (handle_esc_bracket_question_hl): Switch the interpretation of - FLAG. - (handle_esc_bracket_hl): Likewise. Add support for insert mode - <smir> and <rmir>. - (struct parse): New state STATE_ESC_BRACKET_RIGHT_ANGLE. - (display_output_one): Handle STATE_ESC_BRACKET_RIGHT_ANGLE. - (display_output_one): Move the bold attribute handling from here - (<PU1>, <PU2>) ... - (handle_esc_bracket_right_angle_hl): ... to here. New function - handling <gsbom> and <grbom>. - (handle_esc_bracket_right_angle): New function. - (handle_esc_bracket): Implement <csr>. - -2002-09-17 Marcus Brinkmann <marcus@gnu.org> - - * input.c (input_enqueue): Initialize ERR. - - * bdf.c, bdf.h, display-drv.h, dynafont.c, dynafont.h, focus.c, - focus.h, input-drv.h, main.c, ourfs_notify.defs, vcons.c, vcons.h, - vga.c, vga-display.c, vga.h, vga-hw.h: Obsolete files removed. - - * display.c (handle_esc_bracket_m): Really disable italics on - <ritm>. - -2002-09-16 Marcus Brinkmann <marcus@gnu.org> - - * hurd.ti: Add capabilities <sitm>, <ritm>, <gsbom>, <grbom>. - * display.c (handle_esc_bracket_m): Add support for italic. - (display_output_one): Add new capabilities PU1 and PU2 to toggle - bold mode. Reset PARSE->state on most escape sequences. - * console.c (parse_attributes): Rename old bold attribute to - bright. Add support for italic and bold. - -2002-09-10 Marcus Brinkmann <marcus@gnu.org> - - * display.c (DISPLAY_CHANGE_FLAGS): New macro. - (struct changes): New member FLAGS. - (display_flush_filechange): Handle change of flags. - (display_output_some): Initialize DISPLAY->changes.flags. - (display_start_output): Clear CONS_FLAGS_SCROLL_LOCK in DISPLAY. - (display_stop_output): Set CONS_FLAGS_SCROLL_LOCK in DISPLAY. - - * display.c (display_output_some): If iconv fails with EILSEQ, - skip the next byte in the buffer and print a replacement - character. - -2002-08-30 Marcus Brinkmann <marcus@gnu.org> - - * display.c (display_create): Likewise. Set - DISPLAY->attr.attr_def instead the color versions. - (struct attr): Remove fgcol_def, bgcol_def, and add attr_def. - (handle_esc_bracket_m): Set all attributes to their defaults for - case 0. Set default color using default attribute for case 49 and - case 39. - (display_output_one): Likewise. - * console.c (options): Add --attribute option. - (parse_opt): Parse --attribute option. Bail out with argp_error - on error. - (netfs_append_args): ... - (struct cons): Replace foreground and background with new - attribute member. - (vcons_lookup): Pass CONS->attribute to display_create instead - CONS->foreground and CONS->background. - (main): Set default colors and attributes. - (parse_attributes): New function. - - * console.c (parse_opt): If STATE->input is zero, use - netfs_root_node's hook to cons. - -2002-08-28 Marcus Brinkmann <marcus@gnu.org> - - * display.c (screen_fill): Take CUR_LINES modulo LINES. - (screen_shift_left): Likewise. - (screen_shift_right): Likewise. - (linefeed): Don't take CUR_LINES modulo LINES here. - -2002-08-28 Marcus Brinkmann <marcus@gnu.org> - - * display.c (display_output_one): Also set USER->cursor.status to - normal for ECMA-48 <RIS> (hard reset). - -2002-08-23 Marcus Brinkmann <marcus@gnu.org> - - * Makefile (DIST_FILES): New variable. - * hurd.ti: New file describing the terminal capabilities of the - Hurd console server. - -2002-08-22 Marcus Brinkmann <marcus@gnu.org> - - * console.h: Move file to ../hurd/. - * Makefile (LCLHDRS): Remove console.h. - * display.c: Include <hurd/console.h> instead "console.h". - * console.c: Likewise. - - * display.h: Add prototype for display_get_size. - * display.c (display_get_size): New function. - (nowait_file_changed): Update for new interfaces. - * console.c (new_node): Use display_get_size to retrieve size of - display node. - (netfs_get_dirents): Initialize FIRST_VCONS to silence gcc warning. - -2002-07-15 Marcus Brinkmann <marcus@gnu.org> - - * display.c: Restore copyright notice until the papers by Kalle - are actually received. - -2002-06-27 Marcus Brinkmann <marcus@gnu.org> - - * Makefile (MIGSTUBS): Add fs_notifyUser.o. - (MIGSFLAGS): New variable. - * console.c: Include "fs_notify_U.h". - (struct modreq): New structure. - (struct cons): New members DIRMOD_REQS and DIRMOD_TICK. - (cons_notice_dirchange): New function. - (vcons_lookup): Call cons_notice_dirchange. - (netfs_S_dir_notice_changes): New function. - (main): Initialize new members in CONS. - * display.c (nowait_file_changed): Update to new interface (new - argument TICKNO). - (do_mach_notify_msg_accepted): Call nowait_file_changed with new argument. - (display_notice_changes): Likewise. - (display_notice_filechange): Likewise. - -2002-06-25 Marcus Brinkmann <marcus@gnu.org> - - * Makefile (HURDLIBS): Add pager, reported by Alfred M. Szmidt. - - * display.c (screen_shift_left): Don't increase DST twice in one - iteration. - * display.c (screen_shift_right): Likewise. - -2002-06-25 Marcus Brinkmann <marcus@gnu.org> - - * Makefile (LCLHDRS): Add priv.h and mutations.h. - (MIGSTUBS): Add tioctlServer.o - * console.c: Include <hurd/ioctl-types.h>. - (new_node): Bump up st_size for display node. - (S_tioctl_tiocflush, S_tioctl_tiocgwinsz, S_tioctl_tiocstart, - S_tioctl_tiocstop, S_tioctl_tiocoutq, S_tioctl_tiocspgrp, - S_tioctl_tiocgpgrp): New functions. - (S_tioctl_tiocmodg, S_tioctl_tiocmods, S_tioctl_tiocexcl, - S_tioctl_tiocnxcl, S_tioctl_tiocgeta, S_tioctl_tiocseta, - S_tioctl_tiocsetaw, S_tioctl_tiocsetaf, S_tioctl_tiocgetd, - S_tioctl_tiocsetd, S_tioctl_tiocdrain, S_tioctl_tiocmget, - S_tioctl_tiocmset, S_tioctl_tiocsig, S_tioctl_tiocext, - S_tioctl_tiocswinsz, S_tioctl_tiocremote, S_tioctl_tiocmbic, - S_tioctl_tiocmbis, S_tioctl_tiocpkt, S_tioctl_tiocsti, - S_tioctl_tioccdtr, S_tioctl_tiocsdtr, S_tioctl_tioccbrk, - S_tioctl_tiocsbrk): New stubs. - (console_demuxer): New function. - (main): Don't call netfs_server_loop, but call - ports_manage_port_operations_multithread, so we can use our own - demuxer. - * mutations.h: Use intran and outtran for netfs. - * priv.h: Likewise. - - * console.h (cons_change_t): Add bits for bell_audible and - bell_visible. - (struct cons_display): Add member BELL. - * display.c (struct changes): Add new members bell_audible and - bell_visible. Add bit flag macro names for those. - (display_flush_filechange): Start with first index in buffer. - Signal bell events. - (display_record_filechange): Set DISPLAY_CHANGE_MATRIX bit in the - disjoint case after flushing the update. - (display_output_one): Recognize '\a' as audible bell and '\Eg' as - visible bell. - (display_output_some): Handle bell updates. - -2002-06-24 Marcus Brinkmann <marcus@gnu.org> - - * console.h (cons_color_t): New enum type replacing color macros. - (CONS_COLOR_MAX): New macro. - (cons_change_t): New type. - (struct cons_display): New member CHANGES. - * console.c: Include "console.h". - (DEFAULT_FOREGROUND, DEFAULT_FOREGROUND_NAME, DEFAULT_BACKGROUND, - DEFAULT_BACKGROUND_NAME): New macros. - (struct cons): New members foreground and background. - (vcons_lookup): Pass colors to display_create invocation. - (new_node): Fix st_size for display node. - (color_names): New array. - (options): Add options to set default foreground and background - color. - (parse_color): New function. - (parse_opt): Implement new options. - (netfs_append_args): Add new options to output. - (main): Set default colors. - - * Makefile (DIST_FILES): Remove target. - (MIGSTUBS): Remove ourfs_notifyUser.o and add notifyServer.o. - * display.c: Do not include "ourfs_notify_U.h". - (struct modreq): New member PENDING. - (struct notify): New structure. - (struct display): New members FILEMOD_REQS_PENDING and - NOTIFY_PORT. - (pager_read_page): Hand out previously returned pages. - (pager_unlock_page): Assert that this is not called. - (notify_class, notify_bucket): New port class and bucket global - variables. - (nowait_file_changed): New function, modified from mig output. - (do_mach_notify_port_deleted): New stub function. - (do_mach_notify_port_destroyed): New stub function. - (do_mach_notify_no_senders): New stub function. - (do_mach_notify_dead_name): New stub function. - (do_mach_notify_send_once): New stub function. - (do_mach_notify_msg_accepted): New function. - (service_notifications): New function. - (display_notice_changes): Call nowait_file_changed with new - argument. Initialize REQ->pending. - (display_notice_filechange): Remove arguments except DISPLAY. Set - PENDING flags in pending filemod requests. Call - nowait_file_changed with new notify argument. If notification - will be sent, move modreq structure to pending list. - (display_flush_filechange): Rewritten to use ring buffer to store - changes. - (user_create): Initialize new members of struct cons_display. - (display_init): Initialize notify_class and notify_bucket. - (display_create): Accept new arguments for default colors. - Initialize new members of struct display. - (display_destroy): Remove pending filemod requests and destroy the - notification port. Do not free the display structure memory. - (display_destroy_complete): New function. - * display.h: Add new arguments to prototype of display_create. - -2002-06-18 Marcus Brinkmann <marcus@gnu.org> - - * console.h: Update all CONS_KEY_* macros to match other terminfo - definitions (like "linux", "screen", "gnome"). Add CONS_CHAR_* - macros for terminal graphic characters. - - * display.c (struct attr): New member ALTCHAR to flag usage of - alternate character set. - (display_notice_filechange): Make static. - (handle_escape_bracket_m): Set ALTCHAR to 0 when resetting. - Support new modes 10 and 11 to disable and enable ALTCHAR. - (limit_cursor): New function, moved to global scope from ... - (handle_escape_bracket): ... here. - (linefeed): New function, moved to global scope from ... - (display_output_one): ... here. - (horizontal_tab): New function. - (handle_escape_bracket): Add alias \E[' to \E[G for VT100 - compatibility. Add capability \E[a (horizontal cursor position - relative) for ECMA-48 compatibility. Add capabilities \E[I - (horizontal tab) and \E[Z (backward tabulation) for ECMA-48 - compatibility. Move capabilities \E[s and \E[u to ... - (display_output_one): ... here as \E7 and \E8 for VT100 - compatibility. - (altchar_to_ucs4): New function. - (display_output_one): Use altchar_to_ucs4 when in altchar mode. - Add \EM (reset) capability. - -2002-06-17 Marcus Brinkmann <marcus@gnu.org> - - * console.c (new_node): Adjust size of display node. - * console.h: Add macros for color names. Add macros for intensity - names. Add new types conchar_t and conchar_attr_t, which - represent a console matrix cell and the attribute of one such - cell, resp. Add macros for keycodes. - (struct cons_display): Change type of _matrix member to conchar_t. - * display.c (struct attr): Rewrite, using cons_attr_t to hold the - attributes. - (handle_escape_bracket_m): Use new members of ATTR. - (display_flush_filechange): Send notification for changed matrix - before the notification for new cur_line. Fix types in length - calculation. - (conchar_memset): New function. - (user_create): Accept CHR and ATTR arguments. Fix calculation of - NPAGES. Use conchar_memset instead of wmemset. - (screen_fill): Fix type of ATTR argument. Use conchar_memset - instead of wmemset. - (screen_shift_left): Fix type of ATTR argument. Set attribute of - empty cells. Fix length calculation. - (screen_shift_right): Likewise. - (handle_escape_bracket): Set default parameter for HUP. Be more - ECMA-48 conform. - (display_output_one): Fix arguments in screen_fill invocation. - Set attribute for character output. Add <NEL> from ECMA-48. - (display_create): Use 50 lines for now. Set default colors, and - add new arguments to user_create invocation. - -2002-06-15 Marcus Brinkmann <marcus@gnu.org> - - * display.c (struct changes): Change type of WHICH from int to - unsigned int. - (display_flush_filechanges): Likewise for argument TYPE. Fix a - zillion bugs. - (display_record_filechange): Fix half a zillion bugs. - (screen_shift_left): Fix order of arguments. Just flag a normal - write change for the whole region, instead trying to be clever. - (screen_shift_right): Likewise. - -2002-06-14 Marcus Brinkmann <marcus@gnu.org> - - * display.c (struct changes): New structure to temporarily hold - changes to the display. - (struct display): New member CHANGES. - (display_flush_filechange): New function. - (display_record_filechange): Likewise. - (screen_fill): Use display_record_filechange instead - display_notice_filechange. - (display_output_one): Likewise. - (screen_shift_left): Flush pending filechanges before scrolling. - (screen_shift_right): Likewise. - (display_output_one): Don't notice changes here ... - (display_output_some): ... but here. - - * display.c (struct user_pager_info): Add members MEMOBJ_NPAGES - and MEMOBJ_PAGES to hold the allocated and returned pages. - (struct display): Remove member MEMOBJ_SIZE. - (pager_clear_user_data): Deallocate returned pages for this pager - object. - (pager_read_page): Add an assertion to check that we don't create - new pages for already allocated and returned pages. - (pager_write_page): Implement by just holding to the page and - storing its address in the pager object for later deallocation. - (pager_report_extent): Implement using new member MEMOBJ_NPAGES - rather than MEMOBJ_SIZE. - (user_create): Allocate extra storage for the returned pages in - UPI. - -2002-06-13 Marcus Brinkmann <marcus@gnu.org> - - * Makefile (DIST_FILES): New target. - (MIGSTUBS): Likewise. - (OBJS): Add $(MIGSTUBS). - * ourfs_notify.defs: New file. - * console.c: Diddle order of typedefs. - (netfs_attempt_read): Clip AMT to bytes left to read before - calling display_read. - (netfs_S_file_notice_changes): New function. - * console.h: Include <stdint.h>, not <sys/types.h>. - Change all types from u_int32_t to uint32_t. - * display.c: Include <stddef.h> and "outfs_notify_U.h". Change - all u_int_32 types to uint32_t. - (struct modreq): New structure. - (struct display): New member filemod_reqs. - (free_modreqs): New function. - (display_notice_changes): Likewise. - (display_notice_filechange): Likewise. - (display_destroy): Free filemod_reqs member of DISPLAY. - (MATRIX_POS): Macro removed. - (screen_fill): Rewritten. - (screen_shift_left): New function. - (screen_shift_right): Likewise. - (screen_scroll_up): Function removed. - (screen_scroll_down): Likewise. - (screen_scroll_left): Likewise. - (screen_scroll_right): Likewise. - (handle_esc_bracket): Use new screen_* functions. - (display_output_one): Store old cursor and screen attributes, and - if they have been changed, send file change notifications. - * display.h: New prototype for display_notice_changes. - -2002-06-12 Marcus Brinkmann <marcus@gnu.org> - - * console.c: Include <argz.h>. Do not include "console.h", but - inline it. New macro DEFAULT_ENCODING. - (struct cons): De-const-ify member ENCODING. - (mycons, cons): Remove global variables. - (vcons_lookup): Use default encoding if CONS->encoding is not set. - (new_node): Access CONS through VCONS. Adjust size of display - node. - (netfs_attempt_read): Truncate length to read before reading. - (netfs_S_io_map): New function. - (options): New global variable. - (parse_opt): New function. - (netfs_append_args): New function. - (main): New variable CONS to hold console structure. Rediddle - initialization to allocate memory for it, parse arguments, and - create the root node in correct order. Also call display_init. - * console.h: Rewritten with new meaning. It now describes the - public interface of the console. - * display.c: Include <assert.h>, <error.h>, <hurd.h>, - <hurd/pager.h> and "console.h". - (struct screen): Removed. - (struct cursor): Remove members X, Y and status. - (struct user_pager_info): New struct. - (struct display): Remove member SCREEN, add new members USER, UPI, - MEMOBJ and MEMOBJ_SIZE. - (pager_bucket): New global variable. - (display_get_filemap): New function. - (pager_clear_user_data): Likewise. - (pager_read_page): Likewise. - (pager_write_page): Likewise. - (pager_unlock_page): Likewise. - (pager_report_extent): Likewise. - (pager_dropweak): Likewise. - (service_paging_requests): Likewise. - (screen_init): Renamed to ... - (user_create): ... this new function and changed to allocate - memory object and map it for USER data in display structure. - (screen_deinit): Renamed to ... - (user_destroy): ... this new function and rewrote it. - (MATRIX_POS): New macro. - (screen_fill): Take DISPLAY argument instead SCREEN. Use - MATRIX_POS. - (screen_scroll_up): Likewise. - (screen_scroll_down): Likewise. - (screen_scroll_left): Likewise. - (screen_scroll_right): Likewise. - (handle_esc_bracket_hl): Take DISPLAY argument instead CURSOR. - (handle_esc_bracket): Access screen and cursor fields correctly. - (display_output_one): Likewise. - (display_getsize): Likewise. - (display_init): New function. - (display_create): New variables width, height, lines. Call - user_create, not screen_init. Call user_destroy, not - screen_deinit. - (display_destroy): Call user_destroy, not - screen_deinit. - (display_read): Reimplement using memory mapping. - * display.h: New prototypes for display_init and display_get_filemap. - -2002-06-09 Marcus Brinkmann <marcus@gnu.org> - - * display.c (struct cursor): Change type of all members from int - to u_int32_t. - (screen_init): Initialize SCREEN->lines with 25 instead 200 for - now. - (screen_fill): Bring SCREEN->current_line into the calculation of - MATRIXP. - (screen_scroll_up): Likewise. - (screen_scroll_down): Likewise. - (screen_scroll_left): Likewise. - (screen_scroll_right): Likewise. - (display_output_one): Beautify code a bit. - (display_read): Add metadata to beginning of file. - * console.c (new_node): Increase size of display node to include - metadata. - -2002-06-05 Marcus Brinkmann <marcus@gnu.org> - - * input.h: New file. - * input.c: Likewise. - * console.h: Likewise. - * console.c: Likewise. - * display.h: New development version. - * display.c: Likewise. - * Makefile (SRCS): Replace with files for new console server. - (LCLHDRS): Likewise. - (HURDLIBS): Likewise. - (OBJS): Likewise. - -2002-06-05 Marcus Brinkmann <marcus@gnu.org> - - * input.h: Renamed to ... - * input-drv.h: ... this. - * focus.c: Include "input-drv.h" instead "input.h". - * console.c: Likewise. - * Makefile (LCLHDRS): Rename input.h to input-drv.h. - - * main.c: Include "vcons.h" instead "console.h". - * focus.c: Likewise. - * Makefile (LCLHDRS): Rename console.h to vcons.h. - (SRCS): Rename console.c to vcons.c. - -2002-06-04 Marcus Brinkmann <marcus@gnu.org> - - * display.h: New file. - * display.c: Likewise. - -2002-06-04 Marcus Brinkmann <marcus@gnu.org> - - * display.h: Renamed to ... - * display-drv.h: ... this. - * Makefile (LCLHDRS): Rename display.h to display-drv.h. - * console.c: Include "display-drv.h" instead "display.h". - * vga-display.c: Likewise. - -2002-06-03 Marcus Brinkmann <marcus@gnu.org> - - * console.c (vcons_release): Fix last change. - -2002-06-02 Marcus Brinkmann <marcus@gnu.org> - - * console.c (vcons_lookup): Correct nesting. - (vcons_release): Negate if condition. - Delete VCONS_LIST in CONS with last virtual console. - -2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca> - - * main.c (main): Use error, not fprintf and exit. - -2002-03-17 Roland McGrath <roland@frob.com> - - * mutations.h (TIOCTL_IMPORTS): New macro. - * priv.h: Protect from multiple inclusion. - - * vga.c (vga_init): io_perm -> ioperm. - (vga_deinit): Likewise. - - * dynafont.c: Include <string.h>. - * focus.c: Likewise. - * vga.c: Likewise. - * vga-display.c: Likewise. - - * main.c: Include <error.h>. - (main): Use `error' instead of perror + exit. - (console_mode, console_owner, console_group): Use *_t, not int. - -2002-03-17 Marcus Brinkmann <marcus@gnu.org> - - * bdf.c, bdf.h, console.c, console.h, display.h, dynafont.c, - dynafont.h, focus.c, focus.h, input.h, main.c, Makefile, - mutations.h, priv.h, vga.c, vga-display.c, vga.h, vga-hw.h: New files. diff --git a/daemons/ChangeLog b/daemons/ChangeLog deleted file mode 100644 index 73616d92..00000000 --- a/daemons/ChangeLog +++ /dev/null @@ -1,249 +0,0 @@ -2008-12-08 Thomas Schwinge <tschwinge@gnu.org> - - * Makefile (HURDLIBS): Add fshelp and ports. - -2007-12-11 Thomas Schwinge <tschwinge@gnu.org> - - * getty.c (main) <execl>: Correctly specify sentinels to avoid GCC 4.3 - warnings. - -2002-09-15 Marcus Brinkmann <marcus@gnu.org> - - * getty.c: Include <termios.h>. - (set_speed): New function. - (main): Take linespec from argc[1], not argc[2]. Call set_speed. - -2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca> - - * console-run.c (open_console): Use ERR, not errno. - -2001-12-20 Marcus Brinkmann <marcus@gnu.org> - - * runsystem.sh: For now, this requires bash. - -2001-11-21 Roland McGrath <roland@frob.com> - - * runttys.c (setup_terminal, add_terminal, init_ttys): Check for - malloc failures. - (add_terminal): Fix type used for sizeof calculation in realloc. - (init_ttys): Likewise. - -2001-11-21 Ryan M Golbeck <rmgolbeck@uwaterloo.ca> - - * runttys.c (setup_terminal: make_args): Fixed off by one error. - -2001-08-20 Roland McGrath <roland@frob.com> - - * runsystem.sh: Don't check for MULTIBOOT_CMDLINE environment variable. - Instead, expect it as normal arguments from init. - -2001-06-08 Roland McGrath <roland@frob.com> - - * rc.sh: Start /hurd/mach-defpager before swapon. - -2001-06-07 Roland McGrath <roland@frob.com> - - * rc.sh: Include $? value in message about unexpected fsck exit. - -2001-01-17 Neal H Walfield <neal@cs.uml.edu> - - * console-run.c (open_console): Conform to new - fshelp_start_translator semantics. - -1999-09-23 Mark Kettenis <kettenis@gnu.org> - - * getty.c (main): Report an error if login_tty failed. - -1999-09-22 Roland McGrath <roland@baalperazim.frob.com> - - * getty.c: Undo last change. - - * getty.c (main): Make TTY our controlling terminal with TIOCSCTTY. - -1999-09-19 Roland McGrath <roland@baalperazim.frob.com> - - * runttys.c (main): Only call error if setsid returns -1. - From Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>. - -1999-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * getty.c: Include <utmp.h> for login_tty decl. - -1999-09-18 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> - - * runttys.c (run): Only call error if setsid returns -1. - * console-run.c (open_console): Likewise. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * console-run.c (open_console): Move first setting of TERMINAL and - ARGZ_LEN outside of loop, quiets compiler warning. - - * lmail.c: Add #include <sys/mman.h> for munmap decl. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * lmail.c (bfree): Use munmap instead of vm_deallocate. - -1999-07-01 Thomas Bushnell, BSG <tb@mit.edu> - - * rc.sh: Specify bash instead of sh. - (remove_translators): Don't descend into "." or "..". Alter - calling convention slightly and require the `nullglob' option to - be set. Change caller to suit. From Kalle Olavi Niemitalo - <tosi@ees2.oulu.fi>. - -1999-06-22 Roland McGrath <roland@baalperazim.frob.com> - - * rc.sh: Clean /tmp using special hackery to nuke translators. - -1999-06-18 Roland McGrath <roland@baalperazim.frob.com> - - * runsystem.sh: New file. - * Makefile (targets, special-targets): Add runsystem. - (runsystem): New target. - -1999-06-15 Roland McGrath <roland@baalperazim.frob.com> - - * runttys.c: New file.c - * Makefile (targets, SRCS): Add runttys, runttys.c. - (runttys): New target. - (runttys-LDLIBS): New variable, -lutil. - - * console-run.c: New file. - * Makefile (targets, SRCS): Add console-run, console-run.c. - (console-run): New target. - -1999-05-29 Roland McGrath <roland@baalperazim.frob.com> - - * rc.sh: Don't create /var/run/uptime. It's no longer used. - -1999-05-15 Roland McGrath <roland@baalperazim.frob.com> - - * rc.sh: Do `swapon -a' first thing. - -Tue Mar 9 13:18:14 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * lmail.c (OPT_REMOVE): New macro. - (options): Don't recognize -r as an alias for --remove, but - recognize it separately as a hidden alias. - (main / parse_opt): Make -d do nothing. - Make -r an alias for -f. Have OPT_REMOVE do the removal thing. - Reported by Mark Kettenis (kettenis@wins.uva.nl). - -1998-12-06 Roland McGrath <roland@baalperazim.frob.com> - - * lmail.c (deliver, main): Add braces to silence gcc warning. - -1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - - * lmail.c: Include <time.h> and <sys/time.h>. - -1998-07-19 Roland McGrath <roland@baalperazim.frob.com> - - * getty.c: Include <string.h> for basename decl. - -Wed Feb 19 23:05:13 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * lmail.c (argp_program_version): Make const. - -Tue Oct 22 15:47:13 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * lmail.c (options): Make -l/--use-lock-file hidden, as we don't - support it anyway (we just leave it here in case someone does - implement it, so they'll know the right option to use for - compatibility). - -Thu Oct 17 11:06:44 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * lmail.c (deliver): fsync the user's mailbox after delivery. - -Mon Oct 14 21:36:29 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * lmail.c: New file. - * Makefile (targets): Add mail.local. - (SRCS): Add lmail.c. - (rc, mail.local): New rules. - (%: %.sh): Rule removed. - (INSTALL-mail.local-ops): New variable. - -Thu Oct 10 16:12:55 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * rc.sh: Startup up sendmail if possible. - -Thu Sep 12 16:50:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - -Wed Aug 14 10:22:39 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (getty-LDLIBS): New variable. - (getty): Dependency on -lutil removed. - (libutil-libsubst): Variable removed. - -Tue Aug 13 08:13:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * rc.sh: When deleting files from /tmp, use -f flag to rm. - -Sat Jul 20 01:06:07 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * getty.c (main): Get the tty name from the right element in ARGV. - -Mon Jul 15 17:27:27 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * rc.sh: Create /var/run/uptime *after* clearing /var/run. Always - create /var/run/mtab to keep e2fsck happy. - -Fri Jul 12 16:49:33 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * rc.sh: Only clean /tmp and /var/run if they are respectively - directories. - -Sun Jul 7 10:39:27 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * getty.c (print_banner): Use basename instead of rolling our own. - -Sat Jul 6 13:58:40 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * getty.c (print_banner): Don't include directory in terminal - name. - -Sat Jul 6 00:10:35 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * getty.c (print_banner): Use localhost instead of grotty loop. - Make static. - (main): Use syslog instead of error to report exec failure. - * Makefile (getty): Depend on ../libshouldbeinlibc/libshouldbeinlibc.a. - -Fri Jul 5 22:02:16 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * getty.c: Include <sys/utsname.h> and <stdlib.h>. - (print_banner): New function. - (main): Call print_banner. - - * getty.c (main): Return something. - -Tue Jul 2 23:36:33 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * rc.sh: Touch /var/run/uptime file. - -Mon Jul 1 17:54:39 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * getty.c (main): Don't time out hardwired lines. - Print an error if exec fails. - -Thu Jun 27 16:44:52 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * getty.c (main): Repair loop. - -Tue Jun 25 18:01:17 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * rc.sh: Use real fsck instead of kluge. - - * Makefile (%: %.sh): Make target writable. - -Thu Jun 20 14:38:58 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * rc.sh: Copied from ../config. - * getty.c: Copied from ../utils. - * Makefile: New file. diff --git a/defpager/ChangeLog b/defpager/ChangeLog deleted file mode 100644 index 8ccfd133..00000000 --- a/defpager/ChangeLog +++ /dev/null @@ -1,10 +0,0 @@ -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * defpager.c (pager_read_page): Use munmap instead of - vm_deallocate. - -Tue Apr 11 11:19:04 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile: New file. - - diff --git a/doc/ChangeLog b/doc/ChangeLog deleted file mode 100644 index bc17463d..00000000 --- a/doc/ChangeLog +++ /dev/null @@ -1,165 +0,0 @@ -2009-02-16 Thomas Schwinge <tschwinge@gnu.org> - - * hurd.texi: Instead of `st_?time' and `st_?time_usec', talk about - `st_?tim'. - -2008-06-10 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * hurd.texi (Diskfs Callbacks): Add const qualifier to parameter - `name' of function diskfs_lookup. - -2007-11-08 Thomas Schwinge <tschwinge@gnu.org> - - * hurd.texi: Do some copyright, licensing and menu things as suggested - by the GNU Texinfo manual. - -2007-10-13 Thomas Schwinge <tschwinge@gnu.org> - - * hurd.texi (Invoking fsysopts): Elaborate on - augmenting-rather-than-replacing policy. - -2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * hurd.texi (Diskfs Node Management): Document diskfs_set_node_atime. - -2007-03-16 Ben Asselstine <benasselstine@gmail.com> - Thomas Schwinge <tschwinge@gnu.org> - - * hurd.texi (Invoking serverboot): Remove. - (Server Bootstrap, Boot Scripts): Update. - -2005-01-21 Alfred M. Szmidt <ams@gnu.org> - - * hurd.texi: Doc fixes. - -2004-02-01 Alfred M. Szmidt <ams@kemisten.nu> - - * hurd.texi (Installing): Chapter removed. - -2003-08-09 Alfred M. Szmidt <ams@kemisten.nu> - - * Makefile (targets): Add hurd.info-* to list. - -2002-12-03 Marcus Brinkmann <marcus@gnu.org> - - * hurd.texi (Store I/O): Add store_set_size. - -2002-09-29 Marcus Brinkmann <marcus@gnu.org> - - * hurd.texi (Translators): Change isofs to iso9660fs - (ISO-9660 CD-ROM FS): Likewise. - -2002-04-20 Marcus Brinkmann <marcus@gnu.org> - - * hurd.texi: Fix section nesting in last change. - -2002-02-11 James A. Morrison <ja2morri@student.math.uwaterloo.ca> - - * hurd.texi (Translators): Document the options for showtrans and - fsystops. - -2002-02-11 James A. Morrison <ja2morri@student.math.uwaterloo.ca> - - * hurd.texi: Add a space before []'s in vector definitions to remove - compile warnings. - -2002-04-15 Marcus Brinkmann <marcus@gnu.org> - - * hurd.texi (Modifying Directories): Documented dir_mkfile, dir_mkdir - dir_rmdir, dir_unlink, dir_link and dir_rename. - Submitted by James A. Morrison <ja2morri@student.math.uwaterloo.ca>. - -2002-02-11 James A. Morrison <ja2morri@student.math.uwaterloo.ca> - - * hurd.texi: Updated grub url. - -2002-03-05 Marcus Brinkmann <marcus@gnu.org> - - * hurd.texi (Diskfs Callbacks): Refer to dir_lookup, not dir_pathtrans. - Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>. - -2001-01-08 Marcus Brinkmann <marcus@gnu.org> - - * hurd.texi (Store Management): Replace off_t with store_offset_t. - (Store I/O): Likewise. - (Store Classes): Likewise. - -2001-01-07 Marcus Brinkmann <marcus@gnu.org> - - * hurd.texi (Diskfs Callbacks): Make diskfs_dirstat_size const. - -2000-04-18 Gordon Matzigkeit <gord@fig.org> - - * hurd.texi (Microkernel Object Library): Delete deprecated - node. - -2000-03-08 Gordon Matzigkeit <gord@fig.org> - - * hurd.texi (Overview): Add a first cut at an architectural - summary. - -1999-09-20 Thomas Bushnell, BSG <tb@mit.edu> - - * hurd.texi: Repair syntax lossage. - -1999-09-18 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (installationdir): New variable. - (DIST_FILES): Use := instead of =, so as to process wildcard only once. - (all): Target removed (superfluous). - -1999-09-18 Thomas Bushnell, BSG <tb@mit.edu> - - * hurd.texi: Added many comments (marked by `tb:') to some of the - FIXME questions and reworded a few things. - -1999-06-17 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (%.info rule): Put output in build dir, not srcdir. - Pass -I options to makeinfo for both dirs. - (move-if-change): New variable. - (version.texi, stamp-version): New targets, update version.texi (in - build dir) from `$(hurd-version)' as set in Makeconf. - -Tue Apr 20 21:50:19 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * hurd.texi: More detail on fshelp_start_translator. - -Tue Apr 13 16:47:41 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * hurd.texi: Doc updates from Eric Hanchrow, filtered through - Gordon Matzigkeit. - -1999-03-17 Gordon Matzigkeit <gord@trick.fig.org> - - * gpl.texinfo: New file, taken from /gd/gnu/doc/gpl.texi on the - GNU machines. - - * Makefile (DIST_FILES): Fix up wildcard so that we don't - accidentally include hurd.info twice. - -1998-06-02 Gordon Matzigkeit <gord@profitpress.com> - - * Makefile: Add rules for building info, dvi and ps files. - - * hurd.texi: Change the basic structure, and add a lot more - information. - -Wed Apr 22 16:52:22 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * hurd.texi: Various doc fixes submitted by Gordon Matzigkeit - (gord@m-tech.ab.ca). - -Mon Apr 13 15:40:43 1998 Thomas Bushnell, n/BSG <thomas@gnu.org> - - * navigating: New file. - * Makefile (DIST_FILES): Mention `navigating'. - -Thu Sep 19 17:52:23 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * hurd.texi: Comment out sections related to Shared I/O. - Begin documenting fs.defs. - -Mon Aug 8 15:50:17 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * Makefile: Rewritten in accord with new scheme. diff --git a/exec/ChangeLog b/exec/ChangeLog deleted file mode 100644 index a9300bfa..00000000 --- a/exec/ChangeLog +++ /dev/null @@ -1,1082 +0,0 @@ -2009-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * exec.c (prepare): Call PREPARE_STREAM earlier to permit calling - finish_mapping on E even after errors, as is already done in do_exec. - -2008-06-10 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * elfcore.c (TIME_VALUE_TO_TIMESPEC): Completely implement instead of - casting `time_value *' into `struct timeval *'. - (dump_core): Reimplement timeradd instead of casting `time_value *' - into `struct timeval *'. - -2004-10-22 Roland McGrath <roland@frob.com> - - * exec.c (check_elf_phdr): Return early on setting ENOEXEC. - Only touch E->info.elf.phdr_addr once, on the PT_LOAD segment that - actually contains the e_phoff location in the file. - (do_exec): If E.info.elf.phdr_addr is zero, don't set BOOT->phdr_size. - -2004-09-26 Roland McGrath <roland@frob.com> - - * priv.h (struct execdata.info.elf): New field `phdr_addr'. - * exec.c (check_elf): Set E->info.elf.phdr_addr here from e_phoff. - (check_elf_phdr): Don't check for PT_PHDR, remove last two args. - (do_exec): Update callers. Set BOOT->phdr_addr and BOOT->phdr_size - using info saved by check_elf. - -2004-02-11 Roland McGrath <roland@frob.com> - - * exec.c (servercopy): Change signature to avoid casted arguments. - Update callers. - (do_exec, S_exec_setexecdata): Update callers. - -2004-02-10 Roland McGrath <roland@frob.com> - - * elfcore.c (dump_core): Include null terminator in note name size, - and round up to four byte alignment. - (dump_core: write_note): Don't round OFFSET after each partial write. - (dump_core): Don't round up to page size before writing notes. - Do round up to page size for offset of each PT_LOAD region. - -2004-01-15 Roland McGrath <roland@frob.com> - - * priv.h (struct execdata.info.elf): Add `execstack' flag. - * exec.c (check_elf_phdr): Set it according to PT_GNU_STACK's PF_X - flag bit. If no PT_GNU_STACK, default to set. - (do_exec): If flag is clear, remove execute permission from stack. - -2002-09-17 Roland McGrath <roland@frob.com> - - * elfcore.c [i386_THREAD_STATE] (fetch_thread_regset): The two types - are not actually identical, must rearrange some members a little. - -2002-06-13 Roland McGrath <roland@frob.com> - - * priv.h (trivfs_protid_t): Type removed (now in trivfs.h). - -2002-05-29 Roland McGrath <roland@frob.com> - - * hashexec.c (check_hashbang): Fix fs id port arg in io_identity call. - - * elfcore.c (dump_core): int -> size_t - -2002-05-10 Roland McGrath <roland@frob.com> - - * exec.c (prepare): Do io_stat when io_map fails as for when - io_map_cntl fails. - -2002-05-01 Roland McGrath <roland@frob.com> - - * elfcore.c [ALPHA_THREAD_STATE] - (ELF_MACHINE, fetch_thread_regset, fetch_thread_fpregset): - New definitions for Alpha CPU. - -2002-04-27 Roland McGrath <roland@frob.com> - - * priv.h: Include <link.h> to get ElfW macro. - * priv.h, exec.c, main.c, hostarch.c: Use `ElfW(TYPE)' in place - of `Elf32_TYPE' throughout. - -2002-03-11 Roland McGrath <roland@frob.com> - - * core.c: File removed. - * Makefile (DIST_FILES): Remove core.c from the list. - - * elfcore.c: New file, used by crash server (../trans) to write - ELF core dump files. Thanks to Jon Arney <jarney1@cox.net> for - spurring me to write this, and for helping to test and debug it. - -2002-01-02 Roland McGrath <roland@frob.com> - - * exec.c (do_exec) [KERN_INVALID_LEDGER]: - Pass extra arguments to task_create for OSF variant. - -2002-01-01 Roland McGrath <roland@frob.com> - - * execmutations.h (SERVERCOPY): New macro. - -2001-12-31 Roland McGrath <roland@frob.com> - - * exec.c (do_exec): thread_array_t -> thread_t * - -2001-11-23 Roland McGrath <roland@frob.com> - - * gcore.c: File moved to ../utils. - * Makefile (DIST_FILES): Remove it. - -2001-04-01 Neal H Walfield <neal@cs.uml.edu> - - * main.c (S_exec_init): Use iohelp_create_empty_iouser. - -2001-06-15 Roland McGrath <roland@frob.com> - - * exec.c (do_exec: user_fd): Add a user ref to returned port. - -2001-02-12 Marcus Brinkmann <marcus@gnu.org> - - * main.c: Change hurd version name from proc to exec. - (main): Add period to doc string. - -2000-10-01 Roland McGrath <roland@frob.com> - - * exec.c: Comments. - -2000-09-24 Roland McGrath <roland@frob.com> - - * exec.c (map): Bail if the requested position + data size does not - fit in the file size. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile (HURDLIBS): Reorder libs such that the threads lib - comes before the ports lib. This makes sure the functions in - libthreads properly override the stubs in libports with the new - dynamic linker semantics in glibc 2.2. - -2000-07-20 Thomas Bushnell, BSG <tb@mit.edu> - - * hashexec.c (check_hashbang): Count characters in interp - correctly. Fix from Kalle Olavi Niemitalo <tosi@stekt.oulu.fi>. - -2000-03-23 Mark Kettenis <kettenis@gnu.org> - - * exec.c (do_exec): Set interp.file to MACH_PORT_NULL before the - first `goto out'. - -2000-03-20 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (trivfs_allow_open): Initialize to zero. - (trivfs_support_read, trivfs_support_write): Likewise. - (trivfs_support_exec): Variable removed. - - * exectrans.c: Obsolete file removed. - * Makefile (DIST_FILES): Remove it. - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * hashexec.c (check_hashbang): Use strpbrk directly instead of strsep. - Fix up INTERP_LEN properly in the no-argument case. - -2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> - - * main.c (S_exec_init): Don't use MOVE_SEND in Hurd RPC. - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * exec.c (do_exec): Use ports_get_send_right. - -2000-03-13 Roland McGrath <roland@baalperazim.frob.com> - - * priv.h (EXECDATA_STREAM): Define this only #ifdef BFD. - The non-BFD exec server is now completely independent of stdio magic; - it uses only those interfaces documented in the C library manual, - which are provided both by old GNU stdio and by GNU libio. - Resurrecting the BFD exec server will require using magic again, - for which libio-specific magic needs to be written. - - * exec.c [! EXECDATA_STREAM] (prepare_stream): Replace no-op with real - function to initialize map_* members to zero. - - * priv.h (EXECDATA_STREAM): New macro, always defined for now. - (struct execdata) [! EXECDATA_STREAM]: Add members - map_buffer, map_bsize, map_fsize, map_filepos in place of stream. - (map_buffer, map_filepos, map_set_fsize): New macros for accessing - those or stream. - [! EXECDATA_STREAM] (map_fsize, map_vsize): Define using new members. - - * exec.c (map): Rewritten purely using those accessor macros. - (input_room): Set the __target, __bufp, __error, and __eof members, - which are no longer set by map. - [! EXECDATA_STREAM] (prepare_stream, prepare_in_memory): Make no-ops. - (input_room, close_exec_stream, fake_seek, prepare_stream, - prepare_in_memory): Conditionalize these defns on [EXECDATA_STREAM]. - (load_section): Always use map instead of stdio. - Replace bcopy with memcpy. - (check_gzip: zipread): Rewrite using map instead of stdio. - (check_bzip2: zipread): Likewise. - - * hashexec.c (check_hashbang): Fix up multiple fencepost brainos. - - * hashexec.c (check_hashbang): Fix fencepost error in last change. - - * exec.c (map): Made global. - * priv.h: Declare it. - (map_fsize, map_vsize): New macros for accessing state set up by map. - * hashexec.c (check_hashbang): Use map and copying operations rather - than stdio to extract the first line from the file. Move finish call - to immediately after reading the line. - - * exec.c (map): If E->file_data is set, diagnose EOF before going to - direct io_read. - (prepare_in_memory): New function, broken out of check_gzip before - last change. - (check_gzip, check_bzip2): Use it. - - * exec.c (prepare_stream): New function, broken out of prepare. - (prepare): Call it. - [_STDIO_USES_IOSTREAM]: Do #error if this is defined. - (map, input_room, close_exec_stream, fake_seek, prepare_stream): - Conditionalize all these definitions on [! _STDIO_USES_IOSTREAM]. - Only map and prepare_stream are called from elsewhere in the code. - (check_gzip): Don't reinitialize E->stream, since it will in fact not - be used again. - (check_bzip2): Likewise. - -2000-03-09 Roland McGrath <roland@baalperazim.frob.com> - - * hostarch.c (elf_machine_matches_host): Don't recognize EM_486, - since newer <elf.h>'s don't define it any more. - -2000-02-27 Roland McGrath <roland@baalperazim.frob.com> - - * hashexec.c (check_hashbang: user_fd): Add a user ref to DTABLE[FD] - send right, because caller (hurd_file_name_lookup internals) will - consume one. - - * hashexec.c (check_hashbang): When dealloc'ing DTABLE ports, - optimize out syscall for null ports. - -1999-11-08 Roland McGrath <roland@baalperazim.frob.com> - - * exectrans.c (trivfs_support_write, trivfs_support_exec): Variables - removed. - (trivfs_allow_open): Set to just O_READ. - -1999-09-09 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (exec.static-LDFLAGS): Variable removed. - -1999-07-17 Roland McGrath <roland@baalperazim.frob.com> - - * exec.c (servercopy): Removed unused variable. - -1999-07-11 Roland McGrath <roland@baalperazim.frob.com> - - * exec.c (load_section): Fix typos in last change. - -1999-07-11 Thomas Bushnell, BSG <tb@mit.edu> - - * exec.c (load_section): Use mmap instead of vm_allocate when - allocating in mach_task_self (). - (servercopy): Likewise. - (do_exec): Likewise. - * hashexec.c (check_hashbang): Likewise. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * hostarch.c (mach_host_elf_machine): Replaced with ... - (elf_machine_matches_host): New function. Instead of returning - an ELF EM_* code, take one and check if it matches the host; - operate only on mach_host_self(), cache results, - Grok CPU_TYPE_{I486,PENTIUM,PENTIUMPRO} to accept EM_386 or EM_486. - Grok POWERPC, ALPHA, HPPA types. - * exec.c (check_elf): Call elf_machine_matches_host instead of - comparing against elf_machine. - (load_section): #if 0 out no-op code that uses elf_machine. - * priv.h (elf_machine_matches_host): Declare it. - (elf_machine, mach_host_elf_machine): Remove decls. - * main.c (main) [!BFD]: Don't call mach_host_elf_machine. - (elf_machine): Variable removed. - - * exec.c (map): Don't cast arg to munmap to vm_address_t. - - * priv.h: Add #include <sys/mman.h> for munmap decl. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * core.c (core_dump_task): Use munmap instead of vm_deallocate, - when it's from our own task. - * elfcore.c: Likewise. - * exec.c (load_section): Likewise. - (map): Likewise. - (close_exec_stream): Likewise. - (finish_mapping): Likewise. - (load): Likewise. - (do_exec): Likewise. - (S_exec_setexecdata): Likewise. - * hashexec.c (check_hashbang): Likewise. - * main.c (deadboot): Likewise. - -1999-06-04 Roland McGrath <roland@baalperazim.frob.com> - - * exec.c (map): Fix mapping calls to use F->__offset consistently - instead of F->__target. - -1999-05-16 Roland McGrath <roland@baalperazim.frob.com> - - * hashexec.c (check_hashbang): Fix bug in last change. - -1999-05-15 Roland McGrath <roland@baalperazim.frob.com> - - * hashexec.c (check_hashbang): Trim trailing blanks after interpreter - argument. - -1998-09-05 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> - - * do-bunzip2.c: New file. - * exec.c (check_bzip2): New function. - (BZIP2): New cpp symbol. If defined, bunzip2 engine is enabled. - * Makefile (bzip2-objects): New variable. - (OBJS): Add bzip2-objects. - (CPPFLAGS): Add -DBZIP2. - -1999-04-27 Roland McGrath <roland@baalperazim.frob.com> - - * exec.c (do_exec): Implement EXEC_SIGTRAP flag. - -1998-12-27 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (S_exec_init): Deallocate PROCSERVER port when finished. - -1998-12-27 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (S_exec_init): Remove variable DEV_MASTER; pass null instead - since we don't need it. Use assert_perror on getting the host-priv - port and on startup_essential_task, since init will hang until we've - done made that RPC. - -1998-12-26 Roland McGrath <roland@baalperazim.frob.com> - - * exec.c (do_exec): Fix conditional for cleaning up INTERP, - from nonnull E.interp.section to nonnull INTERP.file. - If we failed to open the interpreter file, INTERP.file will be - null and the rest of INTERP will be uninitialized. - -1998-12-21 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (S_exec_init): Don't call set_active_trans. - (set_active_trans): Function removed. - - * Makefile (HURDLIBS): Add missing implied library deps. - -1998-11-25 Mark Kettenis <kettenis@phys.uva.nl> - - * main.c (S_exec_init): Call _hurd_proc_init with new args set to - zero. - - * hashexec.c (check_hashbang): Fix typo: interplen -> interp_len. - -Thu Nov 5 15:26:50 1998 Thomas Bushnell, BSG <tb@mit.edu> - - * hashexec.c (check_hashbang): Keep INTERP_LEN with the correct - value (bytes of memory holding INTERP) for later use. - (check_hashbang: setup_args): Set argv[0] from the interpreter - name, not copied from the existing command line. - -1998-10-26 Roland McGrath <roland@baalperazim.frob.com> - - * hashexec.c: Use mach_* instead of __mach_*. - -1998-07-15 Roland McGrath <roland@baalperazim.frob.com> - - * exec.c (do_exec): Set boot->phdr_addr and boot->user_entry after - loading, to addresses adjusted for actual run-time load address. - -Wed Aug 20 14:02:11 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * main.c (main): New args for - ports_manage_port_operations_multithread. - -1997-06-30 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Arg parsing added. - (argp_program_version): New variable. - Include <argp.h>. - -Mon Jan 20 16:16:33 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * hashexec.c (check_hashbang): `preempter' -> `preemptor'. - -Sat Nov 23 16:26:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * priv.h (mach_host_elf_machine): New prototype. - * hostarch.c: Include "priv.h". - -Mon Nov 18 17:45:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * exec.c (load_section): If ANYWHERE, then make sure ADDR starts - out at least past the first page, so that we don't take it. Then - the library can (if desired) make the page no-access. - -Fri Nov 15 17:34:23 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * exec.c: Don't include <hurd/shared.h> any more. - - * main.c (S_exec_init): New arg syntax of trivfs_open. - -Mon Oct 7 21:31:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * exec.c (fake_seek): New function. - (prepare): Initialize E->stream.__io_funcs.seek to fake_seek; this - is called now that stdio doesn't assume it always knows the file - position. - -Thu Sep 12 16:30:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (exec): Delete special dependencies. - -Thu Sep 5 11:11:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * main.c: Include <version.h>. - (exec_version): Delete variable. - (S_exec_init): Pass empty string as release; HURD_VERSION - as version. - -Thu Aug 29 13:00:38 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * priv.h: Only include <bfd.h> if BFD. Only declare - host_bfd_arc_info, and bfd_host_bfd if BFD. If not BFD, give - typedef for asection. - * main.c: Only define host_bfd_arch_info, host_bfd, and - bfd_mach_host_arch_mach if BFD. - (main): Only call bfd_mach_most_arch_mach if BFD. - Call mach_host_elf_machine. - * hostarch.c (bfd_mach_host_arch_mach): Only define if BFD. - Delete arg E_MACHINE. All callers changed. - (mach_host_elf_machine): New function. - -Sun Jul 7 21:13:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * exec.c (S_exec_exec): Don't use unsafe MOVE_SEND in call to - interruptible exec_exec stub. - -Mon Jul 1 16:08:03 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Removed crash.c. - * crash.c: Moved to ../trans. - -Thu Jun 20 15:43:51 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (exec): Link against fshelp too now. - - * exec.c (do_exec): Call proc_setowner *after* possible - proc_reassign; otherwise it modifies the stub process's state and - not the real process's. - -Wed Jun 19 14:08:15 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * exec.c (do_exec, S_exec_exec): Pass 0 for new LOOKUP arg to - hurd_file_name_lookup. - * hashexec.c (hurd_file_name_path_lookup): Declaration removed. - (check_hashbang): Pass 0 for new LOOKUP arg to hurd_file_name_lookup. - -Wed Jun 12 21:17:33 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * gzip.h (basename): Comment out declaration; it conflicts with - libc's. - - * exec.c (do_exec): If secure, set the owner with proc_setowner. - -Fri May 10 16:47:11 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * hashexec.c (search_path): Don't make PATH or PFXED_NAME const. - -Fri May 10 09:20:26 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * exec.c (do_exec) [use1]: Use new auth_user_authenticate interface. - * hashexec.c (check_hashbang) [userport/reauthenticate]: Likewise. - - * hashexec.c (check_hashbang) [setup_args/search_path]: Declare - PATH to be `char const *'. - -Tue May 7 16:24:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * hashexec.c (check_hashbang): Use io_identity instead of io_stat to - compare files. - -Mon May 6 14:26:41 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * main.c (exec_version): Upgrade to 0.0. - -Fri May 3 14:16:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * exec.c (map): Use F->__offset and F->__target properly. - -Thu May 2 10:21:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * exec.c (map): Fix fencepost error in check of current mapping - window. Request round_page (LEN) bytes in io_read to avoid many small - reads. - - * exec.c (do_exec): Terminate OLDTASK if we get an error after killing - its threads and deallocating its address space. - -Tue Apr 30 11:36:25 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * exec.c (check_gzip) [ziprderr]: Treat all read errors as - ENOEXEC. First off, because that's what they are; also because - some callers of read_error don't set errno at all. - -Mon Apr 29 15:11:55 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * exec.c (check_section): If the format makes no sense, return - ENOEXEC, not EINVAL. - (check_bfd): Likewise. - (check_elf): Likewise. - (check_elf_phdr): Likewise. - (do_exec): Likewise. - - * exec.c (do_exec): Use correct args to ports_create_port. - -Sat Apr 27 06:02:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * crash.c: Use ports_create_port instead of ports_allocate_port, and - notice the error. - * exec.c: Likewise. - -Tue Apr 23 18:53:54 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * hashexec.c (check_hashbang: user_port): Use default root port when - secure. - -Mon Apr 15 12:48:35 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Add elfcore.c, crash.c, and exectrans.c. - (SRCS): That's hashexec.c, not .o. - - * Makefile (exec-MIGSFLAGS): Look for execmutations.h in - $(srcdir). - -Mon Apr 8 15:49:39 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * exec.c (prepare): If io_map returns EOPNOTSUPP, suppress the - error, and still setup E's stream. - (prepare_and_check): If prepare returns an error, do no more. - -Thu Mar 28 14:06:07 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * hashexec.c (check_hashbang): Pass open flags & mode args to - hurd_file_name_path_lookup. - -Mon Feb 26 16:33:22 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * hashexec.c (check_hashbang): Correctly deal with interpreter - lines having no argument. - -Sat Jan 13 12:28:03 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * hashexec.c (check_hashbang): Use hash_file_name_path_lookup() - instead of doing the path search ourselves, and get rid of - LOOKUP_CWDIR & associated logic. - * exec.c (S_exec_exec): Use strdupa(). Also update use of - hurd_file_name_lookup() [still probably not right though]. - -Thu Jan 11 15:36:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * hashexec.c (check_hashbang): When using executable name found on - the path, don't return alloca()ed memory from search_path(); use - malloc() instead. - Use envz_get() to search the environment. - - * exec.c (S_exec_exec): Use envz_get() to search the environment. - -Thu Jan 4 11:30:15 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (safe_bzero): Rewritten using hurd_catch_signal. - * hashexec.c (check_hashbang): Rearrange arg frobbing code - somewhat to use hurd_catch_signal instead of old preemption interface. - -Fri Dec 29 15:54:06 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * exec.c (do_exec): Be careful not to look at BOOT after we - release our reference on it. - Correctly initialize BOOT->intarray in the case where NINTS < - INIT_INT_MAX but we don't alloc a new array. - -Fri Dec 15 01:53:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (map): Rearrange code to fix some bugs and not remap - unless necessary. - (input_room): Simplify. - (check_elf): Extract all information from file header before - calling `map' for program headers. - -Sat Nov 25 22:10:41 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * crash.c (S_msg_sig_post_untraced): Also let the debugger have - the process back if it's posting the crashing signal. - -Tue Nov 21 15:01:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (safe_bzero): New function, broken out of load_section. - (load_section): Call it. - - * main.c (going_down): Variable removed. - (deadboot): Don't test it. Instead, use ports calls to check if - there are no other live ports. - (trivfs_goaway): Don't set it. - -Wed Nov 15 19:40:44 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * hashexec.c (user_port): Fixed port selection logic. - (check_hashbang): Fixed PATH searching in script name guessing. - -Mon Nov 13 15:11:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (S_exec_startup): Compatibility RPC removed. - - * exec.c (load_section): Catch faults while zeroing partial bss page. - -Sun Nov 5 00:15:07 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Add flags arg to trivfs_startup call. - -Wed Oct 25 15:50:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (S_exec_startup_get_info): New function, modified from - S_exec_startup. - (S_exec_startup): Just call it. - * main.c (exec_demuxer): Call exec_startup_server. - -Tue Oct 24 19:21:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (OBJS): Add exec_startupServer.o. - - * priv.h (struct bootinfo): Use vm_size_t for phdr_size. - -Wed Oct 18 18:36:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * hashexec.c (check_hashbang: prepare_args): Enable and clean up - code to guess the name of the script before resorting to /dev/fd. - -Wed Oct 18 03:05:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * hashexec.c: New file. - * exec.c (struct execdata): Moved to priv.h. - (std_*, finish): Make global. - (do_exec): Only reset CWDIR when null, even if secure. - Actually call check_hashbang and return success if it does. - Use new hurd_file_name_lookup protocol with private callbacks to open - interpreter file on behalf of client. - Remove `bootout' label; use `stdout' or `out' as appropriate instead. - At `out' label always deref BOOT, which cleans it up iff necessary. - (S_exec_exec): #if 0 out $EXECSERVERS processing for time being. - * priv.h: Added some #includes. - (struct execdata): Moved here from exec.c. - (std_*): Declare these. - (finish, check_hashbang): Declare them. - * Makefile (SRCS, OBJS): Add hashexec.[co]. - (DIST_FILES): Remove it from here. - -Wed Oct 11 01:45:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * main.c, priv.h, execmutations.h: New files. - * exec.c: Server mechanics removed; now uses libtrivfs/libports. - Main program split out into main.c. - (std_lock): New variable (rwlock). - (do_exec): Acquire reader lock to access std_ints and std_ports. - (S_exec_setexecdata): Acquire writer lock to change them. - * Makefile (OBJS): Add main.o; remove fsysServer.o, notifyServer.o. - (LCLHDRS): Add priv.h and execmutations.h. - (exec-MIGSFLAGS): New variable. - (exec): Depend on livtrivfs, libthreads, libshouldbeinlibc. - -Mon Oct 2 10:33:14 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * exec.c (do_exec): Doc fix. - -Wed Sep 27 11:21:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (do_exec): Don't set NEWTASK's bootstrap port until after - we have finished completely with OLDTASK. - (do_mach_notify_no_senders): Remove bogus mod_refs call on - receive_portset. - -Wed Sep 20 19:57:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (struct bootinfo): New members `phdr_addr', `phdr_size', - `user_entry'. - (do_exec): Set them. Code rearranged to construct bootinfo before - looking up interpreter file, keep proper track of port rights and - VM copied into bootinfo (there were leaks). - -Sat Sep 16 13:15:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile: Remove vpath directive. - -Fri Sep 8 17:50:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (OTHERLIBS, CPPFLAGS): Disable bfd by default. - -Mon Aug 28 16:57:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (S_fsys_forward): New stub function. - -Sun Jul 30 23:49:49 1995 Michael I. Bushnell, p/BSG <mib@geech.gnu.ai.mit.edu> - * Makefile (SRCS): Added unzip.c, util.c, and inflate.c. - -Thu Jul 6 15:32:39 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * hostarch.c (bfd_mach_host_arch_mach): Remove assignment from - inside if test. - - * Makefile: Removed dependencies that are now automatically - generated. - -Wed Jul 5 18:00:49 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (OTHERLIBS): Define var. - (all, exec): Delete targets. - -Tue Jun 27 11:48:08 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * exec.c (load_section): Remove assignments from if tests. - (map): Likewise. - (prepare): Likewise. - (load): Likewise. - (servercopy): Likewise. - (do_exec): Likewise. - (S_exec_setexecdata): Likewise. - (S_exec_exec): Put extra parens around assignment inside while - test. - -Thu Jun 8 02:57:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (struct execdata.info.elf): Add members `anywhere' and - `loadbase'. - (load_section): Use them; if `anywhere' set, load the section anywhere. - Record load address in `loadbase'. - (check_elf): Initialize `anywhere' and `loadbase'. - (postload): Merged into load. - (load): Perform postload functionality here, after calling - finish_mapping. - (finish): Take new flag arg; deallocate file port only if set. - (do_exec): Pass flag to finish appropriately. - Don't call finish_mapping and postload after load. KLUDGE: Load - the interpreter before the program instead of after. - -Mon Jun 5 06:42:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c: Majorly revamped: Now supports the ELF format directly. - Secondarily uses the BFD library #ifdef BFD. Supports gunzipping - only #ifdef GZIP. - * hostarch.c: Rewritten to unconditionally return both BFD and ELF - machine types. - -Fri May 12 18:59:21 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * exec.c (S_fsys_set_options, S_fsys_mod_readonly): Change from - mod_readonly to set_options. - -Thu Apr 20 22:14:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (check_gzip): Rewind the stream before calling - `get_method'. Open a new BFD on the uncompressed data stream - before return. - -Sun Apr 9 01:27:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (struct execdata) [BFD]: New member `interp_section'. - (check_section): Notice section named ".interp" and set that pointer. - (load_section): Do nothing if the section is zero size. - When reading into our copy of the overlap page, don't read past - the end of the section. - (do_exec): Consolidate new subfunction `check_maybe_gzip'. - If there is an interpreter section, load the interpreter file too, - and use its entry point instead of the user program's. Cleaned up - and made more robust deallocation of BOOT info on error. - (deadboot): New function, split out of do_mach_port_notify_no_senders. - - * Makefile (vpath lib%.a): Add search path. - (exec): Depend on -lbfd and -liberty. - (CPPFLAGS): Append -DBFD; omit -DA_OUT_H=... - (bfdexec): Target removed. - * exec.c (load_section): fseek to desired position before freading. - (input_room): Always map a page-aligned region. - -Thu Feb 9 01:01:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (check_section): Don't check SEC_RELOC flag. - -Wed Feb 8 19:48:11 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * exec.c (load_section) [BFD]: BFD does not set SEC_HAS_CONTENTS - on a.out BSS's ever; don't make zeroing of bss conditional on that. - It's not clear exactly what SEC_HAS_CONTENTS is for anyhow; - perhaps the Right Thing is to set in on BSS. In any case, don't - depend on this flag here. - -Sat Jan 28 17:08:02 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (prepare): Give the stream a seek function. - -Sun Jan 22 03:16:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c: Update BFD code; it works now. - * hostarch.c [BFD]: Fix prototype. - -Thu Jan 19 01:24:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * hostarch.c: Add case for CPU_TYPE_ALPHA. - - * hostarch.c (bfd_mach_host_arch_mach, aout_mach_host_machine): - Use mach_msg_type_number_t instead of unsigned int. Cast - &HOSTINFO to (natural_t *). - -Sun Jan 15 06:29:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c [BFD] (bfd_mach_host_arch_mach): In decl, MACHINE arg is - `long int *' now. - [BFD] (host_bfd_arch_info): New variable. - [BFD] (host_bfd): Initialize `arch_info' member to its address. - (check) [BFD]: Use bfd_arch_get_compatible properly, rather than the - nonexistent bfd_arch_compatible. - (main) [BFD]: Fill in host_bfd.arch_info instead of old - `obj_machine' and `obj_archiecture' members, which BFD no longer has. - * hostarch.c [BFD] (bfd_mach_host_arch_mach): MACHINE arg is `long - int *' now. - -Tue Dec 13 23:28:08 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (OBJS): Add unzip.o util.o inflate.o. - (LCLHDRS): Add gzip.h crypt.h tailor.h. - (unzip.o util.o inflate.o): Depend on those. - (CFLAGS): Use +=. - * inflate.c, unzip.c, util.c, tailor.h, gzip.h, crypt.h: New files. - -Sun Dec 11 19:49:01 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (struct execdata): New members `headbuf', `file_data', - `optimal_block'. - (load_section): Copy data from U->file_data if that is nonnull. - Use new subfunction `write_to_task' that handles non-page aligned - sections. - (input_room): Fix EOF check. - Use io_read if no memory object. - (prepare): New function, broken out of check. - Initialize E->file_data and E->optimal_block. Set - E->stream.__seen bit. - (check): No longer take FILE arg. - Use E->file_data if nonnull; else read from stream if no memory object. - (finish_mapping): Reset members after deallocating resources. - (finish): Likewise. Call fclose. Don't deallocate E->header if - it points to &E->headbuf or E->file_data. - (check_gzip): New function, implements executing gzip'd binaries. - (do_exec): Call prepare before check. - Call check_gzip if file format unrecognized. - -Wed Nov 9 01:40:28 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * exec.c (set_active_trans): Don't deallocate EXECNODE here to - work around a ufs bug. - - * exec.c: Include <hurd/paths.h> and <fcntl.h>. - (set_active_trans): New function. - (S_exec_init): Call set_active_trans. - -Wed Aug 31 11:16:04 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * exec.c (load_section): Pass address of stream in call to fread. - (input_room): Cast second arg to vm_deallocate. Dereference F - in setting __error member. - (close_exec_stream): Provide all three args to vm_deallocate - and cast the second one properly. - -Wed Aug 31 04:32:26 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c (do_exec): Do check before task_suspend. - #if 0'd out: If check gets ENOEXEC, call check_hashbang. - (struct execdata): Move member `stream' outside of [BFD]. - (load_section): Use fread instead of hand mapping and copying - unconditionally (was [BFD]); old code left #if'd out. - (close_exec_stream): Renamed from close_stdio_bfd; moved out of [BFD]. - (input_room): Define unconditionally, not [BFD]. - (check): Set up E->stream unconditionally. - -Tue Aug 30 11:58:27 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * exec.c (S_fsys_syncfs, S_fsys_mod_readonly): New stubs. - - * exec.c (set_init_port): Use new authentication protocol. - - * exec.c (S_exec_exec): Call hurd_file_name_lookup instead - of hurd_path_lookup. - - * exec.c (S_fsys_getroot): Return FS_RETRY_NORMAL instead - of FS_RETRY_NONE. - - * exec.c (procserver): New global variable. - (S_exec_init): Set procserver. - (do_exec): Use `procserver' instead of USEPORT macro. - (S_exec_init): Likewise. - -Mon Aug 29 13:08:44 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * exec.c (do_exec): Enable and fix up code for doing proc_reassign - in the EXEC_NEWTASK case. - (do_exec): If we don't provide the proc port, and this is a - newtask exec, then use the proc port to fetch a new one - corresponding to the new task. - -Wed Aug 17 14:59:58 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * exec.c (S_exec_exec): Bother to pass flags to do_exec. - - * exec.c (essentialstartupport, essentialhostport): Deleted vars. - (S_exec_init): Do startup_essential_task here like before, but - make sure we do it last. - (S_exec_setexecdata): Don't do startup_essential_task here. - -Tue Aug 16 10:02:50 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * exec.c (set_init_port): Don't assume that MACH_PORT_NULL == 0. - (do_exec): Likewise. - -Mon Aug 15 21:23:13 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.c: Include <unistd.h> for getpid decl. - (set_init_port): Use pid_t for PID. - (S_exec_init): Pass poly arg to proc_execdata_notify. - -Mon Aug 15 15:24:45 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * exec.c (do_exec): Finish implementing EXEC_SECURE flag; - implement EXEC_DEFAULTS flag. - (S_exec_init): Delay startup_essential_task until after - we've received the first essential ports from the proc server. - (essentialstartupport essentialhostport): New global vars. - -Fri Jul 22 10:21:30 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile: Rewritten in accord with new scheme. - * exec.c: Include "exec_S.h" instead of "exec_server.h". - Include "notify_S.h". - -Tue Jul 19 20:51:58 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile (exec_server.h execServer.c, fsys_S.h fsysServer.c): - Find .defs file in ../hurd, not $(includedir). - -Tue Jul 19 12:42:32 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * exec.c (S_fsys_getroot): New arg `dotdot'; don't do anything - with it. - (S_fsys_startup): Removed dotdot args. - (main): Deleted var `dotdot'; don't expect it from fsys_startup. - - * Makefile (exec): Don't use variable $(link) anymore. - -Tue Jul 5 14:20:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (SRCS, TAGSHDRS): New variables. - -Fri Jun 24 14:42:59 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * exec.c (load_section) [AOUT, mapstart > addr]: Dereference - U->header in use of N_MAGIC. - -Fri Jun 24 02:40:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * exec.c (load_section): Store protection of section in new local - VM_PROT. If vm_write of overlap page gets KERN_PROTECTION_FAILURE, - change protection of overlap page long enough to write it. - [AOUT]: Return ENOEXEC if there is overlap in NMAGIC or ZMAGIC. - -Thu Jun 16 16:15:17 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * exec.c (S_fsys_getroot): Implement new fsys_getroot interface. - -Mon Jun 13 04:06:24 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * exec.c (check): Store FILE in E->file. - -Tue May 31 17:20:24 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * a.out.h (struct exec): Type removed. - (OMAGIC, NMAGIC, ZMAGIC, N_MAGIC, N_MACHTYPE, N_BADMAG): Macros - removed. Just #include "a.out.gnu.h" to get all these defined. - (N_TXTLEN, N_TXTOFF): Use N_MAGIC instead of a_magic member. - - * Makefile (DIST_FILES): Add a.out.gnu.h. - (exec.o, hostarch.o): Depend on a.out.gnu.h. - -Fri May 27 01:40:04 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * exec.c (servercopy): New function to check the servercopy flag - and possibly vm_allocate a copy of argument data. - (do_exec): Take new args DTABLE_COPY, PORTARRAY_COPY, - INTARRAY_COPY. Use servercopy for ARGV, ENVP, DTABLE, PORTARRAY, - and INTARRAY. - (S_exec_exec): Take those new args and pass them to do_exec. - (S_exec_setexecdata): Take new args PORTS_COPY and INTS_COPY. - Use servercopy for PORTS and INTS. - (S_exec_startup): Never copy from info in *BOOT, always just set - the argument pointers to the pointers in *BOOT. MiG will copy and - deallocate the space as necessary. - - * exec.c (check): Lock and unlock E->cntl->lock properly. - (finish_mapping): New function, broken out of finish. - (postload_section): New function, broken out of load_section. - (postload): New function, like load but calls postload_section. - (do_exec): Call finish_mapping and postload between load and finish. - -Tue May 24 19:49:16 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * exec.c (S_exec_exec): Use strsep instead of strtok. - (main): Keep looping after error from mach_msg_server. - -Tue May 24 14:22:16 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * exec.c (load_section): Cast arg to vm_deallocate properly. - -Tue May 24 01:05:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * exec.c (struct bootinfo): Remove members argv_vmalloc, envp_vmalloc. - (do_exec): Don't set BOOT->argv_vmalloc or BOOT->envp_vmalloc. If - ARGV_COPY is set, vm_allocate space for ARGV; likewise for - ENVP_COPY and ENVP. - (S_exec_startup): Don't test BOOT->argv_vmalloc and - BOOT->envp_vmalloc; BOOT->argv and BOOT->envp are always vm_allocate'd. - (do_mach_notify_no_senders): Likewise. - (load_section): Handle non-bss sections that are not page aligned. - -Mon May 23 22:01:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * exec.c (S_exec_exec): Reverse args to memmem. - (do_exec): Don't vm_deallocate DEALLOCNAMES or DESTROYNAMES; mig - deallocates the space for us. - -Tue May 17 13:33:41 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * exec.c (S_exec_init): Don't deallocate host_priv until after - we've used it in the call to startup_essential_task. - -Thu May 12 03:53:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * exec.c (S_fsys_init): Add reply port args. - -Wed May 11 16:03:07 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * exec.c (S_exec_init): Spelling fix. - - * Makefile (exec.o): Add dependencies on fsys_S.h and notify_S.h. - (fsysServer.c, notifyServer.c): Notice that these rules build - fsys_S.h and notify_S.h respectively. - -Mon May 9 17:06:52 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * exec.c (exec_version, save_argv): New variable. - (main): Set save_argv. - (S_exec_init): Give the real argv to proc. - Call proc_register_version if we can. - (S_exec_init): Call startup_essential_task if we can. - -Thu May 5 06:25:02 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile: Change uses of $(headers) to $(includedir). - - * exec.c: Change return type of all RPC server functions to - kern_return_t. error_t is not compatible with the declarations in - the mig-generated header files. - - * exec.c (do_exec): Set BOOT->stack_base and BOOT->stack_size with - mach_setup_thread. - (S_exec_exec): Pass msg type arg for FILE arg to exec_exec. - -Thu Dec 23 18:05:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * exec.c (do_exec): For a newtask exec when EXEC_SECURE is not set - and OLDTASK is not null, send the `task_create' RPC on OLDTASK - rather than mach_task_self (). diff --git a/ext2fs/ChangeLog b/ext2fs/ChangeLog deleted file mode 100644 index 77e5c139..00000000 --- a/ext2fs/ChangeLog +++ /dev/null @@ -1,1368 +0,0 @@ -2003-08-10 Peter Bruin <pjbruin@dds.nl> - - * ext2_fs.h (i_frag, i_fsize): Drop spurious `;'. - -2007-12-11 Thomas Schwinge <tschwinge@gnu.org> - - * inode.c (read_node, write_node): Use `st->st_atim', `st->st_mtim', - `st->st_ctim'. Suggest what needs to be done in the future. - (read_node): Correctly initialize those. - -2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * dir.c (diskfs_lookup_hard, diskfs_dirempty): Call - diskfs_set_node_atime instead of setting dp->dn_set_atime. - -2005-07-12 Marcus Brinkmann <marcus@gnu.org> - - * pager.c (diskfs_get_filemap): Initialize upi->max_prot to PROT. - -2004-11-08 Ognyan Kulev <ogi@fmi.uni-sofia.bg> - - * storeinfo.c (diskfs_S_file_get_storage_info): Cast -1 to - store_offset_t in conditional operator, instead of implicitly cast - to uint32_t. - -2004-01-10 Roberto Reale <rreale@iol.it> - - * ext2fs.h (ext2_getblk): Fix typo in comment. - * getblk.c (ext2_getblk): Likewise. - * dir.c (diskfs_get_directs): Likewise. - -2002-10-08 Roland McGrath <roland@frob.com> - - * ext2fs.h (struct disknode): New member `info_i_translator'. - * inode.c (diskfs_set_translator): Update NP->dn->info_i_translator. - * ialloc.c (diskfs_alloc_node): Clear a nonzero translator block in - the on-disk inode just as we do for data blocks. - -2002-07-31 Roland McGrath <roland@frob.com> - - * dir.c (diskfs_direnter_hard): Fix test in last change. - -2002-06-08 Roland McGrath <roland@frob.com> - - * inode.c (diskfs_cached_lookup): Use ino_t for argument. - - * ialloc.c (diskfs_free_node): Use %Ld format for ino_t/off_t values. - * pager.c (diskfs_grow, pager_unlock_page): Likewise. - * inode.c (read_node): Likewise. - * dir.c (diskfs_get_directs): Likewise. - - * dir.c (diskfs_direnter_hard): Use size_t for OLDSIZE. - Fail with EOVERFLOW when it would exceed that width. - -2002-04-05 Neal H Walfield <neal@cs.uml.edu> - - * pager.c (diskfs_grow): Correctly recalculate NEW_SIZE. - -2002-05-29 Roland McGrath <roland@frob.com> - - * dir.c (dirscanblock): Use %z format. - (diskfs_get_directs): Likewise. - * ext2fs.c (main): Likewise. - * hyper.c (get_hypermetadata): Likewise. - * pager.c (pager_unlock_page): Likewise. - -2002-05-28 Roland McGrath <roland@frob.com> - - * ext2fs.c (diskfs_append_args): unsigned -> size_t - * dir.c (count_dirents): int -> size_t - (diskfs_get_directs): u_int -> size_t - -2001-11-20 Neal H Walfield <neal@cs.uml.edu> - - * ext2fs.c (diskfs_synchronous): Removing superfluous zero initializer. - (store): Likewise. - (store_parsed): Likewise. - (diskfs_disk_name): Likewise. - (ext2_debug_flag): Likewise. - -2002-04-01 Neal H Walfield <neal@cs.uml.edu> - - * pager.c (diskfs_grow): Fix inverted logic. - -2001-11-20 Neal H Walfield <neal@cs.uml.edu> - - * pager.c (MAX_FREE_PAGE_BUFS): Remove obsolete macro. - (FREE_PAGE_BUFS): New macro. - - (free_page_bufs_lock): Make this global variable local to - get_page_buf. - (free_page_bufs): Likewise. - (num_free_page_bufs): Likewise. - - (get_page_buf): Reimplement using a new caching algorithm - based on preallocation of COW zero pages. - (free_page_buf): Likewise. - - (find_block): Documentation fixes. - -2002-03-11 Roland McGrath <roland@frob.com> - - * Makefile (ext2fs.static): Depend on - $(boot-store-types:%=../libstore/libstore_%.a). - -2002-01-03 Roland McGrath <roland@frob.com> - - * inode.c (write_node): Never clear i_translator here. - That is only done by diskfs_set_translator. - -2001-11-21 Roland McGrath <roland@frob.com> - - * inode.c (read_node): Just always call getpid for the fsid value. - -2001-08-17 Marcus Brinkmann <marcus@gnu.org> - - * ialloc.c (diskfs_alloc_node): Remove warnings about stale - nonzero st_blocks or st_size. - -2001-08-16 Roland McGrath <roland@frob.com> - - * inode.c (write_node): Leave i_size, i_blocks, i_translator unchanged - when the inode has been deleted. Suggested by Marcus Brinkmann. - - * dir.c (diskfs_dirremove_hard): Remove redundant DP->dn_set_mtime set. - Noticed by Marcus Brinkmann. - -2001-08-09 Roland McGrath <roland@frob.com> - - * inode.c (diskfs_get_translator): Fail with EFTYPE if the length - field stored on disk is unreasonable. Don't crash on ENOMEM. - Use memcpy instead of bcopy. - -2001-06-09 Mark Kettenis <kettenis@gnu.org> - - * inode.c (diskfs_set_statfs): If number of free blocks is less - than the number of reserved blocks, set the number of available - blocks to 0. - -2001-03-03 Roland McGrath <roland@frob.com> - - * hyper.c (zeroblock, modified_global_blocks): Remove superfluous - zero initializers. - (allocate_mod_map): Likewise for static here. - (get_hypermetadata): Don't munmap old ZEROBLOCK, just keep it. - Allocate ZEROBLOCK with PROT_READ. - -2001-02-28 Roland McGrath <roland@frob.com> - - * dir.c (count_dirents): Check for bogus rec_len having pushed us past - the end. - -2001-01-08 Marcus Brinkmann <marcus@gnu.org> - - * ext2fs.c (main): Use %Ld instead %ld to print store->size. - * hyper.c (get_hypermetadata): Likewise. - -2001-01-07 Marcus Brinkmann <marcus@gnu.org> - - * dir.c: Make diskfs_dirstat_size const. - -2000-12-21 Marcus Brinkmann <marcus@gnu.org> - - * pager.c: Include <errno.h>. - (create_disk_pager): Panic if malloc fails. - Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>. - - * inode.c (diskfs_get_translator): If malloc fails, set err to ENOMEM. - Initialize err with 0, and return it at the end of the function. - Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>. - -2000-12-02 Roland McGrath <roland@frob.com> - - * inode.c (write_all_disknodes): Call diskfs_set_node_times after - pokel_sync, since it might delay a little. - (write_node): Remove assert that dn_set_mtime et al are clear. - It is ok if they are set in parallel, because the latter setting - will be carried out eventually. - -2000-10-01 Roland McGrath <roland@frob.com> - - * truncate.c (diskfs_truncate): Use & instead of %. - -2000-11-30 Marcus Brinkmann <marcus@gnu.org> - - * dir.c (diskfs_lookup_hard): If name is too long, clear - DS before returning ENAMETOOLONG. - -2000-10-01 Roland McGrath <roland@frob.com> - - * inode.c (write_node): Use memcpy instead of a loop. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile (HURDLIBS): Reorder libs such that the threads lib - comes before the ports lib. This makes sure the functions in - libthreads properly override the stubs in libports with the new - dynamic linker semantics in glibc 2.2. - -2000-07-26 Marcus Brinkmann <marcus@gnu.org> - - * truncate.c (trunc_indirect): Add missing argument to - pager_flush_some. - -2000-07-25 Thomas Bushnell, BSG <tb@mit.edu> - - * truncate.c (trunc_indirect): Before freeing an indirect block, - remove it from the disk pager's kernel cache. - -2000-03-09 Roland McGrath <roland@baalperazim.frob.com> - - * balloc.c (ext2_free_blocks, ext2_new_block): Fix formats to avoid - -Wformat warnings. - * getblk.c (ext2_alloc_block, inode_getblk, ext2_getblk): Likewise. - * ialloc.c (ext2_count_free_inodes): Likewise. - * truncate.c (trunc_direct): Likewise. - * pager.c (pending_blocks_write, diskfs_grow): Likewise. - -2000-03-03 Roland McGrath <roland@baalperazim.frob.com> - - * dir.c (diskfs_get_directs): Don't allocate buffer for *DATA until - after scanning for ENTRY and possibly returning EOF. - -2000-02-05 Roland McGrath <roland@baalperazim.frob.com> - - * ext2_fs.h: Update from Linux 2.3.42 version (ext2_fs_i.h unchanged). - * inode.c (check_high_bits): In accordance with Linux 2.3.42 behavior, - permit 32-bit uids on non-hurd filesystems unless i_dtime is zero - (which indicates an extra old Linux ext2 implementation I guess). - -2000-01-16 Mark Kettenis <kettenis@gnu.org> - - * pager.c (file_pager_write_page): Lock NODE->dn->alloc_lock - before accessing NODE->allocsize. Fixes Debian bug #40302. - -1999-10-13 Roland McGrath <roland@baalperazim.frob.com> - - * ext2fs.c (diskfs_name_max): New variable. - -1999-10-06 Roland McGrath <roland@baalperazim.frob.com> - - * hyper.c (get_hypermetadata): Avoid overflow in calculation of disk - size vs superblock-specified requirement. - Add a warning for wasted disk blocks after last filesystem block. - -1999-10-03 Roland McGrath <roland@baalperazim.frob.com> - - * dir.c (ext2_file_type): #if 0 out this variable. - (diskfs_get_directs): #if 0 out code to interpret file_type field - and set d_type. Instead, always return DT_UNKNOWN for now. - - * dir.c (file_type_ext2): #if 0 out. - (diskfs_direnter_hard): #if 0 out code to set file_type field in - directory entries. Instead, always set it to zero. - -1999-10-03 Roland McGrath <roland@baalperazim.frob.com> - - * bitmap.c (ffz): Subtract one from (1-origin) result of ffs to get - our (0-origin) result. - - * Makefile (LCLHDRS): bitmap.h -> bitmap.c - - * ext2fs.h (test_bit, set_bit, clear_bit): Rewritten to operate on - 32-bit words instead of bytes. - - * truncate.c (diskfs_truncate): Add missing call to - diskfs_end_catch_exception. - - * ext2fs.h (group_desc): Inline function replaced with macro. - (group_desc_image): New variable. - * hyper.c (get_hypermetadata): Initialize it. - - * ext2fs.h (sblock_block): Declare new variable. - (SBLOCK_LBLOCK): Macro removed. - (SBLOCK_OFFS): Define in terms of sblock_block. - * ext2fs.c (options): Add --sblock/-S. - (parse_opt): Parse it to set sblock_block. - * hyper.c (sblock_block): New variable. - (get_hypermetadata): Use sblock_block instead of constant SBLOCK_BLOCK. - - * ext2fs.c (options): List --debug/-D unconditionally, adding to help - text #ifndef EXT2FS_DEBUG - (parse_opt): Always grok -D. #ifndef EXT2FS_DEBUG, reject it with - message saying debugging support not compiled in. - - * hyper.c (get_hypermetadata): Use EXT2_MAX_BLOCK_SIZE instead of - hard-wired 8192. Don't use ffs to compute log2_block_size, and don't - check for the impossible case of non-power-of-two block size (the - block size specification we start with is given as a power of two!). - * ext2fs.h (block_size): Change type to unsigned int. - (BLOCKSIZE_SCALE): Just use SBLOCK->s_log_block_size directly. - * hyper.c (get_hypermetadata): Fix printf formats to silence warning. - * dir.c (dirscanblock): Likewise. - - * dir.c (file_type_ext2): New const variable, map DT_* -> EXT2_FT_*. - (diskfs_direnter_hard): Move initialization of directory entry content - fields out of switch; use memcpy or memmove as appropriate, instead of - bcopy. Set file_type field in new directory entry to appropriate - type for the node, or to zero if the filesystem doesn't have the - EXT2_FEATURE_INCOMPAT_FILETYPE flag set. - -1999-10-02 Roland McGrath <roland@baalperazim.frob.com> - - * ext2fs.h (SBLOCK_LBLOCK): New macro, filesystem block number of sb. - (BLOCKSIZE_SCALE): New macro for converting min-blocks to fs blocks. - (group_desc): Fix calculation of offset from superblock, so it works - properly with block_size != EXT2_MIN_BLOCK_SIZE. - - * ext2fs.h (EXT2FS_EI): New macro, use it for all extern inlines. - - * bitmap.c (count_free, find_next_zero_bit, find_first_zero_bit): - Make these all static inline. - (ffz, ffz_nibble_map): Function and variable removed. - (ffz): Replace decl with macro defined in terms of ffs. - * ext2fs.h (count_free, find_next_zero_bit, find_first_zero_bit, ffz): - Remove these declarations. - * Makefile (SRCS): Remove bitmap.c. - (LCLHDRS): Add bitmap.c here instead. - * balloc.c, ialloc.c: #include "bitmap.c" here. - -1999-10-01 Roland McGrath <roland@baalperazim.frob.com> - - * bitmap.c (memscan): Function removed. - * ext2fs.h: Removed its decl. - * balloc.c (memscan): New static function, defined using memchr. - -1999-09-13 Roland McGrath <roland@baalperazim.frob.com> - - * dir.c, truncate.c, pager.c: Reverted changes related to - io_map_segment. - -1999-09-09 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (makemode): server -> servers. - (targets): Replaced with target; remove ext2fs.static. - (ext2fs.static-LDFLAGS): Variable removed. - (ext2fs, ext2fs.static): Remove deps. - -1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> - - * dir.c (diskfs_lookup_hard): Pass additional parameter to - diskfs_get_filemap. - (diskfs_dirempty): Likewise. - * truncate.c (force_delayed_copies): Likewise. - * pager.c (diskfs_get_filemap): Accept additional parameter. - -1999-09-04 Thomas Bushnell, BSG <tb@mit.edu> - - * pager.c (file_pager_write_page): Don't report errors on writes - that extend past NODE->allocsize. This avoids a race between sync - and truncate. Reported by Mark Kettenis <kettenis@wins.uva.nl>. - -1999-08-23 Roland McGrath <roland@baalperazim.frob.com> - - * ext2_fs.h, ext2_fs_i.h: Replaced with Linux 2.3.14 versions. - * ext2fs.h (i_mode_high): New macro, missing from ext2_fs.h. - - * inode.c (read_node): Don't set INFO->i_version. - Extract INFO->i_dir_acl value only for a directory; - otherwise use zero and instead extract INFO->i_high_size. - Fail with EFBIG if INFO->i_high_size is nonzero. - - * ialloc.c (diskfs_alloc_node): Propagate initial value of i_flags - from directory, as Linux 2.3.14 does. - - * inode.c (write_node): Get i_flags from NP->dn->info instead of from - the disk inode, so we can have modified the in-core version. - * dir.c (diskfs_direnter_hard, diskfs_dirremove_hard, - diskfs_dirrewrite_hard): Clear EXT2_BTREE_FL flag bit from - DP->dn->info.i_flags after modifying the directory (this is what - Linux 2.3.14 does). - - * inode.c (read_node): i_version -> i_generation - * inode.c (write_node): Likewise. - - * balloc.c (ext2_free_blocks): Handle freeing across group boundary, - as Linux 2.3.14 does. - - * balloc.c (ext2_check_blocks_bitmap): If RO_COMPAT_SPARSE_SUPER - feature flag is set, or if group number is not a power of 3, 5, or 7 - (I don't know why; this is what Linux 2.3.14 does), skip tests for - superblocks and descriptor blocks being free in bitmap. - - * dir.c: Replace `struct ext2_dir_entry' with `struct ext2_dir_entry_2' - in all uses. - (ext2_file_type): New static const variable. - (diskfs_get_directs): Set d_type member based on file_type field in - directory entry. - - * balloc.c (ext2_new_block): Take new arg PREALLOC_GOAL. - Use that instead of hard-coded 8 as maximum of blocks to preallocate. - Also test that instead of PREALLOC_COUNT to decide whether to - try any preallocation at all. - * getblk.c (ext2_alloc_block): Pass new arg to ext2_new_block. - Use EXT2_DEFAULT_PREALLOC_BLOCKS as default (replaces hard-coded 8); - For a regular file, use SBLOCK->s_prealloc_blocks before default. - For a directory, use SBLOCK->s_dir_prealloc_blocks if the - EXT2_FEATURE_COMPAT_DIR_PREALLOC flag is set, otherwise zero. - * inode.c (diskfs_set_translator): Pass new arg (zero). - -1999-07-11 Roland McGrath <roland@baalperazim.frob.com> - - * dir.c (diskfs_get_directs): Fix sloppy bugs in last change. - * hyper.c (allocate_mod_map): Likewise. - * pager.c (get_page_buf): Likewise. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * ext2fs.h: Add #include <sys/mman.h> for munmap decl. - -1999-07-06 Thomas Bushnell, BSG <tb@mit.edu> - - * dir.c (diskfs_get_directs): Use mmap instead of vm_allocate. - * hyper.c (allocate_mod_map): Likewise. - (get_hypermetadata): Likewise. - * pager.c (get_page_buf): Likewise. - - * hyper.c (diskfs_readonly_changed): Use mprotect instead of - vm_protect. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * dir.c (diskfs_lookup_hard): Use munmap instead of vm_deallocate. - (diskfs_direnter_hard): Likewise. - (diskfs_dirremove_hard): Likewise. - (diskfs_dirrewrite_hard): Likewise. - (diskfs_dirempty): Likewise. - (diskfs_drop_dirstat): Likewise. - (diskfs_get_directs): Likewise. - * hyper.c (allocate_mod_map): Likewise. - (get_hypermetadata): Likewise. - * pager.c (free_page_buf): Likewise. - * truncate.c (poke_pages): Likewise. - -1999-06-29 Thomas Bushnell, BSG <tb@mit.edu> - - * hyper.c (diskfs_readonly_changed): Adjust whether the store - should permit writes too. - -1999-06-19 Roland McGrath <roland@baalperazim.frob.com> - - * pager.c (free_page_buf): Fix type cast. - -Tue Jun 15 21:51:58 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * pager.c: Clamp the number of free pages we keep around to some - reasonably small value. Patch from Mark Kettenis - <kettenis@wins.uva.nl>. - -1999-06-15 Thomas Bushnell, BSG <tb@mit.edu> - - * inode.c (diskfs_validate_flags_change): Invert sense of test wrt - bits that haven't yet been defined. Reported by Kalle Olavi - Niemitalo <tosi@ees2.oulu.fi>. - -1999-05-23 Roland McGrath <roland@baalperazim.frob.com> - - * ialloc.c (diskfs_alloc_node): Frob printf format to suppress warning. - * getblk.c (ext2_getblk): Likewise. - * balloc.c (ext2_free_blocks): Likewise. - * hyper.c (get_hypermetadata): Likewise. - - * ialloc.c (diskfs_alloc_node): If creator_os is not EXT2_OS_HURD, - suppress warnings about stale nonzero st_blocks or st_size. - -1999-05-19 Roland McGrath <roland@baalperazim.frob.com> - - * ext2fs.c (main): Include store size in panic msg when it's too small. - -1999-01-23 Roland McGrath <roland@baalperazim.frob.com> - - * ext2fs.c (main): Use diskfs_init_main. - -1998-12-27 Roland McGrath <roland@baalperazim.frob.com> - - * inode.c (diskfs_set_statfs): Remove __ from struct members. - -1998-12-21 Mark Kettenis <kettenis@phys.uva.nl> - - * inode.c (diskfs_set_statfs): Fill in statfs members that are - used to implement statvfs. - -1998-12-27 Roland McGrath <roland@baalperazim.frob.com> - - * ext2fs.c (main): Pass ARGP_IN_ORDER flag to argp_parse because - diskfs options need it. - -1998-12-20 Roland McGrath <roland@baalperazim.frob.com> - - * inode.c (diskfs_write_disknode): Add braces to silence warning. - * pager.c (file_pager_read_page): Likewise. - - * storeinfo.c: Don't include <netinet/in.h>. - -1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - - * dir.c (dirscanblock): Fix defn with `const'. - (diskfs_direnter_hard): Likewise. - * inode.c (diskfs_create_symlink_hook): Likewise. - (write_symlink): Likewise. - - * pager.c: strings.h -> string.h; gets strerror decl. - - * ext2fs.c (main): Fix return type to int. - - * dir.c (diskfs_lookup_hard): Fix defn with `const'. - * inode.c (diskfs_set_translator): Likewise. - -Wed Aug 20 14:28:00 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * 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. - -Mon Jun 30 17:34:27 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ext2fs.c (diskfs_readonly): Delete variable definition. - (main): If the store cannot be made writable, then set - diskfs_hard_readonly and diskfs_readonly. - -1997-06-20 Miles Bader <miles@gnu.ai.mit.edu> - - * pager.c (disk_pager_read_page): Initialize READ to 0 to force - store_read to allocate a buffer. - -1997-06-18 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.c (main): Get rid of device-block-size-is-power-of-2 check. - -Tue Jun 3 17:18:35 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (read_node): Don't assert that st_blocks is zero for - non-dir/file/long-symlink inodes. - -Tue Nov 19 18:30:37 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (read_node): If SBLOCK->s_creator_os != EXT2_OS_HURD, - set NP->author_tracks_uid to true. - -Mon Nov 18 17:14:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ialloc.c (diskfs_alloc_node): Clear S_IPTRANS bit in ST->st_mode - instead of NP->istranslated. - * inode.c (read_node): Set S_IPTRANS bit in ST->st_mode (and clear - S_ITRANS) rather than NP->istranslated. - (write_node): Don't write S_IPTRANS to disk. - (diskfs_set_translator): Frob S_IPTRANS bit rather than - istranslated field. - -Sat Nov 16 17:26:20 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * storeinfo.c (diskfs_S_file_get_storage_info): diskfs_isuid -> - idvec_contains. - -Tue Nov 12 17:53:08 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (diskfs_validate_flags_change): New function. - (write_node): Convert generic flags in ST->st_flags to ext2- - specific flags in DI->i_flags. - (read_node): Renamed from read_disknode; all callers changed. - Convert ext2-specific flags on disk to generic flags in ST. - [!UF_APPEND] (UF_APPEND): New macro (temporary). - [!UF_NODUMP] (UF_NODUMP): New macro (temporary). - [!UF_IMMUTABLE] (UF_IMMUTABLE): New macro (temporary). - <sys/stat.h>: New include. - -Thu Oct 24 16:24:05 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.c (startup_children, runtime_children): New variables. - (startup_parents, runtime_parents): Variables removed. - (startup_argp, runtime_argp): Use new *_CHILDREN variables instead of - corresponding *_PARENT ones. - -Wed Oct 9 13:30:15 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (diskfs_S_file_get_storage_info): Return ports with - MACH_MSG_TYPE_COPY_SEND, not MACH_MSG_TYPE_MAKE_SEND. - -Tue Oct 8 23:25:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (diskfs_S_file_get_storage_info): If st_size - indicates a lower value for NUM_FS_BLOCK, use it instead of the - value derived from st_blocks. - -Mon Oct 7 15:48:49 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (diskfs_S_file_get_storage_info): Typo. - -Fri Oct 4 23:51:05 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (diskfs_S_file_get_storage_info): Add security - check, and deactivate FILE_STORE if necessary. - -Mon Sep 30 15:40:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (diskfs_S_file_get_storage_info): Set *PORTS_TYPE. - -Thu Sep 19 17:57:07 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): Add store. - -Wed Sep 18 15:28:32 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.c (main): Remove CLASSES argument to store_parsed_open. - Use STORE_PARAMS variable to get result from parsing STORE_ARGP. - (diskfs_extra_version): Put `GNU Hurd' in here. - -Fri Sep 13 00:15:56 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.c (diskfs_append_args): Renamed from diskfs_get_options. - Don't initialize *ARGZ & *ARGZ_LEN anymore, or deallocate on errors. - Append store args too. - - * pager.c (file_pager_read_page:do_pending_reads, pager_unlock_page, - pending_blocks_write, diskfs_grow, find_block): Use filesystem blocks, - not device blocks, in block<->offset/size conversions. - - * Makefile (ext2fs ext2fs.static): Add ../libstore/libstore.a. - -1996-09-12 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.c (diskfs_disk_name): Renamed from STORE_NAME. - -Wed Sep 11 12:59:28 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * pager.c (create_disk_pager): Create PAGER_BUCKET. Pass in new - args to diskfs_pager_setup (renamed from disk_pager_setup). - (disk_image): New variable. - (service_paging_request): Function removed. - (diskfs_shutdown_pager): Use DISKFS_DISK_PAGER instead of DISK_PAGER. - * ext2fs.h (disk_image): New declaration. - (sync_global_ptr): Use DISKFS_DISK_PAGER instead of DISK_PAGER. - * ext2fs.c (main, diskfs_reload_global_state): Use - DISKFS_DISK_PAGER instead of DISK_PAGER. - - * ext2fs.c (main): Change store_parsed_get_name to store_parsed_name. - - * storeinfo.c (diskfs_S_file_get_storage_info): Clone STORE before - remapping it. - -Tue Sep 10 17:12:16 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (diskfs_S_file_get_storage_info): Rewritten to use - store functions. - -Mon Sep 9 11:10:11 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.c (main): Use store fields instead of diskfs variables. - (store, store_parsed, store_name): New variables. - (free_page_bufs, free_page_bufs_lock): Variables removed. - (get_page_buf, free_page_buf): Functions removed. - <argp.h>, <hurd/store.h>: New includes. - * ext2fs.h (store_parsed, store_name): New declarations. - (get_page_buf, free_page_buf): Declarations removed. - * hyper.c <hurd/store.h>: New include. - * pager.c <hurd/store.h>: New include. - (file_pager_write_pager): Make BUF void *. - (file_pager_read_page): Make BUF void **, NEW_BUF void *, and - LENGTH size_t. Pass &LENGTH to store_read, not LENGTH. - (pending_blocks_write): Make PAGE_BUF void *, and LENGTH size_t. - Check amount written, and return EIO if it's wrong. - (disk_pager_read_page): Make BUF void **, and LENGTH size_t. - Check amount read, and return EIO if it's wrong. - (disk_pager_write_page): Make BUF void *, and LENGTH size_t. - Check amount written, and return EIO if it's wrong. - (pager_read_page, pager_read_page): Convert BUF to a pointer when - calling work functions. - (struct pending_blocks): Make BUF void *. - (free_page_bufs, free_page_bufs_lock): New variables. - (get_page_buf, free_page_buf): New functions. - -Sun Sep 8 18:47:10 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * hyper.c (diskfs_readonly_changed): Use STORE->size. - (get_hypermetadata): Use STORE->size & STORE->block_size. - - * pager.c (file_pager_read_page, pending_blocks_write, - disk_pager_read_page, disk_pager_read_page, disk_pager_write_page, - pager_report_extent, find_block, pager_unlock_page, diskfs_grow): - Use store_ operations instead of the old device ones, and some - store fields instead of globals. - * inode.c (read_disknode): Use STORE->log2_block_size instead of - LOG2_BLOCK_SIZE. - * ext2fs.h (store): New declaration. - * ext2fs.c (startup_parents): Use diskfs_store_startup_argp - instead of diskfs_std_device_startup_argp. - (startup_parents, startup_argp, runtime_parents, runtime_argp, - options, parse_opt, diskfs_get_options): - Define always, not just when EXT2FS_DEBUG is defined. - (parse_opt): Propagate our input to the first child argp. - (parse_opt, diskfs_get_options): Guard debug-specific bits with - #ifdef EXT2FS_DEBUG. - -Thu Sep 12 16:41:20 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (ext2fs ext2fs.static): Depend on $(library_deps) instead of - explicit list. - -Fri Sep 6 16:03:11 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ext2fs.c: Include <version.h>. - (diskfs_major_version, diskfs_minor_version, diskfs_edit_version): - Deleted variables. - (diskfs_server_version): New variable. - -Thu Aug 29 16:59:51 1996 Miles Bader <miles@gnu.ai.mit.edu> - - Changes from ufs/dir.c: - * dir.c (diskfs_lookup_hard): When setting ds->stat to EXTEND, set - ds->idx by looking at the size of the file. After successful - dirscanblock, record index where we finished in DP->dn->dir_idx. - Start searches at that index. - (dirscanblock): Size dirents correctly when mallocing it. - (diskfs_direnter_hard): Be more careful when sizing or resizing - dirents. Correctly set to -1 all the new entries we create after - realloc call. - * ext2fs.h (struct disknode): New member `dir_idx'. - * inode.c (diskfs_cached_lookup): Initialize DN->dir_idx. - - * dir.c (diskfs_direnter_hard): Initialize OLDSIZE to quiet gcc. - -Sun Aug 18 01:45:42 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * pager.c (file_pager_read_page): Use get_page_buf to get a free page. - (file_pager_read_page): Use free_page_buf to deallocate pages. - * ext2fs.c (get_page_buf): Return 0 if we can't allocate. - -Thu Aug 15 14:55:01 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.c (diskfs_edit_version): Change to `1'. - (diskfs_version_extra): New variable. - * inode.c (read_disknode): Change assertion to allow non-zero - st_size for anything, but assert that st_blocks == 0 for any case - where we set allocsize to 0. - * truncate.c (diskfs_truncate): Allow any sort of node to have a - size without any blocks (as linux apparently does this sometimes - with devices). - -Wed Aug 14 14:03:33 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.c (diskfs_minor_version): Change to `2'. - -Tue Aug 13 15:11:42 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2_fs.h: Update to version from linux-2.0.12. - * ialloc.c (ext2_alloc_inode, diskfs_free_node): Pass SBLOCK as a - parameter to EXT2_FIRST_INO (v2.x change). - * hyper.c (get_hypermetadata): Use EXT2_INODE_SIZE instead of - sizeof (struct ext2_inode). - Deal with various version 2.x features. - * ext2fs.h (dino): Dont recalculate INODES_PER_BLOCK here. - (ext2_debug): redefine macro after including ext2_fs.h. - -Mon Aug 12 13:48:17 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.c (diskfs_minor_version): Changed to `1'. - - * inode.c (read_disknode): Don't set allocsize for in-inode symlinks. - (MAX_INODE_SYMLINK): New macro. - (write_symlink, read_symlink): New functions. - (diskfs_create_symlink_hook, diskfs_read_symlink_hook): New variables. - * truncate.c (diskfs_truncate): For in-inode symlinks, just frob - the size. - - * ext2fs.h (__u32, __u16, __u8, __s32, __s16, __s8): New types. - * ext2_fs.h (u32, u16, u8, s32, s16, s8): All uses of these types - changed to have a leading `__', and the definitions removed. - * ext2_fs_i.h (u32, u16, u8, s32, s16, s8): All uses of these types - changed to have a leading `__'. - -Mon Aug 12 11:18:37 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * hyper.c (diskfs_set_hypermetadata): Return an error code now. - -Fri Aug 2 12:10:40 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (diskfs_write_disknode): If WAIT is false, still record - the write for later, using record_global_poke. - -Thu Aug 1 16:18:59 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2_fs.h (ext2_debug_flag): New decl. - (ext2_debug): Pay attention to EXT2_DEBUG_FLAG. - * ext2fs.c [EXT2FS_DEBUG] (options, ext2_debug_flag): New variables. - [EXT2FS_DEBUG] (parse_opt, diskfs_get_options): New functions. - [EXT2FS_DEBUG] (startup_parents, startup_argp, runtime_parents, - diskfs_runtime_argp): New variables. - [!EXT2FS_DEBUG] (startup_argp): New macro. - (main): Use STARTUP_ARGP instead of DISKFS_STD_DEVICE_STARTUP_ARGP. - * pager.c (diskfs_grow): Fix ext2_debug format strings. - * truncate.c (trunc_direct): Fix ext2_debug call. - -Sat Jul 20 00:58:44 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.h (struct disknode): Remove debugging info. - (RECORD_LAST): Function removed. - (LAST_BUFSZ): Macro removed. - (enum last_act): Type removed. - * inode.c (diskfs_cached_lookup): Don't initialize debugging info. - * pager.c (file_pager_read_page, file_pager_write_page, - pager_unlock_page, diskfs_grow): Don't record debugging info. - * truncate.c (diskfs_truncate): Likewise. - - * pager.c (file_pager_read_page): Set - NODE->dn->last_page_partially_writable if we return such a page. - -Fri Jul 19 15:02:24 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * pager.c (diskfs_grow): Rename OLD_END_BLOCK to END_BLOCK. - Correctly determine whether to set DN->last_page_partially_writable - after allocating new blocks. - - * pager.c (file_pager_read_page, file_pager_write_page): Pass - NODE->dn, not &NODE->dn to RECORD_LAST. - -Mon Jul 15 18:00:26 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.h (struct disknode): Add debugging info. - (RECORD_LAST): New function. - (LAST_BUFSZ): New macro. - (enum last_act): New type. - * pager.c (pager_unlock_page, diskfs_grow, file_pager_read_page, - file_pager_write_page): Record debugging info. - * truncate.c (diskfs_truncate): Likewise. - * inode.c (diskfs_cached_lookup): Initialize debugging info. - - * pager.c (file_pager_read_page): Initialize *WRITELOCK to 0. - -Tue Jun 25 12:22:21 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.h (sync_global): Renamed from sync_global_data. Add WAIT - flag. Don't call diskfs_set_hypermetadata. - (alloc_sync): Call diskfs_set_hypermetadata instead of sync_global_data. - (sync_super_block): Function removed. - * hyper.c (diskfs_readonly_changed): No longer clear the clean bit. - (diskfs_set_hypermetadata): Work correctly. - * truncate.c (diskfs_truncate): Add call diskfs_check_readonly to - clear clean bit. - * inode.c (diskfs_cached_lookup): Use diskfs_check_readonly - instead of diskfs_readonly. - * dir.c (diskfs_lookup_hard, diskfs_dirempty): Likewise. - * pager.c (diskfs_shutdown_pager): Don't shutdown the disk pager, - just sync it. - (diskfs_sync_everything): Call sync_global instead of pokel_sync. - (final_sblock): Variable removed. - (diskfs_grow): Add call diskfs_check_readonly to clear clean bit. - -Mon Jun 24 17:14:25 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (check_high_bits, diskfs_validate_owner_change, - diskfs_validate_group_change, diskfs_validate_mode_change, - diskfs_validate_author_change): New functions. - (write_node): For non-hurd filesystems, assert that no hurd - extensions should be used. - -Thu Jun 20 22:36:23 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.c (main): Rename diskfs_device_startup_argp to - diskfs_std_device_startup_argp. - -Sat Jun 15 15:56:01 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (read_disknode, write_inode): Use hurd-specific fields - only on a hurd filesystem. - -Fri May 10 09:32:43 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * inode.c (diskfs_set_statfs): Fix one reference to old name of ST - member. - -Thu May 9 11:52:20 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * inode.c (diskfs_set_statfs): Expect and fill in new format - statfs buffer. - - * Makefile (ext2fs ext2fs.static): s/ioserver/iohelp/g. - * ext2fs.h: ioserver.h -> iohelp.h. - -Tue May 7 16:22:56 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (diskfs_S_file_get_storage_info): Rewrite for new - interface. - -Tue Apr 30 12:51:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (targets): Renamed from `target'. - -Fri Apr 26 16:10:19 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (makemode): Now `servers'. - (targets): Renamed from `target'; now include ext2fs.static. - (ext2fs.static-LDFLAGS): Renamed from `LDFLAGS'. - (ext2fs.static): Depend on same things as `ext2fs'. - (include ../Makeconf): Must come before dependency information. - -Wed Apr 17 13:30:49 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (diskfs_write_disknode): Only sync DI if WAIT. - - * dir.c (diskfs_lookup_hard): Set atime appropriately, and sync - the new atime if we are running synchronously (!). - (diskfs_dirempty): Likewise. - (diskfs_direnter_hard): Set mtime appropriately. - (diskfs_dirremove_hard): Likewise. - (diskfs_dirrewrite_hard): Likewise. - -Thu Apr 4 18:51:19 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (diskfs_cached_lookup): Renamed from iget; all uses updated. - Initialize the CACHE_ID field in the new node. - * ext2fs.h (struct disknode): Get rid of NUMBER field; all references - replaced by references to the CACHE_ID field in the corresponding node. - -Fri Mar 29 11:03:58 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * dir.c (diskfs_null_dirstat): New function. - (diskfs_lookup_hard, diskfs_direnter, diskfs_dirremove_hard, - diskfs_dirrewrite_hard): Renamed from versions without `_hard' suffix. - Get rid of stuff now done by diskfs. - - * ext2fs.c (main): Pass new argument to argp_parse. - -Tue Mar 19 17:52:04 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * pager.c (pager_unlock_page, diskfs_grow): Try to make the logic - a bit simpler and more robust. - -Fri Feb 16 17:05:01 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.c (main): Check error return from diskfs_init_diskfs. - -Tue Feb 6 14:49:40 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.h (ext2_warning): Make a declaration, not a macro. - * msg.c (ext2_warning): Rename from _ext2_warning; don't take (or - print) a function argument any more. - - * dir.c (diskfs_get_directs): When BUFSIZ is 0, allocate enough - extra space over the directory size to account for the worst case - difference between the ext2 and canonical formats. - -Sat Feb 3 11:27:07 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * hyper.c (get_hypermetadata, diskfs_readonly_changed): Use - ext2_warning to print warnings instead of error(). - * msg.c (_ext2_warning): Include `warning:' in message. - -Sat Feb 3 06:10:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * hyper.c: Fixed handling of the filesystem `clean bit'. - (ext2fs_clean): New boolean variable. - (get_hypermetadata): Set it iff the clean bit is set on entry. - If not clean, complain and force read-only. - (diskfs_set_hypermetadata): Set clean bit only if ext2fs_clean is set. - (diskfs_readonly_changed): Complain if going writable and clean - bit clear. - - * ext2fs.c: Include string.h for strerror decl. - -Tue Jan 30 22:25:19 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * hyper.c (get_hypermetadata): Don't return any error value, just - panic if we can't read the superblock. - * ext2fs.c (main): Move warp_inode() inline. Make sure root inode - is really there. Don't check return value from get_hypermetadata. - (warp_inode): Function removed. - * ext2fs.h (get_hypermetadata): Returns void now. - -Tue Jan 30 17:04:41 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * pager.c (file_pager_read_page, file_pager_write_page): Check for - a page offset beyond the allocsize and return EIO. - -Wed Jan 17 15:11:55 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (diskfs_S_file_get_storage_info): Calculate the - right value for *RUNS_LEN. - -Tue Jan 16 17:37:00 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * pager.c (diskfs_file_update): Ext2fs doesn't require that the - last block in the file always be allocated, so don't. - (diskfs_grow, pager_unlock_page): Don't set last_block_allocated. - * ext2fs.h (struct disknode): Get rid of last_block_allocated field. - * inode.c (read_disknode): Don't set last_block_allocated. - * truncate.c (diskfs_truncate): Likewise. - - * Makefile (LDFLAGS): Add -static. - -Mon Jan 15 10:25:19 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * pager.c (pager_unlock_page, diskfs_grow): Leave things in a - slightly more consistent state when block allocation errors happen. - - * dir.c (diskfs_direnter): Don't include the terminating '\0' in - on-disk directory entry names. - - * inode.c (diskfs_node_norefs): When losing our in-core copy of an - inode, remember which indirect blocks still have to be written. - * pokel.c (pokel_inherit, pokel_finalize): New functions. - * ext2fs.h (pokel_inherit, pokel_finalize): New declarations. - - * dir.c (diskfs_lookup): Patch from ufs/dir.c: If we are returning - an error, then set the dirstat to be ignored by drop_dirstat. - -Sun Jan 14 13:17:33 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ialloc.c (diskfs_alloc_node): Set NP->istranslated to 0. - * inode.c (write_node): If NP isn't translated, force - DI->i_translator to 0. - - * getblk.c (inode_getblk, block_getblk): Set dn_set_mtime too. - -Sat Jan 6 11:57:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * pager.c (pager_bucket): Made global. - (create_disk_pager): Pass MAY_CACHE to disk_pager_setup. - * ext2fs.c (main): Don't map in disk image here; create_disk_pager - now does it. - -Fri Jan 5 16:57:54 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * ext2fs.h: Declare create_disk_pager. - -Thu Jan 4 18:46:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * ext2fs.h (disk_pager, disk_pager_port, disk_image, - create_disk_pager): Decls removed. - Include hurd/diskfs-pager.h instead. - - * pager.c (create_disk_pager): Use disk_pager_setup. - -Tue Nov 14 14:59:32 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * dir.c (dirscanblock): Apply mib's changes to ufs/dir.c. - -Sat Nov 4 20:01:01 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (diskfs_S_file_get_storage_info): Add FLAGS argument. - -Wed Nov 1 20:09:59 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.c (main): Add FLAGS arg to diskfs_startup_diskfs call. - -Mon Oct 23 17:49:16 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (diskfs_get_translator, diskfs_set_translator): Only - support these if the filesystem's creator-os is `hurd'. - (read_disknode): Only check the i_translator field if the - filesystem's creator-os is `hurd'. - -Fri Oct 20 19:18:16 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.h (MS_RDONLY, MS_NOSUID, MS_NODEV, MS_NOEXEC, - MS_SYNCHRONOUS, MS_REMOUNT, S_APPEND, S_IMMUTABLE, IS_APPEND, - IS_IMMUTABLE): Macros deleted. - -Thu Oct 19 19:15:15 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * pager.c (create_disk_pager, diskfs_get_filemap, - pager_clear_user_data): Don't use the p field in a upi. - (diskfs_get_filemap): Update/initialize the max_prot field. - Add the prot arg. - - * ext2fs.h (struct user_pager_info): Add max_prot field, remove p. - * pager.c (drop_pager_softrefs): Declare PAGER, not UPI. - (enable_caching): The disk node is upi->node, not upi->np. - (diskfs_enable_pagers): Function removed. - * inode.c (read_disknode): Add DN and OFFSET variables. Use - log2_block_size to mask instead of doing a modulo with block_size. - * hyper.c (diskfs_readonly_changed): Typo. - (allocate_mod_map): Declare ERR; OLD_MOD_MAP_SIZE --> MOD_MAP_SIZE. - * dir.c (diskfs_lookup, diskfs_dirempty): Give diskfs_get_filemap - a protection arg. - * truncate.c (force_delayed_copies): Ditto. - -Wed Oct 18 21:00:28 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.h (struct disknode): Replace fileinfo field with pager. - * inode.c (diskfs_node_norefs, iget): Use pager field, not fileinfo. - * pager.c (diskfs_get_filemap_pager_struct, flush_node_pager, - diskfs_file_update, pager_clear_user_data, drop_pager_softrefs): Ditto. - * truncate.c (enable_delayed_copies, force_delayed_copies): Ditto. - - * ext2fs.c (main): Always include VM_PROT_WRITE in max prot. - * hyper.c (diskfs_readonly_changed): Change the protection of - DISK_IMAGE to reflect the new state. - * pager.c (diskfs_enable_pagers): New function. - -Tue Oct 17 21:16:04 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * pokel.c (_pokel_exec, pokel_flush): New functions. - (pokel_sync): Use _pokel_exec to do the work. - * pager.c (flush_node_pager): New function. - * ext2fs.h (pokel_flush, flush_node_pager): New declarations. - - * hyper.c (allocate_mod_map): New function (from get_hypermetadata). - (zeroblock, modified_global_blocks): Define (were common). - (get_hypermetadata): Deallocate ZEROBLOCK if necessary. Use - allocate_mod_map to allocate MODIFIED_GLOBAL_BLOCKS. - (diskfs_readonly_changed): New function. - * main.c (main): Move stuff into get_hypermetadata. - Writable init code moved to diskfs_readonly_changed. - - * inode.c (diskfs_node_reload): New function. - (iget, read_disknode): Code to set allocsize and the last_* fields - moved from iget to read_disknode. - - * ext2fs.h (disk_pager): Type changed to struct pager. - (sync_global_ptr): Use DISK_PAGER, not DISK_PAGER->p. - * pager.c (create_disk_pager): Store the actual pager into DISK_PAGER. - * ext2fs.c (main): Use DISK_PAGER directly, not ->p. - * inode.c (iget): Ditto. - * pager.c (diskfs_shutdown_pager, diskfs_sync_everything): Ditto. - -Mon Oct 16 15:23:25 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (diskfs_lost_hardrefs): #ifdef'd out contents removed. - -Fri Oct 13 17:50:23 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.c (main): Use argp for parsing. - (usage, USAGE, SHORT_OPTS, long_opts, console_stdio): Removed - -Thu Oct 12 18:16:00 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * hyper.c (get_hypermetadata): Use diskfs device functions & - variables instead of our own. - * ext2fs.h (device_arg, device_name, device_port, device_start, - device_size, device_block_size): Declarations removed. - - * ext2fs.c (printf, _ext2_error, _ext2_panic, _ext2_warning): - Functions moved to msg.c - * msg.c: New file. - (printf, _ext2_error, _ext2_panic, _ext2_warning): Funcs from ext2fs.c. - * Makefile (SRCS): Remove devio.c, add msg.c. - -Sat Oct 7 20:47:19 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (diskfs_S_file_get_storage_info): run_elem_t --> off_t. - - * ext2fs.c (diskfs_init_completed): Func deleted (now in libdiskfs). - -Fri Oct 6 17:24:57 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (diskfs_S_file_get_storage_info): Change type of - ADDRESSES to off_t **, and add BLOCK_SIZE parameter. - -Wed Oct 4 20:02:34 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (diskfs_set_statfs): fsys_stb_bsize -> fsys_stb_iosize. - fsys_stb_fsize -> fsys_stb_bsize. - -Wed Sep 27 20:07:53 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ext2fs.c (main): Use diskfs routines to open the device. - Support both file and mach devices. Move the parse function here. - (parse_opt): Move into main (as a nested function). - * ext2fs.h (device_arg, device_start): New declarations. - * devio.c (dev_read_sync, dev_write_sync): Offset the address to - which we're doing i/o with DEVICE_START. - -Tue Sep 26 18:39:58 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (diskfs_S_file_get_storage_info): New function. - * Makefile (SRCS): Add storeinfo.c. - -Fri Sep 15 14:21:18 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * truncate.c (trunc_indirect): Only record an indirect block as - being modified when it actually is. - - * truncate.c (diskfs_truncate): Use the new truncate functions. - (poke_pages): Gratuitous cosmetic changes. - (trunc_direct): Rewritten, new args. - (trunc_indirect): Rewritten, new args, now more general to support - all the various indirection levels. - (trunc_triple_indirect, trunc_double_indirect, - trunc_single_indirect): New functions. - (struct free_block_run): New structure. - (free_block_run_finish, free_block_run_free_ptr, - free_block_run_add, free_block_run_init, _free_block_run_flush): - New functions. - (trunc_dindirect, trunc_tindirect): Functions deleted. - (DIRECT_BLOCK, INDIRECT_BLOCK, DINDIRECT_BLOCK, TINDIRECT_BLOCK): - Macros deleted. - - * getblk.c (block_getblk, ext2_getblk): u32 --> block_t. - * balloc.c (ext2_new_block): Ditto. - * hyper.c (get_hypermetadata): Ditto. - * pager.c (file_pager_write_page): Ditto. - -Wed Sep 13 12:30:23 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * dir.c (diskfs_lookup): Don't attempt to lock NP if NPP is not - set. Don't even set NP if NPP is not set; use INUM as "lookup - succeeded flag" instead. Lookups for REMOVE and RENAME now *must* - set NPP. - -Tue Sep 12 11:03:19 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * pokel.c (pokel_init): Initialize the free_pokes field. - (pokel_add): Assert that this malloc should succeed. - (pokel_sync): Don't hold POKEL's spin lock while syncing. - - * ialloc.c (diskfs_alloc_node): Check for a non-zero ALLOCSIZE. - -Tue Sep 5 16:59:40 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * pager.c (diskfs_pager_users): Ignore the disk pager when seeing - if there are any active pagers. - (diskfs_shutdown_pager): shutdown_one gets passed a pager, not a upi. - (diskfs_sync_everything): sync_one gets passed a pager, not a upi. - -Sun Sep 3 17:28:13 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ext2fs.c (thread_cancel): Removed. - -Fri Aug 25 14:37:32 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (ext2fs): Put libports in the right place in the - linking order. - -Thu Aug 24 10:34:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (ext2fs): Put all dependencies here. - (HURDLIBS): Removed. - -Tue Aug 22 19:39:06 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (HURDLIBS): Add libshouldbeinlibc. - Remove rules for error.o. - -Fri Jul 21 17:51:33 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * pager.c (diskfs_get_filemap): Free initial reference created by - pager_create. - - * pager.c (diskfs_get_filemap): Avoid race with simultaneous - termination by looping until we win. - (pager_clear_user_data): Only clear UPI->np->dn->fileinfo if it - still points to us. - -Thu Jul 6 15:33:24 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile: Removed dependencies that are now automatically - generated. - -Thu Jul 6 13:36:25 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * pager.c (diskfs_pager_users): New function. - -Tue Jun 27 13:08:33 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * pager.c (pager_unlock_page): Declare BLOCK volatile. - -Sat Jun 24 17:59:36 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (HURDLIBS): Add libihash. - - * ext2fs.c (thread_cancel): Dummy function. - - * dir.c (diskfs_direnter): Move assignment out of test. - (diskfs_get_directs): Fix print-format types. - * ialloc.c (diskfs_free_node): Fix print-format types. - - * pager.c (thread_function): New function. - (create_disk_pager): Make a new thread to service paging requests. - * ext2fs.c (main): Have the initial thread die when it's done, leaving - other thread to do the work. - - * pager.c (pager_bucket): New variable. - (pager_list_lock, file_pager_list): Variables deleted. - (create_disk_pager): Create pager_bucket. - (create_disk_pager, diskfs_get_filemap): Pass pager_bucket to - pager_create. - (pager_traverse): Function deleted. - (diskfs_get_filemap, pager_clear_user_data): Don't add/remove UPI - to/from the pager list, as there isn't any. - (diskfs_shutdown_pager, diskfs_sync_everything): Use - ports_bucket_iterate on pager_bucket to go through all the pagers, - instead of pager_traverse. - (diskfs_file_update, pager_traverse, allow_pager_softrefs, - drop_pager_softrefs): Change pager [un]ref calls to use the new ports - ref calls directly instead. - (pager_dropweak): New function (does nothing). - * ext2fs.h (struct user_pager_info): Remove the next & prevp fields. - - * truncate.c (force_delayed_copies, enable_delayed_copies): Change - pager [un]ref calls to use the new ports ref calls directly instead. - * inode.c (diskfs_lost_hardrefs): Ditto. - - * inode.c (diskfs_node_iterate): New function. - (write_all_disknodes): Re-implemented using diskfs_node_iterate. - -Wed Jun 14 16:19:49 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * inode.c (diskfs_get_translator): Conform to new memory usage - semantic. - -Fri May 19 20:56:51 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ext2fs.c (main): Use options_parse & diskfs_standard_startup_options - to do command line options parsing. - (long_opts): Was `options'. Most things removed, as - they're now handled by libdiskfs. - (parse_opt): New routine to deal with our few meagre remaining - options in the approved options_parse manner. - -Mon May 15 15:55:49 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ext2fs.c (main, usage, options): Add --writable & --nosync options. - -Sat May 13 20:04:55 1995 Miles Bader <miles@duality.gnu.ai.mit.edu> - - * inode.c (diskfs_set_statfs): Set st->fsys_stb_bsize, not _fsize, - to the block size. - -Sat May 13 05:02:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (OBJS): Remove exec_server_image.o. - (exec_server_image.o): Rule removed. - -Fri May 12 15:23:02 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ext2fs.c (main): Add an optional argument to the --sync option - that lets the user specify an initial sync interval. - -Thu May 11 13:30:06 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * pager.c (pager_unlock_page): Give an explanation of why the file - system will shortly crash. - - * balloc.c (ext2_free_blocks, ext2_new_block): Get rid of the - CHECK_STRICT variable, and just always do the tests it controlled. - * ext2fs.h: Get rid of the CHECK_STRICT variable. - - * ext2fs.h (ext2_error, ext2_warning, ext2_panic, all callers changed): - Make these into macros that automagically supply the caller's - function name, and rename the original functions (which these - macros call) to have an underline prefix. - * ext2fs.c (ext2_error, ext2_warning, ext2_panic): Rename to add - the underline prefix. Also rearrange a bit to hold the lock - around the use of the global message buffer. - - * ext2fs.c (main): Enable the bootstrap code. - - * inode.c (read_disknode): Make st_blksize larger: 2 * pagesize. - -Wed May 10 14:03:34 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * getblk.c (block_getblk, inode_getblk): Return ENOSPC instead of - EIO when we can't allocate a new block. - - * bitmap.c (find_next_zero_bit): Fix stupid typos (present in the - original linux source I copied this function from!) which were - causing occasional garbage results. - -Tue May 9 18:08:41 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ext2fs.h (DONT_CACHE_MEMORY_OBJECTS): Don't define this any - more, as the bugs we were using it to catch are supposedly gone :-| diff --git a/fatfs/ChangeLog b/fatfs/ChangeLog deleted file mode 100644 index b8a022ea..00000000 --- a/fatfs/ChangeLog +++ /dev/null @@ -1,229 +0,0 @@ -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * inode.c (read_node): Adapt to ``struct stat'' changes. - -2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * dir.c (diskfs_lookup_hard, diskfs_dirempty): Call - diskfs_set_node_atime instead of setting dp->dn_set_atime. - -2007-03-31 Thomas Schwinge <tschwinge@gnu.org> - - * Makefile (HURDLIBS): Put ``threads'' in front of ``ports''. - -2007-03-30 Thomas Schwinge <tschwinge@gnu.org> - - * inode.c (read_node): Correctly convert from nanoseconds to - microseconds. - -2007-03-28 Thomas Schwinge <tschwinge@gnu.org> - - * Makefile (fatfs.static): New target. - - * main.c (diskfs_readonly): Remove variable. - (main): Set `diskfs_readonly' and `diskfs_hard_readonly' to one. - -2005-07-12 Marcus Brinkmann <marcus@gnu.org> - - * pager.c (diskfs_get_filemap): Initialize upi->max_prot to PROT. - -2003-08-09 Marcus Brinkmann <marcus@gnu.org> - - * fat.h: Include <byteswap.h>. - (read_dword) [BYTE_ORDER == BIG_ENDIAN]: Use bswap_32 to swap bytes. - (write_dword) [BYTE_ORDER == BIG_ENDIAN]: Likewise. - (read_word) [BYTE_ORDER == BIG_ENDIAN]: Use bswap_16 to swap bytes. - (write_word) [BYTE_ORDER == BIG_ENDIAN]: Likewise. - -2003-08-03 Marco Gerards <metgerards@student.han.nl> - - * fatfs.h (struct disknode): New member DIRNODE. - * inode.c (read_node): Added assertion to be sure the directory - can always be found. Add directory dependancy to node by - initializing DIRNODE and holding a reference. - (diskfs_node_norefs): Release reference to DIRNODE. - (write_node): Don't use diskfs_cached_lookup to lookup the - directory, use DIRNODE instead and lock DP. Don't use diskfs_nput, - use mutex_unlock instead. - (diskfs_alloc_node): Add directory dependancy to node by - initializing DIRNODE and holding a reference. - -2003-08-05 Marcus Brinkmann <marcus@gnu.org> - - * fat.c (fat_read_sblock): Catch error from store_read. - -2003-08-03 Marco Gerards <metgerards@student.han.nl> - - * inode.c (read_node): Fix typo. - -2003-08-01 Marco Gerards <metgerards@student.han.nl> - - * node-create.c: New file. - * Makefile (SRCS): Added node-created.c. - * dir.c: Include <hurd/fsys.h>. - (diskfs_direnter_hard): Initialize a new block with zeros. Enter - direntry and setup the virtual inode. Also handle directories - correctly. - (diskfs_rewrite_hard): Function rewritten. - (diskfs_dirempty): Change logic to test if a file was deleted. - * fat.c (fat_extend_chain): Unlock spin_lock when returning from - function. Set dn->last to 0 when deallocating the complete - file. Update dn->last when not deallocating the complete file. Set - dn->first to zero when the complete file was deallocated. Also - update dn->length_of_chain to the new amount of clusters in the - chain. - * main.c (diskfs_hard_readonly): Remove global variable. - -2003-07-29 Jeff Bailey <jbailey@nisa.net> - - * fatfs.h (LOG2_BLOCKS_PER_CLUSTER): Fix typo. - -2003-07-17 Marcus Brinkmann <marcus@gnu.org> - - * pager.c (find_cluster): Round to cluster size rather than adding - cluster size. - -2003-07-14 Marco Gerards <metgerards@student.han.nl> - - * fat.c (fat_read_sblock): Don't test if the root dir size is a - multiple of sectors_per_cluster. Reported by Barry deFreese - (bddebian@cox.net). - - * fatfs.h (LOG2_BLOCKS_PER_CLUSTER): New macro. - (FAT_FIRST_CLUSTER_BLOCK): Likewise. - (fat_first_cluster_byte): Macro removed. - - * inode.c (read_node): Correctly setup diskfs_root_node for FAT32 - filesystems. - - * pager.c (fat_getcluster): Check for reading beyond allocsize - correctly for file systems with a clustersize > vm_page_size. - (file_pager_read_small_page): Don't use byte offsets when - calculating the block. - (file_pager_read_huge_page): Likewise. - (pending_clusters_write): Likewise. - (file_pager_write_small_page): Likewise. - (STAT_INC): Cast to void to suppress warning. - -2003-04-26 Marco Gerards <metgerards@student.han.nl> - - * dir.c (diskfs_get_directs): Consider ENTRY when adding - "." and ".." for the rootnode. - - * inode.c (read_node): Use ifind instead of diskfs_cached_lookup - and do not use diskfs_nput anymore. - * main.c (diskfs_S_fsys_getfile): New function. - -2002-10-06 Marcus Brinkmann <marcus@gnu.org> - - * main.c (diskfs_server_version): Set to HURD_VERSION. - - * dir.c (dirscanblock): Always emulate "." and ".." for the root - dir, even on FAT32. - (diskfs_get_directs): Likewise. New variable DOTDOT. Set EP to - DOT or DOTDOT when approriate. Implement inode number generation - with vi_rlookup. - Submitted by Marco Gerards <mg@friaco.nl>. - - * main.c (fetch_root): Implement this for FAT32. - Submitted by Marco Gerards <mg@friaco.nl>. - - * fatfs.h: Renamed prototype from fat_next_cluster to - fat_get_next_cluster. - * fat.c (fat_extend_chain): Replace CLUSTERS_PER_CHAIN with - CLUSTERS_PER_TABLE and LOG2_CLUSTERS_PER_CHAIN with - LOG2_CLUSTERS_PER_TABLE. - (fat_getcluster): Likewise. - (fat_truncate_node): Likewise. - Submitted by Marco Gerards <mg@friaco.nl>. - - * fat.c (fat_get_freespace): New function. - * fat.h: New prototype for fat_get_freespace. - * inode.c (diskfs_set_statfs): Set ST->f_bfree and ST->f_bavail. - Submitted by Marco Gerards <mg@friaco.nl>. - - * fatfs.h: New prototypes for fs_uid and fs_gid. - New prototype for refresh_node_stats. - * inode.c (read_node): Set ST->st_uid to fs_uid and ST->st_gid to - fs_gid. - (refresh_node_stats): New function. - * main.c: New variables default_fs_uid, default_fs_gid, fs_uid, fs_gid. - Include <argz.h> - (options): New variable. - (startup_children): Likewise. - (startup_argp): Likewise. - (runtime_children): Likewise. - (runtime_argp): Likewise. - (diskfs_runtime_argp): Likewise. - (parse_opt): New function. - (main): Set default_fs_uid, default_fs_gid, fs_uid and fs_gid. - Pass startup_argp to diskfs_init_main. - Submitted by Marco Gerards <mg@friaco.nl>. - - * main.c (read_sblock): Move to ... - * fat.c (read_sblock): ... here and rename to fat_read_sblock. New - variable READ. Don't use disk_image but access store directly. - (fat_read_sblock): Remove check for large clusters. - * fat.c: Include <time.h> - Submitted by Marco Gerards <mg@friaco.nl>. - - * fatfs.h (struct user_pager_info): Rename DISK in enum pager_type - to FAT. - (disk_image): Rename to fat_image and make extern. - (host_name, mounted_on): Remove cruft. - (sblock, dr_root_node): Make extern. - * pager.c (create_disk_pager): Rename to create_fat_pager. Create - the pager with the type FAT and size of the FAT, not the whole - disk. Use fat_image instead disk_image. - (pager_read_page): Replace DISK with FAT and call - fat_pager_read_page instead disk_pager_read_page. - (pager_write_page): Replace DISK with FAT and call - fat_pager_write_page instead disk_pager_write_page. - (pager_report_extent): Replace DISK with FAT and return new size. - (disk_pager_read_page): Rename to fat_pager_read_page. Adjusted - to restrict to new size. Use memset instead bcopy. dev_end - renamed to fat_end. Add beginning of FAT to page. - (disk_pager_write_page): Rename to fat_pager_write_page. Adjusted - to restrict to new size. dev_end renamed to fat_end. Add - beginning to FAT to PAGE. - (file_pager_read_huge_page): Use memcpy instead bcopy. - (pending_clusters_write): Likewise. - * fat.c (fat_write_next_cluster): Don't add the beginning of FAT - to FAT_ENTRY_OFFSET. Reflect renaming of disk_image to fat_image. - (fat_get_next_cluster): Likewise. - * main.c (main): Call fat_read_sblock, not read_block. Call - create_fat_pager instead create_disk_pager, and do this only after - reading the superblock. - - * main.c (fetch_root): Use memset, not bzero. - (read_sblock): Use memcpy, not bcopy. - * dir.c (diskfs_get_directs): Replace bcopy with memcpy. - -2002-04-15 Marcus Brinkmann <marcus@gnu.org> - - * dir.c (diskfs_get_directs): Count the special cased DOT and - DOTDOT directories for root directory nodes in FAT12 and FAT16 - file systems. - - * dir.c (dirscanblock): Determine the parent inode correctly. - Submitted by Marco Gerards <mg@friaco.nl>. - - * inode.c (read_node): Add VK.dir_offset to BUF before doing the - pointer conversion. - (write_node): Likewise. - Submitted by Marco Gerards <mg@friaco.nl>. - - * inode.c (write_node): Save the modification time as write time. - Submitted by Marco Gerards <mg@friaco.nl>. - - * fat.h: Add prototype for fat_from_epoch(). - Submitted by Marco Gerards <mg@friaco.nl>. - - * inode.c (read_node): For the root dir of a FAT12/16 file system, - set allocsize to size of the root directory region. - (read_node): For files, round up to a full cluster multiple. - Reported by Marco Gerards <mg@friaco.nl>. - -2000-05-05 Marcus Brinkmann <marcus@gnu.org> - - * Initial release. diff --git a/fstests/ChangeLog b/fstests/ChangeLog deleted file mode 100644 index 599a6c80..00000000 --- a/fstests/ChangeLog +++ /dev/null @@ -1,70 +0,0 @@ -2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca> - - * fstests.c: Include <error.h>. - (main): Use error, not perror. - [HURDISH_TESTS]: Use this rather then having the code in question - #if 0'd out. - * timertest.c: Include <error.h> and <errno.h> - (main): Use error, not perror and exit. - -2002-03-05 Marcus Brinkmann <marcus@gnu.org> - - * fstests.c (main): Call dir_lookup, not dir_pathtrans. - Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>. - -2001-02-25 Roland McGrath <roland@frob.com> - - * fstests.c (main): sync now returns void. - - * timertest.c: Include <stdlib.h> for decl. - -2000-03-26 Roland McGrath <roland@baalperazim.frob.com> - - * fstests.c (main): Fix return type. #if 0 out some unused variables. - -Thu Jun 27 17:59:04 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (targets): Comment out opendisk for now. - -Mon Apr 29 16:43:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (OBJS): Delete variable. - -Thu Jul 6 21:03:12 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (OBJS): New var. - (timertest, fstests, opendisk, fdtests): List object files. - -Wed Aug 31 12:02:01 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (targets): Added opendisk. - (SRCS): Added opendisk.c. - * opendisk.c: New file. - -Wed Aug 31 03:26:13 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * fstests.c: Include unistd.h. - (main): #if 0 out unused variables. - -Tue Aug 16 13:55:04 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * timertest.c (main): Don't sigpause; instead getchar, so we are - blocked in an RPC when the signal arrives--do sigpause on EOF. - -Thu Jul 21 19:14:30 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile: Rewritten to use new scheme. - -Tue Jul 19 12:43:00 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (OBJS): Deleted variables. - (fstests, fdtests, timertest): Don't use variable $(link) anymore. - (install): Install all three programs. - -Tue Jul 5 14:20:48 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (SRCS): New variable. - -Mon Jun 20 15:05:34 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (install): Use $(INSTALL_BIN) instead of cp. diff --git a/ftpfs/ChangeLog b/ftpfs/ChangeLog deleted file mode 100644 index 0b130fd6..00000000 --- a/ftpfs/ChangeLog +++ /dev/null @@ -1,274 +0,0 @@ -2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * dir.c (ftpfs_refresh_node): Use st_mtim.tv_sec members instead - of st_mtime. Also compare st_mtim.tv_nsec members. - -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * netfs.c (netfs_attempt_utimes): Adapt to ``struct stat'' changes. - -2006-07-11 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * node.c (ftpfs_create_node): Check the result from hurd_ihash_add(). - Add E to the hash table instead of NEW. - -2005-06-14 Hugues Larrive <hugues.larrive@gmail.com> - - * ftpfs.c (parse_startup_opt): User names may contain a @, so take - the last @ of FTPFS_REMOTE_FS. - * host.c (split_server_name): User names may contain a @, so take - the last @ of P. - -2003-08-17 Marcus Brinkmann <marcus@gnu.org> - - * ftpfs.h: Include <hurd/ihash.h>. - (struct ftpfs): Change type of INODE_MAPPINGS to struct - hurd_ihash. - (struct ftpfs_dir_entry): Change type of INODE_LOCP to - hurd_ihash_locp_t. - * node.c (ftpfs_create_node): Call hurd_ihash_add, not ihash_add. - (netfs_node_norefs): Call hurd_ihash_locp_remove, not - ihash_locp_remove. - * fs.c: Include <stddef.h>. - (ftpfs_create): Call hurd_ihash_init, not hurd_ihash_create. - Call hurd_ihash_destroy on error. - -2002-10-18 Moritz Schulte <moritz@duesseldorf.ccc.de> - - * dir.c (ftpfs_dir_lookup): Initialize NES.entry. - -2002-05-13 Roland McGrath <roland@frob.com> - - * dir.c (ftpfs_refresh_node): Set NODE->nn_translated appropriately. - -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * ftpfs.c (netfs_server_name, netfs_server_version): New - variables. - -2002-05-08 Roland McGrath <roland@frob.com> - - * conn.c (ftpfs_get_ftp_conn): Cast to uintptr_t before void *. - * ftpfs.c (cntl_debug): Vice versa. - -2002-04-13 Moritz Schulte <moritz@chaosdorf.de> - - * ftpfs.c: Include <sys/stat.h> - (main): Stat the underlying node and initialize the root node's - stat information. - - * dir.c (ftpfs_refresh_node): If refreshing the root node, simply - use the old stat information. - -2002-03-11 Roland McGrath <roland@frob.com> - - * ftpfs.c (parse_startup_opt): If given one argument with no :, - use "/" as the remote root. - -2001-12-29 Roland McGrath <roland@frob.com> - - * netfs.c (netfs_attempt_statfs): Implement this, - returning all zeros except for f_type and f_fsid. - -2001-12-22 Roland McGrath <roland@frob.com> - - * fs.c (ftpfs_create): Move braces around to avoid warning. - -2001-02-12 Marcus Brinkmann <marcus@gnu.org> - - * ftpfs.c: Include <version.h>. Add global variable - ARGP_PROGRAM_VERSION. Add period to DOC. - -2001-01-07 Marcus Brinkmann <marcus@gnu.org> - - * dir.c (ftpfs_dir_create): Fix last change (calloc invocation). - -2000-12-21 Marcus Brinkmann <marcus@gnu.org> - - * dir.c (ftpfs_dir_create): New macro INIT_HTABLE_LEN to - specify initialize htable_len. New variable htable, - allocate memory to it with calloc before acquiring a node - reference. If this fails, return any allocated memory and - return with ENOMEM. Set new->htable_len to INIT_HTABLE_LEN - and new->htable to htable. Don't bzero htable anymore, as - we use calloc. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile (HURDLIBS): Reorder libs such that the threads lib - comes before the ports lib. This makes sure the functions in - libthreads properly override the stubs in libports with the new - dynamic linker semantics in glibc 2.2. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * netfs.c: Add #include <sys/mman.h> for munmap decl. - * ccache.c: Likewise. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * ccache.c (ccache_read): Use mmap instead of vm_allocate. - * netfs.c (get_dirents): Likewise. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * ccache.c (ccache_read): Use munmap instead of vm_deallocate. - (ccache_invalidate): Likewise. - (ccache_free): Likewise. - * netfs.c (get_dirents): Likewise. - -Sun Jan 31 18:33:55 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * netfs.c (netfs_attempt_utimes): Implement new possibility that - ATIME or MTIME might be null. - -1998-10-20 Roland McGrath <roland@baalperazim.frob.com> - - * ftpfs.c (netfs_append_args): Add braces to silence gcc warning. - * netfs.c (get_dirents): Likewise. - (netfs_get_dirents): Likewise. - * dir.c (ftpfs_refresh_node): Likewise. - (ftpfs_dir_lookup): Likewise. - -1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - - * ftpfs.c (netfs_append_args): Use %ld for time_t and %Zu for size_t. - -1997-09-09 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpfs.c (parse_runtime_opt): New function. - (runtime_argp): Use it. - (netfs_append_args): Fix printed name of --node-cache-size. - - * dir.c (delete): Immediately free entries without nodes. - -1997-08-29 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpfs.c (parse_startup_opt): Report an error if no filesystem is - supplied. - -1997-08-27 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpfs.c (parse_common_opt): Turn on debugging when there *aren't* - any errors... - -1997-08-22 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpfs.c (parse_common_opt): Release DEBUG_LOCK even if we get an - error. - -1997-08-19 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpfs.c (netfs_maxsymlinks): Initialize to 12. - - * ccache.c (ccache_read): Always update CC->max to something - reasonable after a transfer. - -1997-08-18 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpfs.c (debug_stream, debug_stream_name): New variables. - (cntl_debug): Print to DEBUG_STREAM. - (debug_lock): New variable (was local to cntl_debug). - (parse_common_opt): Accept a FILE argument to --debug. - (netfs_append_args): Print FILE argument to --debug. - -1997-08-15 Miles Bader <miles@gnu.ai.mit.edu> - - * netfs.c (netfs_attempt_mkfile): Unlock DIR. - - * dir.c (ftpfs_dir_null_lookup): New function. - (ftpfs_dir_lookup): Handle "" lookups like ".". - * ftpfs.h (ftpfs_dir_null_lookup): New declaration. - * fs.c (ftpfs_create): Use ftpfs_dir_null_lookup instead of - ftpfs_dir_lookup. - - * dir.c (ftpfs_dir_lookup): Set E's name timestamp for noent entries. - (ftpfs_refresh_node): Record ENOENT entries. - (refresh_dir): Add PRESERVE_ENTRY parameter; all callers changed. - -1997-08-14 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpfs.c (ftpfs_ftp_hooks): Use ports_self_interrupted to check - for interrupts. - * ccache.c (ccache_read): Likewise. - -1997-08-12 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpfs.c (main): Supply the FSID argument to ftpfs_create. - * dir.c (update_entry): Set E->stat.st_fsid & st_fstype. - (ftpfs_next_inode): Variable removed. - * ftpfs.h (struct ftpfs ): Add FSID & NEXT_INODE fields. - (ftpfs_create): Add FSID parameter. - * fs.c (ftpfs_create): Add FSID parameter. Initialize FSID & - NEXT_INODE fields. - -1997-08-11 Miles Bader <miles@gnu.ai.mit.edu> - - * dir.c (sweep): Don't delete entries that have the NOENT flag set. - (refresh_dir): Ensure there are entries for `.' and `..'. - -1997-08-09 Miles Bader <miles@gnu.ai.mit.edu> - - * dir.c (struct new_entry_state): DIR_PFX & DIR_PFX_LEN fields removed. - (update_new_entry): Don't futz with NAME anymore. - - * ftpfs.c (ftpfs_hooks): Initialize INTERRUPT_CHECK Field. - * ccache.c (ccache_read): Check for thread cancelation. - -1997-08-08 Miles Bader <miles@gnu.ai.mit.edu> - - * dir.c (update_ordered_entry): Correctly handle a non-empty list. - Only insert E in the ordered entry list if it's not already there. - (refresh_dir): Don't clear the ordered entry list. - Only reset bulk stat detection state if actually doing a bulk stat. - Initialize DFS.prev_entry_next_p instead of DFS.prev_entry. - (struct dir_fetch_state): Replace PREV_ENTRY by PREV_ENTRY_NEXT_P. - (lookup): Grow the hash table when it gets large. - (rehash): Zero the new hash table. - - * dir.c (path_append): Macro removed. - (ftpfs_dir_lookup, ftpfs_refresh_node): Use ftp_conn_append_name - instead of path_append. - Don't set dir_pfx fields in RES anymore. - (update_old_entry): Don't futz with NAME anymore. - (struct refresh_entry_state): DIR_PFX & DIR_PFX_LEN fields removed. - -1997-08-07 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpfs.c (DEFAULT_NAME_TIMEOUT): New macro. - (DEFAULT_DIR_TIMEOUT, DEFAULT_DIRENT_TIMEOUT): Macros removed. - (OPT_NAME_TIMEOUT): New macro. - (OPT_DIR_TIMEOUT, OPT_DIRENT_TIMEOUT): Macros removed. - (common_options, parse_common_opt, netfs_append_args, main): - Replace --dir-timeout & --dirent-timeout by --name-timeout. - Add --bulk-stat-period and --bulk-stat-threshold options. - (netfs_append_args): Output --debug. - - * ftpfs.h (struct ftpfs_params): Remove dirent_timeout and - dir_timeout fields. Add name_timeout field. - * dir.c (ftpfs_dir_lookup): dirent_timeout parameter renamed to - name_timeout and dirent_timestamp field renamed to name_timestamp. - (lookup): Initialize timestamps. - * ftpfs.h (struct ftpfs_dir): timestamp renamed to stat_timestamp. - Add name_timestamp field. - (struct ftpfs_dir_entry): dirent_timestamp renamed to name_timestamp. - - * dir.c (update_ordered_name): New function. - (refresh_dir): Use ftp_conn_get_names instead of huge wodge of code. - Update new timestamps. - -1997-08-06 Miles Bader <miles@gnu.ai.mit.edu> - - * dir.c (update_entry): Allow ST to be zero. Don't leak memory - when updating symlink info. Change return type to void. Remove - NO_LOCK parameter. - (update_ordered_entry, update_old_entry, update_new_entry): Update - calls to update_entry. - (refresh_dir): Add UPDATE_STATS parameter, and only fetch names if - it's zero. - (ftpfs_dir_refresh, ftpfs_refresh_node, ftpfs_dir_lookup): Supply - UPDATE_STATS argument to refresh_dir. - - * host.c (split_server_name): Enable password parsing. - - * dir.c (lookup): Initialize the NODE field. diff --git a/hostmux/ChangeLog b/hostmux/ChangeLog deleted file mode 100644 index 37ea28be..00000000 --- a/hostmux/ChangeLog +++ /dev/null @@ -1,110 +0,0 @@ -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * node.c (netfs_attempt_utimes): Adapt to ``struct stat'' changes. - -2004-10-23 Marcus Brinkmann <marcus@gnu.org> - - * hostmux-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing. - -2002-06-02 Marcus Brinkmann <marcus@gnu.org> - - * mux.c (netfs_get_dirents): Initialize COUNT with 2, to take into - account the DOT and DOTDOT directories when skipping over the - first FIRST_ENTRY entries. - -2002-05-13 Roland McGrath <roland@frob.com> - - * mux.c (netfs_attempt_chmod): Handle MODE arg with no S_IFMT bits set. - - * leaf.c (create_host_node): Set NEW->nn_translated appropriately. - * hostmux.c (main): Set netfs_root_node->nn_translated to zero. - -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * hostmux.c (netfs_server_name, netfs_server_version): New - variables. - -2002-03-10 Neal H Walfield <neal@cs.uml.edu> - - * mux.c (lookup_addrinfo): Renamed from lookup_hostent. Change HE - from a struct hostent to a struct addrinfo. - (lookup_host): Use lookup_addrinfo, not lookup_hostent. - Reported by James A. Morrison <ja2morri@uwaterloo.ca>. - -2001-08-01 Marcus Brinkmann <marcus@gnu.org> - - * mux.c (free_name): Swap order of memory releases. - Reported by Kalle Olavi Niemitalo <kon@iki.fi> - -2001-02-12 Marcus Brinkmann <marcus@gnu.org> - - * hostmux.c: Include <version.h>. Add global variable - ARGP_PROGRAM_VERSION. Add period to DOC. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile (HURDLIBS): Reorder libs such that the threads lib - comes before the ports lib. This makes sure the functions in - libthreads properly override the stubs in libports with the new - dynamic linker semantics in glibc 2.2. - -1999-07-11 Roland McGrath <roland@baalperazim.frob.com> - - * mux.c: Add #include <sys/mman.h>. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * mux.c (netfs_get_dirents): Use mmap instead of vm_allocate. - -Tue Feb 16 05:09:49 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * Makefile (MIGSTUBS): Deleted variable; neither ioServer nor - socketServer seem to be used. - -Sun Jan 31 18:34:59 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * node.c (netfs_attempt_utimes): Implement new possibility that - ATIME or MTIME might be null. - -1997-08-27 Miles Bader <miles@gnu.ai.mit.edu> - - * mux.c (netfs_attempt_lookup): Clear *NODE on errors. - -1997-08-19 Miles Bader <miles@gnu.ai.mit.edu> - - * hostmux.c (main): If the underlying node isn't a directory, - propagate read permission to execute permission. - - * mux.c (netfs_attempt_lookup): Check for lookup permission. - Re-arrange code to correctly handle errors. - -1997-08-18 Miles Bader <miles@gnu.ai.mit.edu> - - * stubs.c (netfs_attempt_mkfile): Correctly implement the interface. - -1997-08-14 Miles Bader <miles@gnu.ai.mit.edu> - - * hostmux.c (DEFAULT_HOST_PAT): New macro. - (options, main): Use DEFAULT_HOST_PAT. - (netfs_append_args): New function. - -1997-08-11 Miles Bader <miles@gnu.ai.mit.edu> - - * mux.c (netfs_attempt_lookup): Handle `.' and `..' lookups. - (netfs_get_dirents): Add entries for `.' and `..'. - -1997-08-07 Miles Bader <miles@gnu.ai.mit.edu> - - * hostmux.c (main): Use ARGP_IN_ORDER to parse args. - -1997-06-13 Miles Bader <miles@gnu.ai.mit.edu> - - * leaf.c (create_host_node): Set the times of the new node. - (str_append): Function removed. - (netfs_get_translator): Use argz_replace instead of doing it ourselves. - * mux.c (netfs_get_dirents): MAX_DATA_LEN == 0 means `no limit'. - * hostmux.h (touch): Function removed; all uses replaced by the - appropriate use of fshelp_touch instead. - (TOUCH_ATIME, TOUCH_MTIME, TOUCH_CTIME): Macro removed. - (hostmux_maptime): Renamed from HOSTMUX_MAPPED_TIME; all uses changed. - * hostmux.c (options): --host-pattern isn't optional. diff --git a/hurd/ChangeLog b/hurd/ChangeLog deleted file mode 100644 index 431143b9..00000000 --- a/hurd/ChangeLog +++ /dev/null @@ -1,1228 +0,0 @@ -2007-10-13 Marco Gerards <metgerards@student.han.nl> - - * iioctl.defs (iioctl_siocgifhwaddr): New RPC. - -2007-03-24 Thomas Schwinge <tschwinge@gnu.org> - - * fsys_reply.defs (fsys_syncfs_reply): Fix typo. Reported by Austin - Thompson. - -2005-01-06 Marco Gerards <metgerards@student.han.nl> - - * kdioctl.defs: New file. - -2004-10-31 Alfred M. Szmidt <ams@gnu.org> - - * io.defs (io_read, io_write, io_select): Comment fixes. - -2004-03-30 Marco Gerards <metgerards@student.han.nl> - - * console.h (CONS_MOUSE_OFFSET_BASE): Redefined to 0x20. - -2003-02-15 Roland McGrath <roland@frob.com> - - * configure.ac: New file. - * configure: New file. - * install-headers.in: New file. - -2002-10-04 Marcus Brinkmann <marcus@gnu.org> - - * console.h (struct cons_display): Doc fix. - -2002-09-18 Marcus Brinkmann <marcus@gnu.org> - - * console.h (struct cons_display): Add a new flag - CONS_FLAGS_TRACK_MOUSE. - (CONS_MOUSE_BUTTON_MASK, CONS_MOUSE_BUTTON1, CONS_MOUSE_BUTTON2, - CONS_MOUSE_BUTTON3, CONS_MOUSE_RELEASE, CONS_MOUSE_MOD_MASK, - CONS_MOUSE_MOD_SHIFT, CONS_MOUSE_MOD_META, CONS_MOUSE_MOD_CTRL, - CONS_MOUSE_OFFSET_BASE, CONS_MOUSE_EVENT_LENGTH, - CONS_MOUSE_EVENT_PREFIX, CONS, MOUSE_EVENT): New macro. - (CONS_KEY_B2): New macro. - -2002-09-16 Marcus Brinkmann <marcus@gnu.org> - - * console.h (conchar_attr_t): Add bits for italic and bold text - attributes. - -2002-09-10 Marcus Brinkmann <marcus@gnu.org> - - * console.h (struct cons_display): New member FLAGS. - (union cons_change_t): Likewise for WHAT->flags. - -2002-09-04 Marcus Brinkmann <marcus@gnu.org> - - * console.h: Include <wchar.h>. - -2002-08-28 Marcus Brinkmann <marcus@gnu.org> - - * console.h (struct cons_display): Fix comment on CUR_LINE. - -2002-08-22 Marcus Brinkmann <marcus@gnu.org> - - * console.h: Move here from ../console/. - * Makefile (INSTHDRS): Add console.h. - -2002-08-03 Marcus Brinkmann <marcus@gnu.org> - - * hurd_types.defs (fsys_statfsbuf_t): Bump size up to 22. - -2002-06-26 Marcus Brinkmann <marcus@gnu.org> - - * fs_notify.defs: Add MsgOption for send timeout. - (dir_changed): Changed to simpleroutine. Change type of first - argument to fs_notify_t. Add TICKNO argument. - (file_changed): Likewise. - * hurd_types.defs (fs_notify_t): New type. - * hurd_types.h (fs_notify_t): Likewise. - -2002-06-14 Roland McGrath <roland@frob.com> - - * paths.h (_SERVERS_DEFPAGER): New macro. - -2002-06-13 Roland McGrath <roland@frob.com> - - * fs.defs (dir_readdir): Revert AMOUNT type to int, since it's a count - of entries and not a byte count. - -2002-06-09 Roland McGrath <roland@frob.com> - - * version.h: New file. - * Makefile (INSTHDRS): Add it. - -2002-06-08 Roland McGrath <roland@frob.com> - - * hurd_types.defs (loff_t, ino64_t): New types, 64 bits. - (off_t): Type removed. - (off_array_t): Use loff_t instead of off_t as base type. - * hurd_types.h (off_array_t): Likewise. - [_FILE_OFFSET_BITS != 64] (io_statbuf_t, fsys_statfsbuf_t): Define - using struct stat64/statfs64 instead of struct stat/statfs. - * io.defs (io_identity): Use ino64_t for FILENO. - * fs.defs (file_set_size): off_t -> loff_t - * fs_notify.defs (file_changed): Likewise. - * io.defs (io_write, io_read, io_seek): Likewise. - * io_request.defs: Likewise for those RPCs' *_request variants. - * io_reply.defs: Likewise for those RPCs' *_reply variants. - - * hurd_types.defs (size_t): Remove type. - * fs.defs (dir_readdir): Use vm_size_t for AMOUNT. - * socket.defs (socket_send, socket_recv): Likewise. - * pfinet.defs (pfinet_siocgifconf): Likewise. - * io.defs (io_write, io_read, io_readable): Likewise. - * io_request.defs: Likewise for those RPCs' *_request variants. - * io_reply.defs: Likewise for those RPCs' *_reply variants. - -2002-06-07 Roland McGrath <roland@frob.com> - - * hurd_types.defs (dev_t, ssize_t): Remove unused types. - (uid_t, gid_t, mode_t, pid_t, off_t, size_t): Use int32/unsigned32. - (retry_type, wait_status_t): Likewise. - (file_changed_type_t, dir_changed_type_t): Likewise. - -2002-06-05 Roland McGrath <roland@frob.com> - - * hurd_types.h (struct procinfo): New member `taskevents'. - (PI_FETCH_TASKEVENTS): New macro. - -2002-05-23 Roland McGrath <roland@frob.com> - - * newterm.defs: Add routine keywords. - - * Makefile (%.msgids, hurd.msgids): New rules. - -2002-05-22 Marcus Brinkmann <marcus@gnu.org> - - * process.defs (proc_setlogin): Remove comment about being - deprecated. It is used to create login sandboxes. - -2002-05-20 Alfred M. Szmidt <ams@kemisten.nu> - - * paths.h (_SERVERS_STARTUP): Macro removed. - -2002-05-07 Roland McGrath <roland@frob.com> - - * msg.defs (msg_report_wait): int -> mach_msg_id_t - * hurd_types.h: Include <mach/message.h>. - (struct procinfo): int -> mach_msg_id_t for rpc_block. - -2002-05-03 Roland McGrath <roland@frob.com> - - * auth.defs (auth_user_authenticate): Add sreplyport argument. - * auth_request.defs: New file. - -2002-02-17 Roland McGrath <roland@frob.com> - - * hurd_types.h (after #include <mach/thread_info.h>) - [! THREAD_SCHED_INFO]: Include <mach/policy.h> for OSF Mach - scheduler definitions. - (struct procinfo) [TASK_SCHED_TIMESHARE_INFO]: - Add new member `timeshare_base_info'. - (struct procinfo.threadinfos) [! THREAD_SCHED_INFO]: - Use `struct policy_infos' in place of `struct thread_sched_info'. - -2002-03-23 Roland McGrath <roland@frob.com> - - * default_pager.defs (default_pager_object_set_size): New RPC. - * default_pager_reply.defs: New file. - -2002-03-17 Roland McGrath <roland@frob.com> - - * tioctl.defs [TIOCTL_IMPORTS]: Use this macro if defined. - -2002-03-05 Marcus Brinkmann <marcus@gnu.org> - - * fs.defs: Refer to dir_lookup, not dir_pathtrans, in comments. - * fsys.defs: Likewise. - * hurd_types.h (enum retry_type): Likewise. - Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>. - -2002-01-01 Roland McGrath <roland@frob.com> - - * exec.defs (exec_exec, exec_setexecdata): Use SCP macro - in place of `, servercopy'. - - * io.defs (io_write, io_read, io_readable): Use size_t in place - of mach_msg_type_number_t. - * socket.defs (socket_send, socket_recv): Likewise. - - * hurd_types.defs (RETURN_CODE_ARG): New macro, definition - depends on [HAVE_MIG_RETCODE]. - * auth_reply.defs: Replace return code args with that. - * crash_reply.defs: Likewise. - * fsys_reply.defs: Likewise. - * io_reply.defs: Likewise. - * msg_reply.defs: Likewise. - * process_reply.defs: Likewise. - * startup_reply.defs: Likewise. - -2001-12-31 Roland McGrath <roland@frob.com> - - * auth_reply.defs: Change return code parameters to use `RetCode' - keyword, for compatibility with OSF Mach mig. - * crash_reply.defs: Likewise. - * fsys_reply.defs: Likewise. - * io_reply.defs: Likewise. - * msg_reply.defs: Likewise. - * process_reply.defs: Likewise. - * startup_reply.defs: Likewise. - -2001-07-11 Marcus Brinkmann <marcus@gnu.org> - - * fs.defs (routine file_get_storage_info): Add dealloc to all out - parameters (PORTS, INTS, OFFSETS, DATA). - (routine file_get_fs_options): Add dealloc to out parameter OPTIONS. - - * fsys.defs (routine fsys_get_options): Add dealloc to out - parameter OPTIONS. - - * process.defs (routine proc_getprocinfo): Add dealloc to out - paramter PROCINFO. - -2001-06-15 Neal H Walfield <neal@cs.uml.edu> - - * hurd_types.h: New macro, FS_TRANS_ORPHAN. - -2001-05-01 Neal H Walfield <neal@cs.uml.edu> - - * hurd_types.defs (startup_t): Fix typo. - -2001-01-11 Marcus Brinkmann <marcus@gnu.org> - - * default_pager_types.h: New file. - default_pager.defs: Import <default_pager_types.h>. - -2000-12-28 Roland McGrath <roland@frob.com> - - * default_pager.defs: New file, modified from the original version - in <mach/default_pager.defs>. Adds new RPC, obsoletes an unused one. - It is compatible enough that it doesn't really matter which version - things use unless they are using the new RPC. - -2001-01-07 Marcus Brinkmann <marcus@gnu.org> - - * ioctl_types.h: Include <net/if.h>, define types sockaddr_t and - ifname_t for iioctl.defs. - * iioctl.defs: New file for network interface ioctls. - * pfinet.defs: Remove old RPCs, fix subsystem number, add RPC for - SIOCGIFCONF. - -2000-11-15 Marcus Brinkmann <marcus@gnu.org> - - * hurd_types.h: Doc fix reported by Neal H Walfield - (neal@cs.uml.edu), STORAGE_NULL is actually STORAGE_ZERO. - -2000-01-26 Roland McGrath <roland@baalperazim.frob.com> - - * io_reply.defs (io_select_reply): Remove ID_TAG argument, - which does not exist in the io_select RPC as defined in io.defs. - -1999-10-11 Roland McGrath <roland@baalperazim.frob.com> - - * fs.defs (dir_readdir): Replace dealloc with dealloc[] on out data. - -1999-09-13 Roland McGrath <roland@baalperazim.frob.com> - - * io.defs: Reverted changes related to io_map_segment. - -1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> - - * io.defs (io_map_segment): New RPC. - (io_map): Refer to io_map_segment; label as deprecated. - (io_map_cntl, io_get_conch, io_release_conch, io_prenotify, - io_eofnotify, io_postnotify, io_readnotify, io_readsleep, - io_sigio): Label as deprecated. - -Tue May 11 13:38:50 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * startup.defs: Doc fixes. - -1999-04-27 Roland McGrath <roland@baalperazim.frob.com> - - * hurd_types.h (EXEC_SIGTRAP): New macro. - -Mon Mar 15 14:48:24 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * term.defs (term_get_peername): New RPC, suggested by Mark - Kettenis (kettenis@wins.uva.nl). - -Thu Feb 18 00:29:43 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * tioctl.defs, term.defs: Mark with INTR_INTERFACE. - -Tue Feb 16 04:34:02 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * io.defs (io_revoke): New RPC. - -Sun Jan 31 18:21:58 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * fs.defs (file_utimes): Extend documentation. - -1999-01-24 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile: Add rules for generating prototype ?ioctl.defs files from - a list of C headers that define the ioctl request macros. - (DIST_FILES): Add ioctl-tmpl.sym ioctl.awk gensym.awk. - * gensym.awk, ioctl-decode.h, ioctl-tmpl.sym, ioctl.awk: New files - supporting those rules. - - * ioctls.defs: New file. - -1998-12-27 Roland McGrath <roland@baalperazim.frob.com> - - * hurd_types.h (enum file_storage_class): New values STORAGE_REMAP, - STORAGE_COPY; moved with their comments from libstore/store.h. - -1998-11-29 Roland McGrath <roland@baalperazim.frob.com> - - * hurd_types.defs: Include <bits/utsname.h> instead of - <utsnamelen.h>. Reported by Mark Kettenis <kettenis@phys.uva.nl>. - -Wed Oct 28 22:49:18 1998 Joel N. Weber II <devnull@methedrine.ai.mit.edu> - - * hurd_types.h: Added FSTYPE_HTTP, FSTYPE_MEMFS, and - FSTYPE_ISO9660. - -Tue Aug 11 21:12:06 1998 Thomas Bushnell, BSG <tb@mit.edu> - - * hurd_types.h (dir_changed_type, file_changed_type): Doc fix. - -Thu Jul 30 10:38:30 1998 Thomas Bushnell, BSG <tb@mit.edu> - - * fs.defs (file_notice_changes, dir_notice_changes): Doc fix. - -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * process_request.defs: Delete proc_sethostid, proc_gethostid, - proc_sethostname, and proc_gethostname. - - * password.defs: Fix subsystem decl and random mig syntax errors. - -Wed Jul 15 10:37:44 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * fs.defs (dir_lookup): Update interface specification in the - comment to reflect current reality. - -Tue Sep 23 15:52:35 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * password.defs: New file. - * paths.h (_SERVERS_PASSWORD): New entry. - * subsystems: Add password at 38000. - -Tue Sep 16 15:24:37 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * process.defs: Delete proc_sethostid, proc_gethostid, - proc_sethostname, and proc_gethostname. - -1997-09-04 Miles Bader <miles@gnu.ai.mit.edu> - - * fsys.defs: Add INTR_INTERFACE. - -Thu Feb 13 19:21:03 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * fs.defs (file_reparent): Renamed from dir_reparent. - -Mon Jan 20 16:34:12 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * fs.defs (dir_reparent): Make PARENT a mach_port_t, not a file_t, - so that libraries that do type translations of file_t won't get - bogus arguments for ports in other filesystems. - -Thu Jan 9 16:44:52 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * fs.defs (dir_reparent): New rpc. - -Thu Sep 26 14:21:01 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * tioctl.defs (tioctl_tiocext): Add missing "mode" arg. - -Tue Sep 10 11:11:20 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (INSTHDRS): Omit `version.h'. - -Thu Sep 5 10:39:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * version.h: File removed. - -Wed Jul 17 14:30:36 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile: gs/install-hdrs/install-headers/g. - -Tue Jul 16 11:37:35 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (INSTHDRS): Repair syntax. - (install-hdrs install): Correctly form pathname. - -Sat Jul 13 20:55:59 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile: Rewritten to get the right things installed in the - right places. - - * Makefile (install-hdrs): New target; eq to install. - -Mon Jul 1 16:28:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * crash.defs (crash_dump_task): Use integer_t for sigcode. Add exc, - code, subcode, cttyid_port args. - -Wed Jun 12 15:56:49 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * startup_notify.defs (subsystem declaration): Use correct value - 29500 from subsystems file. - -Sat May 25 17:09:00 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * msg_request.defs (msg_sig_post_request, - msg_sig_post_untraced_request): Add SIGCODE argument. - -Wed May 22 18:50:14 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * process_reply.defs (proc_wait_reply): Add SIGCODE argument. - -Tue May 14 17:39:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * Makefile (install): Depend on $(includedir)/hurd and add rule to - create it. - -Sat May 11 17:32:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * Makefile: Quick hack for installing headers prior to building libc. - (hdrs): New variable, do wildcarding in $(srcdir). - (DIST_FILES): Use that. - (install): Install $(hdrs) in $(includedir)/hurd from $(srcdir). - -Thu May 9 12:44:43 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Reference *.h, instead of individual - files. - - * Makefile (REMHDRS, dohdrs): Deleted targets. - -Tue May 7 12:54:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * io.defs (io_identity): Server passes back fs id port and st_ino - value. - -Mon May 6 15:28:50 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * msg.defs (msg_describe_ports): New rpc. - - * fs.defs (file_get_storage_info): Change arguments & comment. - -Mon May 6 13:31:04 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * version.h (hurd_versions): Add version 0.0. - * hurd_types.h (HURD_RELEASE): Update to 0.0. - - * hurd_types.h (struct procinfo): Add exitstatus and sigcode - members. - - * hurd_types.h (FSTYPE_SOCKET): Doc fix. - - * hurd_types.h (retry_type) [FS_RETRY_REAUTH]: Doc fix. - - * hurd_types.h (file_storage_class): Add STORAGE_NULL, - STORAGE_CONCAT, STORAGE_INTERLEAVE, and STORAGE_LAYER. - - * hurd_types.h (struct fsys_statfsbuf): Delete type. - (fsys_statfsbuf_t): Now based upon struct statfs. - * hurd_types.defs (fsys_statfsbuf_t): Now 16 long. - Import <sys/statfs.h>. - - * fsys.defs (fsys_get_options): Add RPT. - - * startup_notify.defs: New file. - * startup.defs (startup_request_notification): NOTIFY_PORT now - mach_port_send_t. New arg NAME. - * subsystems: Add startup_notify. - - * process.defs (proc_getprocinfo): Make FLAGS inout. - - * process.defs (proc_get_tty): New RPC. - * process_request.defs (proc_get_tty_request): Likewise. - - * process.defs (proc_mark_stop, proc_mark_exit): Add SIGCODE arg. - (proc_wait): Return SIGCODE parm too. - * process_request.defs (proc_mark_stop_request, - proc_mark_exit_request): Likewise. - - * process.defs (proc_setowner): Add CLEAR parm. - * process_request.defs (proc_setowner_request): Likewise. - - * process.defs (proc_setmsgport): Return old message port with - mach_port_send_t to permit more flexibility in proc server. - - * fs.defs (file_sync): New parm `omit_metadata'. - (dir_link, dir_rename): Add parm `excl'. - - * io.defs (io_verify_identity): Delete RPC. - (io_identity): New RPC. - -Fri May 3 16:56:22 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * hurd_types.h (EXEC_INHERITED): Macro removed. - (EXEC_TRACED): Macro removed. - (INIT_TRACEMASK): New enum constant. - - * msg.defs (msg_*_exec_flags): RPCs removed. - - * msg.defs (msg_sig_post, msg_sig_post_untraced): Add SIGCODE arg. - (msg_startup_dosync): RPC removed. - - * io.defs (io_select): Remove ID_TAG arg. - (io_verify_identity): New RPC. - - * auth.defs (auth_user_authenticate, auth_server_authenticate): Remove - second rendezvous port arg, leaving just one, of type mach_port_send_t. - -Tue Apr 30 13:54:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * auth.defs: Mark with INTR_INTERFACE. - (auth_user_authenticate): Remove sreplyport arg. - -Sun Apr 28 19:13:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * interrupt.defs: Remove 1 second waittime spec. - (interrupt_operation): Add waittime arg. - * msg.defs (msg_startup_dosync): Add waittime arg. - -Thu Apr 25 16:27:20 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pfinet.defs: New file. - * subsystems: Added pfinet. - -Fri Feb 9 11:30:08 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * tioctl.defs: Import hurd/ioctl_types.h with <> instead of "". - -Thu Feb 8 20:35:34 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * ioctl_types.h: Protect from multiple inclusion. - -Tue Dec 26 17:47:03 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * io.defs (io_select): Fix ifdefs around the reply port decls to - work properly when the server side ports are desired. - -Wed Dec 20 15:21:41 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * process.defs (proc_getsidport): Use mach_port_send_t instead of - mach_port_make_send_t. - -Tue Dec 19 18:28:35 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * process.defs (proc_getsidport): Make SESSPORT's type - mach_port_make_send_t, since proc always just holds a receive right. - -Mon Dec 11 15:21:42 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Added netfs.h. - (REMHDRS): Added ../libnetfs/netfs.h. - -Fri Dec 1 15:45:11 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * tioctl.defs (tioctl_tiocsig): Needs one int arg. - -Tue Nov 21 09:58:13 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * interrupt.defs (interrupt_operation): Include SEQNO server - argument. - -Mon Nov 20 18:26:52 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * msg_request.defs: Add skip for `Obsolete io_select_done' - to match msg.defs. - * msg_reply.defs: Ditto. - -Sat Nov 18 23:33:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * crash.defs (crash_dump_task): Add sreplyport arg. - * crash_reply.defs: New file. - -Mon Nov 13 15:05:04 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.defs (exec_startup): RPC removed; replaced with skip. - -Fri Nov 10 10:02:17 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * process_request.defs: New file. - -Sat Nov 4 23:15:01 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * fsys_reply.defs (fsys_startup_reply, fsys_get_options_reply): Tyop. - -Tue Oct 31 15:54:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * hurd_types.h: Add missing */. - -Tue Oct 31 14:14:39 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * process.defs (proc_getprocinfo): New parm THREADWAITS. - -Tue Oct 31 02:23:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * msg.defs (msg_report_wait): Add string out arg. - -Mon Oct 30 10:41:06 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * hurd_types.h (PI_FETCH_TASKINFO, PI_FETCH_THREADS, - PI_FETCH_THREAD_BASIC, PI_FETCH_THREAD_SCHED, - PI_FETCH_THREAD_WAITS): New flags. - (procinfo): New (buried) members `rpc_block' and `died'. - * msg.defs (msg_report_wait): Change second arg to be a real - thread_t. Change returned reason from a string to an rpc code. - - * process.defs (proc_getprocinfo): New parm FLAGS. - - * hurd_types.h (enum file_storage_class): Added new classes - STORAGE_MEMORY and STORAGE_TASK. Doc fixes. Drop all the MUTATED - bits. - (STORAGE_MUTATED) New flag. - * fs.defs (file_get_storage_info): New parm FLAGS. - - * hurd_types.h (PI_LOGINLD, PI_WAITING, PI_TRACED, PI_GETMSG): New - flags. - - * io.defs (io_select): Make sreply port also available if - IO_SELECT_REPLY_PORT is defined. - -Fri Oct 27 14:43:17 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * fsys.defs (fsys_startup): New parm OPENFLAGS. - - * hurd_types.defs (SCP): New macro. - * io.defs (io_write, io_restrict_auth): Add SCP to incoming - variable sized arrays. - * socket.defs (socket_create_address, socket_setopt, socket_send): - Likewise. - * fs.defs (file_exec, file_set_translator): Likewise. - - * socket.defs (socket_create_address): Drop parm `binding'. - - * fs.defs: Added reply port option to all RPC's. - - * fsys.defs (fsys_get_options): New RPC. - * fsys_reply.defs (fsys_get_options_reply): New stub. - * fs.defs (file_get_fs_options): New RPC. - - * msg.defs (msg_report_wait): New RPC. - - * fs.defs (file_invoke_translator): Function deleted. - - * fsys_reply.defs (fsys_startup_reply, fsys_getfile_reply, - fsys_syncfs_reply, fsys_set_options_reply, fsys_getpriv_reply, - fsys_forward_reply): New functions, completing interface. - - * fsys.defs: Doc fix. - -Wed Oct 25 15:59:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec_startup.defs: New file. - * subsystems: Add exec_startup at 30500. - -Thu Oct 12 16:56:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.defs: Add INTR_INTERFACE marker. - - * fs.defs (file_exec): Remove dealloc[] keywords, and revert - EXEC_TASK arg to task_t from mach_port_send_t. We cannot safely - use dealloc ool or move rights with the current RPC system. - -Tue Oct 10 17:29:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * exec.defs [EXEC_IMPORTS]: Use this if defined. - (exec_exec, exec_init, exec_setexecdata): Use file_t for receiver. - (exec_exec): Use mach_port_send_t for FILE. - -Sat Oct 7 05:26:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * fs.defs (file_exec): Add dealloc[] flag to most args. - -Fri Oct 6 17:18:36 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * fsys.defs (fsys_getpriv): Change types of returned ports to - mach_port_send_t. - - * fs.defs (file_get_storage_info): Change type of ADDRESSES to - off_array_t. Add ADDRESS_UNITS out parameter. - (dir_link): Swap the DIR and FILE parameters. - - * hurd_types.defs (off_array_t, size_t, ssize_t): New types. - * hurd_types.h (off_array_t): New type. - -Tue Oct 3 13:51:00 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * hurd_types.h (struct fsys_statfsbuf): fsys_stb_bsize -> - fsys_stb_iosize. fsys_stb_fsize -> fsys_stb_bsize. - -Tue Sep 26 11:16:56 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * hurd_types.h (file_storage_class): New type. - * fs.defs (file_get_storage_info): New RPC; use the slot that used - to hold file_pathconf. - -Sun Sep 17 17:57:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * fs.defs (file_truncate): RPC renamed to file_set_size. - - * io.defs (io_pathconf): New RPC. - * fs.defs (file_pathconf): RPC removed (replaced with skip). - - * hurd_types.h (EXEC_STACK_ARGS): New macro. - -Fri Sep 15 21:32:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * subsystems: core renamed to crash. - * paths.h (_SERVERS_CRASH): New macro. - (_SERVERS_CORE): Macro removed. - * core.defs: Renamed to crash.defs. - * crash.defs (crash_dump_task): Renamed from core_dump_task. - -Thu Aug 24 11:55:28 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * fsys.defs (fsys_forward): New rpc. - * subsystems: Remove tserver. - * tserver.defs: Removed. - -Mon Aug 21 14:08:52 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * tserver.defs (tserver_translate): New file. - * subsystems: Add tserver. - -Mon Jul 17 15:05:16 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * socket.defs (socket_create): Change type of SERVER to pf_t. - (socket_create_address, socket_fabricate_address): Rename first - arg to `server', of type mach_port_t (so it can be either pf_t or - socket_t). - (socket_recv): Change type of ADDR to mach_port_send_t. - (socket_send, socket_recv): Change type of AMOUNT to - mach_msg_type_number_t. - * hurd_types.h (pf_t): New type. - * hurd_types.defs (pf_t): New type. - -Mon Jun 26 19:23:38 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * fsys_reply.defs (fsys_goaway_reply): New routine, in its proper - place. - -Fri May 12 18:54:17 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * fsys.defs (fsys_set_options, fsys_mod_readonly): Replace - mod_readonly with the more general set_options interface. - -Mon Mar 20 21:44:59 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (REMHDRS): Add ../libps/ps.h. - -Mon Mar 6 15:25:27 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * process.defs: Doc fix. - -Tue Jan 17 03:14:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * msg_request.defs: Fix typo reply->request. - - * io.defs (io_select): Add user reply port and reply timeout args. - Make arg SELECT_TYPE inout, remove SELECT_RESULT out arg. - * io_reply.defs: Synchronize with new io_select definition. - - * hurd_types.h (EXEC_INHERITED): New macro. - - * msg_reply.defs: Prepend `msg_' to all RPC names. - (dir_changed, file_changed): Remove these skips. - * msg_request.defs: Prepend `msg_' to all RPC names. Add - msg_sig_post_untraced_reply and intervening skips. - * msg.defs: Prepend `msg_' to all RPC names. - (dir_changed, file_changed): RPCs moved to fs_notify.defs. - (msg_get_exec_flags, msg_set_exec_flags, - msg_set_some_exec_flags, msg_clear_some_exec_flags): New RPCs. - * fs_notify.defs: New file, broken out of msg.defs. - * subsystems: Add fs_notify at 20500. - - * msg_reply.defs: Add sig_post_untraced_reply, and intervening skips. - -Mon Jan 16 17:34:34 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * hurd_types.h (EXEC_TRACED): New macro. - * msg.defs (sig_post_untraced): New RPC. - - * msg.defs (io_select_done): RPC removed, replaced with a skip. - * io_reply.defs: Add ID_TAG arg. - * io_request.defs (io_select_request): Remove RETURN_PORT arg. - * io.defs (io_select): Remove RETURN_PORT arg; make ID_TAG inout. - -Fri Dec 9 00:35:47 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * io.defs (io_read, io_write, io_readable): Use - mach_msg_type_number_t in place of int. - -Tue Sep 13 11:03:23 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * auth.defs (auth_getids, auth_server_authenticate): Reverse - these changes; the auth server doesn't want them. - - * msg.defs (get_init_ports, get_init_ints, get_dtable, - get_env_variable): Added `dealloc' to variable sized OUT parameters. - -Mon Sep 12 19:28:35 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * auth.defs (auth_getids, auth_server_authenticate): Added - `dealloc' to variable sized OUT parameters. - * fs.defs (file_getfh, dir_readdir, file_get_translator): Likewise. - * io.defs (io_read): Likewise. - * login.defs (login_get_location, login_get_input_devices): Likewise. - * process.defs (proc_gethostname, proc_getallpids, - proc_getexecdata, proc_getprocargs, proc_getprocenv, - proc_getloginpids, proc_getsessionpgids, proc_getsessionpids, - proc_getpgrppids): Likewise. - * socket.defs (socket_whatis_address, socket_getopt, socket_recv): - Likewise. - -Sat Sep 10 06:08:19 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * tioctl.defs (sizes_t): Rename to winsize_t; make struct, not array. - * ioctl_types.h (sizes_t): Removed. - (winsize_t): New typedef for struct winsize. - (modes_t, speeds_t, cc_t): Use proper termios.h types. - -Tue Aug 30 04:23:25 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * fs.defs (dir_pathtrans): Renamed to dir_lookup; fixed comment. - -Fri Aug 26 12:45:51 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * fs.defs (file_set_translator): Separate FLAGS arg into PASSIVE_FLAGS - and ACTIVE_FLAGS; rename TRANS and EXISTING args to less confusing - names. - * hurd_types.h: New flag FS_TRANS_SET. - -Thu Aug 25 11:55:27 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * auth.defs (auth_user_authenticate, auth_server_authenticate): - Changed rend_int to be a port; mach_port_send_t on both sides. - * io.defs (io_reauthenticate): Pass a port instead of an int - for secondary rendezvous. - * process.defs (proc_reauthenticate): Pass a port instead of an - int for secondary rendezvous. - - * hurd_types.h (retry_type): Removed FS_RETRY_NONE; added - explicit initializers to keep the values constant. - - * hurd_types.h (FSTYPE_EXT2FS): New macroo. - - * hurd_types.h (struct procinfo): New member `logincollection'. - - * fsys.defs (fsys_syncfs, fsys_mod_readonly): New RPC's. - * fsys_reply.defs: Added two skips corresponding to new RPC's. - -Wed Aug 17 20:03:29 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * io.defs (io_select): Make RETURN_PORT arg mach_port_poly_t. - * msg.defs (io_select_done): Make NOTIFY_PORT arg mach_port_poly_t. - -Wed Aug 17 15:23:03 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * term.defs (termctty_open_terminal): New RPC. - -Mon Aug 15 11:49:54 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * startup.defs (startup_essential_task): Add sreplyport arg. - * startup_reply.defs: Add startup_essential_task_reply. - -Tue Aug 9 19:43:50 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * core.defs (core_dump_task): Add SIGERROR arg. - - * interrupt.defs (INTERRUPT_TIMEOUT): New macro. - Specify `waittime' with that value. - -Mon Aug 8 15:49:30 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * Makefile: Rewritten in accord with new scheme. - -Thu Jul 21 15:44:43 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (DIST_FILES, HDRS): Name header files explicitly. - -Fri Jul 15 22:53:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * subsystems: Rename utmp to login. - Mark begin and end of spread of subsystems used by ioctls. - * login.defs: Renamed from utmp.defs; renamed all calls. - -Fri Jul 15 18:20:34 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * fsys.defs (fsys_startup): Remove DOTDOT_NODE. - (fsys_getroot): Add arg DOTDOT_NODE. - -Thu Jul 14 11:46:56 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * utmp.defs: New file. - -Mon Jul 11 20:07:52 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd_types.defs (INTR_ROUTINE): Macro removed. - (INTR_INTERFACE): New macro. - * fs.defs: Invoke INTR_INTERFACE. Remove all INTR_ROUTINE uses. - * io.defs, process.defs, socket.defs: Likewise. - -Fri Jul 8 15:53:02 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * hurd_types.h (retry_type): Added new magical types "machtype" - and "/". - * fs.defs (dir_pathtrans): Doc fix. - - * msg.defs: Doc fix. - - * process.defs (proc_wait): Doc fix. - - * socket.defs (socket_fabricate_address): Added sockaddr_type - arg. - -Fri Jul 8 15:26:19 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * fs.defs (file_invoke_translator): New RPC. - - * hurd_types.defs (INTR_ROUTINE): New macro. - * socket.defs: Use INTR_ROUTINE for all interruptible RPCs. - * process.defs: Likewise. - * fs.defs: Likewise. - (dir_readdir): Make this interruptible. - -Fri Jul 8 14:22:11 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * tioctl.defs: Remove ifdefs that were omitting most of the - ioctls. Added RPCs for missing codes 118-123. Added - block of skips between 99 and 100. Added INTR to appropriate - calls. - -Tue Jul 5 14:46:49 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (DIST_FILES): Added subsystems. - - * fsys_reply.defs: Added fsys_getroot_reply in its proper place. - -Wed Jun 29 13:06:42 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * ifsock.defs (ifsock_setsockaddr, ifsock_assume_responsibility): - Deleted RPCs. - - * msg.defs (set_init_port, set_fd): Change back to using - mach_port_send_t instead of mach_port_t for PORT arg. - -Tue Jun 28 18:39:02 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * msg.defs (get_dtable, set_dtable): Add REFPORT arg. - (get_fd, set_fd): Add REFPORT and FD args. - (set_init_port, set_fd): Use mach_port_t instead of - mach_port_send_t for PORT arg. - (get_environment): Add dealloc flag to VALUE arg. - - * fsys.defs: Add RPT arg to all routines except fsys_init (which - has an unconditional sreplyport arg). - - * hurd_types.defs (sreply_port_t): New type. - (RPTDECL, RPT, RPTLAST): New macros (moved from io.defs). - * io.defs (reply_port_t): Type removed. - (RPTDECL, RPT, RPTLAST): Macros moved to hurd_types.defs. - * auth.defs (reply_port_t): Type removed. - (auth_user_authenticate, auth_server_authenticate): Use - sreply_port_t in place of reply_port_t. - * fsys.defs (fsys_init): Likewise. - - * msg.defs (sig_post): Likewise. - * process.defs (proc_getmsgport, proc_setmsgport, proc_wait): Likewise. - * startup.defs (startup_procinit, startup_authinit): Likewise. - -Fri Jun 24 03:54:53 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * term.defs (term_become_ctty): Renamed to term_open_ctty. - - * process.defs (proc_setprocargs): Renamed to proc_set_arg_locations. - (proc_get_arg_locations): New rpc. - * process_reply.defs: Add skip for proc_get_arg_locations. - -Thu Jun 23 11:59:49 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * term.defs (term_become_ctty): Delete SIGPT arg. - -Wed Jun 22 16:34:51 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * term.defs: Changed NEWTTY arg to be mach_port_send_t. - -Thu Jun 16 00:48:45 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * hurd_types.defs (file_changed_type_t, dir_changed_type_t): New types. - * hurd_types.h (INIT_PORT_LOGINCOLL): Removed. - (dir_changed_type_t, file_changed_type_t): New typedefs. - - * fs.defs (file_check_access): Renamed from file_access, interface - changed. - -Wed Jun 15 21:24:46 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * fsys.defs (fsys_getroot): New interface; similar to - fs.defs:dir_pathtrans. This eliminates the noxious need for - dir_pathtrans to work on null pathnames for non directories. This - is the Right Thing. - - * fs.defs (file_get_translator_cntl): Return port as - `mach_port_send_t' not `fsys_t'. - -Wed Jun 15 12:13:35 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * fs.defs (file_access): New RPC. - -Tue Jun 14 13:57:18 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * hurd_types.h: Reorganized; many comments fixed or improved. - - * hurd_types.h (enum verstype): Removed declaration. - (enum term_bottom_type): New type. - (TERM_ON_MACHDEV, TERM_ON_HURDIO, TERM_ON_MASTERPTY): Moved - into enum above. - (FSTYPE_SOCKET, FSTYPE_MISC): New macros. - - * msg.defs (dir_changed, file_changed): New RPCs. - * fs.defs (dir_notice_changes, file_notice_changes): New RPCs. - * hurd_types.h (enum dir_changed_type, enum file_changed_type): - New declarations. - - * fs.defs (dir_readdir): Totally new interface. - -Mon Jun 13 07:14:23 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * socket.defs: Corrected subsystem to 26000; was 20000, same as fs. - -Mon Jun 6 23:07:08 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * ioctl_types.h (modes_t, speeds_t, ccs_t, sizes_t): Make these - arrays of the appopriate sizes, not pointers. - -Sun Jun 5 22:41:08 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * tioctl.defs: Fix subsystem. - -Fri May 27 07:53:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * exec.defs (exec_exec): Add `servercopy' flag to DTABLE, - PORTARRAY, and INTARRAY args. - (exec_startup): Add `dealloc' flag to ARGV, ENVP, PORTARRAY, and - INTARRAY args. - (exec_setexecdata): Add `servercopy' flag to PORTS and INTS args. - -Wed May 25 13:32:31 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * io_reply.defs (io_readable_reply, io_get_openmodes_reply): Fix - typos. - -Thu May 12 00:43:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * fsys_reply.defs: New file. - * fsys.defs (reply_port_t): Define type. - (fsys_init): Add sreplyport arg. - - * process.defs (proc_setmsgport): Add sreplyport arg. - * process_reply.defs: Add proc_setmsgport_reply. - - * version.h: Added multiple inclusion protection. - (struct hurd_version): Fixed `vers' member. - (hurd_versions): Add braces. - -Wed May 11 16:05:43 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * startup.defs (startup_uname, startup_register_version): For - some bizzaro reason these didn't get removed. Now they are for real. - -Tue May 10 18:17:41 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * tioctl.defs, ioctl_types.h: New files. - -Mon May 9 14:28:06 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * version.h: New file. - - * startup.defs (startup_uname, startup_register_version): Removed - * process.defs (proc_uname, proc_register_version): New RPCs. - * process_reply.defs: Added skips corresponding to proc_name - and proc_register_version. - -Wed May 4 01:01:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * msg_request.defs: New file. - -Sun May 1 17:40:48 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd_types.h (utsname_t): New typedef. - * hurd_types.defs (utsname_t): Define type for MiG. - Import <sys/utsname.h>. - -Fri Apr 29 16:19:10 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * io.defs (io_prenotify, io_postnotify): File offsets should be - vm_offset_t. - - * io.defs (io_async): NOTIFY_PORT and ASYNC_ID_PORT - should be mach_port_send_t. - (io_get_icky_async_id): ICKY_ASYNC_ID_PORT should be - mach_port_send_t. - (io_map_cntl): Returned object should be mach_port_send_t. - - * io.defs: Added new type reply_port_t; added sreplyport of - that type to all the stubs when REPLY_PORTS is defined. - - * term.defs (term_getctty): CTTY arg should be mach_port_send_t - for the convenience of servers. - - * io.defs (io_readnotify): New RPC. - * shared.h (use_readnotify_size, readnotify_size): New members. - - * socket.defs: Change ports returned from servers to be - mach_port_send_t for the convenience of servers. - - * ifsock.defs (ifsock_assume_responsibility): Just take over the - bootstrap port directly; this is more reliable anyway. - - * fs.defs (file_set_translator): EXISTING arg should be - mach_port_send_t. - - * shared.h (shared_io): Added optimal_transfer_size. - - * hurd_types.h (HURD_RELEASE): New macro. - - * startup.defs (startup_uname, startup_register_version): New - RPCs. - - * startup.defs (startup_essential_task): require host priv port - for security. - - * exec.defs (exec_exec) : FILE arg should be mach_port_send_t. - -Thu Apr 28 22:58:14 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * msg.defs (reply_port_t): Define type. - (sig_post): Use reply_port_t for sreplyport arg; remove #ifdef. - * msg_reply.defs (reply_port_t): Define type. - (sig_post_reply): Use reply_port_t for first arg. - -Wed Apr 27 06:39:46 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * msg.defs (sig_post): Put sreplyport arg inside #ifdef MSG_SREPLYPORT. - -Thu Apr 21 21:17:37 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * msg.defs (get_init_port, set_init_port, get_fd, set_fd): Make - PORT arg mach_port_send_t. - (get_environment, set_environment, - get_env_variable, set_env_variable): New routines. - -Thu Feb 17 17:59:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd_types.defs (io_statbuf_t): Change size to 32 ints. - -Tue Feb 8 20:53:25 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * msg_reply.defs: Change subsystem to `msg_reply'. MiG-generated - header files use `#ifndef _subsystem_user_' to protect against - multiple inclusion, so two headers with the same subsystem conflict. - -Thu Feb 3 03:45:18 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd_types.h: Include <mach/task_info.h> and <mach/thread_info.h> - before using task_basic_info and thread_basic_info in sturct procinfo. - -Mon Jan 24 17:33:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * msg_reply.defs: New file. - -Tue Dec 21 01:11:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * socket.defs: Fix typos. - -Mon Dec 6 22:52:00 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * Made snapshot. - -Mon Dec 6 22:36:33 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * hurd_types.defs (flock_t): Defined. - * hurd_types.h (flock_t): Added typedef. - -Mon Dec 6 19:28:27 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * process.defs (proc_get_collports): Designate as INTR, also - return the pids. - -Wed Dec 1 21:41:06 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * hurd_types.h: Remove deprecated information: - INBAND_MAX_DATA, FS_LOOKUP_* bits. - Added PI_ZOMBIE. - - * process.defs (proc_getmsgport): Now is INTR. - - * io.defs (io_get_conch, io_release_conch, io_eofnotify, - io_prenotify, io_postnotify, io_readsleep, io_sigio): - Remove cntl argument. - -Tue Nov 23 12:18:21 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu) - - * fsys.defs (fsys_startup): control_port is now mach_port_send_t. - - * io.defs (io_map): remove `xx' argument. - - * process.defs (proc_handle_exceptions): forwardport is now - mach_port_send_t. - - * auth.defs, auth_reply.defs: Removed auth_combine and extended - auth_makeauth to take multiple auth ports. - - * shared.h, io.defs: Changed `it' terminology to `conch'. - -Mon Nov 22 22:58:59 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * io.defs: Changed io_map to use mach_port_send_t. - - * auth.defs: Changed auth_user_authenticate arg newport to be - mach_port_send_t. diff --git a/include/ChangeLog b/include/ChangeLog deleted file mode 100644 index 1416a84c..00000000 --- a/include/ChangeLog +++ /dev/null @@ -1,16 +0,0 @@ -2002-05-01 Marcus Brinkmann <marcus@gnu.org> - - * Makefile (install): New target, same as install-headers. - -2002-03-10 Roland McGrath <roland@frob.com> - - * sys/procfs.h: New file, specifies ELF core file format details. - * Makefile (installhdrs): New variable, list sys/procfs.h here. - (LCLHDRS): New variable, replaces ... - (DIST_FILES): ... this one, removed. - (install-headers, $(includedir)/%: $(srcdir)/%): New target and - pattern rule to install headers. - -Sat Jul 13 21:02:51 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile: New file. diff --git a/init/ChangeLog b/init/ChangeLog deleted file mode 100644 index 5d1b03a1..00000000 --- a/init/ChangeLog +++ /dev/null @@ -1,781 +0,0 @@ -2008-03-04 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * init.c (reboot_system): Initialize noise_len. - -2005-02-24 Ben Asselstine <benasselstine@gmail.com> - - * init.c (main): Only pass ARGP_NO_ERRS to argp_parse when invoked - by the bootstrap filesystem. - (flags): New variable. - -2002-05-07 Roland McGrath <roland@frob.com> - - * init.c (reboot_system): u_int -> size_t - (reboot_system): Likewise. - (S_msg_report_wait): int -> mach_msg_id_t - -2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca> - - * init.c (reboot_mach): Use ERR, not errno. - (run): Likewise. - (lauch_core_servers): Likewise. - (run_for_real): Use MACH_PORT_NULL explicitly. - (start_child): Likewise. - -2002-01-02 Roland McGrath <roland@frob.com> - - * init.c [KERN_INVALID_LEDGER]: - Pass extra arguments to task_create for OSF variant. - -2001-08-23 Roland McGrath <roland@frob.com> - - * init.c (main): Pass ARGP_NO_ERRS|ARGP_IN_ORDER to argp_parse. - -2001-08-20 Roland McGrath <roland@frob.com> - - * init.c [! SPLIT_INIT]: All this code removed. - [SPLIT_INIT]: This code no longer conditional. - (_PATH_RUNCOM, mapped_time, do_fastboot): Removed. - * Makefile (split-init): Variable removed. - (SRCS): Add stubs.c here unconditionally. - [$(split-init) = no]: Conditional defns removed. - (LCLHDRS): Variable removed. - * ttys.c, ttys.h: Files removed. - - * init.c (kernel_command_line): Variable removed. - (options, parse_opt): Remove -K option. - (frob_kernel_process): Collect arguments from &global_argv[1] - instead of slicing up kernel_command_line. - (start_child): Take a second arg, if non-null more arguments for PROG. - (launch_something): Change caller. On first try, pass &global_argv[1]. - -2001-07-02 Roland McGrath <roland@frob.com> - - * init.c (reboot_system): Don't pass null pointer to RPC out param. - Thanks to Moritz Schulte <moritz@chaosdorf.de> for finding this. - -2001-01-17 Neal H Walfield <neal@cs.uml.edu> - - * init.c (open_console): Conform to new fshelp_start_translator - semantics. - -2000-12-21 Marcus Brinkmann <marcus@gnu.org> - - * init.c (process_rc_script): If malloc fails, return ENOMEM. - Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>. - -2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> - - * init.c (launch_core_servers): Don't use MOVE_SEND in Hurd RPCs. - -2000-03-13 Roland McGrath <roland@baalperazim.frob.com> - - * stubs.c (send_signal): Don't use mach_msg_destroy, since it wants - the local/remote ports reversed. Destroy the rights by hand instead. - - * stubs.c (send_signal): Make MESSAGE auto instead of static. - Take new argument TIMEOUT, passed to mach_msg instead of zero. - (send_signal): For MACH_SEND_TIMED_OUT failure, destroy the - pseudo-received message to avoid leaking send rights. - - * init.c (process_signal): Pass new argument, timeout of 500 ms. - -1999-09-28 Thomas Bushnell, BSG <tb@mit.edu> - - * init.c (frob_kernel_process): Allocate the kernel's page in the - actual kernel task, not in our own. I wonder how this ever - worked. Also if we fail in that allocation, free the page we - allocated in our own space. - -1999-08-24 Roland McGrath <roland@baalperazim.frob.com> - - * init.c (notify_shutdown): Add const to argument type. - -1999-07-24 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (split-init): Set to `yes' by default. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * init.c: Add #include <sys/mman.h> for munmap decl. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * init.c (frob_kernel_process): Use mmap instead of vm_allocate. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * init.c (reboot_system): Use munmap instead of vm_deallocate. - (frob_kernel_process): Likewise. - (kill_everyone): Likewise. - -1999-06-19 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (HURDLIBS): Add ports and fshelp only if $(split-init)!=yes. - - * init.c (open_console): Put this function inside [! SPLIT_INIT]. - -1999-06-18 Roland McGrath <roland@baalperazim.frob.com> - - * init.c [SPLIT_INIT] (child_pid, child_task): New variables. - (process_signal, start_child, launch_something, launch_system): New - functions. - [! SPLIT_INIT] (system_state, shell_pid, rc_pid, launch_single_user, - process_rc_script, launch_multi_user, launch_system, kill_everyone, - kill_multi_user, process_signal): Variables and functions put inside - #ifndef SPLIT_INIT. - * stubs.c: New file, modified from ../proc/stubs.c. - * Makefile (SRCS): Remove ttys.c here. - [$(split-init) = yes] (SRCS): Add stubs.c - [$(split-init) = yes] (init-CPPFLAGS): New variable, -DSPLIT_INIT. - [$(split-init) = no] (SRCS): Add ttys.c only here. - [$(split-init) = no] (LDLIBS): Put defn (-lutil) under this test. - (split-init): New variable to turn on split-init, commented out. - -1999-06-15 Roland McGrath <roland@baalperazim.frob.com> - - * init.c (booted): New variable. - (open_console): Use that instead of system_state. - (S_startup_essential_task): Likewise. - (do_mach_notify_dead_name): Likewise. - (launch_system): New function. - (S_startup_essential_task): Call it. - - * init.c (global_argv): Make static. - - * init.c (startup_envz, startup_envz_len): New variables. - (run, run_for_real): Use those for child environment. - (main): Set them up from our ENVP argument. - -1999-06-14 Roland McGrath <roland@baalperazim.frob.com> - - * init.c (main): Barf if run in a normal Hurd environment (not boot). - - * init.c (record_essential_task): Add missing return. - - * ttys.c: Include "ttys.h". - -1999-06-13 Roland McGrath <roland@baalperazim.frob.com> - - * init.c (kill_multi_user): Suggest `ps -AlM' in error message. - - * init.c (record_essential_task): New function, broken out of - S_startup_essential_task. - (S_startup_essential_task): Call it. - (frob_kernel_process): Call it for kernel task port. - (kill_everyone): Remove special case for PID 2 (kernel task). - - * init.c (run): Add const to SERVER arg, PROG local. - Don't trim directory name from PROG for argument. - - * ttys.c (struct terminal): Use `pid_t' for `pid' member. - (ttys, nttys, ttyslen): Make variables static. - (setup_terminal, add_terminal, find_line, startup_terminal, - shutdown_terminal): Make all these functions static. - - Move all the /etc/ttys handling stuff into a separate source file. - * init.c (_PATH_LOGIN, WINDOW_DELAY, struct terminal, - nttys, ttyslen, setup_terminal, add_terminal, - init_ttys, free_ttys, startup_terminal, startup_ttys, - find_line, restart_terminal, shutdown_terminal, reread_ttys): Move to - * ttys.c: ... here, new file. - * ttys.h: New file, declare external functions in ttys.c. - * Makefile (SRCS): Add ttys.c. - (OBJS): Derive from $(SRCS). - (LCLHDRS): New variable, add ttys.h. - -1999-06-05 Roland McGrath <roland@baalperazim.frob.com> - - * init.c (request_dead_name): New function. - (S_startup_request_notification, S_startup_essential_task): Use it. - (run): Request dead-name notification for new task. - (main): Request dead-name notification for FSTASK. - (do_mach_notify_dead_name): If system_state is INITIAL, recognize - FSTASK, AUTHTASK, PROCTASK specifically and crash with appropriate msg. - -1999-06-04 Roland McGrath <roland@baalperazim.frob.com> - - * init.c (launch_core_servers): Use proc_child on the proc server task - to register it with itself as our child. Snarf its proc port and use - proc_mark_exec do remove that unsightly `f', as we do for the other - bootstrap processes. - -1999-06-02 Roland McGrath <roland@baalperazim.frob.com> - - * init.c (frob_kernel_process): If no --kernel-command-line option, - try `getenv ("MULTIBOOT_CMDLINE")' before defaulting to "(kernel)". - -1999-06-01 Roland McGrath <roland@baalperazim.frob.com> - - * init.c (CRASH_FLAGS): Macro removed. - (crash_flags): New variable replaces it. - (crash_mach, crash_system): Use crash_flags instead of CRASH_FLAGS. - (options, parse_opt): Add --crash-debug/-H, to set crash_flags to - RB_DEBUGGER. - - * init.c (kernel_command_line): New variable. - (frob_kernel_process): New function. - (S_startup_essential_task): Call it after init_stdarrays. - (options): Add --kernel-command-line/-K option. - (parse_opt): Grok -K, set kernel_command_line. - -Sat Mar 6 17:13:48 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * init.c (do_mach_notify_dead_name): Deallocate the extra - reference to NAME that the notification carries. - -Tue Feb 16 18:54:33 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * init.c (shutdown_terminal): Revoke access to the terminal from - existing programs. - -1998-10-24 Roland McGrath <roland@baalperazim.frob.com> - - * init.c (main): Don't bogusly clear bootstrap_args. - Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>. - -Tue May 12 12:03:38 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * init.c (setup_terminal): Free LINE after done using it. - (process_rc_script): Likewise free RCARGS. - Both reported by Katusya Tanaka (wyvern@pb3.so-net.ne.jp). - -1997-06-30 Miles Bader <miles@gnu.ai.mit.edu> - - * init.c (bootstrap_args): Initialize to 0. - (parse_opt): New function. - (options, doc): New variables. - (main): Parse args using argp. - Include <argp.h>. - -Thu Sep 12 16:32:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (init): Delete special target. - - * Makefile (mung_msg_S.h): Put rule *after* inclusion of Makeconf. - -Thu Sep 5 11:12:32 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * init.c: Include <version.h>. - (init_version): Delete variable. - (launch_core_servers): Pass empty string as release; HURD_VERSION - as version. - -Tue Aug 13 17:51:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (init): Remove -lutil. - (libutil-libsubst): Variable removed. - (LDLIBS): New variable. - -Mon Aug 12 11:12:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * init.c (setup_terminal): Declare LINE. - (add_terminal): Don't declare LINE. - -Thu Aug 8 16:34:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * init.c (setup_terminal): New function. - (add_terminal): Use setup_terminal. - (reread_ttys): When turning an existent terminal spec on, call - setup_terminal before startup_terminal. - - * init.c (struct terminal): New member `read'. - (shutdown_terminal): New function. - (reread_ttys): Use shutdown_terminal instead of doing it by hand. - Keep track of which ttys we used to know about are no longer in - /etc/ttys, and treat them as now `off'. - - * init.c (kill_everyone): `continue' in the essential task case - didn't go back to the main loop; fix it up correctly. - -Tue Jul 16 11:55:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c (process_signal): Set WUNTRACED in call to waitpid. - -Sun Jul 7 21:18:10 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c (init_stdarrays): Don't use unsafe MOVE_SEND in call to - interruptible proc_setexecdata. - (open_console): Likewise, for file_set_translator. - -Wed Jul 3 14:46:41 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (init): Add libports (because libfshelp.so requires it, - lose lose lose). - - * init.c (process_signal) [case SIGCHLD]: Correctly place `break' - *outside* of for loop. - -Mon Jul 1 18:07:56 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c (process_signal): On SIGCHLD, keep reaping children until - we get an error; tolerate all errors silently. - -Mon Jun 24 16:29:24 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c (kill_multi_user): Kill user tasks before doing - notify_shutdown. - -Fri Jun 21 16:17:08 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * init.c (open_console): Pass correct length of argument vector - when setting active translators. - <maptime.h>: New include. - (open_console): Print error messages for /dev/console failures. - Reduce the scope of some variables. - -Thu Jun 20 14:51:14 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c (mapped_time): New variable. - (launch_multi_user): Initialize mapped_time. - - * init.c (_PATH_RUNCOM): Move to /libexec/rc. - -Wed Jun 19 14:49:08 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c (run_for_real): Doc fix. - (startup_terminal): Deal properly if one of the run_for_real's - fails. - (launch_single_user): If the shell can't be started, crash the - system. - (process_rc_script): Return non-zero if run_for_real fails. - (process_signal) [SIGCHLD]: If process_rc_script fails, go back to - single-user. - (S_startup_essential_task): Likewise. - (init_ttys): Return non-zero if we fail. - (startup_terminal): Return non-zero if we don't actually start - anything. - (startup_ttys): Return non-zero if we fail. - (launch_multi_user): If init_ttys fails, go back to single. If we - go multi, actually set system_state accordingly. If startup_ttys - fails, go back to single. - (init_ttys, reread_ttys): Test return value of setttyent - correctly. - -Mon Jun 17 14:05:33 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (libutil-libsubst): Define (as -lutil); and link - against -lutil. - * init.c: Include <ttyent.h>, <argz.h>, and <utmp.h>. - (add_terminal, init_ttys, free_ttys, startup_terminal, - startup_ttys, find_line, reread_ttys, restart_terminal): New functions. - (launch_multi_user): Use new functions to do things right. - (session_pid): Delete variable. - (kill_multi_user): Call free_ttys. - (process_signal) [SIGHUP]: Call reread_ttys. - [SIGCHLD/MULTI]: Call restart_terminal. - - * init.c (run_for_real): New arg `setsid'; only do setsid if it's - set. All callers changed. Return the pid of the new program, - not the task port. All callers changed. - - * Makefile (dir): Now init. - - * init.c: Include "mung_msg_S.h" instead of "msg_S.h". - (S_msg_sig_post, S_msg_sig_post_untraced): Include SIGCODE parm. - * Makefile (mung_msg_S.h): New rule. - -Mon Jun 17 00:17:37 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * init.c (run_for_real, open_console, process_signal, reboot_mach, - run_for_real, run, reboot_system): Use error instead of fprintf. - (notify_shutdown): Always emit terminating newline. - -Fri Jun 14 11:07:30 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c: Include <paths.h>, <error.h>, <sys/wait.h>, and - <hurd/msg_reply.h>. - (S_startup_essential_task): When all core servers have - showed up, call launch_single_user only if RB_SINGLE; otherwise - call process_rc_script. Call init_stdarrays here. - (open_console): New function; massaged guts taken from - launch_single_user. Be more verbose if we do something unusual. - (launch_single_user): Call open_console. Don't call - init_stdarrays here. - (system_state, default_ints): New variables. - (main): Initialize SYSTEM_STATE and DEFAULT_INTS. - (run_for_real): Pass default_ints. - (run): Likewise. - (S_startup_essential_task): Delete var INITDONE; use SYSTEM_STATE - instead. - (launch_single_user): Set SYSTEM_STATE to SINGLE. - (process_rc_script): New function. - (launch_multi_user): New function. - (kill_everyone): New function. - (kill_multi_user): New function. - (do_fastboot, rc_pid, session_pid): New variables. - (process_signal): New function; guts from S_msg_sig_post_untraced. - Handle state transitions here when programs exit. Process - SIGTERM, and SIGHUP appropriately. - (_PATH_RUNCOM, _PATH_LOGIN): New macros. - (S_msg_sig_post_untraced): Only validate signal here; use - process_signal to do the work, but reply first. - (S_msg_sig_post): Likewise. - (notify_shutdown): New function. - (reboot_system): Use notify_shutdown. - -Wed Jun 12 16:01:17 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c (S_startup_request_notification): Fill NT->name properly. - -Mon May 27 11:33:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * init.c (launch_single_user): Open TERM RDWR. - Use openport to get FD from TERM. - Print errno on assertion failure for FD. - -Fri May 24 12:29:20 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c (reboot_mach): Insert a brief pause before actually - rebooting the kernel so that the user has a chance to see any - messages that may be displayed. - -Tue May 14 11:26:49 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c (S_msg_get_exec_flags, S_msg_set_all_exec_flags, - S_msg_set_some_exec_flags, S_msg_clear_some_exec_flags): Delete - functions. - (S_msg_describe_ports): New function. - - * init.c (reboot_system): Print prettier messages for shutdown - notifications. - -Fri May 10 09:25:16 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c: <hurd/startup_notify.h> -> "startup_notify_U.h". - * Makefile (OBJS): Add startup_notifyUser.o. - -Thu May 9 19:03:24 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c (struct ntfy_task): New member `name'. - (S_startup_request_notification): Expect and record name. - (S_msg_startup_dosync): Delete function. - Include <hurd/startup_notify.h>. - (reboot_system): Use new startup_dosync interface. - - * init.c (init_stdarrays): Use new authentication interface. - -Mon May 6 14:25:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c (init_version): Upgrade to 0.0. - -Mon Apr 29 16:49:18 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c (reboot_system): Not quite yet, though. - -Sun Apr 28 19:15:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * init.c (reboot_system): Use 1 minute timeout on reply to - msg_startup_dosync. - -Wed Apr 17 17:06:30 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * init.c (launch_single_user): Set an active, not passive, - translator on /tmp/console, so it works with / read-only. - * Makefile (init): Depend on libfshelp. - -Mon Mar 25 16:55:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (init): Add explicit dependency so that - libshouldbeinlibc is included. - * init.c: Include <wire.h>. - (main): Delete declarations of _etext _edata, and __data_start. - (main): Use new wire_task_self function instead of doing it ourselves. - -Tue Dec 19 18:29:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * init.c (launch_core_servers, run_for_real): Call proc_mark_exec - on child proc ports. - -Tue Dec 5 15:22:25 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init.c (launch_single_user): Change initialization of TERMINAL - to match new term driver arg syntax. Start terminal as ordinary - passive translator instead of special weird kludge. Deleted - variables foobiebletchcount, foobiebletch, and termtask. - -Sun Nov 5 02:03:33 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * init.c (reboot_system): Add flags, noise, & noise_len params to - proc_getprocinfo. Deallocate NOISE if necessary. - (S_msg_report_wait): New function. - -Tue Oct 24 16:49:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * init.c: Undo last change of 9Oct95. - -Mon Oct 9 04:29:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * init.c: Pass dealloc args in file_exec calls. - -Thu Jul 6 15:34:23 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * init.c (S_msg_sig_post, S_msg_sig_post_untraced): Reverse order - of these definitions. - - * init.c: Include <hurd/msg_server.h>. - (reboot_mach): Insert extra parens around assignment inside while - test. - (launch_core_servers): Remove assignment from inside if test. - - * Makefile: Removed dependencies that are now automatically - generated. - -Thu Feb 9 17:18:21 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * init.c (S_msg_sig_post_untraced): Omit obnoxious "random child - died" messages. - -Sat Jan 28 15:00:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * init.c: Include "msg_S.h". Prepend `msg_' to msg.defs server - functions. Add stubs for new msg.defs functions. - -Thu Jan 19 01:59:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * init.c: Prepend `msg_' to names of msg.defs RPCs. - -Mon Nov 28 15:00:42 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * init.c (run_for_real): Print error msg if file_exec fails. - (shell_pid): New variable. - (demuxer): Also try msg_server. - (launch_single_user): Open terminal O_RDWR and dup to 0, 1, 2. - Set shell_pid after starting shell. - (S_sig_post): New function; grok SIGCHLD and restart shell if - shell_pid dies. - * Makefile (OBJS): Add msgServer.o. - (init.o): Depend on msg_S.h. - -Fri Nov 11 14:06:43 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * init.c (fakeboot): New variable. - (STANDALONE): Deleted macro. - (main): Set FAKEBOOT if -f was passed. - (reboot_mach): Use FAKEBOOT flag instead of STANDALONE macro. - (launch_core_servers): Likewise. - (reboot_system): Likewise. Also don't exit here; let - reboot_mach exit. - -Tue Nov 1 04:13:49 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * init.c (main): Use &_start for start of text to wire. - (main): Use assert_perror in place of `assert (!err)'. - (launch_single_user): Use _PATH_CONSOLE and _PATH_BSHELL instead - of hardcoded strings. - Check for error from io_stat on console, print message. - Add #if 0'd code to prompt for shell name. - -Tue Sep 6 13:09:40 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * init.c (launch_single_user): Don't run device or pipes - servers by default. Run terminal server inside /tmp if - /dev/console isn't set up properly. - -Wed Aug 31 01:03:51 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * init.c (launch_single_user): Test TERMTASK as port, not boolean; - if null, properly initialize TERM to MACH_PORT_NULL as well. - -Tue Aug 30 17:07:07 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * init.c: Include <hurd/term.h>. - - * init.c (run): Use file_name_lookup instead of path_lookup. - (launch_single_user): Likewise. - (run_for_real): Likewise. - - * init.c (init_stdarrays): Use new authentication protocol. - -Mon Aug 22 16:44:11 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * init.c (run_for_real): If CTTY is set, then also put the process - in its own login collection. - -Fri Aug 19 12:16:47 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * init.c (run_for_real): New arg `ctty'. All callers changed. - If it's set, then set the new process's INIT_PORT_CTTYID - accordingly, and change CTTY's owner to be the new process pgrp. - (launch_single_user): Don't free TERM right away, only do it - after we've passed it to run_for_real on the shell. - -Thu Aug 18 16:48:08 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * init.c (main): Print informative bootstrap messages. - (launch_core_servers): Likewise. - (launch_single_user): Likewise. - (run): Don't print meaningless bootstrap clutter. - - * init.c (launch_single_user): Use task_info; it's less intrusive - than task_suspend/task_resume. - - * init.c (launch_single_user): Run pipes before shell. - - * init.c (launch_single_user): Pause a bit to give term a chance - to startup. - - * init.c (bootstrap_args): New variable. - (main): Set `bootstrap_args' appropriately from argv[1]. - (prompt_for_servers): Deleted variable. - (run): Use RB_INITNAME instead of prompt_for_servers. - Only do `pausing' hack if RB_KDB is set. - (run_for_real): Likewise. - - * init.c (main): Wire text and data segment soon after starting. - -Wed Aug 17 19:20:51 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * init.c (run_for_real): Call proc_setsid on new proc. - -Wed Aug 17 14:04:18 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * init.c (init_stdarrays): New function. - (launch_single_user): Call init_stdarrays. - -Tue Aug 16 00:44:20 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * init.c (launch_single_user): Prompt whether to run term or dev. - - * init.c (main): Set default_ports[INIT_PORT_BOOTSTRAP] to STARTUP - while running proc and auth, and then reset it to null. - -Mon Aug 15 23:16:24 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * init.c (launch_single_user): Use a volatile var to choose dev or - term, so you can set it in gdb. - (main): Set bootstrap port to MACH_PORT_NULL after fetching it. - Don't set default_ports[INIT_PORT_BOOTSTRAP]; it should be nil. - -Mon Aug 15 11:40:34 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * init.c (launch_core_servers): Renamed from launch_system. - Don't start dev, term, pipes, or shell here. - (S_startup_procinit): Call launch_core_servers instead of - launch_system. - (S_startup_authinit): Likewise. - (launch_single_user): New function. - (S_startup_essential_task): Call launch_single_user once - all the core servers have registered themselves here. - -Fri Aug 12 14:05:07 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * init.c (launch_system): Comment out use of dev for now. - -Thu Aug 11 12:25:32 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * init.c (launch_system): Run dev instead of term. - -Thu Jul 21 17:45:45 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile: Rewritten in accord with new scheme. - * init.c: Include "startup_reply_U.h instead of "startup_reply.h". - (demuxer): Remove S_ from references to startup_server. - -Tue Jul 19 20:36:30 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * init.c (run_for_real): Moved unused var BUF inside #if 0 where used. - (launch_system): Call proc_set_arg_locations, not proc_setprocargs. - -Tue Jul 19 12:44:56 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (init): Don't use variable $(link) anymore. - -Tue Jul 5 14:21:34 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * init.c (launch_system): After terminal driver is running, - reopen stdin so that we always read through it. Don't do - output, because that (for reliability) shouldn't depend - on the terminal driver. - (main): Open stdin separately from stdout/stderr. - - * Makefile (SRCS): New variable. - -Fri Jul 1 11:19:46 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * init.c (run_for_real): Return the task we created. All callers - changed. - -Tue Jun 21 14:08:37 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * init.c (launch_system): Correct first arg to pipes. - -Mon Jun 20 15:06:19 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * init.c (launch_system): Look for pipes in /hurd/pipes, not - /bin/pipes. - - * init.c (run_for_real): Comment out old code that prompts user; - abandon attempt if we can't run something. - - * Makefile (install): Use $(INSTALL_BIN) instead of cp. - -Fri Jun 17 00:13:50 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * init.c (demuxer): Use S_startup_server instead of startup_server. - -Wed Jun 15 18:14:59 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * init.c (launch_system): Start pipes server after starting shell. - - * init.c (run_for_real): New parms ARGS and ARGLEN. All callers - changed. - -Tue May 24 02:20:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * init.c (launch_system): Start the shell before doing proc_setmsgport. - -Tue May 24 00:05:43 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * init.c (launch_system): Call proc_setmsgport before fsys_init. - -Mon May 16 14:43:47 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * init.c (reboot_system): Restore bits commented out on May 12; - the proc bug responsible has been fixed. - -Fri May 13 14:59:12 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * init.c (launch_system): Make sure the auth server's proc state - is correct *before* calling startup_authinit_reply. - -Thu May 12 15:13:10 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * init.c (reboot_system): Comment out bits checking to see - if the procserver has died; they aren't quite right. - - * init.c (S_startup_essential_task): Don't take over the exception - port of the task right now; this interferes with things too much. - -Thu May 12 02:22:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * init.c (launch_system): Don't call _hurd_proc_init; just call - proc_setprocargs ourselves. - (launch_system): Do proc_setmsgport last. - (run, run_for_real): Pass argv[0] with name of program. - -Mon May 9 14:30:11 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * init.c (init_version): New variable. - (launch_system): Call proc_register_version; don't call - proc_setprocargs (which is done by _hurd_proc_init). Give - correct argument to _hurd_proc_init. - - * init.c (S_startup_register_version, S_startup_uname): Deleted. - -Fri May 6 13:01:04 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * init.c (S_startup_register_version, S_startup_uname): - New functions (temporary only). - -Thu May 5 19:15:39 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * init.c: Include <hurd/msg.h> for prototype of startup_dosync. - Change return types of MiG stubs to be kern_return_t. - (S_startup_essential_task): Expect new arg CREDENTIAL and - validate it. - -Thu May 5 07:44:21 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile: Change uses of $(headers) to $(includedir). diff --git a/isofs/ChangeLog b/isofs/ChangeLog deleted file mode 100644 index 33a232fa..00000000 --- a/isofs/ChangeLog +++ /dev/null @@ -1,282 +0,0 @@ -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * inode.c (read_disknode): Adapt to ``struct stat'' changes. - -2007-03-25 Thomas Schwinge <tschwinge@gnu.org> - - * inode.c (read_disknode): Correctly convert from nanoseconds to - microseconds. - -2005-02-23 Alfred M. Szmidt <ams@gnu.org> - - * Makefile (iso9660fs.static): New target. - -2003-08-31 Marcus Brinkmann <marcus@gnu.org> - - * main.c (diskfs_readonly, diskfs_hard_readonly): Removed. - (main): Set diskfs_readonly and diskfs_hard_readonly to one. - -2002-09-29 Marcus Brinkmann <marcus@gnu.org> - - * Makefile (target): Change to iso9660fs. - * main.c (diskfs_server_name): Change to iso9660fs. - -2002-08-06 Marcus Brinkmann <marcus@gnu.org> - - * inode.c (use_file_start_id): Use file_start for directories, so - the inode of the directory is used for the ".." entries in all - sub-directories. Contrary to ChangeLog entry 2001-11-27, this is - safe, because the ISO9660 specification mandates that the first - entry in every directory must be ".", so a non-file_start using - directory record can not be the first one. - -2002-06-08 Roland McGrath <roland@frob.com> - - * inode.c (diskfs_cached_lookup): Use ino_t for argument. - -2002-05-08 Roland McGrath <roland@frob.com> - - * rr.c (rrip_work): Cast pointer to uintptr_t instead of int. - - * main.c (diskfs_append_args): unsigned -> size_t - * lookup.c (diskfs_get_directs): Likewise. - -2001-04-30 Marcus Brinkmann <marcus@gnu.org> - - * rr.c (rrip_work): In the MATCH_NAME case, free NMBUF if it is - non-zero before returning. - -2001-04-29 Marcus Brinkmann <marcus@gnu.org> - - * lookup.c (diskfs_get_directs): If an RE entry is encountered, - just decrement I again. Rearrange the code to check for a new - logical sector in any case. Also make sure to always release RR - before returning. This fixes some memory leaks and Debian bug - report #63373. - -2001-02-25 Roland McGrath <roland@frob.com> - - * lookup.c: Include <stdlib.h> for abort decl. - -2001-02-20 Marcus Brinkmann <marcus@gnu.org> - - * inode.c: Include <time.h>. Reported by Arkadi E. Shishlov - <arkadi@it.lv>. - -2001-01-07 Marcus Brinkmann <marcus@gnu.org> - - * lookup.c: Make diskfs_dirstat_size const. - -2000-12-21 Marcus Brinkmann <marcus@gnu.org> - - * rr.c (rrip_work): Use strdup instead malloc and strcpy. - Assert that strdup and malloc (for rr->trans) succeeds. - * pager.c: Include <errno.h>. - (create_disk_pager): If malloc fails, exit with error. - * main.c (read_sblock): Fail if malloc does. - * inode.c (diskfs_cached_lookup): When allocating memory for dn or - np fails, release spinlock, rrip (and allocated memory) and return - ENOMEM. - (load_inode): Likewise (but no rrip). Also, if *npp is non-zero, - release diskfs_node_refcnt_lock before returning. - Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>. - -2000-11-27 Marcus Brinkmann <marcus@gnu.org> - - The last two changes introduced two new inode overlaps - (file_start was not shifted by store block size, and directories' - shifted file_start offset can be the same as the struct dirrect - offset of their first directory entry). - - * inode.c (use_file_start_as_id): New function to determine - if to use file_start or struct dirrect * as node id. - The directory recognition code comes from read_disknode. - (cache_inode): Use use_file_start_as_id instead doing the work - ourselve. Shift file_start by store->log2_block_size. - (load_inode): Likewise. - * lookup.c (diskfs_get_directs): Likewise. - Declare use_file_start_id. - -2000-11-26 Marcus Brinkmann <marcus@gnu.org> - - Fix hard link handling for non-zero length files. - * inode.c: Fix comment about inode numbers. - (node_cache): New member ID to store unique identifier. - (inode_cache_find): Change RECORD arg into ID and compare it - with id member of node_cache. - (cache_inode): Swap order of args and add new arg RR (change dr - into record along the way). Use RR to find out cache ID. - Use id member of node_cache to look for ID. Cache ID. - (load_inode): Call inode_cache_find with correct ID, depending - on RR and file size. Frob arguments to cache_inode to comply with - the new definition. - (read_disknode): Set st_ino according depending on RR and file size. - * lookup.c: Doc spelling fix. - (diskfs_get_directs): Include code again that was removed by last change, - but use it only if not symlink or zero length file. - -2000-11-26 Marcus Brinkmann <marcus@gnu.org> - - Closes Debian Bug #68417: - * rr.c (rrip_work): In helper function add_comp set targused to - zero after malloc, and loop over realloc in case doubling is not - enough. After finalizing the link, set VALID_SL valid flag. - * inode.c (read_disknode): For links use rl->target instead - rl->name. - - Closes Debian Bug #69281: Don't use file_start as inode numbers, - but the offset of the directory record in disk_image. This is what - Linux 2.4 does. - * isofs.h (struct disknode): New member struct dirrect *dr. - * inode.c: Fix comment about inode numbers. - (struct node_cache): Fix comment about file_start (it's not unique). - In fact, file_start is invalid for symlinks, and only stored here - for convenience. Maybe caching file_start can be avoided by - rearranging the code. - (inode_cache_find): Change first argument from off_t file_start - to struct dirrect *dr and fix the doc. - Compare cached value of DR with this argument, instead FILE_START. - (diskfs_cached_lookup): Set DR member of DN. - (load_inode): Call inode_cache_find with RECORD instead FILE_START. - Set DR member of DN. - (read_disknode): Set inode number to DR - DISK_IMAGE instead - FILE_START. - * lookup.c (diskfs_get_directs): Remove variable file_start. - Don't calculate file_start. Set D_FILENO to EP - DISK_IMAGE - instead FILE_START. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile (HURDLIBS): Reorder libs such that the threads lib - comes before the ports lib. This makes sure the functions in - libthreads properly override the stubs in libports with the new - dynamic linker semantics in glibc 2.2. - -1999-11-20 Roland McGrath <roland@baalperazim.frob.com> - - * lookup.c (dirscanblock): Add const to type of NAME parameter. - (isonamematch): Likewise. - * rr.c (rrip_match_lookup): Likewise. - (rrip_work): Likewise. Change char -> size_t for MATCH_NAMELEN. - * rr.h: Update decls. - -1999-10-13 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (diskfs_name_max): New variable. - -1999-09-13 Roland McGrath <roland@baalperazim.frob.com> - - * pager.c: Reverted changes related to io_map_segment. - -1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> - - * pager.c (diskfs_get_filemap): Accept additional parameter. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * isofs.h: Add #include <sys/mman.h> for munmap decl. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * lookup.c (diskfs_get_directs): Use mmap instead of vm_allocate. - * pager.c (pager_read_page): Likewise. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * lookup.c (diskfs_get_directs): Use munmap instead of - vm_deallocate. - -1999-06-13 Roland McGrath <roland@baalperazim.frob.com> - - * lookup.c (diskfs_get_directs): Add cast to silence warning. - -1999-01-23 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (main): Use diskfs_init_main. - -1999-01-22 Roland McGrath <roland@baalperazim.frob.com> - - * rr.c (rrip_work): Remove makedev macro definition. - -1998-12-27 Roland McGrath <roland@baalperazim.frob.com> - - * inode.c (diskfs_set_statfs): Remove __ from struct statfs members. - Use bzero first instead of setting individual fields to zero. - -1998-12-21 Mark Kettenis <kettenis@phys.uva.nl> - - * inode.c (diskfs_set_statfs): Fill in statfs members with - sensible values. - -Wed Oct 28 22:52:04 1998 Joel N. Weber II <devnull@methedrine.ai.mit.edu> - - * inode.c (read_disknode): Use FSTYPE_ISO9660. - -1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - - * lookup.c (diskfs_lookup_hard): Fix defn with `const'. - (diskfs_direnter_hard): Likewise. - (diskfs_get_directs): Use `const' for local var NAME. - * inode.c (diskfs_set_translator): Fix defn with `const'. - -1997-09-22 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (diskfs_append_args): New function. - -1997-09-19 Miles Bader <miles@gnu.ai.mit.edu> - - * rr.h (GNUEXT_ID): Make value a string. - * rr.c (rrip_work): ER->lenid should be ER->len_id. - Remove unused variable. - -1997-09-18 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (read_disknode): RR should be RL. - Assign 0's type-correctly to NP->dn->translator and ->translen. - (diskfs_node_norefs): The translator field is in NP->dn, not NP. - -Tue Sep 16 15:34:21 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * rr.c (gnuext_live): New variable. - (rrip_work): Comprehend AU, TR, MD, and FL, all as GNU - extensions. Recognize GNU extension id field when processing ER - fields. - (release_rrip): Free RR->trans if it's live. - * inode.c (read_disknode): Interpret and install the values set by - AU, TR, MD, and FL extensions. - (diskfs_node_norefs): Free NP->translator if it's set. - * isofs.h (struct disknode): New members `translen' and - `translator'. - * rr.h (struct gn_au, struct gn_tr, struct gn_md, struct gn_fl): - New strucures. - (GNUEXT_SRC, GNUEXT_DES, GNUEXT_ID, GNUEXT_VERS): New macros. - (struct rrip_lookup): New members author, translen, trans, - allmode, flags. - (VALID_AU, VALID_TR, VALID_MD, VALID_FL): New macros. - - * Makefile (DIST_FILES): Add, referring to EXTENSIONS. - * EXTENSIONS: New file. - -Wed Aug 20 14:29:11 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * pager.c (diskfs_get_filemap): If pager_create fails, return - error to caller. - -Tue Aug 19 14:20:09 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * 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. - -Thu Aug 7 16:01:29 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * inode.c (read_disknode): Units of st_blocks are 512 byte chunks, - not logical_block_size chunks. - -1997-07-22 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (dir): Is isofs, not ufs. - -Mon Jul 21 16:00:04 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (LCLHDRS): Remove susp.h. diff --git a/libcons/ChangeLog b/libcons/ChangeLog deleted file mode 100644 index af2bd34a..00000000 --- a/libcons/ChangeLog +++ /dev/null @@ -1,223 +0,0 @@ -2005-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * priv.h (_cons_file): Prototype moved and renamed to... - * cons.h (cons_file): ... this. - * init-init.c (cons_init): Updated `_cons_file' reference. - * opts-std-startup.c (_cons_file): Renamed into `cons_file'. Updated - reference. - -2005-01-06 Marco Gerards <metgerards@student.han.nl> - - * Makefile (SRCS): Add `vcons-move-mouse.c' and `vcons-event.c'. - * cons.h (mouse_movement): New enum. - (mouse_button): Likewise. - (mouse_event): New struct. - (mouse_event_t): New type. - (cons_vcons_set_mousecursor_pos): New prototype. - (cons_vcons_set_mousecursor_status): Likewise. - (cons_vcons_move_mouse): Likewise. - * file-changed.c (cons_S_file_changed): Generate the - `CONS_EVT_OUTPUT' event, in case there was output. - * opts-std-startup.c (OPT_MOUSE_SHOW, OPT_MOUSE_HIDE) - (OPT_MOUSE_SENS, DEFAULT_MOUSE_SENS, DEFAULT_MOUSE_SENS_STRING): - New macros. - (_cons_show_mouse, _cons_hide_mouse, _cons_mouse_sens): New - variables. - (startup_options): Add the options `--mouse-show-on', - `--mouse-hide-on' and `--mouse-sensitivity'. - (parse_startup_opt): Parse the options that were added to - `startup_options' using the new local function `parse_events'. - * priv.h (CONS_EVT_MOUSE_MOVE, CONS_EVT_MOUSE_BUTTON) - (CONS_EVT_KEYPRESS, CONS_EVT_OUTPUT): New macros. - (_cons_show_mouse, _cons_hide_mouse, _cons_mouse_sens): New - declarations. - (_cons_vcons_input): New prototype. - (_cons_vcons_console_event): Likewise. - * vcons-event.c: New file. - * vcons-move-mouse.c: Likewise. - * vcons-input.c (_cons_vcons_input): New function. - (cons_vcons_input): Rewritten to use _cons_vcons_input and report - the `CONS_EVT_KEYPRESS' event. - * vcons-refresh.c: Include "priv.h". - (cons_vcons_refresh): Report the `CONS_EVT_OUTPUT' event. - * vcons-scrollback.c: Include "priv.h". - (cons_vcons_scrollback): Report the `CONS_EVT_OUTPUT' event. - -2003-08-16 Marco Gerards <metgerards@student.han.nl> - - * cons.h (cons_vcons_set_dimension): Fix typo. - -2003-08-11 Marco Gerards <metgerards@student.han.nl> - - * cons.h (cons_vcons_set_dimension): New prototype. - * vcons-refresh.c (cons_vcons_refresh): Call - cons_vcons_set_dimension instead of cons_vcons_clear. - -2003-08-01 Marco Gerards <metgerards@student.han.nl> - - * opts-std-startup.c: Include <string.h>. - (OPT_VISUAL_BELL): New macro. - (OPT_AUDIBLE_BELL): Likewise. - (_cons_visual_bell): New variable. - (_cons_audible_bell): Likewise. - (startup_options): Added options "--visual-bell" and - "--audible-bell" ... - (parse_startup_opt): ...and parse those new options here. - * priv.h (bell_type_t): New enumeration. - (_cons_visual_bell): New external variable. - (_cons_audible_bell): Likewise. - * file-changed.c (cons_S_file_changed): Use the right bell. - -2002-10-04 Marcus Brinkmann <marcus@gnu.org> - - * vcons-open.c (cons_vcons_open): Add casts to silence gcc - warning. - -2002-09-22 Marcus Brinkmann <marcus@gnu.org> - - * vcons-refresh.c (cons_vcons_refresh): Take VCONS->scrolling into - account. - -2002-09-17 Marcus Brinkmann <marcus@gnu.org> - - * opts-std-startup.c (OPT_NO_JUMP_DOWN_ON_INPUT): New macro. - (OPT_NO_JUMP_DOWN_ON_OUTPUT): Likewise. - (_cons_jump_down_on_input): Default to 1. - (startup_options): Add new options --no-jump-down-on-input and - --no-jump-down-on-output. - (parse_startup_opt): Handle these new options. - -2002-09-16 Marcus Brinkmann <marcus@gnu.org> - - * cons.h: Add prototype for cons_vcons_clear. - * file-changed.c (cons_S_file_changed): Prepare all areas we write - to with cons_vcons_clear (unless we use cons_vcons_scroll - already). - * vcons-refresh.c (cons_vcons_refresh): Likewise. - * vcons-scrollback.c (_cons_vcons_scrollback): Likewise. - - * opts-std-startup.c (parse_startup_opt): Use argp_error instead - argp_usage for error. Replace case for ARGP_KEY_END with case for - ARGP_KEY_NO_ARGS. - -2002-09-14 Marcus Brinkmann <marcus@gnu.org> - - * Makefile (SRCS): Add vcons-input.c. - * vcons-input.c: New file. - - * vcons-scrollback.c (_cons_vcons_scrollback): New function. - (cons_vcons_scrollback): Reimplement in terms of - _cons_vcons_scrollback. - * cons.h (cons_scroll_t): New type. - (cons_vcons_scrollback): Update prototype. - - * priv.h (_cons_jump_down_on_input): New extern. - (_cons_jump_down_on_output): Likewise. - (_cons_vcons_scrollback): New prototype. - * opts-std-startup.c (OPT_JUMP_DOWN_ON_INPUT): New macro. - (OPT_JUMP_DOWN_ON_OUTPUT): Likewise. - (_cons_jump_down_on_input): New variable. - (_cons_jump_down_on_output): Likewise. - (startup_options): Add new options --jump-down-on-input and - --jump-down-on-output. - (parse_startup_opt): Handle these new options. - * file-changed.c (cons_S_file_changed): Support the jump down on - output option. - -2002-09-10 Marcus Brinkmann <marcus@gnu.org> - - * file-changed.c (cons_S_file_changed): Fix typo in last change. - - * cons.h: New prototype for cons_vcons_set_scroll_lock. - (struct vcons): Add member FLAGS to state. - * file-changed.c (cons_S_file_changed): Handle change of flags. - * vcons-refresh.c (cons_vcons_refresh): Copy FLAGS field. - Call cons_vcons_set_scroll_lock. - - * cons-switch.c (cons_switch): Initialize VCONS_ENTRY even if - DELTA is negative. - -2002-09-09 Marcus Brinkmann <marcus@gnu.org> - - * Makefile (SRCS): Add vcons-scrollback.c. - * vcons-scrollback.c: New file. - * cons.h (struct vcons): Add SCROLLING member. - * file-changed.c: Include <assert.h>. - (cons_S_file_changed): Be careful to take VCONS->scrolling into - account when doing clipping and scrolling. - - * cons-switch.c: Roll back to earlier version with vcons -> - vcons_entry adjustments. The user is now expected to hold a - reference to the VCONS. - * cons.h: Fix prototype, too. - - * vcons-open.c (cons_vcons_open): Initialize VCONS->lock, - VCONS->input and VCONS->display. - - * vcons-remove.c: New file. - * Makefile (SRCS): Add vcons-destroy.c. - * cons.h: New type vcons_list_t. - (struct vcons_list): New structure. - (struct cons_notify): Remove VCONS member. - (struct vcons): Remove members NEXT, PREV and NOTIFY. Add the - notify structure to the top to make it possible to use a vcons as - a port. New member VCONS_ENTRY. - (struct cons): Change type of members vcons_list and vcons_last to - vcons_list_t. Remove member active. - (cons_vcons_add): Change prototype to match new definition. - (cons_vcons_remove): Likewise. - (cons_switch): Likewise. - (cons_lookup): Likewise. - (cons_vcons_open): Likewise. - (cons_vcons_destroy): New prototype. - * cons-lookup.c (cons_lookup): Change type of R_VCONS argument - vcons_list_t. Change type of previous_vcons and vcons variables - to vcons_list_t. Append _entry to all these variables. - Don't allocate and initialize a vcons_t, but a vcons_list_t. - After this has been added to the list, call cons_vcons_add. - * cons-switch.c: Do not include <error.h> - (cons_switch): Add arguments ACTIVE_ID and R_VCONS. New variable - ERR and VCONS_ENTRY. Remove variable ACTIVE. Do not keep track - of active console. Instead, look it up using ACTIVE_ID. Lock the - returned console. Call cons_vcons_open, not cons_vcons_activate. - * dir-changed.c (add_one): Change VCONS to VCONS_ENTRY and its - type from vcons_t to vcons_list_t to follow cons_lookup change. - (lookup_one): Likewise. - (cons_S_dir_changed): Likewise. - * file-changed.c (cons_S_file_changed): Cast NOTIFY to VCONS. - Check that NOTIFY->cons is not set instead that NOTIFY->vcons is. - * init-init.c (cons_init): Pass cons_vcons_destroy as - clean_routine to ports_create_class. - Don't initialize CONS->active, nor DIR_NOTIFY_PORT->vcons. - * vcons-add.c (cons_vcons_add): Change argument VCONS to CONS and - VCONS_ENTRY. Don't do anything here (the user must implement it - all). - * vcons-close.c: Don't include <errno.h>, <unistd.h>, <stdio.h>, - <sys/mman.h>, <sys/fcntl.h>, <mach.h>. Include <assert.h>, - <hurd/ports.h> and <cthreads.h>. - (cons_vcons_close): Clear VCONS->vcons_entry->vcons. Derefence - and destroy VCONS. - * vcons-open.c (cons_vcons_open): Change arguments from VCONS to - CONS, VCONS_ENTRY and R_VCONS. New variable VCONS. Set up VCONS - as a port, and request notification messages on that. - * vcons-remove.c: Do not include <errno.h>. - (cons_vcons_remove): Assert that VCONS_ENTRY does not have an open - VCONS. - -2002-08-28 Marcus Brinkmann <marcus@gnu.org> - - * file-changed.c (cons_S_file_changed): Take NEW_CUR_LINE modulo - VCONS->state.screen.lines where appropriate. Adapt calculation of - SCROLLING, and limit it to the screen size. - Only scroll at all if there is something to scroll. - Fix calculation of scrolled-in area. - * vcons-refresh.c (cons_vcons_refresh): Take - VCONS->state.screen.cur_line modulo VCONS->state.screen.lines. - -2002-08-22 Marcus Brinkmann <marcus@gnu.org> - - * demuxer.c, init-init.c, init-loop.c, opts-version.c, - extra-version.c, dir-changed.c, file-changed.c, - opts-std-startup.c, cons-lookup.c, cons-switch.c, vcons-remove.c, - vcons-add.c, vcons-open.c, vcons-close.c, vcons-refresh.c, priv.h, - mutations.h, cons.h: New files. diff --git a/libdirmgt/ChangeLog b/libdirmgt/ChangeLog deleted file mode 100644 index 28d23867..00000000 --- a/libdirmgt/ChangeLog +++ /dev/null @@ -1,5 +0,0 @@ -Tue Apr 11 11:14:27 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile: New file. - - diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog deleted file mode 100644 index a9555d04..00000000 --- a/libdiskfs/ChangeLog +++ /dev/null @@ -1,4189 +0,0 @@ -2009-02-16 Thomas Schwinge <tschwinge@gnu.org> - - * diskfs.h: Instead of `st_?time', talk about `st_?tim'. - * node-times.c: Likewise. - * priv.h: Likewise. - -2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * file-utimes.c (diskfs_S_file_utimes): Use st_atim.tv_sec/ - st_mtim.tv_sec members instead of st_atime/st_mtime. Also set - st_atim.tv_nsec/st_mtim.tv_nsec members. - -2008-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * dir-lookup.c (diskfs_S_dir_lookup): Initialize NEWPI and NEWPO to - 0, set back to 0 when they do not need to be referenced any more, - dereference them if needed just before exit, after all unlocking. - -2008-08-20 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * dir-lookup.c (diskfs_S_dir_lookup): Revert 2008-06-06 change, as it - breaks when np == dnp. - -2008-06-10 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * dir-lookup.c (diskfs_lookup): Add const qualifier to parameter - `name'. - * diskfs.h (diskfs_lookup): Likewise. - -2008-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * dir-lookup.c (diskfs_S_dir_lookup): Unlock np in case of errors. - -2007-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * dir-rename.c (diskfs_S_dir_rename): Call diskfs_nput (tnp) in - the EISDIR and EMLINK cases too. Reported by Olaf Buddenhagen - <olafbuddenhagen@gmx.net>. - -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * node-times.c (diskfs_set_node_times): Adapt to ``struct stat'' - changes. - -2007-10-05 Thomas Schwinge <tschwinge@gnu.org> - - * node-times.c (diskfs_set_node_atime): Fix typo from last commit. - -2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * diskfs.h (diskfs_set_node_atime): New declaration. - * node-times.c (diskfs_set_node_atime): New function. - -2007-04-04 Thomas Schwinge <tschwinge@gnu.org> - - * opts-std-startup.c (parse_startup_opt) - <_diskfs_no_inherit_dir_group>: Swap the options into the correct - order. Reported by Olaf Buddenhagen <olafbuddenhagen@gmx.net>. - -2006-06-28 Thomas Schwinge <tschwinge@gnu.org> - - * Makefile (HURDLIBS): Add `pager'. - -2006-03-15 Thomas Schwinge <tschwinge@gnu.org> - - * priv.h: Include <argp.h>. - -2006-03-05 Roland McGrath <roland@frob.com> - - * io-seek.c (diskfs_S_io_seek): Return EINVAL if file pointer would - become negative. - -2004-02-10 Roland McGrath <roland@frob.com> - - * opts-runtime.c (diskfs_runtime_argp): Include <argp.h>. - -2003-10-11 Marcus Brinkmann <marcus@gnu.org> - - * notify-nosenders.c, notify-stubs.c: Delete obsolete files. - -2003-06-11 Ognyan Kulev <ogi@fmi.uni-sofia.bg> - - * dir-renamed.c (diskfs_rename_dir): Check permissions to remove - FROMNAME before any modification could take place. Check result - of removing the from node. - -2002-06-26 Marcus Brinkmann <marcus@gnu.org> - - * Makefile (DIST_FILES): Variable removed. - (MIGSTUBS): Use fs_notifyUser.o, not ourfs_notifyUser.o. - * ourfs_notify.defs: File removed. - * diskfs.h (struct node): New members DIRMOD_TICK and - FILEMOD_TICK. - * node-make.c (diskfs_make_node): Initialize DIRMOD_TICK and - FILEMOD_TICK. - * dir-chg.c: Include "fs_notify_U.h" instead "ourfs_notify_U.h". - (diskfs_S_dir_notice_changes): Use new dir_changed invocation - instead nowait_dir_changed. - (diskfs_notice_dirchange): Likewise. Increase tick number. - Ignore send timeout error. - * file-chg.c: Include "fs_notify_U.h" instead "ourfs_notify_U.h". - (diskfs_S_file_notice_changes): Use new file_changed invocation - instead nowait_file_changed. - (diskfs_notice_filechange): Likewise. Increase tick number. - Ignore send timeout error. - -2002-06-13 Roland McGrath <roland@frob.com> - - * dir-readdir.c (diskfs_S_dir_readdir): Revert last change. - -2002-06-08 Roland McGrath <roland@frob.com> - - * io-identity.c (diskfs_S_io_identity): Use ino_t for FILENO. - - * dir-readdir.c (diskfs_S_dir_readdir): Use vm_size_t for AMT. - - * diskfs.h (struct node): Use io_statbuf_t instead of struct stat. - (struct node): Use ino64_t for cache_id. - (struct node): Use loff_t instead of off_t. - (diskfs_grow, diskfs_truncate, diskfs_node_rdwr): Likewise. - (diskfs_notice_filechange): Likewise. - (diskfs_cached_lookup): Use ino64_t for CACHE_ID argument. - -2002-05-26 Roland McGrath <roland@frob.com> - - * dir-unlink.c (diskfs_S_dir_unlink): Return EPERM instead of EISDIR, - as per POSIX. - -2002-05-12 Roland McGrath <roland@frob.com> - - * dir-lookup.c (diskfs_S_dir_lookup): Fail with EACCES instead of - EOPNOTSUPP when attempting to open a special file for io or exec. - -2002-05-11 Roland McGrath <roland@frob.com> - - * trans-callback.c (_diskfs_translator_callback1_fn): Add an assert - that netfs_get_translator not fail with EOPNOTSUPP. - -2001-11-20 Neal H Walfield <neal@cs.uml.edu> - - * diskfs.h (diskfs_boot_filesystem): Documentation fix. - -2002-05-08 Roland McGrath <roland@frob.com> - - * sync-interval.c (diskfs_set_sync_interval): Cast int to intptr_t - before any_t. - - * io-map-cntl.c (diskfs_S_io_map_cntl): u_int -> vm_address_t - - * disk-pager.c (fault_handler): Use %z format for sc_pc. - - * dir-lookup.c (diskfs_S_dir_lookup): int -> size_t - * dir-readdir.c (diskfs_S_dir_readdir): Likewise. - * file-get-trans.c (diskfs_S_file_get_translator): Likewise. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - - * diskfs.h (diskfs_append_args): unsigned -> size_t in argument type. - (diskfs_append_std_options): Likewise. - (diskfs_get_directs): Likewise. - * file-exec.c (diskfs_S_file_exec): Likewise. - * file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise. - * file-get-trans.c (diskfs_S_file_get_translator): Likewise. - * file-getfh.c (diskfs_S_file_getfh): Likewise. - * file-set-trans.c (diskfs_S_file_set_translator): Likewise. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - * io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise. - * opts-append-std.c (diskfs_append_std_options): Likewise. - * opts-get.c (diskfs_append_args): Likewise. - * dir-readdir.c (diskfs_S_dir_readdir): Likewise. - -2002-05-08 Roland McGrath <roland@frob.com> - - * io-restrict-auth.c (diskfs_S_io_restrict_auth): Remove unused var. - -2002-05-04 Roland McGrath <roland@frob.com> - - * io-restrict-auth.c (diskfs_S_io_restrict_auth): Use - iohelp_restrict_iouser. - -2002-04-02 Roland McGrath <roland@frob.com> - - * node-make.c (diskfs_make_node): Return early if malloc fails. - -2002-04-30 Marcus Brinkmann <marcus@gnu.org> - - * priv.h: Add OPT_NO_INHERIT_DIR_GROUP and OPT_INHERIT_DIR_GROUP. - (_diskfs_no_inherit_dir_group): New declaration. - * node-create.c (_diskfs_no_inherit_dir_group): New variable. - (diskfs_create_node): Implement SysV group behaviour. - * opts-common.c (diskfs_common_options): Add - --no-inherit-dir-group (--nogrpdir, --sysvgroups) and - --inherit-dir-group (--grpdir, --bsdgroups). - * opts-append-std.c (diskfs_append_std_options): Add - --no-inherit-dir-group if set. - * opts-std-startup.c (parse_startup_opt): Add toggle for - _diskfs_no_inherit_dir_group. - * opts-std-runtime.c (struct parse_hook): Add noinheritdirgroup. - (set_opts): Handle H->noinheritdirgroup. - (parse_opt): Initialize H->noinheritdirgroup. Handle - OPT_NO_INHERIT_DIR_GROUP and OPT_INHERIT_DIR_GROUP. - -2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca> - - * init-startup.c (_diskfs_init_completed): Use error, not - fprintf. - -2002-03-25 Neal H Walfield <neal@cs.uml.edu> - - * peropen-make.c (diskfs_make_peropen): Instead of returning the - peropen, return as error_t and return the peropen in the new - parameter *PPO. - * diskfs.h (diskfs_make_peropen): Change declaration to reflect - new semantics. - - * boot-start.c (diskfs_start_bootstrap): Check the return value of - diskfs_make_peropen using the new semantics. - (diskfs_S_exec_startup_get_info): Likewise. - (diskfs_execboot_fsys_startup): Likewise. - (diskfs_S_fsys_init): Likewise. - * dir-lookup.c (diskfs_S_dir_lookup): Likewise. - * dir-mkfile.c (diskfs_S_dir_mkfile): Likewise. - * file-exec.c (diskfs_S_file_exec): Likewise. - * file-reparent.c (diskfs_S_file_reparent): Likewise. - * fsys-getfile.c (diskfs_S_fsys_getfile): Likewise. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - * trans-callback.c (_diskfs_translator_callback2_fn): Likewise. - * init-startup.c (diskfs_startup_diskfs): Likewise. - -2002-03-12 Marcus Brinkmann <marcus@gnu.org> - - * opts-append-std.c (diskfs_append_std_options): Only add --sync=N - or --no-sync option if it is not the default. - -2002-03-06 Roland McGrath <roland@frob.com> - - * dir-mkfile.c (diskfs_S_dir_mkfile): Clear OPENONLY_STATE_MODES bits - from FLAGS, not all bits outside O_RDWR|O_EXEC. - -2002-03-05 Marcus Brinkmann <marcus@gnu.org> - - * diskfs.h: Refer to dir_lookup, not dir_pathtrans, in comment. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>. - -2002-01-03 Roland McGrath <roland@frob.com> - - * dir-lookup.c (diskfs_S_dir_lookup): Clear S_ITRANS bits in MODE. - * dir-mkdir.c (diskfs_S_dir_mkdir): Likewise. - * dir-mkfile.c (diskfs_S_dir_mkfile): Likewise. - - * file-chmod.c (diskfs_S_file_chmod): Preserve S_ITRANS bits in change. - -2002-01-02 Roland McGrath <roland@frob.com> - - * boot-start.c (diskfs_start_bootstrap) [KERN_INVALID_LEDGER]: - Pass extra arguments to task_create for OSF variant. - -2001-12-31 Roland McGrath <roland@frob.com> - - * disk-pager.c (fault_handler): Use sc_pc instead of sc_eip. - -2001-12-08 Roland McGrath <roland@frob.com> - - * dir-lookup.c (diskfs_S_dir_lookup): Append trailing / to RETRYNAME - returned for absolute symlink when MUSTBEDIR is set. - Reported by Moritz Schulte <moritz@duesseldorf.ccc.de>. - Also, bcopy -> memcpy; avoid strcat. - -2001-10-30 Marcus Brinkmann <marcus@gnu.org> - - * dir-lookup.c (diskfs_S_dir_lookup): When looking up the next - pathname component, remove assertion for DS and allocate DS if 0. - Allow creation of files through symlink with non-existant target. - From Roland McGrath <roland@frob.com>. - -2001-10-11 Roland McGrath <roland@frob.com> - - * dir-renamed.c (diskfs_rename_dir): Fix bogus assert. - From Moritz Schulte <moritz@chaosdorf.de>. - -2001-10-01 Marcus Brinkmann <marcus@gnu.org> - - * file-getfh.c (diskfs_S_file_getfh): Fix tag of diskfs_fhandle. - Submitted by Maurizio Boriani <baux@debian.org>. - -2001-08-22 Neal H Walfield <neal@cs.uml.edu> - - * opts-std-startup.c (startup_options): New compatibility - option: bootflags, a hidden alias to multiboot-command-line. - (parse_startup_opt): Bug fix. - -2001-08-20 Roland McGrath <roland@frob.com> - - * opts-std-startup.c: diskfs_boot_flags -> diskfs_boot_command_line. - (OPT_BOOT_CMDLINE): Renamed from OPT_BOOTFLAGS. - (startup_options): --bootflags -> --multiboot-command-line - (parse_startup_opt): Parse it. - * diskfs.h: diskfs_boot_flags -> diskfs_boot_command_line. - (diskfs_boot_filesystem): New macro. - * init-main.c (diskfs_init_main): Use it. - * init-init.c (diskfs_init_diskfs): Likewise. - * console.c (diskfs_console_stdio): Likewise. - * boot-start.c (_diskfs_boot_privports): Likewise. - (diskfs_start_bootstrap): Split boot_command_line into words and pass - those arguments to init instead of diskfs_bootflags. - - * opts-std-startup.c (_diskfs_boot_pause): New variable. - (OPT_BOOT_PAUSE): New macro. - (startup_options): Add --boot-debug-pause. - (parse_startup_opt): Parse it. - - * diskfs.h: Declare it. - * boot-start.c (diskfs_start_bootstrap, start_execserver): Use it. - - * boot-start.c (diskfs_boot_init_program): New variable. - * diskfs.h: Declare it. - * boot-start.c (default_init): Variable removed. - (diskfs_start_bootstrap): Use diskfs_boot_init_program instead - of default_init or prompting under -i. - * opts-std-startup.c (OPT_BOOT_INIT_PROGRAM): New macro. - (startup_options): Add --boot-init-program. - (parse_startup_opt): Parse it. - -2001-06-21 Neal H Walfield <neal@cs.uml.edu> - - * file-getcontrol.c (diskfs_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-19 Roland McGrath <roland@frob.com> - - * dir-lookup.c (diskfs_S_dir_lookup): Handle symlinks to "". - -2001-06-16 Roland McGrath <roland@frob.com> - - * file-set-trans.c (diskfs_S_file_set_translator): Add some parens. - -2001-04-01 Neal H Walfield <neal@cs.uml.edu> - - * dir-lookup.c (diskfs_S_dir_lookup): Use - iohelp_create_empty_iouser. - * fsys-getfile.c (diskfs_S_fsys_getfile): Use - iohelp_create_complex_iouser. - * io-reauthenticate.c (diskfs_S_io_reauthenticate): Use - new iohelp_reauth semantics. - * io-restrict-auth.c (diskfs_S_io_restrict_auth): Use - new iohelp_create_iouser semantics. - * protid-make.c (diskfs_finish_protid): Use - iohelp_create_simple_iouser and new iohelp_dup_iouse - semantics. - * trans-callback.c (_diskfs_translator_callback2_fn): - Use iohelp_create_simple_iouser. - -2001-06-15 Neal H Walfield <neal@cs.uml.edu> - - * file-set-trans.c (diskfs_S_file_set_translator): If - FS_TRANS_ORPHAN is set, do not ask the active translator to go - away, just disconnect it. - -2001-06-15 Roland McGrath <roland@frob.com> - - * Makefile (FSSRCS): Last change got botched in merging. - -2001-06-10 Neal H Walfield <neal@cs.uml.edu> - - * file-inv-trans.c: Remove this file, function no longer exists. - * Makefile (FSSRCS): Remove reference to file-inv-trans.c. - -2001-05-13 Marcus Brinkmann <marcus@gnu.org> - - * file-exec.c: Initialize GID with st_gid rather than st_uid. - -2001-04-22 Neal H Walfield <neal@cs.uml.edu> - - * Makefile (OTHERSRCS): Add extern-inline.c. - * diskfs.h (DISKFS_EXTERN_INLINE): New macro. - (diskfs_spawn_first_thread): Update prototype to include the - additional parameter, a demuxer. - (diskfs_begin_using_protid_port): Moved and renamed function - begin_using_protid_port from priv.h. - (diskfs_end_using_protid_port): Moved and renamed function - end_using_protid_port from priv.h. - * extern-inline.c: New file. - * fsmutations.h (FILE_INTRAN): Use new function name. - (FILE_DESTRUCTOR): Likewise. - (IO_INTRAN): Likewise. - (IO_DESTRUCTOR): Likewise. - * init-first.c: Include <hurd/ports.h>. - (master_thread_function): Unnamed parameter is now the demuxer. - Use that rather than diskfs_demuxer directly. - (diskfs_spawn_first_thread): New parameter DEMUXER. - * init-main.c (diskfs_init_main): Pass diskfs_demuxer to - diskfs_spawn_first_thread to conform to new semantics. - * priv.h (begin_using_protid_port): Moved to diskfs.h. - (end_using_protid_port): Likewise. - -2001-04-14 Neal H Walfield <neal@cs.uml.edu> - - * node-create.c (diskfs_create_node): If we fail, set *NEWNODE - to NULL; at least diskfs_S_dir_lookup depends on this behavior. - - * init-startup.c (diskfs_startup_diskfs): Use ERR, not errno, so - we can actually read this variable in a debugger. - -2001-04-08 Neal H Walfield <neal@cs.uml.edu> - - * io-write.c (diskfs_S_io_write): Make local variable OFF an - off_t and not an int. - * io-read.c (diskfs_S_io_read): Likewise. - * io-stat.c (diskfs_S_io_stat): Use memcpy, not bcopy. - -2001-04-01 Roland McGrath <roland@frob.com> - - * io-interrupt.c: Obsolete file removed. - * Makefile (IOSRCS): Remove it from the list. - Reported by Neal H Walfield <neal@cs.uml.edu>. - -2001-03-28 Neal H Walfield <neal@cs.uml.edu> - - * protid-rele.c: Doc typo fix. - - * shutdown.c: Move initialization of diskfs_fsys_lock from here ... - * init-init.c: ... to here with the rest of the initialization - code. - - * init-init.c: Do not initialize global variables to zero. - - * protid-rele: Doc fix. - * node-nput.c: Likewise. - * io-prenotify.c: Likewise. - - * dir-chg.c (diskfs_S_dir_notice_changes): Check what malloc - returns. - * peropen-make.c (diskfs_make_peropen): Likewise. - - * io-identity.c (diskfs_S_io_identity): Use INUM; that is what - we bothered getting the lock for. - - * ports-noports.c, ports-clean.c, ports-soft.c, ports-idle.c, - ports-consts.c: Dead files finally removed from cvs. - -2001-03-28 Marcus Brinkmann <marcus@gnu.org> - - * dir-lookup.c (diskfs_S_dir_lookup): New variable USER. Store new - iouser in that variable and free it after creating the protid for - DIRPORT. - * trans-callback.c (_diskfs_translator_callback2_fn): Likewise. - * io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise. - * io-reauthenticate.c (diskfs_S_io_reauthenticate): Likewise. - -2001-02-25 Roland McGrath <roland@frob.com> - - * readonly-changed.c: New file. - * Makefile (OTHERSRCS): Add it. - - * init-first.c: Include <stdlib.h> for exit decl. - -2001-01-30 Neal H Walfield <neal@cs.uml.edu> - - * diskfs.h: Fix comment (fsys_shutdown -> fsys_goaway). - -2001-01-07 Marcus Brinkmann <marcus@gnu.org> - - * diskfs.h: Make diskfs_dirstat_size const. - -2001-01-07 Marcus Brinkmann <marcus@gnu.org> - - * file-statfs.c: Include <string.h>. - -2000-12-26 Roland McGrath <roland@frob.com> - - * file-statfs.c (diskfs_S_file_statfs): Zero out the struct statfs - before calling diskfs_set_statfs. Set f_namelen to diskfs_name_max - after the call. - * diskfs.h: Update comment. - -2000-12-02 Roland McGrath <roland@frob.com> - - * node-times.c (diskfs_set_node_times): Make individual flag checks - race-proof so we don't lose any flag settings. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile (HURDLIBS): Reorder libs such that the threads lib - comes before the ports lib. This makes sure the functions in - libthreads properly override the stubs in libports with the new - dynamic linker semantics in glibc 2.2. - -2000-07-18 Thomas Bushnell, BSG <tb@mit.edu> - - * io-seek.c (diskfs_S_io_seek): Don't use CHANGE_NODE_FIELD - anymore; it was causing problems and was a gross hack anyway. - -2000-05-14 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> - - * priv.h (DEFAULT_SYNC_INTERVAL): New macro. - (DEFAULT_SYNC_INTERVAL_STRING): Likewise. - (STRINGIFY): Likewise. - (STRINGIFY_1): Likewise. - * opts-common.h (diskfs_common_options): Use - DEFAULT_SYNC_INTERVAL_STRING instead hardcoded value. - * sync-default.h: Include "priv.h". Use DEFAULT_SYNC_INTERVAL - instead hardcoded value. - -2000-04-29 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> - - * init-main.c (diskfs_init_main): Dereference BOOTSTRAP before - checking for MACH_PORT_NULL. - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * file-exec.c (diskfs_S_file_exec): Fix typo and braino in last change. - * init-startup.c (diskfs_startup_diskfs): Fix braino in last change. - -2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> - - * boot-start.c (diskfs_S_fsys_init, diskfs_start_bootstrap): Don't - use MOVE_SEND in Hurd RPC. - - * file-exec.c (diskfs_S_file_exec): Don't use MAKE_SEND in Hurd - RPC. - * init-startup.c (diskfs_startup_diskfs, _diskfs_init_completed): - Likewise. - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * dir-lookup.c (diskfs_S_dir_lookup): Use ports_get_send_right. - - * io-reauthenticate.c (diskfs_S_io_reauthenticate): Use - ports_get_send_right. - - * boot-start.c (diskfs_start_bootstrap): Use ports_get_send_right. - (diskfs_execboot_fsys_startup): Use ports_get_send_right. - (diskfs_S_fsys_init): Use ports_get_send_right. - (start_execserver): Use ports_get_send_right. - -2000-02-27 Roland McGrath <roland@baalperazim.frob.com> - - * file-exec.c (diskfs_S_file_exec): Give the new peropen for the exec - server O_EXEC permission as well as O_READ. - -2000-01-25 Roland McGrath <roland@baalperazim.frob.com> - - * dir-lookup.c (diskfs_S_dir_lookup): Follow symlink despite flags if - MUSTBEDIR is set (i.e. there was a trailing slash). - -2000-01-24 Roland McGrath <roland@baalperazim.frob.com> - - * rdwr-internal.c (_diskfs_rdwr_internal): Short-circuit return for - zero-length transfer to avoid side effects, as POSIX requires. - -1999-12-13 Roland McGrath <roland@baalperazim.frob.com> - - Rewrite of a fix provided by Bill White <bill.white@griggsinst.com>: - * fhandle.h (union diskfs_fhandle): Replaces struct diskfs_fhandle. - Use a union element of char[28] to ensure size requirement. - * fsys-getfile.c (diskfs_S_fsys_getfile): Update uses for new type. - * file-getfh.c (diskfs_S_file_getfh): Likewise. - -1999-12-02 Mark Kettenis <kettenis@gnu.org> - - * io-read.c (diskfs_S_io_read): Add braces to silence gcc - warning. - -1999-11-09 Roland McGrath <roland@baalperazim.frob.com> - - * priv.h (_diskfs_chroot_directory): Remove const from type. - * init-startup.c (_diskfs_chroot_directory): Likewise. - -1999-11-08 Roland McGrath <roland@baalperazim.frob.com> - - * disk-pager.c (fault_handler): Put more detail in assert failures. - -1999-10-28 Roland McGrath <roland@baalperazim.frob.com> - - * node-nput.c (diskfs_nput): Call diskfs_set_node_times before - diskfs_lost_hardrefs. This should address the late mtime update - bug reported and investigated by Mark Kettenis. - -1999-10-23 Roland McGrath <roland@baalperazim.frob.com> - - * sync-interval.c (periodic_sync): With diskfs_fsys_lock reader lock - held, check _diskfs_diskdirty and don't sync if not dirty. - -1999-10-14 Roland McGrath <roland@baalperazim.frob.com> - - * opts-std-startup.c (TOGGLE): Fix `off' case. - Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>. - -1999-10-13 Roland McGrath <roland@baalperazim.frob.com> - - * io-pathconf.c (diskfs_S_io_pathconf): Cap diskfs_name_max to size - representable in struct dirent.d_namlen. - (diskfs_S_io_pathconf): Always return 1 for _PC_NO_TRUNC, since we - always constrain diskfs_name_max. - - * lookup.c (diskfs_lookup): Enforce diskfs_name_max limit for CREATE - and RENAME, returning ENAMETOOLONG for violations. - * io-pathconf.c (diskfs_S_io_pathconf): _PC_NO_TRUNC controlled by - diskfs_name_max setting. - - * diskfs.h (diskfs_name_max): Declare new variable. - * io-pathconf.c (diskfs_S_io_pathconf): Use it for _PC_NAME_MAX, - capping it to 1024. - -1999-10-12 Roland McGrath <roland@baalperazim.frob.com> - - * opts-std-runtime.c (parse_opt: ARGP_KEY_INIT): Initialize H->noatime. - -1999-10-11 Roland McGrath <roland@baalperazim.frob.com> - - * dir-readdir.c (diskfs_S_dir_readdir): Take new DATA_DEALLOC param. - -1999-10-07 Roland McGrath <roland@baalperazim.frob.com> - - * lookup.c (diskfs_lookup): Rewrite code from last change, which had - typos (and then I just decided to change the details of the string - diddling). - -1999-10-06 Thomas Bushnell, BSG <tb@mit.edu> - - * lookup.c (diskfs_lookup): NAME is no longer const. Update - documentation. Strip leading and trailing slashes from NAME before - using it. - * diskfs.h (diskfs_lookup): NAME is no longer const. - Update documentation. - -1999-10-05 Thomas Bushnell, BSG <tb@mit.edu> - - * priv.h (CHANGE_NODE_FIELD): Use diskfs_check_readonly instead of - directly reading diskfs_readonly. - -1999-09-20 Thomas Bushnell, BSG <tb@mit.edu> - - * node-times.c (diskfs_set_node_times): Don't implement - _diskfs_noatime here. - * conch-fetch.c (iohelp_fetch_shared_data): Don't update - dn_set_atime on affected node if _diskfs_noatime. - * rdwr-internal.c (_diskfs_rdwr_internal): Likewise. - -1999-09-19 Roland McGrath <roland@baalperazim.frob.com> - - * node-times.c (diskfs_set_node_times): If _diskfs_noatime is set and - neither NP->dn_set_mtime nor NP->dn_set_ctime is set, clear - NP->dn_set_atime. Short-circuit return if none of dn_set_?time set. - * opts-common.c (diskfs_common_options): Include "priv.h". - Add aliases --ro/--rw for -r/-w. Add alias --nosuid for --no-suid, - --noexec for --no-exec. Move --suid-ok, --exec-ok here from ... - * opts-std-runtime.c (std_runtime_options): ... here. - (struct parse_hook): New member `noatime'. - (set_opts): Use H->noatime to set _diskfs_noatime. - (parse_opt): Grok -A and OPT_ATIME to set/clear H->noatime. - (OPT_ATIME): New macro. - (OPT_SUID_OK, OPT_EXEC_OK): Moved to ... - * priv.h: ... here. - (diskfs_common_options): Add const to decl. - * opts-std-startup.c (parse_startup_opt): Grok OPT_SUID_OK, - OPT_EXEC_OK, -A, and OPT_ATIME. - * init-init.c (_diskfs_noatime): New variable. - (_diskfs_nosuid, _diskfs_noexec): Use uninitialized defns. - * opts-append-std.c (diskfs_append_std_options): Add --no-atime if - _diskfs_noatime is set. - -1999-09-13 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile, rdwr-internal.c, io-map.c, io-map-segment.c, diskfs.h: - Reverted changes related to io_map_segment. - -1999-09-09 Thomas Bushnell, BSG <tb@mit.edu> - - * io-pathconf.c: Include <unistd.h>. - (diskfs_S_io_pathconf): Provide real definition. - -1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> - - * io-map-segment.c: New file. Guts from io-map.c. - * io-map.c (diskfs_S_io_map): Just call diskfs_S_io_map_segment. - * diskfs.h (diskfs_get_filemap): New parameter `index'. - * rdwr-internal.c (_diskfs_rdwr_internal): Pass additional - parameter to diskfs_get_filemap. - * Makefile (IOSRCS): Add io-map-segment.c. - -1999-07-24 Roland McGrath <roland@baalperazim.frob.com> - - * dir-rmdir.c (diskfs_S_dir_rmdir): Fix bugs in last change. - Replace label `out' with local inline function `done'. - Don't try diskfs_nput (NP) when NP is null. - -1999-07-17 Roland McGrath <roland@baalperazim.frob.com> - - * dir-link.c (diskfs_S_dir_link): Fix error checks on ports. - If DIRCRED (receiver port) is bad, return EOPNOTSUPP. - If FILECRED (argument port) is bad, return EXDEV (after EROFS check). - -1999-07-11 Roland McGrath <roland@baalperazim.frob.com> - - * boot-start.c (diskfs_S_exec_startup_get_info): Typo in last change. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * priv.h: Add #include <sys/mman.h> for munmap decl. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * boot-start.c (diskfs_S_exec_startup_get_info): Use mmap instead - of vm_allocate. - (diskfs_S_fsys_init): Likewise. - * file-get-trans.c (diskfs_S_file_get_translator): Likewise. - * file-getfh.c (diskfs_S_file_getfh): Likewise. - * io-read.c (diskfs_S_io_read): Likewise. - -Mon Jul 5 20:03:18 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * node-nputl.c (diskfs_nput_light): Fix typo in function - declaration. Reported by Yamashita TAKAO - (jargon@lares.dti.ne.jp). - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * file-get-trans.c (diskfs_S_file_get_translator): Use munmap - instead of vm_deallocate. - * io-read.c (diskfs_S_io_read): Likewise. - * protid-rele.c (diskfs_protid_rele): Likewise. - -1999-07-01 Thomas Bushnell, BSG <tb@mit.edu> - - * node-nref.c: New file; guts from diskfs.h. - * node-nput.c: Likewise. - * node-nrele.c: Likewise. - * node-nrefl.c: Likewise. - * node-nputl.c: Likewise. - * node-nrelel.c: LIkewise. - * diskfs.h (diskfs_nref, diskfs_nput, diskfs_nrele, - diskfs_nref_light, diskfs_nput_light, diskfs_nrele_light): Replace - inline definitions with ordinary declarations. - (DISKFS_EI): Removed macro. - * diskfs.c: Deleted file. - * Makefile (OTHERSRCS): Added node-nref.c, node-nput.c - node-nrele.c, node-nrefl.c, node-nputl.c, node-nrelel.c. Removed - diskfs.c. - -1999-06-29 Thomas Bushnell, BSG <tb@mit.edu> - - * dev-globals.c, dev-io.c, dev-open.c: Files removed. - - * lookup.c (diskfs_lookup): If we get an error from - fshelp_checkdirmod, clear *NP as well as returning the error. - Use diskfs_nrele instead of diskfs_nput in case *NP and DP are - the same. - -1999-06-28 Thomas Bushnell, BSG <tb@mit.edu> - - * dir-rmdir.c (diskfs_S_dir_rmdir): Reorganized to make clearer; - several little buglets fixed too. - -1999-06-27 Thomas Bushnell, BSG <tb@mit.edu> - - * sync-default.c (diskfs_default_sync_interval): Reduce to five - seconds. Hardware is much different than when Unix originally - picked thirty, plus we manage VM differently than the Unix buffer - cache did, and tend to delay many more writes than Unix did. - -1999-06-13 Roland McGrath <roland@baalperazim.frob.com> - - * file-get-trans.c (diskfs_S_file_get_translator): Fix type cast in - last change. - - * file-get-trans.c (diskfs_S_file_get_translator): If we return an - error, vm_deallocate any vm_allocated memory. - From Mark Kettenis <kettenis@gnu.org>. - -1999-06-02 Roland McGrath <roland@baalperazim.frob.com> - - * boot-start.c (diskfs_start_bootstrap): Pass environment collected - from `environ' on to init. The kernel can send more parameters - through this way without us knowing about them specifically. - -1999-05-19 Roland McGrath <roland@baalperazim.frob.com> - - * console.c (diskfs_console_stdio): If there is an fd 2 that appears - to work, just leave it as is and dup2 it to fd 1 as well. - -1999-05-16 Roland McGrath <roland@baalperazim.frob.com> - - * file-chown.c (diskfs_S_file_chown): Fix last change: not just - permission check, actually don't make the change if value is -1. - -1999-05-13 Roland McGrath <roland@baalperazim.frob.com> - - * file-chown.c (diskfs_S_file_chown): Either arg being -1 means don't - change that id. - -Tue Apr 6 10:05:49 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * dir-renamed.c (diskfs_rename_dir): Stage 1, if TNP == FNP, we - have to unlock TNP with diskfs_nput and not just diskfs_nrele it. - -Tue Mar 16 17:20:06 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * lookup.c (diskfs_lookup): Reformat for prettiness. - -1999-02-28 Roland McGrath <roland@baalperazim.frob.com> - - * io-revoke.c (diskfs_S_io_revoke): Use ports_class_iterate. - * readonly.c (diskfs_set_readonly): Likewise. - -Mon Feb 22 04:28:56 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * io-revoke.c (diskfs_S_io_revoke): Protect the actual revocation - by blocking all other rpcs. - -Sat Feb 20 20:46:21 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * io-revoke.c (diskfs_S_io_revoke): Release NP->lock before - beginning iteration. - -1999-02-16 Roland McGrath <roland@baalperazim.frob.com> - - * io-revoke.c (diskfs_S_io_revoke): Fix typo in 1999-02-16 change. - - * init-startup.c (diskfs_startup_diskfs): Fix typo 1999-02-12 change. - -Tue Feb 16 05:31:23 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * io-revoke.c: New file. - * Makefile (IOSRCS): Add io-revoke.c. - -Sat Feb 13 04:29:29 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * peropen-make.c (diskfs_make_peropen): If there is no existing - context, then set the shadow_root iff we are a chrooted virtual - root filesystem. - -1999-02-12 Gordon Matzigkeit <gord@trick.fig.org> - - * init-startup.c (diskfs_startup_diskfs): Release the virtual - root's lock as soon as we've checked that it's a valid directory. - Ignore leading slashes in _diskfs_chroot_directory. - -Sun Jan 31 18:24:33 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * file-utimes.c (diskfs_S_file_utimes): Implement new semantics - for setting to exactly present time. - -1999-01-27 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (OTHERSRCS): Add init-main.c. - -1999-01-22 Roland McGrath <roland@baalperazim.frob.com> - - * init-main.c: New file, defining new function diskfs_init_main. - * diskfs.h: Declare diskfs_init_main. - - * file-set-trans.c: Remove makedev, major, minor macro definitions. - * dir-lookup.c: Likewise. - -1999-01-01 Roland McGrath <roland@baalperazim.frob.com> - - * sync-interval.c (diskfs_set_sync_interval): Use ENOMEM, not EIEIO. - -1998-12-27 Roland McGrath <roland@baalperazim.frob.com> - - Use a struct hurd_port for the cached exec server port, - so it is properly reference-counted and locked. - * boot-start.c (diskfs_exec): Variable removed. - (diskfs_start_bootstrap): Make it a local here. - Install that port in _diskfs_exec_portcell. - (diskfs_S_fsys_init): Use _diskfs_exec_portcell instead - of diskfs_exec. - * init-init.c (_diskfs_exec_portcell): New variable. - (diskfs_init_diskfs): Initialize it. - * priv.h: Declare it. - * diskfs.h (diskfs_exec, diskfs_exec_ctl): Remove decls. - * file-exec.c (diskfs_S_file_exec): Use _diskfs_exec_portcell instead - of diskfs_exec. - - * init-completed.c: File removed (obsolete since 1996). - - * boot-start.c (diskfs_start_bootstrap): Twiddle boot-time messages. - -1998-12-27 Roland McGrath <roland@baalperazim.frob.com> - - * boot-start.c (_diskfs_boot_privports): Renamed from diskfs_*. - - * priv.h: Declare it. - * console.c (diskfs_console_stdio): Change caller. - - * file-statfs.c (diskfs_S_file_statfs): Remove __ from struct members. - -1998-12-21 Mark Kettenis <kettenis@phys.uva.nl> - - * file-statfs.c (diskfs_S_file_statfs): Initialize mount options - in statbuf. - -1998-12-27 Roland McGrath <roland@baalperazim.frob.com> - - * opts-std-startup.c (startup_options): Move -C above "Boot options:", - give it a docstring. Docstrings for --bootflags, --boot-command. - (_diskfs_boot_command): New variable. - (startup_options, parse_startup_opt): New option --boot-command, - consumes remaining args to set _diskfs_boot_command. - * priv.h: Declare _diskfs_boot_command. - * boot-start.c (diskfs_start_bootstrap): If diskfs_exec_server_task is - null, assume we are running as the boot command and have a root with - /servers/exec. - If _diskfs_boot_command is set, start that command in place of init. - If can't lookup initname, print error msg and loop to prompt. - Put a newline before "Init name" prompt. - After starting exec server, try to set active trans on /servers/exec. - (diskfs_boot_getpriv): New function: if _hurd_host_priv - is null, use fsys_getpriv on our bootstrap port. - (parent_task): New static variable, set there with fsys_getpriv call. - (diskfs_S_fsys_init): If diskfs_exec_server_task is null, don't do - anything with it; instead register parent_task as our child - and send an fsys_init to our parent on our bootstrap port. - * console.c (diskfs_console_stdio): Call diskfs_boot_privports before - get_privileged_ports if diskfs_boot_flags is set. - -1998-12-21 Roland McGrath <roland@baalperazim.frob.com> - - * file-exec.c (diskfs_S_file_exec): If exec server port is stale, try - once to look up a new one. - -1998-12-06 Roland McGrath <roland@baalperazim.frob.com> - - * boot-parse.c: File removed (it has been obsolete since 1995). - -1998-11-29 Roland McGrath <roland@baalperazim.frob.com> - - * trans-callback.c (_diskfs_translator_callback1_fn): Use size_t* - instead of int* for ARGZ_LEN arg. - -1998-11-25 Mark Kettenis <kettenis@phys.uva.nl> - - * boot-start.c (diskfs_S_fsys_init): Call _hurd_proc_init with new - args set to zero. - -Wed Aug 12 23:35:59 1998 Thomas Bushnell, BSG <tb@mit.edu> - - * file-chflags.c (diskfs_S_file_chflags): Only set - NP->dn_set_ctime if we actually set the flags. - -1998-10-26 Gordon Matzigkeit <gord@trick.fig.org> - - * init-startup.c (diskfs_startup_diskfs): Use diskfs_nput to free - the old diskfs_root_node when switching to a virtual root. - -1998-10-20 Roland McGrath <roland@baalperazim.frob.com> - - * dir-lookup.c (diskfs_S_dir_lookup): Add braces to silence gcc - warning. - * io-identity.c (diskfs_S_io_identity): Likewise. - * opts-append-std.c (diskfs_append_std_options): Likewise. - * opts-std-runtime.c (set_opts): Likewise. - -1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - - * diskfs.h (diskfs_lookup_hard, diskfs_lookup, - diskfs_set_translator, diskfs_create_symlink_hook, - diskfs_notice_dirchange, diskfs_direnter, diskfs_direnter_hard, - diskfs_dirrewrite, diskfs_dirremove, - diskfs_create_node, diskfs_enter_lookup_cache, - diskfs_check_lookup_cache, dir_rename_dir, diskfs_set_options): - Add `const' qualifier to `char *' parameters where appropriate. - * opts-set.c (diskfs_set_options): Fix defn with `const'. - * node-create.c (diskfs_create_node): Likewise. - * name-cache.c (diskfs_enter_lookup_cache): Likewise. - (diskfs_check_lookup_cache): Likewise. - * dirremove.c (diskfs_dirremove): Likewise. - * dirrewrite.c (diskfs_dirrewrite): Likewise. - * lookup.c (diskfs_lookup): Likewise. - * direnter.c (diskfs_direnter): Likewise. - * dir-renamed.c (diskfs_rename_dir): Likewise. - * dir-chg.c (diskfs_notice_dirchange): Likewise. - -1998-04-04 Roland McGrath <roland@baalperazim.frob.com> - - Add support for a "virtual root directory" specified at startup. - * priv.h (_diskfs_chroot_directory): Declare new variable. - * opts-std-startup.c (startup_options, parse_startup_opt): New - string-valued option -C/--directory/--virtual-root/--chroot sets - _diskfs_chroot_directory. - * init-startup.c (_diskfs_chroot_directory): New variable. - (diskfs_startup_diskfs): If that's set, look up the name and - warp us to that as a virtual root directory. - * fsys-getroot.c (diskfs_S_fsys_getroot): Initialize new peropen's - shadow_root_parent to null, and shadow_root to either null or, - if _diskfs_chroot_directory is set, to diskfs_root_node. - - * dir-lookup.c (diskfs_S_dir_lookup): Treat a shadow_root with null - shadow_root_parent as a "virtual root". - -1998-08-20 Roland McGrath <roland@baalperazim.frob.com> - - * fsys-options.c (diskfs_S_fsys_get_options): - fshelp_return_malloced_buffer renamed to iohelp_*. - * file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise. - -Tue Aug 11 16:17:49 1998 Thomas Bushnell, BSG <tb@mit.edu> - - * file-chflags.c (diskfs_S_file_chflags): Set NP->dn_set_ctime. - - * file-utimes.c (diskfs_S_file_utimes): Add file notifications. - -Sun Aug 9 21:09:24 1998 Jose M. Moya <josem@gnu.org> - - * diskfs.h (struct node): Add filemod_reqs member. - (struct modreq): Rename struct dirmod to reqmod as it is used for - directory and file notifications. - (diskfs_notice_filechange): Add prototype. - * dir-chg.c (diskfs_S_dir_notice_changes): Check - nowait_dir_changed return value for errors. - (diskfs_notice_dirchange): Remove requests when the notification - fails. - * file-chg.c (diskfs_S_file_notice_changes): Implement. - (diskfs_notice_filechange): New function. - * node-make.c (diskfs_make_node): Initialize filemod_reqs. - * node-drop.c (free_modreqs): New function. - (diskfs_drop_node): Free filemod_reqs. - * file-chauthor.c (dithkfth_TH_file_chauthor): Add file - notifications. - * file-chflags.c (diskfs_S_file_chflags): Likewise. - * file-chmod.c (diskfs_S_file_chmod): Likewise. - * file-chown.c (diskfs_S_file_chown): Likewise. - * file-set-size.c (diskfs_S_file_set_size): Likewise. - * io-prenotify.c (diskfs_S_io_prenotify): Likewise. - * io-write.c (diskfs_S_io_write): Likewise. - * node-rdwr.c (diskfs_node_rdwr): Likewise. - -Sat Aug 8 17:01:58 1998 Thomas Bushnell, BSG <tb@mit.edu> - - * boot-start.c (diskfs_S_fsys_init): __vm_allocate -> vm_allocate - and __mach_task_self -> mach_task_self. Reported by Mark Kettenis - (kettenis@phys.uva.nl). - -1998-07-25 Roland McGrath <roland@baalperazim.frob.com> - - * shutdown.c (diskfs_shutdown): Sync and set the clean flag even if we - don't shut down. Thus a disk that was in use but hadn't been touched - recently needn't necessarily be checked after a system crash. - -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * dir-lookup.c (diskfs_S_dir_lookup: short_circuited_callback1): Fix - type of arg `argz_len' to use size_t *. - -Tue Jul 14 16:27:00 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * dir-lookup.c (diskfs_S_dir_lookup): Don't require the node to be - a directory in the null pathname case. (Thus reverting one of the - changes of June 15, 1994.) - -Mon Jun 29 18:54:23 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * lookup.c (diskfs_lookup): If NAME is empty, return an error. - -Tue May 12 12:08:35 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * file-get-trans.c (diskfs_S_file_get_translator) [S_ISCHR || - S_ISBLK]: Free BUF after using it. Reported by Katusya Tanaka - (wyvern@pb3.so-net.ne.jp). - -Tue Sep 23 15:28:57 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * file-reparent.c (diskfs_S_file_reparent): Use diskfs_nrele - instead of protocol-violating up-tree lock. - * peropen-rele.c (diskfs_release_peropen): Likewise. - -1997-09-18 Miles Bader <miles@gnu.ai.mit.edu> - - * priv.h (fs_control_port): Declaration removed. - (_diskfs_nosuid, _diskfs_noexec): Renamed from nosuid & noexec. - * init-init.c: Prepend "_diskfs" to uses of NOSUID & NOEXEC. - * file-exec.c (diskfs_S_file_exec): Likewise. - * opts-std-startup.c (parse_startup_opt): Likewise. - * opts-std-runtime.c (set_opts): Likewise. - (OPT_EXEC_OK, OPT_SUID_OK): Rename definitions from ..._OPT. - -1997-09-16 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-append-std.c (diskfs_append_std_options): Add --no-suid and - --no-exec options. Don't deallocate ARGZ when we get an error. - -Tue Sep 16 14:37:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * opts-append-std.c (diskfs_append_std_options): Add --no-suid and - --no-exec when appropriate. - * priv.h (nosuid, noexec): New variables. - * init-init.c (nosuid, noexec): New variables, initialized to zero. - * file-exec.c (diskfs_S_file_exec): If noexec is on, then prohibit - all execution with EACCES. If nosuid is on, then prohibit setuid - or setgid execution by silently omitting the uid substitution. - * opts-std-startup.c (parse_startup_opt): Implement --no-suid and - --no-exec. - * opts-common.c (diskfs_common_options): Add --no-suid and - --no-exec. - * opts-std-runtime.c (struct parse_hook): Add nosuid and noexec. - (parse_opt) [cases 'S', 'E', OPT_SUID_OK, OPT_EXEC_OK] Understand - --no-suid, --no-exec, --suid-ok, and --exec-ok. - (parse_opt) [case ARGP_KEY_INIT]: Initialize H->nosuid and - H->noexec. - (OPT_SUID_OK, OPT_EXEC_OK): New macros. - (std_runtime_options): Add --suid-ok and --exec-ok. - (set_opts): Set nosuid and noexec from H->nosuid and H->noexec. - - * opts-common.c (diskfs_common_options): Rename --nosync to - --no-sync; leave --nosync as an alias. - -Wed Aug 20 14:03:41 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * 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. - - * disk-pager.c (service_paging_requests): New args for - ports_manage_port_operations_multithread. - * init-first.c (master_thread_function): Likewise. - -1997-08-19 Miles Bader <miles@gnu.ai.mit.edu> - - * filedev.c, machdev.c: Files removed. - -Thu Jul 24 12:57:26 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * name-cache.c (find_cache): Grammar doc fix. - -1997-07-10 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-std-runtime.c (parse_opt): Turn off synchronous mode when - setting a sync interval. - -Mon Jul 7 16:25:49 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * file-exec.c: Include <fcntl.h> instead of <fcntlbits.h>. - Suggested by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu). - -Mon Jun 30 17:26:38 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * diskfs.h (diskfs_hard_readonly): New variable. - (diskfs_readonly): Doc change. - * readonly.c (diskfs_readonly): Provide initialized declaration. - (diskfs_check_readonly): If we cannot write the media and so we - switch to readonly, set diskfs_hard_readonly too. - (diskfs_set_readonly): If diskfs_hard_readonly is set, then - inhibit any attempt to clear readonly status. - -1997-06-23 Miles Bader <miles@gnu.ai.mit.edu> - - * peropen-make.c (diskfs_make_peropen): Initialize the - ROOT_PARENT, SHADOW_ROOT, and SHADOW_ROOT_PARENT fields. - -1997-06-09 Miles Bader <miles@gnu.ai.mit.edu> - - * io-stat.c (diskfs_S_io_stat): Use fshelp_translated rather than - fshelp_fetch_control. - -Fri Jun 6 11:42:14 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (LCLHDRS): Add fhandle.h. - -Tue May 27 11:55:56 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * file-chmod.c (diskfs_S_file_chmod): Turn off S_ITRANS bits too. - -Mon Feb 24 17:22:05 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * io-identity.c (diskfs_S_io_identity): Pass CRED's shadow root - inode number to fshelp_get_identity when creating a shadow root - fsid, not INUM. - -Mon Feb 24 14:40:02 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * dir-rmdir.c (diskfs_S_dir_rmdir): Check EBUSY-when-translated - error before ENOTDIR-when-not-dir. - -Sat Feb 22 00:00:32 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * io-stat.c (diskfs_S_io_stat): Mark shadow roots with S_IROOT. - * io-identity.c (diskfs_S_io_identity): Return different fsys ids - for different shadow roots. - - * peropen-rele.c (diskfs_release_peropen): Don't deadlock if PO's - shadow_root is also it's node. - * file-reparent.c (diskfs_S_file_reparent): Don't release a - reference to any old shadow_root if it was == NODE. Don't aquire - a new reference for NODE. - -Fri Feb 21 17:12:04 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-init.c (diskfs_init_dir): Use CRED->po as LOOKUPCRED's po, - so that root detection works (and doesn't crash). - -Thu Feb 20 00:43:38 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * io-read.c (diskfs_S_io_read): Support reading from sylinks. - * dir-lookup.c (diskfs_S_dir_lookup): Allow symlinks to be opened - for O_READ. - -Thu Feb 13 19:27:16 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-rename.c (diskfs_S_dir_rename): Return EXDEV if FROMCRED and - TOCRED are in different shadow trees. - - * file-reparent.c (diskfs_S_file_reparent): New function, from - dir-reparent.c. - * dir-reparent.c: File removed. - * Makefile (FSSRCS): dir-reparent.c replaced by file-reparent.c. - -Wed Feb 12 14:23:15 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * peropen-make.c (diskfs_make_peropen): Add & use CONTEXT param. - Remove DOTDOT & DEPTH params. - * fsys-getroot.c (diskfs_S_fsys_getroot): Pass a prototype peropen - instead of the dotdotport and depth to diskfs_make_peropen. - * fsys-getfile.c (diskfs_S_fsys_getfile): Likewise. - * file-exec.c (diskfs_S_file_exec): Likewise. - * dir-reparent.c (diskfs_S_dir_reparent): Likewise. - * dir-mkfile.c (diskfs_S_dir_mkfile): Likewise. - * dir-lookup.c (diskfs_S_dir_lookup): Likewise. - * boot-start.c (diskfs_start_bootstrap): Likewise. - (diskfs_S_exec_startup_get_info): Likewise. - (diskfs_execboot_fsys_startup): Likewise. - (diskfs_S_fsys_init): Likewise. - * trans-callback.c (_diskfs_translator_callback2_fn): Pass COOKIE - directly to diskfs_make_peropen instead of unpacking each arg. - * priv.h (struct diskfs_trans_callback_cookie2): Type removed. - * dir-lookup.c (diskfs_S_dir_lookup): Use DIRCRED->po as the - cookie for fshelp_fetch_root instead of a local structure. - * diskfs.h (diskfs_lookup): Remove DEPTH & NEW_DEPTH params. - * dir-lookup.c (diskfs_S_dir_lookup): Get rid of DEPTH variable. - Get rid of depth parameters to diskfs_lookup. - Deal properly with EAGAIN return from diskfs_lookup. - Replace references to dotdotport with root_parent. - * dir-unlink.c (diskfs_S_dir_unlink): Don't pass depth args to - diskfs_lookup. - * dir-rmdir.c (diskfs_S_dir_rmdir): Likewise. - * dir-renamed.c (diskfs_rename_dir, checkpath): Likewise. - * dir-rename.c (diskfs_S_dir_rename): Likewise. - * dir-mkdir.c (diskfs_S_dir_mkdir): Likewise. - * dir-link.c (diskfs_S_dir_link): Likewise. - * dir-init.c (diskfs_init_dir): Likewise. - * dir-clear.c (diskfs_clear_directory): Likewise. - * lookup.c (diskfs_lookup): Remove DEPTH & NEW_DEPTH params. - Check CRED->po->shadow_root for root traversals, and get rid of assert - that EAGAIN isn't returned from diskfs_lookup_hard. - * diskfs.h (struct peropen): - Add shadow_root_parent & shadow_root fields. - Removed depth field. - Rename dotdotnode field to root_parent. - * peropen-rele.c (diskfs_release_peropen): Finalize new state. - - * dir-lookup.c (diskfs_S_dir_lookup): Remove O_EXLOCK & O_SHLOCK - from FLAGS mask, now that they're included in O_HURD. - -Thu Feb 6 02:17:35 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * io-write.c (diskfs_S_io_write): Check OFF for validity and - return EINVAL if it's bogus. - * io-read.c (diskfs_S_io_read): Likewise. - - * dir-mkfile.c (diskfs_S_dir_mkfile): New file's depth is one - greater than CRED's. - - * file-getfh.c (diskfs_S_file_getfh): Implement (code from ufs). - * fsys-getfile.c (diskfs_S_fsys_getfile): Likewise. - * fhandle.h: New file. - -Wed Feb 5 16:06:26 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-reparent.c (diskfs_S_dir_reparent): Implement. - - * lookup.c (diskfs_lookup): Add DEPTH & NEW_DEPTH arguments. - Implement new fs-root detection using them. - * diskfs.h (diskfs_lookup): Add DEPTH & NEW_DEPTH arguments. - * dir-link.c (diskfs_S_dir_link): Supply DEPTH & NEW_DEPTH - arguments to diskfs_lookup. - * dir-clear.c (diskfs_clear_directory): Likewise. - * dir-init.c (diskfs_init_dir): Likewise. - * dir-renamed.c (checkpath, diskfs_rename_dir): Likewise. - * dir-rename.c (diskfs_S_dir_rename): Likewise. - * dir-mkdir.c (diskfs_S_dir_mkdir): Likewise. - * dir-rmdir.c (diskfs_S_dir_rmdir): Likewise. - * dir-unlink.c (diskfs_S_dir_unlink): Likewise. - * dir-lookup.c (diskfs_S_dir_lookup): Likewise. - Add DEPTH variable. - * dir-link.c (diskfs_S_dir_link): Translate EAGAIN (meaning root's - parent) to EINVAL. - * dir-rename.c (diskfs_S_dir_rename): Likewise. - - * diskfs.h (struct peropen): Add DEPTH field. - (diskfs_make_peropen): Add DEPTH argument. - * peropen-make.c (diskfs_make_peropen): Add & use DEPTH argument. - * boot-start.c (diskfs_start_bootstrap, - diskfs_S_exec_startup_get_info, diskfs_execboot_fsys_startup, - diskfs_S_fsys_init): Supply DEPTH argument to diskfs_make_peropen. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - * file-exec.c (diskfs_S_file_exec): Likewise. - * dir-mkfile.c (diskfs_S_dir_mkfile): Likewise. - * dir-lookup.c (diskfs_S_dir_lookup): Likewise. - * priv.h (struct diskfs_trans_callback_cookie2): New type. - * trans-callback.c (_diskfs_translator_callback2_fn): Expect - COOKIE2 to be a pointer to a struct diskfs_trans_callback_cookie2, - and use that to pass args to diskfs_make_peropen. - * fsys-getroot.c (diskfs_S_fsys_getroot): Pass new type of cookie2 to - fshelp_fetch_root, as expected by _diskfs_translator_callback2. - * dir-lookup.c (diskfs_S_dir_lookup): Likewise. - -Mon Jan 20 16:18:00 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-reparent.c (diskfs_S_dir_reparent): New file. - * Makefile (FSSRCS): Add dir-reparent.c. - - * disk-pager.c (preemptor): Renamed from `preempter'; type & init - changed as well. - (diskfs_start_disk_pager): `preempter' -> `preemptor'. - * diskfs-pager.h: Doc fix. - -Tue Nov 19 18:21:12 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * diskfs.h (struct node): Add author_tracks_uid field. - * file-chown.c (diskfs_S_file_chown): If NP->author_tracks_uid, - modify NP->dn_stat.st_author as well. - * node-create.c (diskfs_create_node): Likewise. - -Mon Nov 18 17:02:22 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * diskfs.h (struct node): Remove istranslated field. - * io-stat.c (diskfs_S_io_stat): Set S_IATRANS & S_IROOT bits in - st_mode field of returned buffer if appropiate. - * dir-lookup.c (diskfs_S_dir_lookup): Use S_IPTRANS bit in dn_stat - st_mode field rather than istranslated field. - * file-get-trans.c (diskfs_S_file_get_translator): Likewise. - * file-set-trans.c (diskfs_S_file_set_translator): Likewise. - * file-inv-trans.c (diskfs_S_file_invoke_translator): Likewise. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - * node-drop.c (diskfs_drop_node): Likewise. - * trans-callback.c (_diskfs_translator_callback1_fn): Likewise. - * dir-rmdir.c (diskfs_S_dir_rmdir): Likewise. - - * file-get-transcntl.c (diskfs_S_file_get_translator_cntl): Use - MACH_MSG_TYPE_MOVE_SEND to return *ctl, rather than COPY. - (diskfs_S_file_get_translator_cntl): Correctly test for errors - from fshelp_fetch_control. - -Fri Nov 15 14:06:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * protid-make.c (diskfs_finish_protid): Fix typo. - - * file-chown.c (diskfs_S_file_chown): Look for UID, not CRED in - the uid set. - - * dir-lookup.c (diskfs_S_dir_lookup): Make the unauthenticated - port correctly. - -Thu Nov 14 13:07:37 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * dir-init.c (diskfs_init_dir): New vars VEC and USER; fabricate - LOOKUPCRED to correspond to new structure definitions. - - * io-restrict-auth.c (diskfs_S_io_restrict_auth): Declare I and - add a missing semicolon. - - * fsys-getroot.c (diskfs_S_fsys_getroot): Eliminate PSEUDOCRED - entirely. Fix unrelated typo. - - * file-chauthor.c (dithkfth_TH_file_chauthor): Fix first arg in - call to fthhelp_ithowner. - -Tue Nov 12 22:45:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * diskfs.h: Correctly close comment. - -Thu Nov 7 14:49:19 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * io-restrict-auth.c (diskfs_S_io_restrict_auth): If CRED has - root, use the requested id sets verbatim. - -Thu Nov 7 01:03:11 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * protid-rele.c (diskfs_protid_rele): Free CRED->user. - -Wed Nov 6 17:55:17 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * diskfs.h (diskfs_isuid, diskfs_groupmember, diskfs_isowner, - diskfs_access, diskfs_checkdirmod): Delete functions. - * fsys-getroot.c (diskfs_S_fsys_getroot): Replace PSEUDOCRED with - a real iouser and specify that in the relevant calls. - * io-restrict-auth.c (diskfs_S_io_restrict_auth): Reworked to use - idvecs. - * file-chmod.c (diskfs_S_file_chmod): diskfs_isuid -> - idvec_contains. - * file-chown.c (diskfs_S_file_chown): Likewise. - * file-getcontrol.c (diskfs_S_file_getcontrol): Likewise. - * file-chmod.c (diskfs_S_file_chmod): diskfs_groupmember -> - idvec_contains. - * file-chown.c (diskfs_S_file_chown): Likewise. - * node-create.c (diskfs_create_node): Likewise. - * dir-lookup.c (diskfs_S_dir_lookup): diskfs_isowner -> - fshelp_isowner. - * file-chflags.c (diskfs_S_file_chflags): Likewise. - * file-chmod.c (diskfs_S_file_chmod): Likewise. - * file-chown.c (diskfs_S_file_chown): Likewise. - * file-get-transcntl.c (diskfs_S_file_get_translator_cntl): - Likewise. - * file-set-trans.c (diskfs_S_file_set_translator): Likewise. - * file-utimes.c (diskfs_S_file_utimes): Likewise. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - * lithp.h (dithkfth_ithowner): Deleted macro. - (fthhelp_ithowner, uther): New macros. - * file-chauthor.c (dithkfth_TH_file_chauthor): dthkfth_ithowner -> - fthhelp_ithowner. - * dir-lookup.c (diskfs_S_dir_lookup): diskfs_access -> - fshelp_access. - * dir-mkfile.c (diskfs_S_dir_mkfile): Likewise. - * file-access.c (diskfs_S_file_check_access): Likewise. - * file-exec.c (diskfs_S_file_exec): Likewise (in dead code). - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - * ifsock.c (diskfs_S_ifsock_getsockaddr): Likewise. - * lookup.c (diskfs_lookup): Likewise. - (diskfs_lookup): diskfs_checkdirmod -> fshelp_checkdirmod. - * dir-lookup.c (diskfs_S_dir_lookup): New arg format for - fshelp_fetch_root. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - * diskfs.h, protid-make.c (diskfs_create_protid): Delete args - `uids', `gids', `nuids', and `ngids'. Replace with new arg - `user'. All callers changed. - (diskfs_finish_protid): Likewise. - * file-inv-trans.c (diskfs_S_file_invoke_translator): Use - CRED->user instead of old fields. - * io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise. - * node-create.c (diskfs_create_node): Likewise. - * file-exec.c (diskfs_S_file_exec): Likewise. Use idvec_merge - instead of idvec_merge_ids, now that it's convenient. - * io-reauthenticate.c (diskfs_S_io_reauthenticate): Use new - iohelp_reauthenticate. - -Tue Nov 5 21:10:18 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * diskfs.h: Include <idvec.h>. - (struct protid): Delete members `uids', `gids', `nuids' and - `ngids'. New member `user'. - -Thu Oct 24 15:56:30 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-std-startup.c (store_argp_children, startup_argp_children): - New variables. - (store_argp_parents, startup_argp_children): Variable removed. - (diskfs_store_startup_argp): Use STORE_ARGP_CHILDREN instead of - STORE_ARGP_PARENTS. - (diskfs_startup_argp): Use STARTUP_ARGP_CHILDREN instead of - STARTUP_ARGP_PARENTS. - * opts-std-runtime.c (children): New variable. - (parents): Variable removed. - (diskfs_std_runtime_argp): Use CHILDREN instead of PARENTS. - -Mon Oct 21 21:54:34 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * diskfs.h: Add extern inline protection. - * diskfs.c: New file. - * Makefile (OTHERSRCS): Add diskfs.c. - -Fri Oct 11 21:55:45 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-lookup.c (diskfs_S_dir_lookup): Temporarily add O_EXLOCK and - O_SHLOCK to the set of retained flags, until they get added to O_HURD. - Turn off OPENONLY_STATE_MODES bits in the flags we pass to - diskfs_make_peropen, not everything *but* them! - * priv.h (OPENONLY_STATE_MODES): Add O_EXLOCK & O_SHLOCK. - -Thu Oct 10 17:22:06 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-lookup.c (diskfs_S_dir_lookup): Frob lock in NEWPI->po, not PO. - Free NEWPI if we get an error trying to lock it. - <sys/file.h>: New include. - -Thu Oct 10 17:11:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * dir-lookup.c (diskfs_S_dir_lookup): Implement O_SHLOCK and - O_EXLOCK directly here. - -Thu Oct 10 10:53:28 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * peropen-rele.c (diskfs_release_peropen): Before freeing PO, - release any user lock it's holding. - <sys/file.h>: New include. - -Tue Oct 8 15:01:32 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ifsock.c (diskfs_S_ifsock_getsockaddr): Write permission governs - access to sockets, not read permission. - -Mon Oct 7 14:50:04 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-rmdir.c (diskfs_S_dir_rmdir): Return ENOTDIR if NP isn't a dir. - -Tue Sep 24 23:51:37 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-version.c (_print_version): Follow version string with newline. - -Thu Sep 19 17:59:37 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): Add store. - -Wed Sep 18 15:02:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-version.c (_print_version): Change to use new version - format from the coding standards. - - * opts-std-runtime.c (std_runtime_options): Change --remount to - --update (keep --remount as a deprecated alias). - <argp.h>: New include. - * opts-append-std.c <stdio.h>: New include. - * dir-lookup.c <stdio.h>: New include. - -Fri Sep 13 19:15:45 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * file-get-fs-opts.c (diskfs_S_file_get_fs_options): Free ARGZ if - diskfs_append_args returns an error. - * fsys-options.c (diskfs_S_fsys_get_options): Likewise. - -1996-09-12 Miles Bader <miles@gnu.ai.mit.edu> - - * diskfs.h (diskfs_disk_name): New declaration. - * readonly.c (diskfs_check_readonly): Use DISKFS_DISK_NAME - instead of DISKFS_DEVICE_ARG. - * init-startup.c (_diskfs_init_completed): Likewise. - -Wed Sep 11 17:25:14 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * disk-pager.c (diskfs_start_disk_pager): Renamed from - setup_disk_pager. - Add PAGER_BUCKET, IMAGE, and SIZE arguments. - Pass in PAGER_BUCKET to thread routine, and don't create it. - (diskfs_disk_pager): Renamed from disk_pager. - (disk_image): Variable removed. - (pager_bucket): Declaration removed. - (service_paging_requests): Get PAGER_BUCKET from argument. - * diskfs-pager.h (diskfs_start_disk_pager): Renamed from - disk_pager_setup. - Add PAGER_BUCKET, IMAGE, and SIZE arguments. - (diskfs_disk_pager): Renamed from disk_pager. - (disk_image, pager_bucket): Declarations removed. - -Mon Sep 9 10:54:58 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsys-options.c (diskfs_S_fsys_get_options): Initialize ARGZ & - ARGZ_LEN to the program name, and call diskfs_append_args instead - of diskfs_get_options. - * file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise. - <argz.h>: New include. - * diskfs.h (diskfs_append_args): Renamed from diskfs_get_options. - * opts-get.c (diskfs_append_args): Likewise. - * opts-std-startup.c <hurd/store.h>: New include. - (store_argp_parents): Use diskfs_startup_argp, not - diskfs_std_startup_argp. - * Makefile (libdiskfs.so): Depend on libstore.so. - - * opts-version.c <argp.h>, <stdio.h>: New includes. - (_print_version): Test diskfs_extra_version against 0 too. - * io-version.c <stdio.h>: New include. - (diskfs_S_io_server_version): Use snprintf instead of sprintf. - -Sun Sep 8 18:19:50 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * diskfs.h <argp.h>: Include removed. - (struct argp): New (incomplete) declaration. - (diskfs_get_file_device, diskfs_get_mach_device): Declarations removed. - (diskfs_startup_argp): Renamed from diskfs_std_startup_argp. - (diskfs_store_startup_argp): Renamed from - diskfs_std_device_startup_argp. - (diskfs_device_arg, diskfs_use_mach_device, diskfs_device_open, - diskfs_device, diskfs_device_name, diskfs_device_start, - diskfs_device_size, diskfs_device_block_size, - diskfs_log2_device_block_size, diskfs_log2_device_blocks_per_page, - diskfs_device_write_sync, diskfs_device_read_sync): Declarations - removed. - * opts-std-startup.c (diskfs_use_mach_device, diskfs_device_arg, - dev_startup_options, dev_startup_argp_parents, - diskfs_std_device_startup_argp): Variables removed. - (parse_dev_startup_opt): Function removed. - (diskfs_startup_argp): Renamed from diskfs_std_startup_argp. - * Makefile (OTHERSRCS): Remove filedev.c, machdev.c, dev-open.c, - dev-io.c, & dev-globals.c. - -Thu Sep 12 16:22:27 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile: New variable. - (libdiskfs.so): Delete special depedency. - -Thu Sep 5 11:13:54 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * io-version.c (diskfs_S_io_server_version): Only fill in - SERVER_NAME; ignore the rest. - - * diskfs.h (diskfs_major_version, diskfs_minor_version, - diskfs_edit_version): Delete variables. - (diskfs_server_version, diskfs_extra_version): New variables. - * boot-start.c (diskfs_S_fsys_init): Register version from - diskfs_server_version; pass empty string as release. - * extra-version.c: New file. - * Makefile (OTHERSRCS): Add extra-version.c. - * opts-version.c: Include <version.h>. - (diskfs_extra_version): Delete special declaration. - (_print_version): Use the user's provided version number, and also - give it our (libdiskfs) version number. - -Tue Sep 3 10:48:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * name-cache.c (diskfs_enter_lookup_cache): Cache `.' and `..' - just like other nodes. - (diskfs_check_lookup_cache): If we get a cache hit on `..', then - do the inverse locking semantic, and only return success if things - are stable around the call. - -Fri Aug 30 21:57:18 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * lookup.c (cache_misses): New variable, to find out what sort of - thing all the cache misses are. - (cm_lock): New variable. - (diskfs_lookup): Keep track of cache misses in cache_misses. - - * name-cache.c (MAXCACHE): 200 now. After experimentation, this - appears to be a pretty good value. Very little benefit after - this. - -Fri Aug 30 20:41:27 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * name-cache.c (struct lookup_cache): Delete member `hits'. - New member `stati'. - (diskfs_enter_lookup_cache): Don't initialize C->hits. - (find_cache): Set C->stati before returning. - (build_partial): Delete function. - (diskfs_check_lookup_cache): Delete calls to build_partial. - Register all statistics through register_neg_hit, - register_pos_hit, and register_miss. - (MAXCACHE): 2000 now. - -Wed Aug 28 12:20:53 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * name-cache.c (MAXCACHE): 500 for now. - -Mon Aug 26 15:10:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * name-cache.c (MAXCACHE): Increase to 50000. - (struct lookup_cache): New member `hits'. - (statistics): Name struct type `struct stats'. - (diskfs_enter_lookup_cache): Initialize C->hits. - (PARTIAL_THRESH, NPARTIALS): New macros. - (partial_stats): New variable. - (build_partial): New function. - (diskfs_check_lookup_cache): Call build_partial after statistics - frobbing. - - * name-cache.c (diskfs_check_lookup_cache): Increment members of - statistics while still holding CACHE_LOCK. - -Fri Aug 16 18:23:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * name-cache.c (diskfs_check_lookup_cache): Keep track of negative - hits properly. - * lookup.c (diskfs_lookup): On LOOKUPs that fail to find the node, - enter a negative cache entry. - -Thu Aug 15 16:07:23 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-version.c (diskfs_extra_version): New (weak) reference. - (_print_version): Use DISKFS_EXTRA_VERSION. Tweak edit version. - Fix type of EV. - -Thu Aug 15 16:38:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * io-identity.c (diskfs_S_io_identity): Don't hold lock around - call to fshelp_get_identity. - -Mon Aug 12 15:54:27 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-version.c (_print_version): Print the edit version too if - it's non-zero. - -Thu Aug 8 18:18:09 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * readonly.c: Include <error.h>. - -Wed Aug 7 13:53:56 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * readonly.c (diskfs_check_readonly): If we get an error from - diskfs_hypermetadata, then switch to readonly. - * diskfs.h (diskfs_set_hypermetadata): Require an error code return. - * dev-io.c (diskfs_device_write_sync): If we get D_READ_ONLY, then - return EROFS to the caller instead of EIO. - - * node-create.c (diskfs_create_node): New files always copy GID - from their parent; that's NetBSD's behavior, and it's good enough - for me. - -Thu Aug 1 17:24:08 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * file-get-transcntl.c (diskfs_S_file_get_translator_cntl): Don't - diskfs_nput NP; we've never created a reference. Just unlock it. - (And bother to lock it in the first place.) - -Sat Jul 27 20:05:17 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * lookup.c (diskfs_lookup): Don't nput *NP if we didn't find a file. - - * init-startup.c (diskfs_S_startup_dosync): Clean up after ourselves. - Don't sync if DISKFS_READONLY. - * file-syncfs.c (diskfs_S_file_syncfs): Don't sync if DISKFS_READONLY. - * fsys-syncfs.c (diskfs_S_fsys_syncfs): Likewise. - * sync-interval.c (periodic_sync): Likewise. - * shutdown.c (diskfs_shutdown): Likewise. - -Fri Jul 26 14:52:23 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * file-exec.c (diskfs_S_file_exec): Unlock NP before we attempt to - do setuid/setgid (which otherwise can deadlock during port reauth). - Pay attention to the error code returned by fshelp_exec_reauth, - and don't make NEWPI if it's an error. - Initialize ERR. - -Tue Jul 23 16:05:55 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-version.c (_print_version): Make return type void. - -Fri Jul 19 21:19:42 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * filedev.c (diskfs_get_file_device): INTS[3] contains the number - of runs, not the number of offsets (which is 2*NUM_RUNS). - Don't deallocate the device port we've fetched. - - * opts-std-startup.c (startup_options, parse_startup_opt): Remove - the --version option, which is handled elsewhere now. - -Thu Jul 18 23:05:56 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * protid-make.c (diskfs_start_protid): Use noinstall version of - ports_create_port. - (diskfs_finish_protid): Install port right into port set here. - -Mon Jul 15 21:37:12 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * diskfs.h (diskfs_checkdirmod): diskfs_isowner returns error or - zero, so invert sense of tests. - - * lookup.c (diskfs_lookup): If we get an error from - diskfs_checkdirmod, diskfs_nput the node we picked up; the caller - won't want it. - - * dir-renamed.c (diskfs_rename_dir): When unlocking FDP, only do - it if we FDP != TDP. Also, only do step two (changing .. in the - directory being moved) if FDP != TDP. - -Sat Jul 13 20:05:27 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-reauthenticate.c (diskfs_S_io_reauthenticate): Repeat - diskfs_start_protid and auth_server_authenticate for as we get - EINTR. - -Sun Jul 7 21:07:53 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * boot-start.c (diskfs_S_fsys_init): Don't use unsafe MOVE_SEND in - call to exec_init. - * io-reauthenticate.c (diskfs_S_io_reauthenticate): Don't use - unsafe MOVE_SEND in auth_server_authenticate. - -Sun Jul 7 10:27:37 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-version.c (_print_version): Include HURD_RELEASE in default. - -Sat Jul 6 16:27:01 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-version.c: New file. - * Makefile (OTHERSRCS): Add opts-version.c. - -Sat Jul 6 13:32:58 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * node-drop.c (diskfs_drop_node): If this might be a special - symlink, then truncate it even though NP->allocsize might be - clear. - -Wed Jul 3 11:22:58 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-identity.c (diskfs_S_io_identity): Fetch identity using - fshelp_get_identity rather than creating it ourselves. - * diskfs.h (struct node): Remove member `identity'. - * node-drop.c (diskfs_drop_node): Don't deallocate NP->identity. - * node-make.c (diskfs_make_node): Don't initialize NP->identity. - -Thu Jun 27 10:07:03 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init-startup.c (diskfs_startup_diskfs): Don't call - diskfs_readonly_changed here anymore. - - * disk-pager.c (disk_pager_setup): Check diskfs_readonly variable - instead of calling diskfs_check_readonly. - - * Makefile (LCLHDRS): Add diskfs-pager.h. - -Tue Jun 25 21:55:24 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-std-runtime.c (parse_opt): Add hair to share arg parsing - state between two parsers that use the same parse_opt function at - the same time. - -Mon Jun 24 14:55:50 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init-startup.c (diskfs_S_startup_dosync): Don't crash the - filesystem, just do a clean sync. - * node-drop.c (diskfs_drop_node): Call diskfs_check_readonly - before making mods. - * priv.h (_diskfs_diskdirty): New variable. - * diskfs.h (diskfs_check_readonly): New function. - * readonly.c (_diskfs_diskdirty): New var. - (diskfs_check_readonly): New function. - (diskfs_set_readonly): After clean sync, clear _diskfs_diskdirty. - * rdwr-internal.c (_diskfs_rdwr_internal): Use - diskfs_check_readonly instead of diskfs_readonly. - * node-create.c (diskfs_create_node): Likewise. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - * file-set-trans.c (diskfs_S_file_set_translator): Likewise. - * disk-pager.c (disk_pager_setup): Likewise. - * dir-unlink.c (diskfs_S_dir_unlink): Likewise. - * dir-rmdir.c (diskfs_S_dir_rmdir): Likewise. - * dir-rename.c (diskfs_S_dir_rename): Likewise. - * dir-mkfile.c (diskfs_S_dir_mkfile): Likewise. - * dir-mkdir.c (diskfs_S_dir_mkdir): Likewise. - * dir-lookup.c (diskfs_S_dir_lookup): Likewise. - * dir-link.c (diskfs_S_dir_link): Likewise. - * conch-fetch.c (iohelp_fetch_shared_data): Likewise. - * remount.c (diskfs_remount): Likewise. - - * io-reauthenticate.c (diskfs_S_io_reauthenticate): If - auth_server_authenticate fails, then fill with empty IDs. We - can't permit interruption, because this is a simpleroutine. - - * file-set-trans.c (diskfs_S_file_set_translator): Validate rdev - change before making it. - * file-chflags.c (diskfs_S_file_chflags): Validate flags change - before making it. - * lithp.h (dithkfth_validate_author_change): New macro. - * file-chauthor.c (dithkfth_TH_file_chauthor): Validate new author - before changing it. - * node-create.c (diskfs_create_node): Validate group change before - making it. - * file-chown.c (diskfs_S_file_chown): Likewise. - * node-create.c (diskfs_create_node): Validate mode change before - making it. - * file-set-trans.c (diskfs_S_file_set_translator): Likewise - * file-chmod.c (diskfs_S_file_chmod): Likewise. - * node-create.c (diskfs_creade_node): Validate owner change before - making it. - * file-chown.c (diskfs_S_file_chown): Likewise. - * Makefile (OTHERSRCS): Add validate-mode.c, validate-group.c, - validate-author.c, validate-flags.c, validate-rdev.c, and - validate-owner.c. - * validate-mode.c, validate-group.c, validate-author.c, - validate-flags.c, validate-rdev.c, validate-owner.c: New files. - * diskfs.h (diskfs_validate_mode_change, - diskfs_validate_owner_change, diskfs_validate_group_change, - diskfs_validate_author_change, diskfs_validate_flags_change, - diskfs_validate_rdev_change): New decls. - -Fri Jun 21 00:18:16 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsys-options.c (diskfs_S_fsys_get_options): Use - fshelp_return_malloced_buffer to setup the return data. - * file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise. - * opts-set.c (diskfs_set_options): Supply INPUT arg to - fshelp_set_options. - - * opts-append-std.c (diskfs_append_std_options): Use argz_add - instead of rolling our own. Deal with errors. - <argz.h>: New include. - -Wed Jun 19 21:57:46 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * init-startup.c (diskfs_S_startup_dosync): Pass HANDLE to - ports_lookup_port. Declare ERR. - - * opts-get.c (diskfs_get_options): Call diskfs_append_std_options to - do most of the work. - * opts-append-std.c: New file. - * opts-set.c: New file (old version renamed). - * opts-std-runtime.c: Renamed from opts-set.c. - (diskfs_set_options): Function removed. - (struct parse_hook): New type. - (set_opts, parse_opt): New functions. - (common_argp, parents, diskfs_std_runtime_argp): New variables. - * diskfs.h (diskfs_parse_runtime_options): Decl removed. - (diskfs_std_startup_argp): Renamed from diskfs_startup_argp, now a - structure decl, not a pointer decl. - (diskfs_std_device_startup_argp): Renamed from - diskfs_device_startup_argp, now a structure decl, not a pointer - decl. - (diskfs_set_options): Update decl (now takes argz & argz_len). - (diskfs_runtime_arg): New declaration. - (diskfs_std_runtime_argp, diskfs_append_std_options): New declarations. - * opts-runtime-parse.c, opts-runtime-unparse.c: Files removed. - * opts-std-startup.c (parse_dev_startup_opt): Use argp_error. - (diskfs_startup_arg, diskfs_device_startup_arg): Variables removed. - (diskfs_std_startup_argp): Renamed from startup_argp, exported. - (diskfs_std_device_startup_argp): Renamed from dev_startup_argp, - exported. - * fsys-options.c (diskfs_S_fsys_set_options): Don't split - arguments, just call diskfs_set_options with what we got. - * opts-runtime.c: New file. - * Makefile (OTHERSRCS): Add opts-std-runtime.c, opts-append-std.c, - opts-runtime.c. Remove opts-runtime-parse.c, opts-runtime-unparse.c - -Thu Jun 13 10:05:51 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (MIGSTUBS): Add startup_notifyServer.o. - * init-startup.c (diskfs_S_startup_dosync): Uncomment function. - * demuxer.c (diskfs_demuxer): Call diskfs_startup_notify_server. - * init-startup.c (_diskfs_init_completed): NOTIFY doesn't need - deallocation. - - * boot-start.c (diskfs_S_fsys_init): Build version string - correctly. - -Tue May 14 11:14:12 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (OTHERSRCS): Remove init-completed.c. - - * node-drop.c (diskfs_drop_node): Fix typo. - -Sat May 11 01:11:19 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-std-startup.c (parse_dev_startup_opt, parse_startup_opt): - Use ARGP_ERR_UNKNOWN instead of EINVAL. - * opts-set.c (diskfs_set_options): Likewise. - -Fri May 10 17:15:51 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-identity.c: New file. - * Makefile (IOSRCS): Add io-identity.c. - * diskfs.h (diskfs_fsys_identity): New variable. - (struct node): New member `identity'. - * init-init.c (diskfs_fsys_identity): New variable. - (diskfs_init_diskfs): Initialize diskfs_fsys_identity. - * node-make.c (diskfs_make_node): Initialize NP->identity. - * node-drop.c (diskfs_drop_node): Free NP->identity if it's been - allocated. - -Thu May 9 11:52:52 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * protid-make.c (diskfs_make_protid): Delete function. - * diskfs.h (diskfs_make_protid): Delete declaration. - - * init-startup.c (_diskfs_init_completed): Don't need to insert - right any more now that it's a poly arg. - Provide helpful name to init. - - * fsys-options.c (diskfs_S_fsys_get_options): Accept and ignore - replyport parameters. - - * file-sync.c (diskfs_S_file_sync): Accept and ignore new parm - OMITMETADATA. - - * priv.h: ioserver.h -> iohelp.h. - * diskfs.h: Likewise. - * file-sync.c (diskfs_S_file_sync): s/ioserver/iohelp/g - * io-prenotify.c (diskfs_S_io_prenotify): Likewise. - * io-get-conch.c (diskfs_S_io_get_conch): Likewise. - * io-modes-off.c (diskfs_S_io_clear_some_openmodes): Likewise. - * io-modes-on.c (diskfs_S_io_set_some_openmodes): Likewise. - * io-modes-set.c (diskfs_S_io_set_all_openmodes): Likewise. - * io-read.c (diskfs_S_io_read): Likewise. - * io-readable.c (diskfs_S_io_readable): Likewise. - * io-rel-conch.c (diskfs_S_io_release_conch): Likewise. - * io-seek.c (diskfs_S_io_seek): Likewise. - * io-stat.c (diskfs_S_io_stat): Likewise. - * io-write.c (diskfs_S_io_write): Likewise. - * conch-fetch.c (iohelp_fetch_shared_data): Likewise. - * conch-set.c (iohelp_put_shared_data): Likewise. - * node-make.c (diskfs_make_node): Likewise. - * node-rdwr.c (diskfs_node_rdwr): Likewise. - * Makefile (libdiskfs.so): Likewise. - - * dir-rename.c (diskfs_S_dir_rename): Understand new parm EXCL and - do the right thing with it. - * dir-link.c (diskfs_S_dir_link): Likewise. - -Thu May 9 12:12:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * io-reauthenticate.c (diskfs_S_io_reauthenticate): Don't pass CRED - port in auth_server_authenticate. - - * io-select.c (diskfs_S_io_select): Removed TAG arg. - -Thu May 9 11:42:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * filedev.c (diskfs_get_file_device): Deallocate most things we - got back from file_get_storage_info even if we didn't get an error. - - * filedev.c (diskfs_get_file_device): Fix type of DATA & _DATA. - BLOCKSIZE -> BLOCK_SIZE. Copy name from DATA, not DEV_NAME_BUF. - -Mon May 6 20:12:34 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * filedev.c (diskfs_get_file_device): Enable new version. - -Fri May 3 15:55:44 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * filedev.c [0] (diskfs_get_file_device): Rewrite to use new interface. - -Tue Apr 30 14:39:06 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init-startup.c: Include <string.h> and <hurd/startup.h>. - (diskfs_startup_diskfs): If not bootstrap filesystem, call - _diskfs_init_completed here. - (diskfs_S_startup_dosync): New function (commented out). - (_diskfs_init_completed): New function. - * init-completed.c: Delete file. - * init-init.c (diskfs_shutdown_notification_class): New variable. - (diskfs_init_diskfs): Initialize diskfs_shutdown_notification_class. - * diskfs.h (diskfs_shutdown_notification_class): New variable. - * boot-start.c (diskfs_S_fsys_init): diskfs_init_completed -> - _diskfs_init_completed. - * priv.h (_diskfs_init_completed): New declaration. - * diskfs.h (diskfs_init_completed): Delete function. - -Mon Apr 29 15:42:23 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * name-cache.c (struct lookup_cache): Add HDR, remove NEXT & PREV. - (lookup_cache): Change type to struct cacheq. - (mru_cache, lru_cache): Variables removed. - (make_mru, make_lru, init_lookup_cache): Functions removed. - (find_cache, diskfs_purge_lookup_cache, - diskfs_check_lookup_cache): Use cacheq functions. - -Sun Apr 28 15:22:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * protid-make.c: Add obsolescence link warning. - -Tue Apr 23 11:05:04 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * node-drop.c (diskfs_drop_node): Don't do anything special for - socket naming points. - * Makefile (OTHERSRCS): Add dead-name.c. - * dead-name.c: New file. - * ifsock.c (diskfs_S_ifsock_getsockaddr): Request notification for - new SOCKADDR; count that notification as a reference. - -Fri Apr 12 15:56:48 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * name-cache.c (diskfs_enter_lookup_cache): Never cache . or .. - -Thu Apr 11 17:59:18 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * console.c: Include <hurd.h>. - - * Makefile (fsys-MIGSFLAGS, fs-MIGSFLAGS, io-MIGSFLAGS, - ifsock-MIGSFLAGS): Reference fsmutations.h in $(srcdir). - - * boot-start.c (diskfs_start_bootstrap): Print helpful message - before doing anything else. - -Wed Apr 10 16:47:21 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * name-cache.c (struct lookup_cache): Add NEXT & PREV fields. - Rename LEN back to NAME_LEN. - (lru_cache, mru_cache): New variables. - (first_cache, last_cache): Variables removed. - (make_mru, make_lru, find_cache, init_lookup_cache): New functions. - (diskfs_enter_lookup_cache, diskfs_purge_lookup_cache, - diskfs_check_lookup_cache): Rewrite to use the linked list. Deal - with negative entries. - -Tue Apr 9 12:59:02 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * lookup.c (diskfs_lookup): Deal with DS or NP being 0. - * name-cache.c (diskfs_check_lookup_cache): Correctly handle the - case where the lookup returns DIR itself. - - * diskfs.h (diskfs_enter_lookup_cache, diskfs_purge_lookup_cache, - diskfs_check_lookup_cache): Renamed from versions without `lookup_'. - * name-cache.c (diskfs_enter_lookup_cache, diskfs_purge_lookup_cache, - diskfs_check_lookup_cache): Likewise. - * direnter.c (diskfs_direnter): Similarly, rename use. - * dirrewrite.c (diskfs_dirrewrite): Likewise. - * dirremove.c (diskfs_dirremove): Likewise. - * lookup.c (diskfs_lookup): Likewise. - -Sun Apr 7 15:29:02 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * name-cache.c (diskfs_check_cache): Declare I. - (struct lookup_cache, diskfs_enter_cache): Change NAMELEN field to LEN. - -Wed Apr 3 16:02:45 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * node-drop.c (diskfs_drop_node): Don't call - _diskfs_purge_cache_deletion. - * name-cache.c (_diskfs_purge_cache_deletion): Delete function. - - * diskfs.h (diskfs_cached_lookup): New declaration. - (struct node): New member `cache_id'. - -Tue Apr 2 12:50:31 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * name-cache.c (diskfs_enter_cache): Don't set LC->next->prev if - LC->next is null. - (diskfs_purge_cache): If freeing node at LOOKUP_CACHE_TAIL, bump - LOOKUP_CACHE_TAIL back itself too. - (_diskfs_purge_cache_deletion): Likewise. - - * lookup.c (diskfs_lookup): When doing diskfs_checkdirmod check, - don't return success when we should return ENOENT, just because - checkdirmod won. Also enter successful lookups for CREATE or - LOOKUP in the name cache. - -Fri Mar 29 13:57:37 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - - * io-map-cntl.c: Initialize shared page magic number. - -Mon Mar 25 09:30:31 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * name-cache.c (statistics): New variable. - (diskfs_check_cache): Keep statistics on cache performance. - -Fri Mar 22 17:51:51 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-runtime-parse.c (diskfs_parse_runtime_options): Supply new - argument to argp_parse. - -Fri Mar 22 15:44:10 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * lookup.c (diskfs_lookup): Dereference NP in call to - diskfs_checkdirmod. - * direnter.c (diskfs_direnter): Don't fall off end. - * diskfs.h (diskfs_enter_cache, diskfs_purge_cache, - diskfs_check_cache): Add declarations. - * dir-rename.c (diskfs_S_dir_rename): Use new args for - diskfs_dirrewrite and diskfs_dirremove. - * dir-renamed.c (diskfs_rename_dir): Likewise. - * dir-clear.c (diskfs_clear_directory): Use new diskfs_dirremove - args. - * dir-rmdir.c (diskfs_S_dir_rmdir): Likewise. - * dir-unlink.c (diskfs_S_dir_unlink): Likewise. - - * Makefile (OTHERSRCS): Add direnter.c, dirrewrite.c, dirremove.c, - and lookup.c. - -Wed Mar 20 14:34:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * diskfs.h (diskfs_lookup_hard): Remove mention of ENOTDIR and - EACCES errors. - * diskfs.h (diskfs_null_dirstat): New function. - * dir-lookup.c (diskfs_S_dir_lookup): Don't check cache here. - * dir-unlink.c (diskfs_S_dir_unlink): Don't frob cache here. - * dir-rmdir.c (diskfs_S_dir_rmdir): Likewise. - * dir-clear.c (diskfs_clear_directory): Likewise. - * node-create.c (diskfs_create_node): Likewise. - * dir-renamed.c (diskfs_rename_dir): Likewise. - * dir-rename.c (diskfs_S_dir_rename): Likewise. - * dir-link.c (diskfs_S_dir_link): Likewise. - * direnter.c: New file. - * dirrewrite.c: Likewise. - * dirremove.c: Likewise. - * lookup.c: Likewise. - * diskfs.h (diskfs_lookup): Renamed to be diskfs_lookup_hard. - (diskfs_direnter): Renamed to be diskfs_direnter_hard. - (diskfs_dirrewrite): Renamed to be diskfs_dirrewrite_hard. - (diskfs_dirremove): Renamed to be diskfs_dirremove_hard. - (diskfs_lookup, diskfs_direnter, diskfs_dirrewrite, diskfs_dirremove): - -Tue Mar 19 14:55:46 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * name-cache.c: New file. - * Makefile (OTHERSRCS): Add name-cache.c. - * dir-lookup.c (diskfs_S_dir_lookup): Check cache before normal - diskfs_lookup call. - * node-drop.c (diskfs_drop_node): Call - _diskfs_purge_cache_deletion before releasing node structure with - diskfs_node_norefs. - * dir-clear.c (diskfs_clear_directory): Call - diskfs_purge_cache_node before diskfs_dirremove. - * dir-rename.c (diskfs_S_dir_rename): Likewise. - * dir-renamed.c (diskfs_rename_dir): Likewise. - * dir-rmdir.c (diskfs_S_dir_rmdir): Likewise. - * dir-unlink.c (diskfs_S_dir_unlink): Likewise. - * dir-init.c (diskfs_init_dir): Doc fix. - * dir-rename.c (diskfs_S_dir_rename): Call diskfs_purge_cache - before diskfs_dirrewrite for old node. - * dir-renamed.c (diskfs_rename_dir): Likewise. - * node-create.c (diskfs_create_node): Call diskfs_enter_cache if - diskfs_direnter is successful. - * dir-link.c (diskfs_S_dir_link): Likewise. - * dir-rename.c (diskfs_S_dir_rename): Call diskfs_enter_cache if - diskfs_direnter/diskfs_dirrewrite is successful. - * dir-renamed.c (diskfs_rename_dir): Likewise. - -Fri Mar 15 23:10:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-lookup.c (diskfs_S_dir_lookup): Don't leak a send right to - the anonymous handle on DNP when calling fetch_root. - -Tue Mar 12 14:36:10 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * file-set-trans.c (diskfs_S_file_set_translator): Deallocate ref - on CONTROL when we are done with it. - -Thu Mar 7 16:45:02 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * readonly.c (diskfs_set_readonly): Don't sleep(1) after syncing. - -Thu Feb 29 14:29:20 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (OTHERSRCS): Change `opts-runtime-def.c' to - `opts-runtime-parse.c'. Add `opts-runtime-unparse.c'. - -Wed Feb 21 06:10:05 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - - * file-set-trans.c (diskfs_S_file_set_translator): Add EROFS check. - -Sun Feb 18 00:08:27 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * init-init.c (diskfs_init_diskfs): Use maptime_map. - * node-times.c (diskfs_set_node_times): Use maptime_read. - -Fri Feb 16 13:48:08 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-runtime-def.c (diskfs_parse_runtime_options): STANDARD_ARGP - is const. - -Thu Feb 15 16:59:04 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * diskfs.h (diskfs_nput): It's not valid to touch *NP (by - `mutex_unlock (&np->lock);') after we have called - diskfs_drop_node. So don't do it in that case. - -Wed Feb 7 22:42:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * diskfs.h (diskfs_nput): Before bumping NP->references (which - precedes diskfs_try_dropping_softrefs), *lock* - diskfs_node_refcnt_lock, not mutant unlock. - (diskfs_nrele): Likewise. - -Wed Feb 7 16:22:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * diskfs.h (diskfs_parse_runtime_options): Make STANDARD_ARGP const. - (diskfs_startup_argp, diskfs_device_startup_argp): Make const. - * opts-common.c (diskfs_common_options): Make const. - * opts-std-startup.c (startup_options, dev_startup_options, - dev_start_argp_parents, dev_startup_argp, startup_common_argp, - startup_argp_parents, startup_argp, diskfs_startup_argp): Make const. - * opts-set.c (std_runtime_options): Make const. - (diskfs_set_options): Make argp structures const. - -Wed Feb 7 13:39:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * dir-lookup.c (diskfs_S_dir_lookup): Revert last change. - -Tue Feb 6 15:56:04 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-lookup.c (diskfs_S_dir_lookup): Make the new peropen we'll - pass as dotdot to the fetch_root with the same flags as DIRCRED->po. - -Wed Jan 31 00:27:10 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * node-rdwr.c (diskfs_node_rdwr): Handle null AMTREAD. - -Tue Jan 30 21:20:13 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * fsys-options.c (diskfs_S_fsys_set_options): Use - rwlock_writer_lock instead of rwlock_reader_lock in DO_CHILDREN case. - -Tue Jan 30 15:03:35 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * peropen-rele.c (diskfs_release_peropen): Free dotdotport when - deallocating peropen. - -Wed Jan 24 18:14:28 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-lookup.c (diskfs_S_dir_lookup): Use diskfs_create_protid instead - of diskfs_make_protid, and deal with an error return. - * dir-mkfile.c (diskfs_S_dir_mkfile): Likewise. - * file-exec.c (diskfs_S_file_exec): Likewise. - * file-inv-trans.c (diskfs_S_file_invoke_translator): Likewise. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - * io-duplicate.c (diskfs_S_io_duplicate): Likewise. - * io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise. - * trans-callback.c (_diskfs_translator_callback2_fn): Likewise. - * boot-start.c (diskfs_start_bootstrap, diskfs_S_exec_startup_get_info, - diskfs_execboot_fsys_startup, diskfs_S_fsys_init): Likewise. - * protid-make.c (diskfs_start_protid): Return an error now, and use - ports_create_port instead of ports_allocate_port. - (diskfs_create_protid): New function. - (diskfs_make_protid): Call diskfs_create_protid. - * diskfs.h (diskfs_start_protid): Update declaration. - (diskfs_create_protid): New declaration. - * io-reauthenticate.c (diskfs_S_io_reauthenticate): Use new version of - diskfs_start_protid. - * file-getcontrol.c (diskfs_S_file_getcontrol): Use ports_create_port - instead of ports_allocate_port. - * boot-start.c (start_execserver, diskfs_start_bootstrap): Likewise. - * init-startup.c (diskfs_startup_diskfs): Likewise. - * sync-interval.c (diskfs_set_sync_interval): Likewise. - (periodic_sync): Pass in the MSG_ID arg to ports_begin_rpc, and - deal with any error returned. - - * readonly.c (diskfs_set_readonly): Deal with ports_inhibit_class_rpcs - returning an error. - * remount.c (diskfs_remount): Likewise. - * shutdown.c (diskfs_shutdown): Likewise. - * sync-interval.c (diskfs_set_sync_interval): Likewise. - - * dir-readdir.c: Include <fcntl.h>. - -Tue Jan 23 16:28:47 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts-std-startup.c (startup_options): Put boot options in a - separate group with a header. - -Thu Jan 18 14:05:51 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * dir-readdir.c (diskfs_S_dir_readdir): Require read permission - before succeeding. - - * fsys-getroot.c (diskfs_S_fsys_getroot): Deallocate ref to dotdot - after diskfs_make_peropen, because the latter does not eat a - reference. - - * fsys-getroot.c (diskfs_S_fsys_getroot): In symlink case, use - MOVE_SEND to return the dotdot port to the user. - -Thu Jan 11 22:09:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * diskfs-pager.h (struct disk_image_user): New type. - (diskfs_catch_exception, diskfs_end_catch_exception): Use it to - maintain a linked list of catchers instead of just one. - -Sat Jan 6 11:49:02 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (installhdrs): Add diskfs-pager.h. - (OTHERSRCS): Add disk-pager.c. - -Fri Jan 5 17:06:42 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * io-write.c: Return errors regardless of *AMT--writes are all or - nothing. - * io-read.c: Return errors regardless of *DATALEN--reads are all or - nothing. - -Thu Jan 4 16:11:35 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * disk-pager.c, diskfs-pager.h: New files. - * exc.c: File removed. - * Makefile (OTHERSRCS): Remove exc.c. - * diskfs.h (diskfs_catch_exception, diskfs_end_catch_exception): - Macros removed. - (diskfs_register_memory_fault_area, - diskfs_unregister_memory_fault_area): Decls removed. - - * diskfs.h: Use size_t instead of int for amounts in - diskfs_node_rdwr prototype. - * node-rdwr.c (diskfs_node_rdwr): Pass AMTREAD read/write to - _diskfs_rdwr_internal, instead of assuming it wrote the whole amount. - Update the node if anything was transferred, regardless of ERR. - * rdwr-internal.c (_diskfs_rdwr_internal): Rewritten using - pager_memcpy. - Fix types of args: OFFSET to off_t, make AMT read/write size_t *. - * priv.h: Fix args in _diskfs_rdwr_internal prototype. - * io-write.c: Pass AMT read/write to _diskfs_rdwr_internal, and - return success if any bytes were written. - * io-read.c: Likewise. - -Mon Jan 1 15:45:33 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * file-exec.c (diskfs_S_file_exec): Use fshelp_exec_reauth(). - (setid, scan_ids): Functions deleted. - -Thu Dec 28 14:21:42 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * file-exec.c (diskfs_S_file_exec): Always reauth the proc port, - as exec does not do it, even in the secure case. Set the proc's - owner too. - - * file-exec.c (setid): Don't touch the return params unless we succeed. - Add SETID parameter, and just copy old into new unless it's set. - Handle the NOLDGENIDS == 0 case correctly. - (diskfs_S_file_exec): Use the new setid() properly. Make sure that - {GEN,AUX}{UIDS,GIDS} are always in a state where they can be freed. - -Thu Dec 28 00:24:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * priv.h (end_using_protid_port): Don't calls ports_port_deref if - CRED is null. - -Wed Dec 27 17:32:21 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * file-exec.c (setid): New function. - (scan_ids): Moved out of diskfs_S_file_exec. - (diskfs_S_file_exec): Move duplicated code into setid(). Make the - bogus auth port case work correctly. Deleted old ifdefed-out code. - Enable setuid code. - - * exc.c (diskfs_register_memory_fault_area): Register both - preempter1 and preempter2 in REC instead of preempter1 twice. - -Sat Dec 23 14:49:22 1995 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu> - - * exc.c: Entire file rewritten to use libc signal preemption - facility. - -Wed Dec 20 14:49:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot-start.c (diskfs_S_fsys_init): Call proc_mark_exec on - EXECPROCESS. - -Tue Dec 19 13:19:19 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * file-exec.c (diskfs_S_file_exec): Better attempt at - setuid/setgid execution; still not entirely right, but mostly so. - Will move this code to libfshelp before turning it on. - -Thu Dec 14 15:51:19 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * diskfs.h (diskfs_checkdirmod): Correctly return error code for - failure, not 1. - -Mon Dec 4 17:07:20 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * dir-unlink.c (diskfs_S_dir_unlink): Don't call fsys_goaway until - we've released our lock. - -Mon Dec 4 16:57:28 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-unlink.c (diskfs_S_dir_unlink): Delete vestigial fetch_control. - -Tue Nov 21 13:54:14 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * rdwr-internal.c (_diskfs_rdwr_internal): Declare PROT volatile. - - * init-first.c (master_thread_function): Declare to be `static - any_t'. - - * fsys-options.c: Include <string.h>. - - * diskfs.h (diskfs_get_options): Bother providing declaration. - - * file-get-fs-opts.c: Include <string.h>. - (diskfs_S_file_get_fs_options): Dereference DATA_LEN in call to - vm_allocate. - -Sat Nov 18 09:01:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot-start.c (diskfs_S_exec_startup_get_info): Renamed from - diskfs_S_exec_startup, slightly different protocol. Unused exec - server stubs removed. - * Makefile (MIGSTUBS): Replaced execServer.o with exec_startupServer.o. - -Mon Nov 13 17:13:40 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * demuxer.c (diskfs_demuxer): - diskfs_exec_server --> diskfs_exec_startup_server. - -Mon Nov 13 16:28:27 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * file-lock-stat.c (diskfs_S_file_lock_stat): Lock around reads to - make sure they are mutually consistent. - - * io-readable.c (diskfs_S_io_readable): Set *AMOUNT to zero if - filepointer is past the end of the file. - -Thu Nov 9 12:33:53 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * dir-link.c (diskfs_S_dir_link): Now that args are swapped, - deallocate port ref on FILECRED instead of DIRCRED. - -Sun Nov 5 10:49:26 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (OTHERSRCS): Add opts-get.c. - (FSSRCS): Add file-get-fs-opts.c. - * file-get-fs-opts.c (diskfs_S_file_get_fs_options): New function. - * fsys-options.c (diskfs_S_fsys_get_options): New function. - * opts-get.c (diskfs_get_options): New function. - - * sync-interval.c (diskfs_sync_interval): New variable. - (diskfs_set_sync_interval): Set DISKFS_SYNC_INTERVAL. - -Sat Nov 4 23:17:50 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * file-get-trans.c (diskfs_S_file_get_translator): Initialize ERROR. - - * trans-callback.c (_diskfs_translator_callback2_fn): - UNDERLYING_TYPE should be a pointer. As should the UIDS & GIDS - args to diskfs_make_protid. - - * fsys-getroot.c (diskfs_S_fsys_getroot): Pass both callback args - to fshelp_fetch_root. - - * filedev.c (diskfs_get_file_device): Give FLAGS argument to - file_get_storage_info. - - * dir-lookup.c (diskfs_S_dir_lookup): Fix various typos. - (short_circuited_callback1): Dereference ARGZ & ARGZ_LEN. - Include <hurd/paths.h> - -Wed Nov 1 15:56:45 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-lookup.c (diskfs_S_dir_lookup): Add new callback arg to - fshelp_fetch_root call. Change short_circuited_callback1 to - reflect the split into two callbacks (we use the global diskfs - callback for the other_). - * trans-callback.c (_diskfs_translator_callback1_fn, - _diskfs_translator_callback2_fn): New functions, replacing the - single original. - (_diskfs_translator_callback1, _diskfs_translator_callback2): - New variables, replacing the single original. - * priv.h (_diskfs_translator_callback1, _diskfs_translator_callback2): - Declare. - - * boot-start.c (diskfs_execboot_fsys_startup): Add FLAGS arg; use. - * fsys-startup.c (diskfs_S_fsys_startup): Ditto. - * init-startup.c (diskfs_startup_diskfs): Ditto. - * diskfs.h (diskfs_startup_diskfs, diskfs_execboot_fsys_startup): - Add FLAGS arg. - -Mon Oct 30 13:20:12 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-lookup.c (diskfs_S_dir_lookup): Move code for starting - short-circuited translators here, from _diskfs_translator_callback_fn. - Inline code from node_is_translated. - (node_is_translated): Function removed. - (major, minor): New macros -- temporarily here until libc exports them. - -Thu Oct 26 18:41:23 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * trans-callback.c (_diskfs_translator_callback_fn): Deal with - short-circuited translators. - * dir-lookup.c (node_is_translated): New function. - (diskfs_S_dir_lookup): Use node_is_translated() instead of - np->istranslated to see whether NP has a passive translator. - - * file-set-trans.c (diskfs_S_file_set_translator): Add missing else. - Use makedev macro instead of doing it by hand. - (makedev): New macro -- temporarily here until libc exports one. - -Thu Oct 19 12:43:47 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * fsys-options.c (diskfs_S_fsys_set_options): Only hold - DISKFS_FSYS_LOCK for writing while setting our own options; we - hold it for reading while setting our children's. - - * rdwr-internal.c (_diskfs_rdwr_internal): Get rid of CRED argument. - * priv.h (_diskfs_rdwr_internal): Ditto. - * node-rdwr.c (diskfs_node_rdwr): Ditto. - * io-write.c (diskfs_S_io_write): Ditto. - * io-read.c (diskfs_S_io_read): Ditto. - -Wed Oct 18 15:52:53 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * diskfs.h (diskfs_get_filemap): Add prot parameter. - (diskfs_max_user_pager_prot): New declaration. - * rdwr-internal.c (_diskfs_rdwr_internal): Add argument CRED, and - use it to decide how to setup the mapped i/o. - * io-write.c (diskfs_S_io_write): Pass CRED to _diskfs_rdwr_internal. - * io-read.c (diskfs_S_io_read): Ditto. - * node-rdwr.c (diskfs_node_rdwr): Ditto. - * io-map.c (diskfs_S_io_map): Pass the appropiate vm protection to - diskfs_get_filemap. If this node isn't O_RDWR, only return the - appropiate memobj. - Include <fcntl.h>. - * priv.h (_diskfs_rdwr_internal): Add cred parameter. - - * boot-start.c (diskfs_execboot_fsys_startup): Open exec's - realnode read-only for now, since we know it doesn't matter and - having gratuitously writable nodes around prevents us from - starting up or going read-only. - (diskfs_S_fsys_init): Don't make the cwdir/crdir right with O_WRITE. - * trans-callback.c (_diskfs_translator_callback_fn): Ditto for - other translators. The fsys_startup interface should change very - soon and make this irrelevant. - - * readonly.c (diskfs_set_readonly): Return EBUSY if necessary. - Add hack to try and work around pagers-can't-wait bug. - - * opts-common.c (diskfs_common_options): New variable. - * priv.h (diskfs_common_options): New declaration. - * opts-std-startup.c (startup_options): Remove options common to - both runtime and startup. - (startup_common_argp, startup_argp_parents): New variables. - (startup_argp): Include parents. - * opts-set.c (std_runtime_options): Remove options common to - both runtime and startup. - (diskfs_set_options): Use the common options. - * Makefile (OTHERSRCS): Add opts-common.c. - - * diskfs.h (diskfs_fsys_lock): Change to a struct rwlock. - Include <rwlock.h> - * shutdown.c (diskfs_fsys_lock): Now a rwlock. - (diskfs_shutdown): Lock DISKFS_FSYS_LOCK for writing. - * fsys-getroot.c (diskfs_S_fsys_getroot): Hold DISKFS_FSYS_LOCK - for reading. - * sync-interval.c (periodic_sync): Hold DISKFS_FSYS_LOCK for - reading while syncing. - * fsys-syncfs.c (diskfs_S_fsys_syncfs): Ditto. - * fsys-options.c (diskfs_S_fsys_set_options): Hold DISKS_FSYS_LOCK - for writing. - Dereference PT even when a child filesystem returns an error. - * opts-set.c (diskfs_set_options): Don't hold DISKS_FSYS_LOCK (our - caller should). - - * machdev.c (diskfs_get_mach_device): SIZE is in blocks. - -Wed Oct 18 14:00:58 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * file-exec.c (diskfs_S_file_exec): Return EACCES for attempts to - execute a directory. Dike out totally bogus set[ug]id code. - Bother to lock NP around critical section. - -Tue Oct 17 14:32:41 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * init-startup.c (diskfs_startup_diskfs): Call diskfs_readonly_changed - if we're starting up writable. - * diskfs.h (diskfs_readonly_changed, diskfs_reload_global_state, - diskfs_node_reload, diskfs_set_readonly, diskfs_remount): New - declarations. - (diskfs_main_request_loop): Declaration removed. - * Makefile (OTHERSRCS): Add readonly.c, remount.c. - * readonly.c (diskfs_set_readonly): New function. - * remount.c (diskfs_remount): New function. - - * opts-set.c (diskfs_set_options): Rework readonly transition & - remounting. Hold diskfs_fsys_lock. - - * diskfs.h (diskfs_fsys_lock): Renamed from diskfs_shutdown_lock. - * shutdown.c (diskfs_shutdown): diskfs_shutdown_lock --> - diskfs_fsys_lock. - -Fri Oct 13 14:51:42 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * diskfs.h (diskfs_start_bootstrap): Get rid of ARGV argument. - (diskfs_argv): New declaration. - * boot-start.c (saved_argv): Variable removed. - (diskfs_argv): New variable. Should get set by default arg parser. - (diskfs_start_bootstrap): Get rid of ARGV argument. - (diskfs_S_fsys_init): Use DISKFS_ARGV instead of SAVED_ARGV. - * opts-std-startup.c (parse_startup_opt): Set DISKFS_ARGV. - * init-startup.c (diskfs_startup_diskfs): Call diskfs_start_bootstrap - if we're the bootstrap file system. - - * dev-globals.c (diskfs_device, diskfs_device_name, - diskfs_device_start, diskfs_device_size, diskfs_device_block_size, - diskfs_log2_device_block_size, diskfs_log2_device_blocks_per_page): - New variables. - * dev-io.c (diskfs_device_write_sync, diskfs_device_write_sync): - New functions. - * dev-open.c (diskfs_device_open): New function, new file. - * diskfs.h (diskfs_device, diskfs_device_name, - diskfs_device_start, diskfs_device_size, diskfs_device_block_size, - diskfs_log2_device_block_size, diskfs_log2_device_blocks_per_page, - diskfs_device_write_sync, diskfs_device_write_sync, - diskfs_device_open, diskfs_console_stdio): New declarations. - * console.c (diskfs_console_stdio): New function. - * Makefile (OTHERSRCS): Add dev-open.c, dev-io.c, dev-globals.c, - console.c. - * opts-std-startup.c (diskfs_use_mach_device, diskfs_device_arg, - dev_startup_options, dev_startup_argp_parents, dev_startup_argp, - diskfs_device_startup_argp): New variables. - (parse_dev_startup_opt): New function. - -Thu Oct 12 16:11:22 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * boot-start.c (diskfs_execboot_fsys_startup): Fix args to dir_lookup. - Declare PATHBUF and RETRY. - - * boot-start.c (diskfs_S_fsys_init): Put the contents of - diskfs_init_completed in here, freeing that routine for user-use. - - * init-completed.c (diskfs_init_completed): Now empty. - - * opts-set.c (std_runtime_options): Renamed from long_options, - convert to argp format. - (SHORT_OPTIONS): Removed. - (diskfs_set_options): Converted to use argp. - * diskfs.h (diskfs_parse_runtime_options, - diskfs_standard_startup_argp): Use argp, not options. - Include <argp.h> instead of <options.h>. - * opts-runtime-def.c (diskfs_parse_runtime_options): Use argp - instead of options. - * opts-std-startup.c (std_startup_options): Renamed from - std_long_options; converted to argp format. - (std_startup_argp): Renamed from std_startp_argp, converted argp fmt. - (diskfs_standard_startup_argp): Renamed from - diskfs_standard_startup_options. - -Thu Oct 12 03:25:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot-start.c (diskfs_execboot_fsys_startup): Use dir_lookup - instead of hurd_file_name_lookup to open /servers/exec. - -Mon Oct 9 03:42:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot-start.c (diskfs_execboot_fsys_startup): Pass back a port to - /servers/exec in *REAL. - -Sat Oct 7 20:51:06 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * init-completed.c (diskfs_init_completed): New function. - * diskfs.h (diskfs_init_completed): must --> may. - Add necessary includes. - - * Makefile (OTHERSRCS): Add init-completed.c. - -Sat Oct 7 05:07:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (libdiskfs.so): Depend on libpager, libioserver, - libfshelp, libthreads. - -Fri Oct 6 17:26:51 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * diskfs.h (diskfs_get_file_device, diskfs_get_mach_device): New funcs. - (diskfs_boot_flags): New variable. - (diskfs_bootflags, diskfs_bootflagarg): Variables deleted. - - * boot-start.c (diskfs_S_fsys_getpriv): Add the port type parameters. - - * Makefile (MIGSFLAGS): Variable deleted. - (fs-MIGSFLAGS, io-MIGSFLAGS, ifsock-MIGSFLAGS): New variables. - (fsys-MIGSFLAGS): Also import fsmutations.h. - - * dir-link.c (diskfs_S_dir_link): Swap first two arguments. - - * filedev.c (diskfs_get_file_device): Use new block_size return - value from file_get_storage_info. - -Thu Oct 5 15:10:34 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (OTHERSRCS): Remove boot-parse.c; add filedev.c & machdev.c. - * diskfs.h (diskfs_host_priv, diskfs_master_device): Variables deleted. - (diskfs_parse_bootargs): Function deleted. - (diskfs_init_diskfs): Now returns error_t. - * init-init.c (diskfs_init_diskfs): Always use get_privileged_ports. - Now return error_t. - * machdev.c (diskfs_get_mach_device): Use get_privileged_ports - instead of diskfs_master_device. - * boot-start.c (diskfs_S_fsys_getpriv): Use get_privileged_ports - to get the privileged ports. - (diskfs_start_bootstrap): Use diskfs_boot_flags instead of - diskfs_bootflagarg. - (diskfs_start_bootstrap, start_execserver): Look for flags - directly in diskfs_boot_flags, instead of using the old - diskfs_bootflags. - * boot-start.c (diskfs_S_exec_startup): Use get_console to get the - console device. - (get_console): New function. - * opts-std-startup.c (OPT_BOOTFLAGS, OPT_EXEC_SERVER_TASK, - OPT_HOST_PRIV_PORT, OPT_DEVICE_MASTER_PORT): New defines. - (std_long_opts, parse_std_startup_opt): Add the - --device-master-port, --host-priv-port, --exec-server-task, and - --bootflags options. - -Thu Oct 5 00:46:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sync-interval.c (periodic_sync_lock): Variable removed. - (diskfs_set_sync_interval): Use ports_inhibit_port_rpcs on `pi' - instead of the spin lock. - (periodic_sync): Don't use the lock. - Put ports_begin_rpc before check of periodic_sync_thread. - -Wed Sep 27 20:11:09 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * filedev.c (diskfs_get_file_device): New file, new function. - * machdev.c (diskfs_get_mach_device): New file, new function. - -Mon Sep 18 14:21:29 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * io-pathconf.c (diskfs_S_io_pathconf): Renamed from - file_pathconf.c:diskfs_S_file_pathconf. - * Makefile (FSSRCS): Deleted file-pathconf.c. - (IOSRCS): Added io-pathconf.c. - -Sun Sep 17 18:04:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot-start.c (diskfs_S_exec_startup): Don't pass an argument - string. Set *FLAGS to EXEC_STACK_ARGS. - - * file-set-size.c: Renamed from file-trunate.c. - (diskfs_S_file_set_size): Renamed from diskfs_s_file_truncate. - If SIZE exceeds the file size, extend the file. - * Makefile (FSSRCS): Rename file-truncate.c to file-set-size.c. - -Sat Sep 16 13:10:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * ourfs_notify.defs: New file. - * Makefile (DIST_FILES): Added ourfs_notify.defs. - (ourfs_notify_U.h ourfs_notifyUser.c, ourfs_notify.defs): Targets - removed. - -Wed Sep 13 12:36:26 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * diskfs.h (diskfs_lookup): Doc fix. - * dir-clear.c (diskfs_clear_directory): Set the fourth arg in - REMOVE lookup calls in accord with change in rules for the lookup - call. - -Wed Sep 6 11:30:24 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * demuxer.c (diskfs_demuxer): Use ports_notify_server and - ports_interrupt_server instead of our own versions. - * Makefile (SRCS): Removed $(NOTIFYSRCS) and $(INTSRCS). - (NOTIFYSRCS, INTSRCS, notify-MIGSFLAGS): Removed. - (MIGSTUBS): Removed notifyServer.o and interruptServer.o. - * interrupt.c: File deleted. - -Tue Aug 29 14:22:58 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * io-select.c (diskfs_S_io_select): Don't check open modes or - return EBADF. - -Fri Aug 25 15:02:19 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (FSYSSRCS): Add fsys-forward.c. - -Fri Aug 25 09:44:43 1995 Michael I. Bushnell, p/BSG <mib@mole.gnu.ai.mit.edu> - - * file-truncate.c (diskfs_S_file_truncate): Bother to check the - return value of diskfs_truncate. - -Wed Aug 23 14:39:07 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (REMHDRS): Removed. - Rules dealing with ../lib removed. - -Sat Jul 29 10:34:38 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ifsock.c (diskfs_S_ifsock_getsockaddr): Don't loop infinitely if - we fail to get a reasonable PF_LOCAL server. - -Fri Jul 28 14:59:45 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ifsock.c (diskfs_S_ifsock_getsockaddr): Try to restart the - PF_LOCAL server if it dies. - - * node-drop.c (diskfs_drop_node): Don't actually drop the node if - it is a socket naming point, unless it also has no links. - -Sat Jul 22 13:54:48 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * file-getcontrol.c (diskfs_S_file_getcontrol): Fix typo. - * boot-start.c (start_execserver): Likewise. - -Fri Jul 21 12:37:36 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * trans-callback.c (_diskfs_translator_callback_fn): Use correct - sense of diskfs_readonly flag. - - * boot-start.c (diskfs_start_bootstrap): Free initial reference - created by diskfs_make_protid. - (diskfs_S_exec_startup): Likewise. - (diskfs_S_fsys_init): Likewise. - * dir-lookup.c (diskfs_S_dir_lookup): Likewise. (Two places.) - * dir-mkfile.c (diskfs_S_dir_mkfile): Likewise. - * file-exec.c (diskfs_S_file_exec): Likewise. - * file-inv-trans.c (diskfs_S_file_invoke_translator): Likewise. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - * io-duplicate.c (diskfs_S_io_duplicate): Likewise. - * io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise. - * trans-callback.c (_diskfs_translator_callback_fn): Likewise. - - * io-reauthenticate.c (diskfs_S_io_reauthenticate): Free initial - reference created by diskfs_start_protid. - - * boot-start.c (diskfs_start_bootstrap): Free initial reference - created by ports_allocate_port. - (start_execserver): Likewise. - * file-getcontrol.c (diskfs_S_file_getcontrol): Likewise. - * init-startup.c (diskfs_startup_diskfs): Likewise. - - * dir-lookup.c (diskfs_S_dir_lookup): Examine the active - translator on NP, not on diskfs_root_node, to see if translator - usage is necessary. - - * file-set-trans.c (diskfs_S_file_set_translator): Only validate - PASSIVELEN if PASSIVE is set. - -Tue Jul 18 16:12:20 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * init-first.c (thread_timeout, server_timeout): New vars. - (THREAD_TIMEOUT, SERVER_TIMEOUT): Delete macros. - (master_thread_function): Use vars instead of macros. - - * file-get-trans.c (diskfs_S_file_get_translator): Conform to new - memory semantic of diskfs_get_translator. - -Wed Jul 12 16:39:24 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * shutdown.c (diskfs_shutdown): Call ports_resume_class_rpcs for - diskfs_protid_class before return EBUSY. - -Thu Jul 6 15:34:59 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (ourfs_notify_U.h ourfs_notifyUser.c): Use - ourfs_notify.defs instead of directly out of the include - directory. - (ourfs_notify.defs): New target. - - * Makefile: Removed dependencies that are now automatically - generated. - -Mon Jun 26 15:38:07 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * fsys-goaway.c (diskfs_S_fsys_goaway): Include "fsys_S.h" and - "fsys_reply_U.h". New parms REPLY and REPLY_TYPE. Send - fsys_goaway reply message before exit. - * Makefile (fsys-MIGSFLAGS): New variable. - * fsys-startup.c (diskfs_S_fsys_startup): New parms REPLY and - REPLYTYPE. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - * fsys-options.c (diskfs_S_fsys_set_options): Likewise. - * boot-start.c (diskfs_S_fsys_getpriv): Likewise. - * fsys-syncfs.c (diskfs_S_fsys_syncfs): Likewise. - * fsys-getfile.c (diskfs_S_fsys_getfile): Include "fsys_S.h". New - parms REPLY and REPLYTYPE. - - * sync-interval.c (periodic_sync_thread, periodic_sync_lock): - Declare static. - (control): Delete var. - (pi): New var. - (diskfs_set_sync_interval): Set PI instead of CONTROL. - (periodic_sync): Do sync by hand; use ports routines around it - properly. - - * shutdown.c (diskfs_shutdown): Fix parentheses on bitwise tests. - - * fsys-goaway.c (diskfs_S_fsys_goaway): If diskfs_shutdown returns - zero, then exit here. - * shutdown.c (diskfs_shutdown): Don't actually exit; return zero - instead. - * init-first.c (master_thread_function): Exit when shutdown - returns zero. - - * file-set-trans.c (diskfs_S_file_set_translator): Ignore harmless - errors from fsys_goaway. - * shutdown.c (diskfs_shutdown): Ignore harmless errors from - fsys_goaway. - * fsys-options.c (diskfs_S_fsys_set_options/helper): Ignore - harmless errors from fsys_set_options. - - * file-set-trans.c (diskfs_S_file_set_translator): Fix parentheses - on first active EXCL check. - -Fri Jun 23 15:43:55 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * fsys-options.c (diskfs_S_fsys_set_options) [helper]: Unlock NP - around fsys call. - * file-syncfs.c (diskfs_S_file_syncfs) [helper]: Likewise. - * fsys-syncfs.c (diskfs_S_fsys_syncfs) [helper]: Likewise. - * shutdown.c (diskfs_shutdown) [helper]: Likewise. - -Thu Jun 22 14:48:46 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * priv.h (_diskfs_translator_callback): Must be extern to force - inclusion of trans-callback.c. - - * dir-lookup.c (diskfs_S_dir_lookup): Correctly parethenize - O_NOTRANS flags test. - -Tue Jun 20 11:52:24 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * node-make.c (diskfs_make_node): Fix function name - fshelp_init_transbox -> fshelp_transbox_init. - - * file-syncfs.c: Include <hurd/fsys.h>. - * fsys-syncfs.c: Likewise. - - * file-syncfs.c (diskfs_S_file_syncfs) [helper]: First arg to - fshelp_fetch_control should be &NP->transbox, not NP. - * fsys-options.c (diskfs_S_fsys_set_options) [helper]: Likewise. - * fsys-syncfs.c (diskfs_S_fsys_syncfs) [helper]: Likewise. - * shutdown.c (diskfs_shutdown) [helper]: Likewise. - - * file-set-trans.c (diskfs_S_file_set_translator): Remove - assignment from if test. - * node-rdwr.c (diskfs_node_rdwr): Likewise. - -Mon Jun 19 16:32:12 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * diskfs.h (diskfs_node_iterate): New (user-provided) function. - * fsys-syncfs.c (diskfs_S_fsys_syncfs): Use diskfs_node_iterate - instead of diskfs_sync_translators. - * file-syncfs.c (diskfs_S_file_syncfs): Likewise. - * shutdown.c (diskfs_shutdown): Likewise. - * fsys-options.c (diskfs_S_fsys_set_options): Likewise. - - * dir-rmdir.c (diskfs_S_dir_rmdir): Don't attempt anything for - translated directories here; just return EBUSY. - * dir-unlink.c (diskfs_S_dir_unlink): Don't do massively - complicated fsys_goaway. Instead, call it at the end (but only if - this was the last link) and ignore errors. - - * fsys-startup.c (diskfs_S_fsys_startup): Strip out support for - translators; fshelp now does that itself. - - * file-set-trans.c: Include <hurd/fsys.h>. - - * file-set-trans.c (diskfs_S_file_set_translator): Use new - translator interface throughout. - * dir-lookup.c (diskfs_S_dir_lookup): Use new translator startup - interface. - -Fri Jun 16 17:42:44 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * file-get-transcntl.c (diskfs_S_file_get_translator_cntl): Use - fshelp_fetch_control instead of old interface. - -Wed Jun 14 15:52:30 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * node-drop.c (diskfs_drop_node): Call fshelp_drop_transbox - instead of fshelp_kill_translator; do it *after* the truncate. - * node-make.c (diskfs_make_node): Initialize TRANSBOX member using - new function. Drop initialization of TRANSLATOR member. - * fsys-getroot.c (diskfs_S_fsys_getroot): Use new translator - startup interface. - * Makefile (OTHERSRCS): Removed trans-start.c, trans-destroy.c, - and trans-sync.c. Added trans-callback.c. - * trans-start.c, trans-destroy,c, trans-sync.c: Deleted files. - * trans-callback.c: New file. - * priv.h (_diskfs_translator_callback): New declaration. - * diskfs.h (diskfs_start_translator, diskfs_destroy_translator, - diskfs_sync_translators): - Delete declarations. - (struct node): Replace TRANSLATOR member with new TRANSBOX member. - (diskfs_get_translator): Specify new calling interface. - -Fri Jun 9 15:48:30 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * rdwr-internal.c (_diskfs_rdwr_internal): Cast __VM_PAGE_SIZE in - comparisen. - * io-write.c (diskfs_S_io_write): Cast DATALEN to off_t in - comparisons. - * io-read.c (diskfs_S_io_read): Cast MAKREAD to off_t in - comparison. - * io-prenotify.c (diskfs_S_io_prenotify): Cast END to off_t in - comparison. - * file-get-trans.c (diskfs_S_file_get_translator): Declare - variable `buflen' and various variables `len' to be unsigned. - * file-exec.c (diskfs_S_file_exec): Declare both variables `i' to - be unsigned int. - - * io-async-icky.c (diskfs_S_io_get_icky_async_id): Validate CRED. - - * interrupt.c (diskfs_S_interrupt_operation): Bother to implement. - - * init-init.c (diskfs_init_diskfs): Pass null second argument in - calls to ports_create_class. - - * fsys-options.c (diskfs_S_fsys_set_options): Bother validating - FSYS and implementing DO_CHILDREN. - - * dir-lookup.c (diskfs_S_dir_lookup): Initialize GIDS, NUIDS, and - NGIDS to avoid warning. - - * boot-start.c: Provide unused attributes where appropriate. - * file-chg.c (diskfs_S_file_notice_changes): Mark parameters as - unused. - * file-getfh.c (diskfs_S_file_getfh): Likewise. - * file-inv-trans.c (diskfs_S_file_invoke_translator): Likewise. - * fsys-getfile.c (diskfs_S_fsys_getfile): Likewise. - * init-init.c (_diskfs_control_clean): Likewise. - * io-async.c (diskfs_S_io_async): Likewise. - * notify-stubs.c: Likewise. - * file-pathconf.c (diskfs_S_file_pathconf): Declare NAME to be - unused. - * io-select.c (diskfs_S_io_select): Declare ATTRIBUTE unused. - * io-stubs.c (diskfs_S_io_postnotify): Declare parms START and END - unused. - * io-prenotify.c (diskfs_S_io_prenotify): Declare parm START - unused. - - * diskfs.h (diskfs_transboot_class): Delete var. - * init-init.c (diskfs_transboot_class): Delete var. - (diskfs_init_diskfs): Don't initialize it. - - * dir-rename.c (diskfs_S_dir_rename): After renaming directory, - synchronize relevant state if DISKFS_SYNCHRONOUS. - -Thu Jun 8 19:01:25 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * diskfs.h (diskfs_pager_users): New function. - * shutdown.c (diskfs_shutdown): Rewrote to use new ports interface - adequately. - -Tue Jun 6 13:50:13 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * init-first.c (diskfs_spawn_first_thread): Call our own - thread function instead of the ports one directly. - (master_thread_function): New function. - - * notify-nosenders.c (diskfs_do_seqnos_mach_notify_no_senders): - Don't help support pagers here at all. - * demuxer.c (diskfs_demuxer): Don't call pager_demuxer. - - * boot-start.c (diskfs_start_bootstrap): Use new args for - ports_allocate_port. - (start_execserver): Likewise. - * init-startup.c (diskfs_startup_diskfs): Likewise. - * protid-make.c (diskfs_start_protid): Likewise. - * file-getcontrol.c (diskfs_S_file_getcontrol): Likewise. - * sync-interval.c (diskfs_set_sync_interval): Likewise. - - * boot-start.c (diskfs_S_exec_startup): Use ports_lookup_port and - ports_port_deref instead of ports_check_port_type and - ports_done_with_port. - (diskfs_execboot_fsys_startup): Likewise. - (diskfs_S_fsys_init): Likewise. - (diskfs_S_fsys_getpriv): Likewise. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - * fsys-goaway.c (diskfs_S_fsys_goaway): Likewise - * fsys-startup.c (diskfs_S_fsys_startup): Likewise. - * fsys-syncfs.c (diskfs_S_fsys_syncfs): Likewise. - * notify-nosenders.c (diskfs_do_seqnos_mach_notify_no_senders): - Likewise. - * priv.h (begin_using_protid_port): Use ports_lookup_port. - (end_using_protid_port): Use ports_port_deref. - - * trans-start.c (fshelp_transboot_port_type): Deleted var. - * priv.h (enum porttype): Delete. - * demuxer.c: Renamed from ports-demuxer.c. - (diskfs_demuxer): Renamed from ports_demuxer. - * init-init.c (diskfs_protid_class, diskfs_transboot_class, - diskfs_control_class, diskfs_initboot_class, - diskfs_execboot_class, diskfs_port_bucket): New vars. - (diskfs_init_diskfs): Don't call libports_initialize. - Initialize diskfs_protid_class, diskfs_transboot_class, - diskfs_control_class, diskfs_initboot_class, - diskfs_execboot_class, and diskfs_port_bucket. - * diskfs.h: (diskfs_shutdown_soft_ports): Deleted decl. - (ports_demuxer): Deleted decl. - (diskfs_demuxer): New decl. - (diskfs_protid_class, diskfs_transboot_class, diskfs_control_class, - diskfs_initboot_class,diskfs_execboot_class, diskfs_port_bucket): - New decls. - * ports-noports.c, ports-clean.c, ports-soft.c, ports-idle.c, - ports-consts.c, pager-consts.c, init-loop.c: Deleted files. - * Makefile (OTHERSRCS): Deleted ports-noports.c, ports-clean.c, - ports-soft.c, ports-consts, pager-consts.c, init-loop.c, and - ports-idle.c. - Replace ports-demuxer.c with demuxer.c. - -Mon May 22 13:52:16 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * opts-set.c (diskfs_set_options): Don't fall through to the error - case from the 's' one! - Use ARG instead of the global OPTARG. - -Sat May 20 01:11:05 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * file-getcontrol.c (diskfs_S_file_getcontrol): Unlock - _diskfs_control_lock lock instead of locking it again! - -Fri May 19 21:22:14 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * opts-set.c (diskfs_set_options): New function in new file. - * opts-runtime-def.c (diskfs_parse_runtime_options): Ditto. - * opts-std-startup.c (diskfs_standard_startup_options): New - exported variable in new file. - * fsys-options.c (diskfs_S_fsys_set_options): Extract the argument - vector and call diskfs_set_options. - * diskfs.h: (diskfs_standard_startup_options): Declare new variable. - (diskfs_set_options): Declare new function. - (diskfs_parse_runtime_options): Ditto. - Include <options.h> (currently in ../lib). - * Makefile (OTHERSRCS): Add opts-set.c, opts-std-startup.c, and - opts-runtime-def.c. - (OBJS): Add argz.o & options.o. - (REMHDRS): Add argz.h & options.h. - -Tue May 16 17:36:46 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * init-first.c (diskfs_spawn_first_thread): Don't start syncing here. - * init-startup.c (diskfs_startup_diskfs): Do it here instead. - -Mon May 15 15:18:25 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * diskfs.h (diskfs_set_options): Declare. - * fsys-options.c (diskfs_S_fsys_set_options): Extract argc & argv, - and call diskfs_set_options. - * def-set-options.c: New file (contains a default diskfs_set_options). - - * Makefile (OBJS): Add argz.o (from ../lib). It shouldn't hurt to - have this in libdiskfs, since we need it... - (CPPFLAGS): Add -I../lib, to get argz.h, + $(CPPFLAGS-$(notdir $<)) - Set the vpath for %.c to ../lib, so we get argz.c. - (OTHERSRCS): Add def-set-options.c. - -Sat May 13 03:08:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot-parse.c (diskfs_execserver_task): New variable. - (diskfs_parse_bootargs): Take a third integer arg before the - device name, our name for the task port of the exec server, which - is loaded and ready to run but suspended. - * boot-start.c (start_execserver): Don't create and load a task; - the exec server file is no longer linked into the filesystem. - Just set the bootstrap port of diskfs_execserver_task and resume - it. - -Fri May 12 16:22:33 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * fsys-readonly.c (diskfs_S_fsys_set_options, - diskfs_S_fsys_mod_readonly): Change from mod_readonly to - set_options. This file is now actually called fsys-options.c. - * Makefile (FSYSSRCS): Rename fsys-readonly.c to fsys-options.c. - - * sync-interval.c (diskfs_set_sync_interval): New function (in a - new file) that establishes a thread to periodically sync the - filesystem. - * Makefile (OTHERSRCS): Add sync-interval.c and sync-default.c. - * diskfs.h: Add declarations of diskfs_set_sync_interval and - diskfs_default_sync_interval. - - * init-first.c (diskfs_spawn_first_thread): Start background syncing. - * sync-default.c (diskfs_default_sync_interval): A new variable - that defines a default initial sync interval. - -Fri May 12 15:45:43 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * io-read.c (diskfs_S_io_read): If the offset is past the end of - the file, then return EOF. - -Thu Apr 27 20:01:16 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * node-drop.c (diskfs_drop_node): Deal cleanly with errors in - diskfs_truncate. - - * diskfs.h (diskfs_nrele, diskfs_nput): We need to hold a real - reference around the call to diskfs_try_dropping_softrefs, because - that's a user-supplied routine that might itself rely on the - reference counting system. - -Thu Apr 20 18:54:26 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * node-create.c (diskfs_create_node): Return EROFS if diskfs_readonly. - -Tue Apr 4 20:20:40 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * dir-unlink.c (diskfs_S_dir_unlink): Do fsys_goaway for - translated nodes being unlinked. - * dir-rmdir.c (diskfs_S_dir_rmdir): Likewise. - -Tue Apr 4 18:33:35 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * file-exec.c (diskfs_S_file_exec): However, replacing *MAKE_SEND* - with COPY_SEND just doesn't work... - -Tue Apr 4 14:31:51 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * file-exec.c (diskfs_S_file_exec): Using MOVE_SEND in call to - exec_exec loses, because it consumes a reference, which will be - consumed again by mach_msg_server if we return an error. So use - COPY_SEND instead, and deallocate the rights ourselves only when - we are to return success. - -Fri Mar 31 12:25:57 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * file-set-trans.c (diskfs_S_file_set_translator): Only destroy - existing active translator if ACTIVE_FLAGS will change it. If the - existing active translator is provided then don't do anything. - -Fri Mar 17 11:36:40 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * io-stat.c (diskfs_S_io_stat): Typo. - - * diskfs.h: Back out changes to protid and associated permission - checking functions. - * file-chmod.c (diskfs_S_file_chmod): Likewise. - * file-chown.c (diskfs_S_file_chown): Likewise. - * file-getcontrol.c (diskfs_S_file_getcontrol): Likewise. - - * dir-link.c (diskfs_S_dir_link): Fix typo. - - * diskfs.h (_diskfs_idcheckdirmod): `diskfs_hasuid' -> - diskfs_idhasuid. - * priv.h (CHANGE_NODE_FIELD): Remove trailing space on backslashed - line. - - * diskfs.h (_diskfs_idcheckdirmod): `cred' -> `id'. - (diskfs_idhasgid): Likewise. - - * dir-clear.c (diskfs_clear_directory): Don't do - diskfs_synchronous here. - * dir-init.c (diskfs_init_dir): Likewise. - * dir-rmdir.c (diskfs_S_dir_rmdir): Repair implementation of - diskfs_syncronous. - * dir-renamed.c (diskfs_rename_dir): If we are synchronous, - sync the one node our parent doesn't have access to. - * dir-mkdir.c (diskfs_S_dir_mkdir): Implement diskfs_synchronous. - * dir-mkfile.c (diskfs_S_dir_mkfile): Likewise. - * dir-lookup.c (diskfs_S_dir_lookup): Likewise. - * io-read.c (diskfs_S_io_read): Likewise. - * fsys-syncfs.c (diskfs_S_fsys_syncfs): Likewise. - * node-drop.c (diskfs_drop_node): Likewise. - * node-rdwr.c (diskfs_node_rdwr): Likewise. - -Wed Mar 15 11:54:12 1995 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * conch-fetch.c (ioserver_fetch_shared_data): Implement - diskfs_synchronous. - * dir-clear.c (diskfs_clear_directory): Likewise. - * dir-init.c (diskfs_init_dir): Likewise. - * dir-renamed.c (diskfs_rename_dir): Likewise. - -Wed Mar 8 16:36:04 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * diskfs.h (diskfs_synchronous): New variable. - * priv.h (CHANGE_NODE_FIELD): If DISKFS_SYNCHRONOUS, then sync - node after possibly changing it. - * io-seek.c: Prevent diskfs_synchronous from having its usual - effect here. - * dir-link.c (diskfs_S_dir_link): Implement diskfs_synchronous. - * dir-rename.c (diskfs_S_dir_rename): Likewise. - * dir-rmdir.c (diskfs_S_dir_rmdir): Likewise - * dir-unlink.c (diskfs_S_dir_unlink): Likewise. - * file-sync.c (diskfs_S_file_sync): Likewise. - * file-syncfs.c (diskfs_S_file_syncfs): Likewise. - * io-prenotify.c (diskfs_S_io_prenotify): Likewise. - * io-stat.c (diskfs_S_io_stat): Likewise. - * io-write.c (diskfs_S_io_write): Likewise. - * io-sigio.c (diskfs_S_io_sigio): Likewise. - -Tue Mar 7 15:21:09 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * diskfs.h (struct userid): New type. - (struct protid): Replace UIDS, GIDS, NUIDS, and NGIDS with ID. - (diskfs_isuid): Replace with new function diskfs_idhasuid. - (diskfs_groupmember): Replace with new function diskfs_idhasgid. - (_diskfs_idisowner, _diskfs_idaccess, _diskfs_idcheckdirmod): - New functions. - (diskfs_isowner): Check each ID in the chain with - _diskfs_idisowner. - (diskfs_access): Check each ID in the chain with _diskfs_idaccess. - (diskfs_checkdirmod): Check each ID in the chain with - _diskfs_idcheckdirmod. - * file-chmod.c (diskfs_S_file_chmod): Perform the permission - check for each ID in the chain. - * file-chown.c (diskfs_S_file_chown): Likewise. - * file-getcontrol.c (diskfs_S_file_getcontrol): Likewise. - - * boot-parse.c (diskfs_parse_bootargs): Use assert_perror instead - of assert where appropriate. - * boot-start.c (diskfs_start_bootstrap): Likewise. - (diskfs_S_fsys_init): Likewise. - * io-reauthenticate.c (diskfs_S_io_reauthenticate): Likewise. - * rdwr-internal.c (_diskfs_rdwr_internal): Likewise. - -Thu Jan 19 02:04:34 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (ourfs_notify_U.h ourfs_notifyUser.c): Make this - instead of ourmsg_U.h. All references changed. - * dir-chg.c: Undo renaming. Includ ourfs_notify_U.h instead of - ourmsg_U.h. - - * io-select.c: Updated to new io_select protocol. - - * dir-chg.c (diskfs_S_dir_notice_changes): Call - nowait_msg_dir_changed instead of nowait_dir_changed. - -Sat Dec 10 20:03:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot-start.c (start_execserver): When aligning bss size for - vm_allocate, don't include bss start alignment fixup offset. - -Fri Dec 9 02:06:35 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * io-read.c (diskfs_S_io_read): Don't check for MAXREAD<0. - - * io-write.c: Use mach_msg_type_number_t in place of unsigned int - and int. - * io-readable.c: Likewise. - * io-read.c: Likewise. - -Wed Nov 23 00:26:48 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * ports-demuxer.c (ports_demuxer): Call - diskfs_seqnos_notify_server, not seqnos_notify_server. - -Fri Nov 11 13:11:35 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * io-read.c (diskfs_S_io_read): If OFF is past the end of the - file, don't set MAXREAD to a negative number; that will crash - rdwr_internal. - -Wed Nov 9 01:46:18 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * file-exec.c: Include <hurd/paths.h>. - (diskfs_S_file_exec): If diskfs_exec isn't already - set, try to open it here. (Later, we should also deal if - exec_exec returns that the previous server died.) - -Tue Nov 8 00:06:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * file-get-trans.c: Include <stdio.h> for asprintf decl. - -Wed Nov 2 16:16:57 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * priv.h (CHANGE_NODE_FIELD): Don't call diskfs_node_update here. - -Fri Oct 28 18:26:15 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot-parse.c (diskfs_parse_bootargs): Make stdout line buffered. - (diskfs_parse_bootargs): Use getline instead of scanf. - * boot-start.c (diskfs_start_bootstrap): Likewise. - (diskfs_S_fsys_init): Create a root port with two send right refs - and install it as crdir and cwdir. - -Tue Oct 25 14:16:50 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * boot-start.c (diskfs_start_bootstrap): Renamed variable ARGV - to be EXEC_ARGV and ARGVLEN to be EXEC_ARGVLEN. - -Fri Oct 7 01:30:12 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot-parse.c (diskfs_parse_bootargs): Open console for reading too. - - * boot-start.c (saved_argv): New static variable. - (diskfs_start_bootstrap): Take arg ARGV; store it in saved_argv. - (diskfs_S_fsys_init): Construct a portarray and call _hurd_init. - Or, if _hurd_ports is already allocated, call _hurd_proc_init. - * diskfs.h (diskfs_start_bootstrap): Update prototype. - -Thu Oct 6 17:47:42 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * boot-start.c (diskfs_S_fsys_init): Allocate a reference on - authhandle before allowing the library to consume one. - -Wed Oct 5 13:00:46 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * node-drop.c (diskfs_drop_node): Clear passive translator - if we are releasing the inode. - -Thu Sep 29 18:12:31 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot-parse.c (diskfs_parse_bootargs): If we have a bootstrap - port, talk to the CMU default pager on it, then clear it. - -Fri Sep 23 00:15:52 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * diskfs.h (diskfs_lost_hardrefs): Doc fix. - (diskfs_try_dropping_softrefs): New declaration. - (diskfs_nput): Always call diskfs_lost_hardrefs if the last - hardref goes away; call diskfs_try_dropping_softrefs if the - link count has vanished too. - (diskfs_nrele): Likewise. - (diskfs_nref): Lock node during call to diskfs_new_hardrefs. - -Thu Sep 22 21:20:40 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * diskfs.h (struct node): New member `istranslated'. - (diskfs_node_translated): Deleted function. - * dir-lookup.c (diskfs_S_dir_lookup): Use istranslated field - instead of diskfs_node_translated. - * file-get-trans.c (diskfs_S_file_get_translator): Likewise. - * file-inv-trans.c (diskfs_S_file_invoke_translator): Likewise. - * file-set-trans.c (diskfs_S_file_set_translator): Likewise. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - -Fri Sep 16 11:53:04 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * file-set-trans.c (diskfs_S_file_set_translator): Use new - lock on translator fields; don't hold it and the NP lock - simultaneously. - * trans-destroy.c (diskfs_destroy_translator): Doc fix. - - * dir-lookup.c (diskfs_S_dir_lookup): Turn off *all* flags - in call to getroot if we aren't the last component. - -Thu Sep 15 13:01:21 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * init-init.c (diskfs_init_diskfs): Restore commented-out - initialization of diskfs_auth_server_port. - -Mon Sep 12 14:38:54 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * fsys-getroot.c (diskfs_S_fsys_getroot): Clear translator - port if we get MIG_SERVER_DIED, as with MACH_SEND_INVALID_DEST. - -Sun Sep 11 23:30:13 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * dir-lookup.c (diskfs_S_dir_lookup): Copy PATHBUF into RETRYNAME - properly when symlink target begins with a slash. - -Sat Sep 10 08:36:08 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (OTHERSRCS): Add init-startup.c. - * init-init.c (_diskfs_dotdot_file): Variable removed. - (diskfs_init_diskfs): Take no args; return void. - Don't do fsys_startup here. - * init-startup.c (diskfs_startup_diskfs): New file, new function. - Do fsys_startup here instead. - * diskfs.h (diskfs_init_diskfs): Update prototype. - (diskfs_startup_diskfs): Declare it. - - * dir-lookup.c (diskfs_S_dir_lookup): Use error_t for ERROR. - Retry when fsys_getroot returns MIG_SERVER_DIED, as with - MACH_SEND_INVALID_DEST. - -Fri Sep 9 13:04:36 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * dir-lookup.c (diskfs_S_dir_lookup) [EAGAIN]: Only copy - into RETRYNAME if this isn't the last component. - - * fsys-getroot.c (diskfs_S_fsys_getroot): Set *RETRY - and *RETRYNAME properly on normal return. - - * init-init.c (diskfs_init_diskfs): Don't attempt to continue - if fsys_startup fails. Deallocate BOOTSTRAP after using it. - -Wed Sep 7 09:52:52 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * trans-start.c (diskfs_start_translator): Don't give write - access to underlying node if it's not IFREG. - - * dir-lookup.c (diskfs_S_dir_lookup): When returning a port - passed back from fsys_getroot, use MACH_MSG_TYPE_MOVE_SEND, - not the local default of MAKE_SEND. - - * trans-start.c (diskfs_start_translator): Removed assert. - -Tue Sep 6 15:30:59 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * dir-lookup.c (diskfs_S_dir_lookup): Translator startup code - rewritted to be more robust and use new locking protocol - on translink structures. - * trans-start.c (diskfs_start_translator): Don't pass LOCK arg - to diskfs_start_translator. Unlock NP around call to - diskfs_start_translator. Don't expect DIR to be deallocated. - -Thu Sep 1 12:28:03 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * trans-start.c (diskfs_start_translator): Expect right - on DIR and NPPORT to be consumed by fshelp_start_translator. - * fsys-getroot.c (diskfs_S_fsys_getroot): Allocate additional - send-right for DOTDOT to be consumed by diskfs_start_translator. - Be careful to deallocate DOTDOT when appropriate. - * dir-lookup.c (diskfs_S_dir_lookup): Create DIRFILE from - DNP, not NP. Create local reference for dirfile to use - in call to fsys_getroot. - - * boot-start.c (diskfs_start_bootstrap): Give the - library values for current working and root directories. - - * trans-start.c (diskfs_start_translator): Fix and enable. - * diskfs.h (diskfs_start_translator): Add new third arg to - prototype. - * dir-lookup.c (diskfs_S_dir_lookup): Provide third arg to - diskfs_start_translator. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - -Wed Aug 31 12:04:51 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * file-exec.c (diskfs_S_file_exec) [reauth]: Destroy REF after - using it. - - * file-get-trans.c (diskfs_S_file_get_translator) - [S_ISCHR || S_ISBLK]: Correct cast of second arg to vm_allocate. - - * Makefile (FSYSSRCS): Added fsys-readonly.c and fsys-syncfs.c. - * fsys-readonly.c, fsys-syncfs.c: New files. - -Wed Aug 31 01:50:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * boot-parse.c (diskfs_parse_bootargs): Fix scanf format for - bootstrap filesystem device name. - - * file-exec.c (diskfs_S_file_exec): For S_ISUID|S_ISGID, create - new auth handle and reauthenticate passed ports properly. - -Tue Aug 30 13:44:29 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * file-exec.c (diskfs_S_file_exec): Don't bother setting - EXEC_NEWTASK for non-readable execs; it doesn't really work - anyhow. - - * init-init.c: Call ports_get_right with the result of - ports_allocate_port in call to fsys_startup. - - * trans-sync.c (diskfs_sync_translators): Use fsys_syncfs - instead of old ugly method. - - * init-init.c: Include <hurd/fsys.h>. - - * boot-start.c (diskfs_start_bootstrap): Check to make sure return - from fsys_getroot and dir_lookup is FS_RETRY_NORMAL with empty - retry_name instead of old FS_RETRY_NONE. - * dir-lookup.c (diskfs_S_dir_lookup): Initialize return values with - FS_RETRY_NORMAL and empty retryname instead of old FS_RETRY_NONE. - - * Makefile (FSSRCS): Remove dir-pathtrans.c; add dir-lookup.c. - * dir-lookup.c: Renamed from dir-pathtrans.c. - * dir-pathtrans.c (diskfs_S_dir_lookup): Renamed from - diskfs_S_dir_pathtrans. - * boot-start.c (diskfs_start_bootstrap): Call dir_lookup instead - of dir_pathtrans. - * ifsock.c (diskfs_S_ifsock_getsockaddr): Call file_name_lookup - instead of path_lookup. - -Mon Aug 29 12:51:42 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * io-reauthenticate.c (diskfs_S_io_reauthenticate): Use new - protocol for auth_server_authenticate. - -Fri Aug 26 12:49:09 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * file-set-trans.c (diskfs_S_file_set_translator): Rename args; - split flags arg into two. Interpret flags according to new - scheme. - -Thu Aug 18 12:58:44 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * boot-parse.c (diskfs_parse_bootargs): Print informative - bootstrap message. - * boot-start.c (diskfs_start_bootstrap): Likewise. - (start_execserver): Likewise. - - * boot-start.c (diskfs_start_bootstrap): Only do `pausing' - hack if RB_KDB was in bootstrap args. - (start_execserver): Likewise. - - * io-select.c (diskfs_S_io_select): Add new `porttype' arg. - -Thu Aug 11 13:05:40 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Set retry stuff - correctly if there are more components after translator - fsys_getroot. - -Sat Jul 23 02:25:54 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (notify-MIGSFLAGS): New variable: -DSEQNOS. - - * ports-demuxer.c (ports_demuxer): Prepend diskfs_ to Hurd - interface server functions. - -Fri Jul 22 10:54:23 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile: Changed to use new scheme. - * boot-start.c: Include "fsys_reply_U.h" instead of "fsys_reply.h". - * dir-chg.c: Include "ourmsg_U.h" instead of "msg.h". - * fsmutations.h SERVERPREFIX): Delete macro. - - * diskfs.h (struct thread_stuff, diskfs_catch_exception, - diskfs_end_catch_exception): Moved here from diskfs_machdep. - Delete inclusion of diskfs_machdep. - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Skip leading - slashes instead of returning an error. - -Tue Jul 19 22:12:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Fix fsys_getroot call: - MACH_MSG_TYPE_MOVE_SEND instead of MACH_PORT_RIGHT_MOVE_SEND. - -Tue Jul 19 18:37:52 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * boot-start.c (diskfs_start_bootstrap): Create root port - before calling fsys_getroot on exec server. Pass root port - as exec server's dotdot node. - (diskfs_execboot_fsys_startup): Deleted dotdot args. - * diskfs.h (diskfs_execboot_fsys_startup): Deleted dotdot args. - * dir-pathtrans.c (diskfs_S_dir_pathtrans) [translator startup]: - Set dirfile always, not just when invoking the passive translator. - Pass dirfile to fsys_getroot. Clean up deallocate of dirfile. - * file-inv-trans.c (diskfs_S_file_invoke_translator): Comment - out code; this function should vanish. - * priv.h (_diskfs_dotdot_file): Deleted variable. - * fsys-getroot.c (diskfs_S_fsys_getroot): Use new arg `dotdot' - in place of _diskfs_dotdot_file. Pass dotdot in call to - fsys_getroot. - * trans-sync.c (diskfs_sync_translators): Pass grunge as dotdot - arg in call to fsys_getroot. - * fsys-startup.c (diskfs_S_fsys_startup): Deleted dotdot args; - don't pass them in calls to helper functions. - * init-init.c (diskfs_init_diskfs): Don't expect dotdot arg - from fsys_getroot; don't set _diskfs_dotdot_file. - -Mon Jul 18 15:24:30 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * file-inv-trans.c: New file. - * Makefile (FSSRCS): Added file-inv-trans.c. - - * fsys-getroot.c (diskfs_S_fsys_getroot): Dereference - returned_port in check for null. - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Likewise. - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): After - diskfs_start_translator, set var `control'. - - * fsys-getroot.c (diskfs_S_fsys_getroot): After getting - MACH_SEND_INVALID_DEST from the translator, set error to zero - so that the user's open completes normally. Do other fixes - from Jul 7 that were made in dir-pathtrans.c for translator - startup. - - * ports-idle.c (ports_notice_idle): New file. - * Makefile (OTHERSRCS): Added ports-idle.c. - - * node-times.c (diskfs_set_node_times): Set old stat structure - times until the header file gets changed. - - * ifsock.c (diskfs_S_ifsock_getsockaddr): Provide type argument - in call to socket_fabricate_address. - -Fri Jul 15 12:00:38 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Use - DIRCRED->po->dotdotport instead of diskfs_dotdot_file. - - * diskfs.h (diskfs_read_symlink_hook): New variable. - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Don't permit symlinks - to be opened for reading or writing (just like other special file - types). Try using diskfs_read_symlink_hook before reading - from file data. - - * fsys-getroot.c (diskfs_S_fsys_getroot): Try using - diskfs_read_symlink_hook before reading from file data. - * file-get-trans.c (diskfs_S_file_get_translator): Likewise. - -Thu Jul 14 14:39:08 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * diskfs.h (diskfs_create_symlink_hook): New variable. - (diskfs_truncate): Doc fix. - * file-set-trans.c (diskfs_S_file_set_translator): Try - diskfs_create_symlink_hook first, before writing ourselves. - Return errors to user properly. - - * node-times.c (diskfs_set_node_times): Use new stat structures - with struct timespec instead of old definitions. - -Wed Jul 13 14:26:37 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * shutdown.c (diskfs_shutdown): Check UNLINK bit first to avoid - dumping translators if we end up returning an error. - - * ports-noports.c: New file. - * ports-soft.c: New file. - * diskfs.h (diskfs_shutdown_soft_ports): New declaration. - * Makefile (OTHERSRCS): Added ports-noports.c and ports-soft.c. - - * diskfs.h (diskfs_init_diskfs): New arg `bootstrap'; add return - value. Call fsys_getroot if bootstrap is set. - - * diskfs.h (diskfs_dotdot_file): Deleted variable. - (struct peropen): New member `dotdotnode'. - (diskfs_make_peropen): New arg DOTDOTPORT. - * peropen-make.c (diskfs_make_peropen): Set PO->dotdotport; - allocate reference if necessary. - * priv.h (_diskfs_dotdot_file): New variable. - * init-init.c (_diskfs_dotdot_file): New definition. - * boot-start.c (diskfs_start_bootstrap): dotdot for created - peropen to root should be null (we are *the* root directory in this - case). - (diskfs_S_exec_startup): Likewise. - * dir-mkfile.c (diskfs_S_dir_mkfile): Inherit dotdot for - new peropen from CRED->po. - * file-exec.c (diskfs_S_file_exec): Likewise. - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Inherit dotdot for - new peropens from DIRCRED->po. - * fsys-getroot.c (diskfs_S_fsys_getroot): Set dotdot - from _diskfs_dotdot_file. - - * diskfs.h (diskfs_control_port): Deleted variable. - * priv.h (_diskfs_control_lock, _diskfs_ncontrol_ports): New vars. - (_diskfs_control_clean): New declaration. - * ports-clean.c (ports_cleanroutines[PT_CTL]): Use - _diskfs_control_clean. - * init-init.c (diskfs_init_diskfs): Don't create control port here. - (_diskfs_control_lock, _diskfs_ncontrol_ports): New declarations. - * file-getcontrol.c (diskfs_S_file_getcontrol): Always create - a new control port structure. - - * io-write.c (diskfs_S_io_write): Honor O_FSYNC bit. - * conch-set.c (ioserver_put_shared_data): Set do_sigio if - user set O_FSYNC. - * io-stubs.c (diskfs_S_io_sigio): Removed function. - * io-sigio.c: New file. - * Makefile (IOSRCS): Added io-sigio.c - - * io-write.c (diskfs_S_io_write): Eliminate pointless test for - !err before _diskfs_rdwr_internal; only increment filepointer if - there was no error. - - * priv.h (_diskfs_rdwr_internal): New arg NOTIME. - * rdwr-internal.c (_diskfs_rdwr_internal): New arg NOTIME. - * io-read.c (diskfs_S_io_read): Don't set atime if O_NOATIME is on. - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Don't allow non-owner - to set O_NOATIME. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - - * priv.h (HONORED_STATE_MODES): Add O_NOATIME. - (OPENONLY_STATE_MODES): New macro. - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Use - OPENONLY_STATE_MODES to turn off appropriate bits. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): At start, turn - off all the bits not in O_HURD; we ignore all those and don't - keep track of them in any way. - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - - * file-get-trans.c (diskfs_S_file_get_translator): Return - shortcircuited translators for IFCHR, IFBLK, IFIFO, and IFSOCK. - - * file-set-trans.c (diskfs_S_file_set_translator): In computing - rdev, 377 should be *octal*, not hex. - - * dir-rename.c (diskfs_S_dir_rename): Deallocate received - send-right for TOCRED any time we return success. - - * dir-link.c (diskfs_S_dir_link): Don't assume that NP is a - non-directory before checking it. - - * boot-start.c (diskfs_start_bootstrap): New variable - `initnamebuf' which is allocated and then not changed; free - it rather than freeing `initname'. - -Mon Jul 11 18:16:25 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Symlinks to pathnames - beginning with `/' sholud return FS_RERTY_MAGICAL (but the - retry name is stils the same). - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - -Fri Jul 8 13:34:25 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): After getting - MACH_SEND_INVALID_DEST from the translator, set error to zero - so that the user's open completes normally. - (diskfs_S_dir_pathtrans): Call mach_port_mod_refs correctly. - (diskfs_S_dir_pathtrans): In call to fsys_getroot, turn off - O_NOLINK for !lastcomp, not for lastcomp. - -Thu Jul 7 14:46:46 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Deal correctly - with the sendright on the translator control port avoiding - races while the node is unlocked. - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): At translator - lookup time, if there is an active translator, release the - lock on DNP just like we do in the start-passive case. Also - after fsys_getroot, release reference and clear DNP so that - code at out: doesn't get it wrong. - (diskfs_S_dir_pathtrans): Call fshelp_translator_drop instead - of setting it to null ourselves. - * trans-destroy.c (diskfs_destroy_translator): Likewise. - -Wed Jul 6 14:43:55 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * ports-demuxer.c (ports_demuxer): Only call ifsock_server - if diskfs_shortcut_ifsock is set. - -Tue Jul 5 14:15:32 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (TAGSHDRS): New variable. - -Thu Jun 30 11:35:43 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * fsmutations.h (IFSOCK_IMPORTS): New macro. - - * ports-demuxer.c (ports_demuxer): Call ifsock_server. - -Wed Jun 29 17:07:17 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * diskfs.h (struct node): New member `sockaddr'. - * node-make.c (diskfs_make_node): Initialize NP->sockaddr. - * node-drop.c (diskfs_drop_node): Deallocate NP->sockaddr - if it's been set. - * ifsock.c: New file. - * Makefile (IFSOCKSRCS): New variable. - (SRCS): Added $(IFSOCKSRCS). - (MIGSTUBS): Added ifsockServer.o. - (ifsock_S.h ifsockServer.c): New rule. - (ifsock_S.h): Depended on by IFSOCKSRCS generated objects. - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Detect the case - where the server has died by looking for MACH_SEND_INVALID_DEST - as a return from fsys_getroot. Rearrange lock/unlock and - reference counting of NP and DNP because we may need them back - if we have to repeat the call. - - * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. - -Fri Jun 24 15:52:52 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir-link.c (diskfs_S_dir_link): The port_info struct member - is `port_right', not `port'. - -Tue Jun 21 13:25:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir-link.c (diskfs_S_dir_link): Deallocate received send - right for DIRCRED anytime we return success. - - * dir-chg.c (diskfs_S_dir_notice_changes): New var `np'. Return - ENOTDIR if call is made on a non-directory. - -Mon Jun 20 16:40:37 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * node-drop.c (diskfs_drop_node): Free structures holding - dirmod requests. - * node-make.c (diskfs_make_node): Initialize NP->dirmod_reqs - to zero. - -Fri Jun 17 13:16:18 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * fsys-getroot.c (diskfs_S_fsys_getroot): Initialize ERROR. - -Fri Jun 17 11:21:25 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * trans-sync.c: Include <fcntl.h>. - - * Makefile (boot-start.o): Depend on fsys_reply.h. - -Thu Jun 16 11:31:46 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * Makefile (msg.h, msgUser.c): New rules. - (MIGSTUBS): Added msgUser.o. - (dir-chg.o): Depends on msg.h. - * dir-chg.c: Include "msg.h". - - * diskfs.h (diskfs_start_translator): Second arg DIR is now - file_t. Changed locking rules. - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Call - diskfs_start_translator the new way; clean up lock releases. - - * fshelp-dropnode.c: Deleted file. - * fshelp-getnode.c: Deleted file. - * Makefile (OTHERSRCS): Removed fshelp-dropnode.c and fshelp-getnode.c. - - * boot-start.c (diskfs_start_bootstrap): Use new fsys_getroot - interface. - - * fsys-getroot.c: Include <fcntl.h> for O_ bits. Include - <hurd/fsys.h> for fsys_startup prototype. - - * boot-start.c (diskfs_start_bootstrap, diskfs_S_exec_startup): - Delete obsolete assignments to INIT_PORT_LOGINCOLL. - - * diskfs.h (struct node) [dirmod_reqs]: New member. - (struct dirmod): New type. - (diskfs_dirrewrite, diskfs_dirremove, diskfs_direnter): Doc fix. - (diskfs_notice_dirchange): New prototype. - * dir-chg.c (diskfs_S_dir_notice_changes): Implement call. - (diskfs_notice_dirchange): New function. - - * diskfs.h (diskfs_get_directs): Doc fix. - - * file-access.c (diskfs_S_file_check_access): Renamed from - diskfs_S_file_access. Return allowable operations in *TYPE - rather than checking those explicitly asked for. Use O_ bits - instead of _OK bits. Include <fcntl.h>. - -Wed Jun 15 21:26:14 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Require lookup of - empty pathname to fail if not made on a directory. - - * fsys-getroot.c (diskfs_S_fsys_getroot): Rewritten to implement - the new fsys_getroot interface. - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Don't implement - O_TRUNC here anymore. - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Use the new - fsys_getroot interface for translator startup. - - * io-modes-set.c (diskfs_S_io_set_all_openmodes): Only let - the user set the user-setable bits. - - * file-get-transcntl.c (diskfs_S_file_get_translator_cntl): New - arg CTLTYPE; set appropriately. - -Wed Jun 15 12:18:16 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * file-chg.c (diskfs_S_file_notice_changes): Declare return type. - - * file-access.c: New file. - * Makefile (FSSRCS): Added file-access.c. - -Tue Jun 14 14:06:36 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * diskfs.h (diskfs_get_dirents): New declaration. - * dir-readdir.c (diskfs_S_dir_readdir): Implement new - interface using diskfs_get_directs. - - * dir-chg.c, file-chg.c: New files. - * Makefile (FSSRCS): Added dir-chg.c and file-chg.c. - -Thu Jun 9 13:39:25 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Release lock on NP - during call to fsys_getroot; stash control port and uid info in - new local variables. Reacquire lock before return (because - common code at label OUT expects NP to be locked). - -Mon Jun 6 18:54:50 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): In translator - startup check, test O_NOTRANS in flags correctly. - - * dir-renamed.c (diskfs_rename_dir): Don't call diskfs_nrele on - TMPNP after SPEC_DOTDOT calls; the spec says that SPEC_DOTDOT - with RENAME does not allocate a new reference. - -Sun Jun 5 05:51:11 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * io-reauthenticate.c (diskfs_S_io_reauthenticate): Fix - initialization of {GEN,AUX}_{UIDS,GIDS}. - -Fri Jun 3 18:19:22 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * file-set-trans.c (diskfs_S_file_set_translator): Use - fshelp_set_control instead of doing it ourselves. - -Thu Jun 2 12:00:51 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * diskfs.h (struct node): New member `light_references'. - (diskfs_nref, diskfs_nput, diskfs_nrele, diskfs_make_node): Doc fix. - (diskfs_nref_light, diskfs_nput_light, diskfs_nrele_light): - New functions. - (diskfs_nrele, diskfs_nput): Only call diskfs_drop_node if both - NP->references *and* NP->light_references are zero. - (diskfs_new_hardrefs, diskfs_lost_hardrefs): New declarations. - (diskfs_nref): Call diskfs_new_hardrefs when appropriate. - (diskfs_nput, diskfs_nrele): Call diskfs_lost_hardrefs when - appropriate. - - * node-make.c (diskfs_make_node): Initialize NP->light_references. - Doc fix. - -Wed Jun 1 18:24:11 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Skip over multiple - slashes in pathnames by incrementing NEXTNAME after setting it. - Also, if after we do this we discover that there is no last - component, then set LASTCOMP and clear NEXTNAME and CREATE - entirely, and set (new variable) MUSTBEDIR. Then check for - MUSTBEDIR after the node has been fetched. Make var TYPE - function-global and set it always, not just when NEWNODE is unset. - -Fri May 27 08:47:46 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * boot-start.c (diskfs_S_exec_exec, diskfs_S_exec_setexecdata): - Add missing args. - (diskfs_S_exec_startup): Don't point *ARGVP to EXEC_DATA local - storage. Instead, copy EXEC_DATA to *ARGVP if *ARGVLEN allows; - otherwise vm_allocate new space and copy into there. - -Thu May 26 15:33:57 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * diskfs.h (diskfs_nrele): Acquire lock if we are releasing - the last reference. - - * node-drop.c (diskfs_drop_node): If we are truncating, then - go back to normal user state and do the truncate; the next - time through we will do the dealloc for real. - Semantics change: now this routine is responsible for - unlocking diskfs_node_refcnt_lock. All callers changed. - -Wed May 25 20:34:17 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * io-write.c (diskfs_S_io_write): Don't check for *AMT < 0; AMT is - an out-only parameter. - -Wed May 25 12:23:25 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * ports-consts.c (ports_use_multiple_threads): Deleted definition. - * init-first.c (diskfs_spawn_first_thread): Fork - ports_manage_port_operations_multithread instead of - ports_maange_port_operations. - * init-loop.c (diskfs_main_request_loop): Likewise. - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Reference node in - lookup of empty path case so that common code at the out: label - doesn't free an extra one. - -Mon May 23 23:13:51 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * boot-start.c (diskfs_S_fsys_init): Start exec_init after - proc_child. - -Thu May 19 12:48:53 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * io-reauthenticate.c (diskfs_S_io_reauthenticate): Unlock - node after calling diskfs_finish_protid. - -Thu May 12 14:23:29 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * Makefile (clean): Add fsys_reply.h and *User.c. - -Thu May 12 03:45:38 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile (fsys_reply.h fsys_replyUser.c): New rule. - (MIGSTUBS): Add fsys_replyUser.o. - * boot-start.c: Include fsys_reply.h. - (diskfs_S_fsys_init): Take new reply port args. - Send reply msg as soon as verified, before doing anything. - -Mon May 9 16:58:24 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * diskfs.h (diskfs_init_completed): New function declaration. - * boot-start.c (diskfs_S_fsys_init): Don't call _hurd_proc_init. - Do call diskfs_init_completed. - -Thu May 5 13:04:43 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Behave properly - if nextname is null. Copy nextname to the end of the symlink - target rather than vice versa. Don't punt to the caller before - doing the append. - (diskfs_S_dir_pathtrans): O_NOTRANS should prevent symlink - interpretation. - (diskfs_S_dir_pathtrans): If a symlink traversal was the last - component, then clear CREATE (symlinks to nothing don't honor - O_CREAT) and clear LASTCOMP (because it isn't true any longer). - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Fix mangled check - for O_NOLINK. - (diskfs_S_dir_pathtrans): Repair furtherly mangled check for - O_NOLINK. - - * conch-set.c (ioserver_put_shared_data): Set - optimal_transfer_size from the same thing we return in stat. - - * io-async.c (diskfs_S_io_async): Just return EOPNOTSUPP without - doing anything more at all. - -Thu May 5 06:32:10 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * io-prenotify.c (diskfs_S_io_prenotify): Make START and END args - type vm_offset_t. - - * io-map-cntl.c (diskfs_S_io_map_cntl): Take 3rd result arg - for msg type of *CTLOBJ; set it to copy-send. - - * io-async.c (diskfs_S_io_async): Take 3rd result arg for msg type - of *IDPORT; set it to copy-send. Return 0 instead of EOPNOTSUPP; - should not be deallocating NOTIFY if returning an error. - - * io-async-icky.c (diskfs_S_io_get_icky_async_id): Take 3rd result arg - for msg type of *IDPORT; set it to copy-send. - - * conch-set.c (ioserver_put_shared_data): Temporarily #if 0 - setting of optimal_transfer_size from bogus undeclared variable. - - * protid-make.c: Include <string.h> to get bcopy declared. - - * {file,dir,io,fsys}-*.c: Changed return type of all RPC server - functions to kern_return_t. error_t is not compatible with the - declarations in the mig-generated header files. - - * Makefile: Change uses of $(headers) to $(includedir). - - * file-exec.c (diskfs_S_file_exec): Fix msg type arg in exec_exec call. - - * dir-pathtrans.c (diskfs_S_dir_pathtrans): Add missing close paren. - - * boot-start.c (diskfs_start_bootstrap): Pass msg type arg for - FILE arg to exec_exec. - (diskfs_S_fsys_getpriv): Change return type to kern_return_t. - error_t is not compatible with the declarations in the - mig-generated header files. - (diskfs_S_fsys_init): Likewise. - (exec_stack_base, exec_stack_size): New variables. - (diskfs_S_exec_startup): Use those for stack values in reply. - (start_execserver): Pass them to mach_setup_thread to be initialized. - -Mon May 2 16:32:22 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * dir-pathtrans.c: Test for O_NOLINK flag was mangled. - -Fri Apr 29 16:44:08 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * io-stubs.c (diskfs_S_io_readnotify): New function. - - * conch-set.c (ioserver_put_shared_data): Set new fields - optimal_transfer_size (to sblock->fs_bsize) and - use_readnotify_size (to zero). - - * file-exec.c (diskfs_S_file_exec): Change call to exec_exec in - accord with interface change in exec.defs. - -Mon Feb 14 11:26:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * boot-start.c: #include <hurd.h>. - (start_execserver): Call _hurd_setup_thread in place of start_thread. diff --git a/libfshelp/ChangeLog b/libfshelp/ChangeLog deleted file mode 100644 index a768a51d..00000000 --- a/libfshelp/ChangeLog +++ /dev/null @@ -1,663 +0,0 @@ -2008-07-14 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * perms-access.c (fshelp_access): If user->uids contain 0 and the op - is S_IEXEC, return 1 only if st_mode contains at least one executable - bit. - -2008-06-27 Flávio Cruz <flaviocruz@gmail.com> - - * perms-iscontroller.c (fshelp_iscontroller): Replace duplicate check - for st->ts_uid in user->uids by check for 0 in user->uids. - -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * touch.c (fshelp_touch): Adapt to ``struct stat'' changes. - -2006-06-28 Thomas Schwinge <tschwinge@gnu.org> - - * Makefile (HURDLIBS): Add `iohelp' and `ports'. - -2004-02-10 Roland McGrath <roland@frob.com> - - * start-translator-long.c (service_fsys_startup): Move mach_msg_type_t - const variables inside the function, make them auto so they are - optimized away to integer constants. - Use a union instead of casts to do efficient type checking. - -2002-06-26 Marcus Brinkmann <marcus@gnu.org> - - * lock-acquire.c (fshelp_acquire_lock): Also wait for exclusive - locks which might have been acquired while we were waiting for - shared locks to finish. - -2002-06-07 Roland McGrath <roland@frob.com> - - * fshelp.h: Use io_statbuf_t in place of struct stat throughout. - (fshelp_get_identity): ino_t -> ino64_t - -2002-05-10 Roland McGrath <roland@frob.com> - - * exec-reauth.c (fshelp_exec_reauth): Always set *SECURE if nonnull, - as the comment says we do. - -2002-05-07 Roland McGrath <roland@frob.com> - - * fetch-root.c (fshelp_fetch_root): int -> size_t - * delegate.c (fshelp_delegate_translation): Likewise. - -2002-03-05 Marcus Brinkmann <marcus@gnu.org> - - * fshelp.h: Refer to dir_lookup, not dir_pathtrans, in comment. - Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>. - -2002-01-02 Roland McGrath <roland@frob.com> - - * start-translator-long.c (fshelp_start_translator_long) - [KERN_INVALID_LEDGER]: Pass extra args to task_create for OSF variant. - -2001-06-21 Neal H Walfield <neal@cs.uml.edu> - - * fshelp.h (fshelp_iscontroller): Declare new function. - * perms-iscontroller.c: New file. - * Makefile (SRCS): Add it. - -2001-01-17 Neal H Walfield <neal@cs.uml.edu> - - * fshelp.h: Add two new parameters to fshelp_open_fn_t: - a port to the new task and a cookie. - Add a new parameter, cookie, to fshelp_start_translator and - fshelp_start_translator_long that will be passed to - fshelp_open_fn_t. - - * fetch-root.c (fshelp_fetch_root): Conform to new - fshelp_start_translator_long semantics. - * start-translator-long.c (service_fsys_startup): Likewise. - (fshelp_start_translator_long): Likewise. - * start-translator.c (fshelp_start_translator): Likewise. - -2000-03-20 Roland McGrath <roland@baalperazim.frob.com> - - * delegate.c (fshelp_delegate_translation): Add const to arg type. - * fshelp.h: Fix decl. - -2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> - - * fetch-root.c (fshelp_fetch_root): Don't use MAKE_SEND in Hurd - RPC. - -2000-03-13 Roland McGrath <roland@baalperazim.frob.com> - - * start-translator-long.c (service_fsys_startup): If mach_msg fails - with MACH_SEND_INTERRUPTED, clean up the send right in the - pseudo-received request message. - -1999-10-07 Thomas Bushnell, BSG <tb@mit.edu> - - * start-translator-long.c (fshelp_start_translator_long): Doc fix. - * fshelp.h (fshelp_start_translator_long): Document OWNER_UID. - -1999-10-07 Roland McGrath <roland@baalperazim.frob.com> - - * start-translator-long.c (fshelp_start_translator_long): Take new - argument OWNER_UID. Get child's proc port and do proc_setowner on it. - * fshelp.h: Update decl. - * start-translator.c (fshelp_start_translator): Pass new arg to - fshelp_start_translator_long with value from geteuid (). - * fetch-root.c (fshelp_fetch_root): Pass UID as new arg to - fshelp_start_translator_long. - -1999-09-12 Roland McGrath <roland@baalperazim.frob.com> - - * delegate.c (fshelp_delegate_translation): Free ARGZ after RPC. - -1999-07-11 Thomas Bushnell, BSG <tb@mit.edu> - - * set-options.c (fshelp_set_options): Explicitly cast first arg to - argz_extract to keep GCC quiet. - -1999-07-01 Thomas Bushnell, BSG <tb@mit.edu> - - * translated.c: New file; guts from fshelp.h. - * perms-isowner.c: Likewise. - * perms-access.c: Likewise. - * prems-checkdirmod.c: Likewise. - * touch.c: Likewise. - * fshelp.h (fshelp_translated, fshelp_isowner, fshelp_access, - fshelp_checkdirmod, fshelp_touch): Replace inline definitions with - ordinary declarations. - (FSHELP_EI): Removed macro. - * fshelp.c: Deleted file. - * Makefile (SRCS): Added translated.c, perms-isowner.c, - perms-access.c, perms-checkdirmod.c, touch.c. Removed fshelp.c. - -Wed Apr 28 03:06:19 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * fetch-root.c (fshelp_fetch_root): Don't deallocate the - INIT_PORT_CWDIR after starting the passive translator; we still - need to keep our reference around until the getroot call happens. - Reported by Marcus Brinkmann (Marcus.Brinkmann@ruhr-uni-bochum.de). - -Tue Apr 20 21:43:20 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * fetch-root.c (fshelp_fetch_root): When starting a passive - translator, set cwd to be DOTDOT instead of our own cwd. - -Sat Mar 6 17:03:02 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * start-translator-long.c (service_fsys_startup): Doc fixes, and - omit unused member `dead' from REQUEST. - -1999-02-28 Roland McGrath <roland@baalperazim.frob.com> - - * get-identity.c (fshelp_get_identity): Use ports_class_iterate. - -1998-12-19 Roland McGrath <roland@baalperazim.frob.com> - - * fetch-root.c (fshelp_fetch_root): Cope when we have a null auth - server port (pass our own ports). - -1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - - * fshelp.h (fshelp_set_options): Use `const' for `char *' parameter. - * set-options.c (fshelp_set_options): Fix defn. - -1998-08-21 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (SRCS): Remove return-buffer.c. - -1998-08-20 Roland McGrath <roland@baalperazim.frob.com> - - * fshelp.h: Moved fshelp_return_malloced_buffer to libiohelp. - * return-buffer.c: Moved to ../libiohelp/return-buffer.c. - (fshelp_return_malloced_buffer): Renamed to iohelp_*. - -Tue Jul 1 16:45:27 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * exec-reauth.c (fshelp_exec_reauth): If the new set of eff_uids - is empty, then still do proc_setowner, but this time to set it to - "unowned" status. - -1997-06-12 Miles Bader <miles@gnu.ai.mit.edu> - - * fshelp.h (fshelp_touch): New function. - (TOUCH_ATIME, TOUCH_MTIME, TOUCH_CTIME): New macros. - Include <maptime.h>. - -1997-06-11 Miles Bader <miles@gnu.ai.mit.edu> - - * fshelp.h (fshelp_fetch_root_callback1_t): Chage ARGZ_LEN to type - size_t. - -Fri Nov 15 14:43:44 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * fshelp.h (fshelp_access): Uh, shift bits the right direction. - -Tue Nov 12 22:07:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * fetch-root.c (fshelp_fetch_root): Name idvec members correctly. - - * fshelp.h: <iohelp.h> -> <hurd/iohelp.h>. - Include <sys/stat.h>. - (fshelp_access): Declare `gotit'. - -Wed Nov 6 17:49:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * fshelp.h (fshelp_fetch_root): Delete args `uids', `gids', - `uids_len', and `gids_len'. New arg `user'. - * fetch-root.c (fshelp_fetch_root): Ditto. - - * fshelp.h: Include <iohelp.h>. - (fshelp_access, fshelp_isowner, fshelp_checkdirmod): New - functions. - -Mon Oct 21 21:55:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * fshelp.h: Add extern inline protection. - * fshelp.c: New file. - * Makefile (SRCS): Add fshelp.c. - -Sun Oct 13 21:46:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * lock-acquire.c (fshelp_acquire_lock): Return success, not EBADF, - when unlocking a file which we don't have locked; this is netbsd's - behavior. - -Thu Oct 10 17:12:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * lock-acquire.c (fshelp_acquire_lock): Use hurd_condition_wait so - we are properly interruptible. - -Thu Sep 12 16:21:51 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (libfshelp.so): Delete special dependency. - -Tue Jul 16 11:30:42 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * lock-acquire.c (EWOULDBLOCK): Define, to work around new libc - bug. - -Sun Jul 7 21:26:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * start-translator.c (fshelp_start_translator): Don't use unsafe - MOVE_SEND in call to fshelp_start_translator_long. - * fetch-root.c (fshelp_fetch_root): Don't use unsafe MOVE_SEND in - call to fshelp_start_translator_long. - -Thu Jul 4 15:38:36 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * get-identity.c (fshelp_get_identity): Bother to initialize - I->fileno. - -Wed Jul 3 11:29:49 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * get-identity.c: New file. - * fshelp.h (struct port_bucket): Mention name in global scope. - (fshelp_get_identity): New declaration. - * Makefile (SRCS): Add get-identity.c. - -Thu Jun 27 17:56:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (LCLHDRS): Add trans.h. - -Mon Jun 24 16:00:48 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * fetch-root.c (fshelp_fetch_root): Deal properly with errors from - auth_makeauth. - -Fri Jun 21 00:07:26 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * set-options.c (fshelp_set_options): Add & use INPUT arg. - * fshelp.h (fshelp_set_options): Add INPUT argument. - (fshelp_return_malloced_buffer): New declaration. - * return-buffer.c: New file. - * Makefile (SRCS): Add return-buffer.c. - -Wed Jun 19 18:50:01 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * set-options.c: New file. - * fshelp.h: Add fshelp_set_options. - * Makefile (SRCS): Add set-options.c. - -Fri May 10 16:12:50 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * delegate.c (fshelp_delegate_translation): Don't cast ARGV when - calling arg_create. - -Thu May 9 11:17:08 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * exec-reauth.c (fshelp_exec_reauth): Provide new third arg to - proc_setowner. - - * delegate.c (fshelp_delegate_translation): Cast first arg to - argz_create appropriately. - - * fetch-root.c (fshelp_fetch_root) [reauth]: Use new args for - auth_user_authenticate. - -Fri Apr 26 18:51:07 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * start-translator-long.c (service_fsys_startup): Make mach_msg - calls interruptible. - -Wed Feb 21 17:09:12 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * set-active.c (fshelp_set_active): When EXCL, make sure the - active translator is really active. - - * fetch-root.c (fshelp_fetch_root): Make sure the returned fsys control - port is valid. - -Wed Feb 14 16:42:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * start-translator-long.c (fshelp_start_translator_long): - Terminate TASK if the exec fails. - -Mon Jan 29 15:32:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * fetch-root.c (fshelp_fetch_root): Use hurd_condition_wait - instead of condition_wait. - - * set-active.c (fshelp_set_active): Deal correctly with the case - where a passive translator is being started. - -Fri Jan 26 17:56:08 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fetch-root.c (fshelp_fetch_root): If io_reauthenticate returns - an error, just return MACH_PORT_NULL instead of aborting (the - server probably died; not a good sign for the health of the - translator, but it's better than dying ourselves...). - -Tue Jan 2 15:36:28 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * exec-reauth.c (fshelp_exec_reauth): Don't setgid the uids. - -Mon Jan 1 17:13:25 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * exec-reauth.c (fshelp_exec_reauth): New function. - * fshelp.h (fshelp_exec_reauth): New declaration. - * Makefile (SRCS): Added exec-reauth.c - -Mon Nov 6 13:37:52 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * start-translator-long.c (service_fsys_startup): Don't pass the - address of reply.realnodeType.msgt_name -- it's not really an int, - although the compiler pretends it is. - - * fetch-root.c (fshelp_fetch_root): When PORT_TYPE is - MACH_MSG_TYPE_MAKE_SEND, make the right *before* using it. - (fshelp_fetch_root): Don't bother reauthenticating the underlying - node returned by CALLBACK2 -- it already has the right ids. This - also gets rid of a problem with giving away our auth port prematurely. - -Wed Nov 1 16:14:08 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * fetch-root.c (fshelp_fetch_root): Uses two callbacks now. Pass - an appropiate function to fshelp_start_translator_long instead of - the actual underlying node. - * fshelp.h (fshelp_fetch_root_callback1_t, - fshelp_fetch_root_callback2_t): New types replacing fshelp_callback_t. - (fshelp_fetch_root): Takes two callback args now. - - * start-translator.c (fshelp_start_translator): Change to use a - callback function instead of passing the actual node. - * start-translator-long.c (fshelp_start_translator_long, - service_fsys_startup): Ditto. - (service_fsys_startup): Support the open flags coming from the - translator. - (struct fsys_startup_request): Add the flags field. - (flagsCheck): New variable. - * fshelp.h (fshelp_open_fn_t): New type. - (fshelp_start_translator, fshelp_start_translator_long): Now take - a function that opens the underlying node instead of the node itself. - -Fri Oct 13 16:52:43 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * start-translator-long.c (fshelp_start_translator_long): Undo - last change to file_exec args. - -Sat Oct 7 20:20:26 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * start-translator-long.c (fshelp_start_translator_long): Add - values for the dealloc parameters to file_exec (all false). - Give away our send right to TASK when we do file_exec. - Initialize BOOTSTRAP & TASK so the cleanup code doesn't get confused. - -Fri Sep 29 17:44:00 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * transbox-init.c (fshelp_transbox_init): Initialize the flags field. - -Tue Sep 5 18:25:24 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * fshelp.h (fshelp_delegate_translation): New declaration. - * delegate.c (fshelp_delegate_translation): New file, new function. - -Fri Sep 1 12:01:06 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (SRCS): Add delegate.c. - (REMHDRS): Removed. - -Tue Jul 11 14:11:24 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * start-translator-long.c (fshelp_start_translator_long): If - PORTS_TYPE is MACH_MSG_TYPE_COPY_SEND, then drop our right on - bootstrap after the call, because we are pretending we haven't - changed the calling user's state. For the same reason, save the - old BOOTSTRAP port value, and restore it after the call. - -Thu Jul 6 15:35:23 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile: Removed dependencies that are now automatically - generated. - -Mon Jun 26 15:36:21 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * fetch-root.c (fshelp_fetch_root): Wakeup other blocked calls - *before* returning errors provided by fshelp_start_translator_long - or CALLBACK. - -Fri Jun 23 14:25:52 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * fetch-root.c (fshelp_fetch_root): Parenthesize assert test - correctly. - * start-translator-long.c (service_fsys_startup): Parenthesize - construction of flags arg correctly. - -Thu Jun 22 17:06:51 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * fetch-root.c (fshelp_fetch_root) [reauth]: If PORT is null, then - just return it. - - * fetch-root.c (fshelp_fetch_root): Pass type and length - parameters in the right order in calls to auth_makeauth and - fshelp_start_translator_long. - -Wed Jun 21 13:19:44 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * fetch-root.c (fshelp_fetch_root): Pass new third arg to - fshelp_set_active. - -Mon Jun 19 16:41:51 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * fetch-control.c (fshelp_fetch_control): Only frob refs if - control is non-null. - - * fshelp.h (fshelp_set_active): New parm EXCL. - * set-active.c (fshelp_set_active): Implement new interface. - - * fetch-control.c (fshelp_fetch_control): Don't frob obsolete - innerlock. - * transbox-init.c (fshelp_transbox_init): Don't init obsolete - innerlock. Do init TRANSBOX->wakeup. - * set-active.c (fshelp_set_active): Don't frob obsolete innerlock. - * fetch-root.c (fshelp_fetch_root): Reduce levels of loops. Only - change ACTIVE when we are holding the lock. Use condition - mechanism to serialize attempts to start the passive translator. - * fshelp.h (struct transbox): Delete member `innerlock'. Add - members `flags' and `wakeup'; and define values for flags. - -Wed Jun 14 13:06:17 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * fshelp.h (fshelp_fetch_root): New arg COOKIE. - (fshelp_callback_t): COOKIE->COOKIE1. New arg COOKIE2. - * fetch-root.c (fshelp_fetch_root): Take new arg COOKIE and pass - it to CALLBACK. Free ARGZ after we're done with them. Never - consume the right on DOTDOT. - * Makefile (LCLHDRS): Removed trans.h. - * handle-startup.c, init-trans.c, start-trans.c, - transboot-clean.c, kill-trans.c, trans-iter.c, trans-cntl.c, - trans-drop.c, trans.h: Deleted files. - - * Makefile (SRCS): Remove translated.c. - * fshelp.h (fshelp_fetch_root): Don't actually need ROOT_TYPE. - UIDS and GIDS should be arrays. - (fshelp_callback_t): Should be error_t. - -Tue Jun 13 15:59:08 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - Brand new translator support routines - * fshelp.h: Deleted `struct translink', fshelp_transboot_port_type, - fshelp_init_trans_link, fshelp_set_control, - fshelp_start_translator, fshelp_handle_fsys_startup, - fshelp_transboot_clean, fshelp_translator_iterate, - fshelp_translator_drop, fshelp_kill_translator. - * fshelp.h: Added fshelp_start_translator_long, - fshelp_start_translator, `struct transbox', fshelp_fetch_root, - fshelp_transbox_init, fshelp_callback_t, fshelp_translated, - fshelp_set_active, fshelp_fetch_control, fshelp_drop_transbox. - * Makefile (SRCS): Removed handle-startup.c, init-trans.c, - start-trans.c, transboot-clean.c, kill-trans.c, trans-iter.c, - trans-cntl.c, trans-drop.c. Added start-translator-long.c, - start-translator.c, fetch-root.c, transbox-init.c, translated.c, - set-active.c, fetch-control.c, and drop-transbox.c. - (OBJS): Replaced with computation from $(SRCS). - * start-translator.c, fetch-root.c, transbox-init.c, set-active.c, - fetch-control.c, drop-transbox.c: New files. - * start-translator-long.c: Adapted from ../lib/start-trans.c. - Include "fshelp.h" and <assert.h>. - (service_fsys_startup): Declare static. Only pass - MACH_RCV_TIMEOUT if TIMEOUT is nonzero. New parm `node_type'. - (fshelp_start_translator_long): Renamed from start_translator. - Lookup up executable at NAME instead of ARGZ. Delete vars - INIT_PORTS, FD_PORTS, INIT_INTS, I, and CHILD_PROC. Don't set any - of the ports, fds, or ints, with the exception of the bootstrap - port. Don't bother getting the child's proc server port. - Don't use __USEPORT. If we fail before calling file_exec, - then deallocate the ports ourselves, if they were MOVE_SEND. - -Fri Oct 28 18:37:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * start-trans.c: Change `assert (!err)' to `assert_perror (err)' - throughout. - (fshelp_start_translator): Add assert_perror for io_reauthenticate - return. - -Mon Sep 19 20:58:35 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * trans-iter.c (fshelp_translator_iterate): Bother to attach - ITEM onto LIST as it's constructed. - -Sat Sep 10 08:42:00 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * transboot-clean.c (fshelp_transboot_clean): Use EDIED, not EINVAL. - -Wed Sep 7 10:34:13 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * start-trans.c (fshelp_start_translator): RETRY label belongs - *after* initial lock of LINK. Unlock LINK before returning. - -Tue Sep 6 14:52:49 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * fshelp.h (struct trans_link): New member `lock'. - (fshelp_start_translator): Omit `lock' arg. - * trans.h (struct transboot): Omit member `lock'. - * init-trans.c (fshelp_init_trans_link): Initialize LINK->lock. - * start-trans.c (fshelp_start_translator): Don't set TB->lock. - Omit `lock' arg; use LINK->lock instead. - (fshelp_start_translator): Don't deallocate DIR. - * handle-startup.c (fshelp_handle_fsys_startup): Lock - TB->link->lock instead of TB->lock. - * transboot-clean.c (fshelp_transboot_clean): Likewise. - -Thu Sep 1 16:46:53 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * fshelp.h (fshelp_start_translator): Doc fix. - * start-trans.c (fshelp_start_translator): Don't reauthenticate - NODE argument; expect fully authenticated node. - -Wed Aug 31 14:28:25 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * start-trans.c (fshelp_start_translator): Before call to - proc_reauthenticate, CALL mach_reply_port, not just refer to - confusing CPP macro. - - * start-trans.c (fshelp_start_translator): Call proc_setowner - for new process. - -Tue Aug 30 16:19:45 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * start-trans.c: Include <string.h>. - - * start-trans.c (fshelp_start_translator): Use new - reauthentication protocol throughout. - - * start-trans.c (fshelp_start_translator): Use - hurd_file_name_lookup instead of hurd_path_lookup. - -Wed Aug 17 16:03:49 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * start-trans.c (fshelp_start_translator): Designate the new - process as our child; then make sure it's under its own - authentication. As long as we've gotten the proc port for - this operation, might as well pass it too. - (fshelp_start_translator): Zero init ints and init ports. - - * transboot-clean.c (fshelp_transboot_clean): Only set an error - if we haven't gotten fsys_startup yet. - -Mon Aug 15 12:24:47 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * start-trans.c (fshelp_start_translator): Set LINK->starting - before blocking. - * handle-startup.c (fshelp_handle_fsys_startup): Clear - LINK->starting before waking up blocks. - - * fshelp.h (struct trans_link): New member `error'. - * transboot-clean.c (fshelp_transboot_clean): Wakeup blocked - users with error. - * trans-cntl.c (fshelp_set_control): Clear LINK->error. - * init-trans.c (fshelp_init_trans_link): Likewise. - - * start-trans.c (fshelp_start_translator): Fix - auth_user_authenticate to use the correct rendezvous port in - producing realnode from node.. - -Fri Jul 22 12:03:14 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile: Rewritten in accord with new scheme. - -Wed Jul 20 13:31:39 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * start-trans.c (fshelp_start_translator): Missing first arg - to mach_port_deallocate of `dir'. - -Tue Jul 19 18:44:53 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * fshelp.h (fshelp_start_translator): Doc fix. - (fshelp_handle_fsys_startup): Deleted dotdot args. - * trans.h (struct transboot): Removed member `dir'. - * start-trans.c (fshelp_start_translator): Don't initialize - TB->dir. - (fshelp_start_translator): Deallocate DIR arg when we're - done with it. - * handle-startup.c (fshelp_handle_fsys_startup): Deleted - dotdot args. - * transboot-clean.c (fshelp_transboot_clean): Don't free - no-longer-existent TB->dir. - -Fri Jul 8 12:58:54 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * trans-cntl.c: Include <assert.h>. - -Thu Jul 7 18:08:49 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * trans-drop.c: New file. - * fshelp.h (fshelp_translator_drop): New declaration. - * Makefile (OBJS): Added trans-drop.o. - (SRCS): ADded trans-drop.c. - -Tue Jul 5 14:14:53 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (DIST_FILES): New variable. - -Thu Jun 16 16:27:39 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * fshelp.h (fshelp_get_node_port, fshelp_done_with_node): Deleted - prototypes. - (fshelp_start_translator): Changed types of DIR and NODE to be - file_t. - * trans.h (struct transboot): Deleted members UID and GID. - Changed types of DIR and NODE to be file_t. - * transboot-clean.c (fshelp_transboot_clean): Deallocate ports - TB->node and TB->dir instead of calling fshelp_done_with_node. - * start-trans.c (fshelp_start_translator): Changed types of - DIR and MODE to be file_t. Rewritten to behave correctly in - numerous ways. - * handle-startup.c (fshelp_handle_fsys_startup): Return REAL - and DIR from ports in TB instead of calling fshelp_get_node_port. - -Fri Jun 3 18:13:04 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * fshelp.h (fshelp_set_control): New declaration. - * trans-cntl.c: New file. - * Makefile (SRCS): Added trans-cntl.c. - (OBJS): Added trans-cntl.o. - trans-cntl.o: Depend on trans.h. - -Thu May 5 07:46:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile: Change uses of $(headers) to $(includedir). - -Mon Feb 14 11:32:59 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile (install): New target. diff --git a/libftpconn/ChangeLog b/libftpconn/ChangeLog deleted file mode 100644 index 9f69ea25..00000000 --- a/libftpconn/ChangeLog +++ /dev/null @@ -1,296 +0,0 @@ -2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * unix.c (parse_dir_entry): Use st_mtim.tv_sec instead of st_mtime. - Set st_atim.tv_nsec, st_ctim.tv_nsec and st_mtim.tv_nsec to 0. - -2002-10-19 Roland McGrath <roland@frob.com> - - * unix.c (ftp_conn_unix_start_get_stats): Pass dirname a copy of NAME - instead of the original pointer. - -2002-06-08 Roland McGrath <roland@frob.com> - - * ftpconn.h (ftp_conn_add_stat_fun_t) [_FILE_OFFSET_BITS != 64]: - Use struct stat64 in place of struct stat. - -2002-05-07 Roland McGrath <roland@frob.com> - - * xfer.c (ftp_conn_start_open_actv_data): size_t -> socklen_t - (ftp_conn_finish_open_actv_data): Likewise. - -2002-04-13 Moritz Schulte <moritz@chaosdorf.de> - - * unix.c: Include <libgen.h>. - (struct get_stats_state): New member: searched_name. - (ftp_conn_unix_start_get_stats): Return EINVAL if trying to list - the root node without listing its content; set searched_name to - the dirname. - (ftp_conn_unix_cont_get_stats): If searching for the list info of - one entry, skip all other entries. - -2001-12-22 Roland McGrath <roland@frob.com> - - * ftpconn.h (ftp_conn_validate_syshooks): Don't make this extern - inline defn conditional on [__OPTIMIZE__]. - -1999-08-11 Thomas Bushnell, BSG <tb@mit.edu> - - * open.c (ftp_conn_sysify): Handle REPLY_NO_LOGIN from "syst". - (ftp_conn_open): Ignore error from ftp_conn_sysify; it's ok if we - can't successfully deal. If we didn't sysify successfully before - login, then try again afterwards. - -1998-10-20 Roland McGrath <roland@baalperazim.frob.com> - - * unix.c (ftp_conn_unix_cont_get_stats): Add braces to silence gcc - warning. - * open.c (ftp_conn_sysify): Likewise. - (ftp_conn_login): Likewise. - * cwd.c (ftp_conn_cdup): Likewise. - (ftp_conn_cwd): Likewise. - (_cache_cwd): Likewise. - * addr.c (ftp_conn_send_actv_addr): Likewise. - (ftp_conn_get_pasv_addr): Likewise. - -1997-09-04 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpconn.h [!FTP_CONN_EI] (FTP_CONN_EI): New macro. - (ftp_conn_validate_syshooks): Use FTP_CONN_EI instead of - `static inline'. - Protect with __OPTIMIZE__. - - * ftpconn.h (struct ftp_conn): Remove ACTV_DATA_CONN_QUEUE field. - * create.c (ftp_conn_create): Don't initialize - CONN->actv_data_conn_queue. - * open.c (ftp_conn_close): Don't cleanup CONN->actv_data_conn_queue. - * xfer.c (ftp_conn_start_open_actv_data): Always generate a new data - connection (it doesn't work to always listen on a single address). - (ftp_conn_finish_open_actv_data): Close the listen queue after - looking for a connection. - (ftp_conn_abort_open_actv_data): Close the data queue socket. - -1997-09-02 Miles Bader <miles@gnu.ai.mit.edu> - - * xfer.c (ftp_conn_start_open_actv_data): If necessary, reopen the - control connection for getsockname. - -1997-08-27 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpconn.h (struct ftp_conn): Add the ACTV_DATA_ADDR and - ACTV_DATA_CONN_QUEUE fields. - * create.c (ftp_conn_free): Free the ACTV_DATA_ADDR field. - (ftp_conn_create): Initialiaze the ACTV_DATA_ADDR & - ACTV_DATA_CONN_QUEUE fields. - * open.c (ftp_conn_close): Close CONN->actv_data_conn_queue if necessary. - * xfer.c (ftp_conn_start_open_actv_data): Renamed ftp_conn_open_actv_data. - Correctly generate data address. - (ftp_conn_start_open_data): Renamed from ftp_conn_open_data. - (ftp_conn_finish_open_data, ftp_conn_finish_open_actv_data): New - functions. - (ftp_conn_start_transfer): Use ftp_conn_start_open_data and - ftp_conn_finish_open_data instead of ftp_conn_open_data. - -1997-08-26 Miles Bader <miles@gnu.ai.mit.edu> - - * xfer.c (ftp_conn_open_actv_data): New function. - (ftp_conn_open_data): Use an active data connection if passive - doesn't work. - * ftpconn.h (struct ftp_conn): Add USE_PASSIVE field. - * create.c (ftp_conn_create): Initialize USE_PASSIVE field. - - * open.c (ftp_conn_open): Set SIN_LEN field correctly. - -1997-08-19 Miles Bader <miles@gnu.ai.mit.edu> - - * create.c (ftp_conn_create): Initialize the SYSHOOKS_VALID field. - -1997-08-15 Miles Bader <miles@gnu.ai.mit.edu> - - * fname.c (ftp_conn_append_name, ftp_conn_basename): Make sure - CONN's SYSHOOKS field is valid before using it. - * ftpconn.h (struct ftp_conn): Add SYSHOOKS_VALID field. - (ftp_conn_validate_syshooks): New inline function. - * open.c (ftp_conn_sysify): Set SYSHOOKS_VALID. - - * set-type.c (ftp_conn_set_type): If there's no connection, don't - open a new one, just save the type for later. - -1997-08-09 Miles Bader <miles@gnu.ai.mit.edu> - - * names.c (ftp_conn_cont_get_names): Check for interrupts. - * unix.c (ftp_conn_unix_cont_get_stats): Likewise. - * reply.c (ftp_conn_getline): Likewise. - * ftpconn.h (struct ftp_conn_hooks): Add INTERRUPT_CHECK field. - -1997-08-08 Miles Bader <miles@gnu.ai.mit.edu> - - * rmt.c (ftp_conn_rmt_transfer): If we get an error, close SRC_CONN - instead of aborting it, to avoid problems with some ftp servers. - - * create.c (ftp_conn_create): Don't open the connection here. - - * names.c (ftp_conn_cont_get_names): Use BASENAME hook instead of - FIX_NLIST_NAME. - (ftp_conn_start_get_names): Don't set DIR field. - (struct get_names_state): Remove DIR field. - (ftp_conn_cont_get_names): Don't free DIR field. - - * ftpconn.h (struct ftp_conn_syshooks): Add APPEND_NAME and - BASENAME fields; remove FIX_NLIST_NAME field. - (ftp_conn_unix_append_name, ftp_conn_unix_basename): New declarations. - (ftp_conn_unix_fix_nlist_name): Declaration removed. - (ftp_conn_append_name, ftp_conn_basename): New declarations. - * unix.c (ftp_conn_unix_cont_get_stats): Pass only directory- - relative names to the callback function. - (ftp_conn_unix_append_name, ftp_conn_unix_basename): New functions. - (ftp_conn_unix_fix_nlist_name): Function removed. - (struct ftp_conn_unix_syshooks): Initialize APPEND_NAME and - BASENAME fields; remove FIX_NLIST_NAME initialization. - * fname.c: New file. - * Makefile (SRCS): Add fname.c - -1997-08-07 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpconn.h (struct ftp_conn_syshooks): Add FIX_NLIST_NAME field. - (ftp_conn_unix_fix_nlist_name): New declaration. - * names.c (ftp_conn_cont_get_names): Support FIX_NLIST_NAME hook. - Free S->dir if necessary. Close or abort connection when done. - (struct get_names_state): Add DIR field. - (ftp_conn_start_get_names): Fill in S->dir field if necessary. - - * unix.c (ftp_conn_unix_fix_nlist_name): New function. - (ftp_conn_unix_syshooks): Add ftp_conn_unix_fix_nlist_name. - -1997-08-06 Miles Bader <miles@gnu.ai.mit.edu> - - * open.c (ftp_conn_sysify): Handle REPLY_UNIMP_CMD for "syst". - - * unix.c (parse_dir_entry): Re-enable mktime calls. - -1997-08-04 Miles Bader <miles@gnu.ai.mit.edu> - - * unix.c (ftp_conn_unix_cont_get_stats): If returning with an - error, ignore any return from ftp_conn_finish_transfer. - -Wed Jun 4 14:17:30 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (ftpcp, ftpdir): Rules removed. - * ftpcp.c, ftpdir.c: Files removed. - -Thu May 29 17:24:40 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpcp.c (doc): Update. - (econnect, eopen_wr, eopen_rd, efinish): New functions. - (struct epoint): Remove FD field. - Rename RMT_FILE & RMT_HOST to FILE & HOST. - (main): Remove array of epoints & loops, & just use RD & WR, - calling the e* functions above. - Support DST being a directory. - -Wed May 14 15:22:17 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * open.c (ftp_conn_login): Correct defaulting of username. - -Tue May 13 16:37:18 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * unix.c (ftp_conn_unix_cont_get_stats): Clean up our ftp transfer - when we're done. - -Mon May 12 10:57:54 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * unix.c (ftp_conn_unix_cont_get_stats): Only abort when - necessary. - (ftp_conn_unix_start_get_stats): Allocate enough memory for REQ. - - * cmd.c (ftp_conn_abort): Use ftp_conn_get_raw_reply instead of - ftp_conn_get_reply. Accept REPLY_ABORT_OK as a final reply. - * reply.c (ftp_conn_get_raw_reply): Renamed from ftp_conn_get_reply. - (ftp_conn_get_reply): New function. - * ftpconn.h (ftp_conn_get_raw_reply): New declaration. - -Fri May 9 17:55:25 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * priv.h (REPLY_ABORT_OK): New macro. - - * ftpdir.c (ftpdir2): Deal with new semantics of CONTENTS argument - to ftp_conn_get_stats. - * unix.c (struct get_stats_state): Add ADDED_SLASH field. - (ftp_conn_unix_start_get_stats): Don't use asprintf. - Set ADDED_SLASH field. - (ftp_conn_unix_cont_get_stats): Remove any initial `./' we added. - Abort CONN if we return an error. - -Thu May 8 14:22:08 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * open.c (ftp_conn_open): Cast 2nd arg in connect call to `struct - sockaddr *'. - * cmd.c: Include <string.h>. - - * stats.c (ftp_conn_start_get_stats, ftp_conn_get_stats): - Rename FORCE_DIR argument to CONTENTS. - * ftpconn.h (ftp_conn_get_stats, ftp_conn_start_get_stats, - ftp_conn_unix_start_get_stats): Rename FORCE_DIR argument to CONTENTS. - (struct ftp_conn_syshooks): Rename FORCE_DIR argument of - START_GET_STATS field type to CONTENTS. - * unix.c (struct get_stats_state): Add CONTENTS field. - (ftp_conn_unix_start_get_stats): Initialize it. - Change FORCE_DIR argument to CONTENTS. - Pass -A flag. - Prepend ./ to NAME if it doesn't contain a slash. - Reject names containg possible meta-characters. - - * unix.c: Only include <hurd/hurd_types.h> if - HAVE_HURD_HURD_TYPES_H is defined. - (parse_dir_entry): Only set stat->st_fstype if FSTYPE_FTP is defined. - Only set stat->st_author if HAVE_STAT_ST_AUTHOR is defined. - * Makefile (CPPFLAGS): Add -DHAVE_HURD_HURD_TYPES_H. - -Wed May 7 12:35:21 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (SRCS): ftpconn.c replaced by resulting split files. - * errs.c: New file. - * ftpconn.c (ftp_conn_poss_file_errs): Moved to errs.c. - * open.c: New file. - * ftpconn.c (ftp_conn_login, ftp_conn_hello, ftp_conn_set_syshooks, - ftp_conn_choose_syshooks, ftp_conn_sysify, ftp_conn_open, - ftp_conn_close): Functions moved to open.c. - * ftpconn.c (ftp_conn_poss_file_errs): Renamed from - poss_file_errs; all references changed. - Made not static. - * xfer.c: New file. - * ftpconn.c (ftp_conn_finish_transfer, ftp_conn_start_transfer, - ftp_conn_open_data, ftp_conn_start_retrieve, ftp_conn_start_list, - ftp_conn_start_dir, ftp_conn_start_store): Functions moved to xfer.c. - * addr.c: New file. - * ftpconn.c p(ftp_conn_get_pasv_addr, ftp_conn_send_actv_addr): - Functions moved to addr.c. - * create.c: New file. - * ftpconn.c (ftp_conn_create, ftp_conn_free): Functions moved to create.c. - * priv.h: New file. - * xinl.c: New file. - * ftpconn.c (unexpected_reply): Function moved to priv.h. - (REPLY_*): Macros moved to priv.h. - * rmt.c: New file. - * ftpconn.c (ftp_conn_rmt_copy, ftp_conn_rmt_transfer): Functions - moved to rmt.c. - * cwd.c: New file. - * ftpconn.c (ftp_conn_cdup, ftp_conn_cwd, ftp_conn_get_cwd, - _cache_cwd): Functions moved to cwd.c. - * set-type.c: New file. - * ftpconn.c (ftp_conn_set_type): Function moved to set-type.c. - * stats.c: New file. - * ftpconn.c (ftp_conn_start_get_stats, ftp_conn_cont_get_stats, - ftp_conn_get_stats): Functions moved to stats.c. - - * names.c: New file. - * ftpconn.h (ftp_conn_add_name_fun_t): New type. - (ftp_conn_start_get_names, ftp_conn_cont_get_names, - ftp_conn_get_names): New functions. - - * unix.c (struct get_stats_state): Add NAME_LEN & NAME_ALLOCED fields. - (ftp_conn_unix_cont_get_stats): Retain S's name buffer between - entries, only growing it when needed; leave any copying to the client. - * ftpconn.h (ftp_conn_add_stat_fun_t): Make first 3 params const. - Update comment to say they should be copied if retained. - - * Makefile (installhdrsubdir): New variable. diff --git a/libhurdbugaddr/ChangeLog b/libhurdbugaddr/ChangeLog deleted file mode 100644 index 32c47aec..00000000 --- a/libhurdbugaddr/ChangeLog +++ /dev/null @@ -1,21 +0,0 @@ -2003-09-29 Marcus Brinkmann <marcus@gnu.org> - - * bugaddr.c: Fix last change. - -2003-09-17 Alfred M. Szmidt <ams@kemisten.nu> - - * bugaddr.c: Update to "<bug-hurd@gnu.org>". - -Sun Jul 5 21:23:58 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * bugaddr.c: Update to bug-hurd@gnu.org. Reported by Joel - N. Weber II (devnull@gnu.org). - -Tue Sep 3 14:48:26 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * bugaddr.c: Specify correct bug-reporting address. - -Sun Sep 1 21:42:11 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile, bugaddr.c: New files. - diff --git a/libihash/ChangeLog b/libihash/ChangeLog deleted file mode 100644 index 22e40def..00000000 --- a/libihash/ChangeLog +++ /dev/null @@ -1,82 +0,0 @@ -2006-07-11 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * ihash.c (add_one): Cast VALUE with (hurd_ihash_locp_t *) instead of - (hurd_ihash_locp_t). - -2004-04-21 Marcus Brinkmann <marcus@gnu.org> - - * ihash.h (HURD_IHASH_ITERATE): Don't use increment operator in - assignment, but just add one. Reported by Ognyan Kulev. - -2004-04-01 Marco Gerards <metgerards@student.han.nl> - - * ihash.c (hurd_ihash_remove): Don't look for the index when the - hashtable is empty. - - * ihash.h (HURD_IHASH_ITERATE): Doc fix. - -2004-03-07 Marcus Brinkmann <marcus@gnu.org> - - * ihash.h (HURD_IHASH_NO_LOCP): Change to INTPTR_MIN. - (struct hurd_ihash): Change type of locp_offset from off_t to - intptr_t. - (hurd_ihash_init): Likewise in prototype. - (hurd_ihash_create): Likewise in prototype. - * ihash.c (hurd_ihash_init): Likewise in definition. - (hurd_ihash_create): Likewise in definition. - -2003-08-17 Marcus Brinkmann <marcus@gnu.org> - - * ihash.c: Rewritten. - * ihash.h: Rewritten. - * Makefile (SRCS): Remove sizes.c. - (LCLHDRS): Remove priv.h. - * primes.c, sizes.c, priv.h: Files removed. - -2001-08-15 Roland McGrath <roland@frob.com> - - * sizes.c: New file, a list of prime numbers useful for table sizes. - * priv.h (_ihash_sizes, _ihash_nsizes): Declare. - (_ihash_nextprime): Don't. - * ihash.c (ihash_add): Select sizes from the _ihash_sizes array - instead of using _ihash_nextprime. - * Makefile: Clean up whitespace, reorder all the variable definitions. - (SRCS): Remove primes.c, add sizes.c instead. - (OBJS): Define dynamically. - -1999-03-07 Roland McGrath <roland@baalperazim.frob.com> - - * primes.c: Fix last change. - -Fri Mar 5 17:13:04 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * primes.c (_ihash_nextprime): Use a dynamically-sized array for - `seive' instead of alloca, so that if we are looping we won't - allocate more stack than necessary. Suggested by wesommer@mit.edu - (Bill Sommerfeld). - -1997-06-20 Miles Bader <miles@gnu.ai.mit.edu> - - * ihash.c (ihash_create): Initialize CLEANUP & CLEANUP_ARG fields. - -Thu Apr 11 15:26:18 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ihash.c: Include "priv.h". - * primes.c: Likewise. - * priv.h: New file. - * Makefile (LCLHDRS): Add priv.h. - * primes.c (_ihash_nextprime): Renamed from nextprime.c. All - callers changed. - -Thu Mar 7 15:01:46 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * primes.c: Include <spin_lock.h>. - (table_lock): New variable. - (nextprime): Lock table_lock around operation of routine. - -Sun Aug 6 15:23:13 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ihash.c (ihash_locp_remove): Get rid of the optimization to use - HASH_EMPTY instead of HASH_DEL when the next position on the chain - is empty -- different hash chains may share this cell, and have - different next positions. diff --git a/libiohelp/ChangeLog b/libiohelp/ChangeLog deleted file mode 100644 index 1f7152e9..00000000 --- a/libiohelp/ChangeLog +++ /dev/null @@ -1,150 +0,0 @@ -2008-12-08 Thomas Schwinge <tschwinge@gnu.org> - - * Makefile (HURDLIBS): Add shouldbeinlibc. - -2002-11-01 Roland McGrath <roland@frob.com> - - * shared.c (iohelp_fetch_shared_data, iohelp_put_shared_data): Put - __attribute__((weak)) directly in the defns. - -2002-05-11 Marcus Brinkmann <marcus@gnu.org> - - * handle_io_release_conch.c (iohelp_handle_io_release_conch): - New variable USER_SH. Hold USER_SH->lock while checking conch - status. - -2002-05-07 Roland McGrath <roland@frob.com> - - * iouser-reauth.c (iohelp_reauth): u_int -> size_t - -2002-05-04 Roland McGrath <roland@frob.com> - - * iouser-create.c (iohelp_create_complex_iouser): Add const to args. - * iohelp.h: Update decl. - - * iouser-restrict.c: New file. - * Makefile (SRCS): Add it. - * iohelp.h: Declare iohelp_restrict_iouser. - -2001-04-21 Neal H Walfield <neal@cs.uml.edu> - - * iohelp.h (iohelp_create_iouser): Change declaration - such that as error_t is now returned and the iouser is - a parameter. - (iohelp_create_empty_iouser): New funtion. - (iohelp_create_simple_iouser): New function. - (iohelp_create_complex_iouser): New funtion. - * iouser-create.c (iohelp_create_iouser): Implement new - semantics. - (iohelp_create_empty_iouser): Implement new function. - (iohelp_create_simple_iouser): Implement new function. - (iohelp_create_complex_iouser): Implement new function. - * iouser-dup.c (iohelp_dup_iouser): Implement new semantics. - * iouser-reauth.c (iohelp_reauth): Implement new semantics. - -1999-07-11 Thomas Bushnell, BSG <tb@mit.edu> - - * return-buffer.c: Include <sys/mman.h>. - - * iouser-reauth.c (iohelp_reauth): Cast first arg to munmap - correctly. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * iouser-reauth.c: Add #include <sys/mman.h> for munmap decl. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * return-buffer.c (iohelp_return_malloced_buffer): Use mmap - instead of vm_allocate. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * iouser-reauth.c (iohelp_reauth): Use munmap instead of - vm_deallocate. - -1998-08-21 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (SRCS): Add return-buffer.c. - -1998-08-20 Roland McGrath <roland@baalperazim.frob.com> - - * return-buffer.c (iohelp_return_malloced_buffer): Moved here from - ../libfshelp/return-buffer.c and renamed from fshelp to iohelp. - * iohelp.h (iohelp_return_malloced_buffer): Declare it. - -Mon Nov 18 16:37:59 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * iouser-reauth.c: Include <hurd/auth.h>. - -Sat Nov 16 17:54:50 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (SRCS): Add shared.c. - * shared.c: New file. - -Fri Nov 15 13:39:46 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * iouser-create.c (iohelp_create_iouser): Set NEW->hook to zero. - * iouser-dup.c (iohelp_dup_iouser): Likewise. - -Tue Nov 12 21:51:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * iohelp.h: Include <idvec.h>. - -Wed Nov 6 19:26:14 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (SRCS): Add iouser-create.c, iouser-dup.c - iouser-reauth.c, and iouser-free.c. - (OBJS): Compute automatically. - - * iohelp.h (iohelp_create_user): New function. - * iouser-create.c: New file. - -Tue Nov 5 21:51:24 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * iohelp.h (struct iouser): New type. - (iohelp_dup_iouser, iohelp_free_iouser, iohelp_reauth): New - functions. - * iouser-dup.c, iouser-reauth.c, iouser-free.c: New files. - -Thu Sep 12 16:18:46 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (libfshelp.so): Delete special dependency. - -Thu May 9 12:42:51 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile: All occurrences of `ioserver' replaced with `iohelp'. - -Mon May 6 16:27:20 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * iohelp.h: Renamed from `ioserver.h'. All local includes - updated. - * get_conch.c: All occurrences of `ioserver' replaced with - `iohelp'. - * handle_io_get_conch.c: Likewise. - * handle_io_release_conch.c: Likewise. - * initialize_conch.c: Likewise. - * verify_user_conch.c: Likewise. - * iohelp.h: Likewise. - -Mon Oct 9 14:57:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile: Specify shared library dependencies. - -Thu Jul 6 15:35:56 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile: Removed dependencies that are now automatically - generated. - -Fri Jul 22 11:43:56 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile: Converted to new scheme. - -Tue Jul 5 14:13:09 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (TAGSHDRS): New variable. - -Thu May 5 07:48:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile: Change uses of $(headers) to $(includedir). diff --git a/libnetfs/ChangeLog b/libnetfs/ChangeLog deleted file mode 100644 index 122f1402..00000000 --- a/libnetfs/ChangeLog +++ /dev/null @@ -1,761 +0,0 @@ -2008-12-08 Thomas Schwinge <tschwinge@gnu.org> - - * Makefile (HURDLIBS): New variable. - -2008-07-19 Flávio Cruz <flaviocruz@gmail.com> - - * file-get-translator.c (netfs_S_file_get_translator): Call major() - and minor() macros. - -2006-06-15 Thomas Schwinge <tschwinge@gnu.org> - - * io-seek.c (netfs_S_io_seek): Return EINVAL if file pointer would - become negative. - -2004-09-12 Marco Gerards <metgerards@student.han.nl> - - * 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 <roland@frob.com> - - * misc.h (OPENONLY_STATE_MODES): Remove O_NONBLOCK. - -2004-02-10 Roland McGrath <roland@frob.com> - - * runtime-argp.c (netfs_runtime_argp): Include <argp.h>. - -2002-06-13 Roland McGrath <roland@frob.com> - - * dir-readdir.c (netfs_S_dir_readdir): Revert last change. - -2002-06-08 Roland McGrath <roland@frob.com> - - * io-identity.c (netfs_S_io_identity): Use ino_t for FILENO. - - * dir-readdir.c (netfs_S_dir_readdir): Use vm_size_t for AMT. - -2002-06-07 Roland McGrath <roland@frob.com> - - * 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-23 Marcus Brinkmann <marcus@gnu.org> - - * 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 <roland@frob.com> - - * 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-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. - -2002-05-11 Roland McGrath <roland@frob.com> - - * trans-callback.c (_netfs_translator_callback1_fn): Add an assert - that netfs_get_translator not fail with EOPNOTSUPP. - -2002-05-07 Roland McGrath <roland@frob.com> - - * fsys-getroot.c (netfs_S_fsys_getroot): Fix arg type in decl. - * append-std-options.c (netfs_append_std_options): Likewise. - - * 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-04 Roland McGrath <roland@frob.com> - - * io-restrict-auth.c (netfs_S_io_restrict_auth): Use - iohelp_restrict_iouser. - -2002-03-9 James A. Morrison <ja2morri@uwaterloo.ca> - - * init-startup (netfs_startup): Use err, not errno. - -2001-12-22 Roland McGrath <roland@frob.com> - - * 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> - - * 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-06-21 Neal H Walfield <neal@cs.uml.edu> - - * 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-04-01 Neal H Walfield <neal@cs.uml.edu> - - * 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-15 Neal H Walfield <neal@cs.uml.edu> - - * 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 <roland@frob.com> - - * Makefile (FSYSSRCS): Add fsys-goaway.c. - * fsys-goaway.c: Don't include "priv.h" here. - -2001-03-31 Neal H Walfield <neal@cs.uml.edu> - - * fsysstubs.c (netfs_S_fsys_goaway): Moved to ... - * fsys-goaway.c: New file. Actually implement it. - * shutdown.c (netfs_shutdown): Likewise. - * 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-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> - - * 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> - - * netfs.h: Fix comment for netfs_nref (finally). - -2001-01-14 Neal H Walfield <neal@cs.uml.edu> - - * netfs.h: Documentation fixes. - -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> - - * netfs.h: Merge Neals words into documentation of netfs_nput, - netfs_nrele, netfs_nref. - -2000-12-30 Marcus Brinkmann <marcus@gnu.org> - - * netfs.h: 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. - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * file-exec.c (netfs_S_file_exec): Fix typo and braino in last change. - -2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> - - * file-exec.c (netfs_S_file_exec): Don't use MAKE_SEND in Hurd RPC. - * init-startup.c (netfs_startup): Likewise. - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * io-reauthenticate.c (netfs_S_io_reauthenticate): Use - ports_get_send_right. - - * dir-lookup.c (netfs_S_dir_lookup): Use ports_get_send_right. - Deallocate DIRPORT after fshelp_fetch_root. - -2000-01-25 Roland McGrath <roland@baalperazim.frob.com> - - * dir-lookup.c (netfs_S_dir_lookup): Follow symlink despite flags if - MUSTBEDIR is set (i.e. there was a trailing slash). - -1999-10-11 Roland McGrath <roland@baalperazim.frob.com> - - * dir-readdir.c (netfs_S_dir_readdir): Take new DATA_DEALLOC parameter. - -1999-09-13 Roland McGrath <roland@baalperazim.frob.com> - - * iostubs.c: Reverted changes related to io_map_segment. - -1999-09-09 Thomas Bushnell, BSG <tb@mit.edu> - - * 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> - - * iostubs.c (netfs_S_io_map_segment): New function. - -1999-07-11 Roland McGrath <roland@baalperazim.frob.com> - - * file-get-storage-info.c: Add #include <sys/mman.h>. - * file-get-translator.c: Likewise. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * io-read.c: Add #include <sys/mman.h> for munmap decl. - * release-protid.c: Likewise. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * file-get-storage-info.c (netfs_S_file_get_storage_info): Use - mmap instead of vm_allocate. - * file-get-translator.c (netfs_S_file_get_translator): Likewise. - * io-read.c (netfs_S_io_read): Likewise. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * io-read.c (netfs_S_io_read): Use munmap instead of - vm_deallocate. - * release-protid.c (netfs_release_protid): Likewise. - -1999-07-01 Thomas Bushnell, BSG <tb@mit.edu> - - * nref.c: New file; guts from netfs.h. - * nrele.c: Likewise. - * nput.c: Likewise. - * netfs.h (netfs_nref, netfs_nrele, netfs_nput): Replace inline - definitions with normal declarations. - (NETFS_EI): Remove macro. - * netfs.c: Deleted file. - * Makefile (OTHERSRCS): Add nref.c, nrele.c, nput.c. Remove - netfs.c. - -Thu Mar 4 07:18:21 1999 Joel N. Weber II <devnull@theobromine.ai.mit.edu> - - * dir-lookup.c (netfs_S_dir_lookup): Only set newnode to 1 if the - lookup does not need to be retried as a result of getting EEXIST. - -1999-02-28 Roland McGrath <roland@baalperazim.frob.com> - - * io-revoke.c (netfs_S_io_revoke): Use ports_class_iterate. - -Mon Feb 22 04:30:18 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * io-revoke.c (netfs_S_io_revoke): Protect the revocation by - blocking other rpcs. - -Sat Feb 20 20:54:26 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * io-revoke.c (netfs_S_io_revoke): Release lock before iteration. - -1999-02-16 Roland McGrath <roland@baalperazim.frob.com> - - * io-revoke.c (netfs_S_io_revoke): Fix typos. - -Tue Feb 16 05:37:03 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * io-revoke.c: New file. - * Makefile (IOSRCS): Add iorevoke.c. - -Sun Jan 31 18:27:42 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * file-utimes.c (netfs_S_file_utimes): Understand new semantics - for setting to current time. - * netfs.h (netfs_attempt_utimes): Update documentation. - -1999-01-22 Roland McGrath <roland@baalperazim.frob.com> - - * file-set-translator.c: Remove makedev, major, minor macro definition. - * dir-lookup.c: Likewise. - -1998-08-20 Roland McGrath <roland@baalperazim.frob.com> - - * file-get-fs-options.c (netfs_S_file_get_fs_options): - fshelp_return_malloced_buffer renamed to iohelp_*. - * fsys-get-options.c (netfs_S_fsys_get_options): Likewise. - -Tue Jul 14 16:30:48 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * dir-lookup.c (netfs_S_dir_lookup): Don't require the node to be - a directory in the null pathname case. - -1997-09-09 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-lookup.c (netfs_S_dir_lookup): Fix type signature of - short_circuited_callback1. - -1997-09-05 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-lookup.c (netfs_S_dir_lookup): Re-aquire the lock on DNP when - looping to follow a symlink. - -1997-08-29 Miles Bader <miles@gnu.ai.mit.edu> - - * file-reparent.c (netfs_S_file_reparent): Use a copy of - CRED->user when creating NEW_CRED. - -1997-08-28 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-lookup.c (netfs_S_dir_lookup): Don't lock DNP or assume it's - locked when it shouldn't be. - -Wed Aug 20 14:05:38 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * init-loop.c (netfs_server_loop): New args for - ports_manage_port_operations_multithread. - -Mon Jul 7 16:25:49 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * file-exec.c: Include <fcntl.h> instead of <fcntlbits.h>. - Suggested by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu). - -1997-06-11 Miles Bader <miles@gnu.ai.mit.edu> - - * trans-callback.c, set-get-trans.c: New files. - * Makefile (OTHERSRCS): Add trans-callback.c & set-get-trans.c. - -1997-06-09 Miles Bader <miles@gnu.ai.mit.edu> - - * netfs.h (struct node): Remove istranslated field. - (netfs_get_translator): New declaration. - - * dir-lookup.c (netfs_S_dir_lookup): Use S_IPTRANS bit in nn_stat - st_mode field rather than istranslated field. - * fsys-getroot.c (netfs_S_fsys_getroot): Likewise. - * file-set-translator.c (netfs_S_file_set_translator): Likewise. - * io-stat.c (netfs_S_io_stat): Set S_IATRANS & S_IROOT bits in - st_mode field of returned buffer if appropriate. - - * init-startup.c (netfs_startup): Supply program name with error - messages. - -Tue May 27 11:55:17 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * file-chmod.c (netfs_S_file_chmod): Turn off any read-only bits. - -Fri Feb 28 21:14:20 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * file-reparent.c (netfs_S_file_reparent): Implement. - -Sun Feb 23 16:27:34 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-mkfile.c (netfs_S_dir_mkfile): Pass context arg to - netfs_make_peropen instead of parent node. - * file-exec.c (netfs_S_file_exec): Likewise. - * dir-lookup.c (netfs_S_dir_lookup): Implement shadow root - .. traversal. - Use context po argument to netfs_make_peropen & as cookie to - fshelp_fetch_root, instead of parent node. - * fsys-getroot.c (netfs_S_fsys_getroot): Add PEROPEN_CONTEXT - variable, and pass it to netfs_make_peropen & fshelp_fetch_root. - * netfs.h (struct peropen): Add shadow_root_parent & shadow_root - fields. - Removed depth field. Rename dotdotnode field to root_parent. - (netfs_make_peropen): Add and use CONTEXT parameter. - * make-peropen.c (netfs_make_peropen): Add and use CONTEXT parameter. - * release-peropen.c (netfs_release_peropen): Finalize new state. - -Wed Feb 19 23:58:40 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * io-read.c (netfs_S_io_read): Support reading from symlinks. - -Fri Feb 14 12:34:11 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * file-reparent.c (diskfs_S_file_reparent): New function, from - dir-reparent.c. - * dir-reparent.c: File removed. - * Makefile (FSSRCS): dir-reparent.c replaced by file-reparent.c. - -Mon Jan 20 16:40:02 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-reparent.c (netfs_S_dir_reparent): New file. - * Makefile (FSSRCS): Add dir-reparent.c. - -Sat Nov 23 16:24:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * file-set-translator.c (netfs_S_file_set_translator): Delete var I. - -Wed Nov 20 17:13:13 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsys-syncfs.c (netfs_S_fsys_syncfs): Use iohelp_create_iouser, not - iohelp_make_iouser. - -Mon Nov 18 17:06:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * netfs.h (netfs_report_access): Return error_t. - * file-check-access.c (netfs_S_file_check_access): Deal with - errors from netfs_report_access. - -Sat Nov 16 17:17:50 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * io-restrict-auth.c (netfs_S_io_restrict_auth): Fix several typos. - - * fsys-getroot.c (netfs_S_fsys_getroot): iohelp_make_iouser -> - iohelp_create_iouser. New arg syntax for fshelp_fetch_root. - -Fri Nov 15 13:39:03 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * netfs.h (struct protid): Replace member `credential' with `user' - of new type. All uses of old `credential' member changed to - use `user' member. - Change all functions that used to take `struct netcred' args to - take `struct iouser' args. All callers changed. - (netfs_copy_credential, netfs_dropy_credential, - netfs_make_credential): Delete functions. - * dir-lookup.c (netfs_S_dir_lookup): netfs_copy_credential -> - iohelp_dup_iouser. - * dir-mkfile.c (netfs_S_dir_mkfile): Likewise. - * file-exec.c (netfs_S_file_exec): Likewise. - * io-duplicate.c (netfs_S_io_duplicate): Likewise. - * release-protid.c (netfs_release_protid): netfs_drop_credential - -> iohelp_free_iouser. - * dir-lookup.c (netfs_S_dir_lookup): Omit uses of - netfs_interpret_credential; do it with new structures. - * file-exec.c (netfs_S_file_exec): Likewise. - * file-getcontrol.c (netfs_S_file_getcontrol): Likewise. - * file-set-translator.c (netfs_S_file_set_translator): Likewise; - using fshelp_isowner for permission check. - * io-restrict-auth.c (netfs_S_io_restrict_auth): Likewise; guts - rewritten. - * dir-lookup.c (netfs_S_dir_lookup): netfs_make_credential -> - iohelp_make_iouser. - * fsys-getroot.c (netfs_S_fsys_getroot): Likewise. - * fsys-syncfs.c (netfs_S_fsys_syncfs): Likewise. - * io-reauthenticate.c (netfs_S_io_reauthenticate): Use - iohelp_reauth instead of doing it by hand. - -Mon Oct 21 21:56:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * netfs.h: Add extern inline protection. - * netfs.c: New file. - * Makefile (OTHERSRCS): Add netfs.c. - -Wed Sep 18 12:56:05 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * std-runtime-argp.c <argp.h>: New include. - * std-startup-argp.c <argp.h>: New include. - * fsys-get-options.c (netfs_S_fsys_get_options): Initialize ARGZ - with the program name, and call netfs_append_args instead of - netfs_get_options. - * file-get-fs-options.c (netfs_S_file_get_fs_options): Likewise. - * append-std-options.c (netfs_append_std_options): Doc fix. - * netfs.h (netfs_append_args): New declaration. - (netfs_get_options): Declaration removed. - <argp.h>: Include removed. - * append-args.c (netfs_append_args): New file. - * Makefile (OTHERSRCS): Replace get-options.c with append-args.c - - * file-get-translator.c <stdio.h>: New include. - -Fri Aug 16 19:20:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * priv.h (end_using_protid_port): Only call ports_port_deref if - CRED is set. - -Fri Jul 26 14:34:11 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * file-exec.c (netfs_S_file_exec): Unlock NP before we attempt to - do setuid/setgid (which otherwise can deadlock during port reauth). - Pay attention to the error code returned by fshelp_exec_reauth, - and don't make NEWPI if it's an error. - -Tue Jul 23 14:28:33 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * file-utimes.c (netfs_S_file_utimes): `struct timespec' now uses - a field prefix of `tv_'. - -Thu Jul 18 23:09:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-reauthenticate.c (netfs_S_io_reauthenticate): After attaching - credential to NEWPI, install it in NETFS_PORT_BUCKET->portset. - * make-protid.c (netfs_make_protid): If CRED is null, use - noinstall version of ports_create_port. - -Sat Jul 13 20:10:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-reauthenticate.c (netfs_S_io_reauthenticate): Repeat - auth_server_authenticate for as long as we get EINTR. Tolerate - other errors without crashing as well. - -Sun Jul 7 21:28:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-reauthenticate.c (netfs_S_io_reauthenticate): Don't use - unsafe MOVE_SEND in call to auth_server_authenticate. - -Thu Jul 4 16:56:53 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-write.c (netfs_S_io_write): Bother implementing O_APPEND. - - * io-identity.c (netfs_S_io_identity): Don't take address of ID in - call to fshelp_get_identity. - -Wed Jul 3 11:54:46 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * dir-mkfile.c (netfs_S_dir_mkfile): Return right with MAKE_SEND, - not COPY_SEND. - - * io-identity.c (netfs_S_io_identity): Use fshelp_get_identity - instead of creating port ourselves. - * netfs.h (struct node): Delete member identity. - * make-node.c (netfs_make_node): Don't initialize NP->identity. - * drop-node.c (netfs_drop_node): Don't deallocate NP->identity. - -Thu Jun 27 17:57:30 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (LCLHDRS): Add execserver.h. - -Thu Jun 27 00:24:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * append-std-options.c: New file. - * Makefile (OTHERSRCS): Add append-std-options.c. - -Wed Jun 26 15:57:13 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * netfs.h: Change options parsing interface to match libdiskfs's: - (netfs_set_options, netfs_get_options): Updated to inew interface. - (netfs_runtime_argp, netfs_std_runtime_argp, netfs_std_startup_arg): - New variables. - (netfs_append_std_options): New declaration. - (netfs_parse_runtime_options, netfs_unparse_runtime_options): - Functions removed. - * set-options.c (std_runtime_options): Variable removed. - (parse_runtime_opt): Function removed. - (netfs_set_options): Change to use fshelp_set_options. - * fsys-set-options.c (netfs_S_fsys_set_options): Don't convert - options string into argv vector. - * fsys-get-options.c (netfs_S_fsys_get_options): Use - fshelp_return_malloced_buffer to prepare return value. - * file-get-fs-options.c (netfs_S_file_get_fs_options): Likewise. - * get-options.c (netfs_get_options): Call netfs_append_std_options. - * std-startup-argp.c, std-runtime-argp.c, runtime-argp.c: New files. - * parse-runtime-options.c, unparse-runtime-options.c: Files removed. - * Makefile (OTHERSRCS): Add runtime-argp.c, std-runtime-argp.c, - & std-startup-argp.c. Remove parse-runtime-options.c & - unparse-runtime-options.c. - -Tue May 14 14:05:33 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * init-init.c (netfs_fsys_identity): New variable. - (netfs_init): Initialize netfs_fsys_identity. - * drop-node.c (netfs_drop_node): Destroy NP->identity if it's set. - * make-node.c (netfs_make_node): Initialize NP->identity. - * netfs.h (struct node): New member `identity'. - (netfs_fsys_identity): New variable. - * Makefile (IOSRCS): Add io-identity.c. - * io-identity.c: New file. - -Sat May 11 01:24:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * startup-argp.c (parse_startup_opt): Use ARGP_ERR_UNKNOWN instead - of EINVAL. - -Thu May 9 18:54:11 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * file-get-storage-info.c (netfs_S_file_get_storage_info): fixup - -Thu May 9 18:15:40 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * file-get-storage-info.c (netfs_S_file_get_storage_info): Change - to new interface. - -Thu May 9 11:53:49 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * make-protid.c (netfs_make_protid): Use new ports interface; if - it fails return zero. - - * io-select.c (netfs_S_io_select): No longer has TAG arg. - - * io-reauthenticate.c (netfs_S_io_reauthenticate): Don't pass - right for USER to auth_server_authenticate. - - * file-sync.c (netfs_S_file_sync): Accept and ignore new omitmeta - arg. - - * dir-rename.c (netfs_S_dir_rename): Accept and pass through excl - flag. - * dir-link.c (netfs_S_dir_link): Likewise. - * netfs.h (netfs_attempt_link): Add excl parm. - (netfs_attempt_rename): Likewise. - - * netfs.h (netfs_attempt_statfs): Use struct statfs, not old - deprecated structure. - * file-statfs.c (netfs_S_file_statfs): Use new struct statfs. - - * netfs.h: ioserver.h -> iohelp.h. - -Mon Apr 29 16:27:37 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * file-getcontrol.c (netfs_S_file_getcontrol): Use correct args to - ports_create_port. - -Sat Apr 27 06:02:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * file-getcontrol.c: Use ports_create_port instead of - ports_allocate_port, and notice the error. - -Wed Apr 24 16:02:51 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-seek.c (netfs_S_io_seek): Bother to set *NEWOFFSET. - -Fri Apr 12 16:21:53 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * file-exec.c (netfs_S_file_exec): Copy credential using - netfs_copy_credential before handing it off to netfs_make_protid. - - * dir-lookup.c (netfs_S_dir_lookup): netfs_make_protid's second - arg must be a real credential; the unauthenticated port creation - frob now makes a genuine (but empty) credential. - -Thu Apr 11 18:10:29 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (fsys-MIGSFLAGS, fs-MIGSFLAGS, io-MIGSFLAGS, - ifsock-MIGSFLAGS): Find mutations.h in $(srcdir). - -Wed Apr 3 14:47:37 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-reauthenticate.c (netfs_S_io_reauthenticate): In check for - deallocation of aux_gids; check against AGBUF, not AUBUF. - -Tue Apr 2 09:14:30 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-write.c: Include <fcntl.h>. - (netfs_S_io_write): Verify that the user has the file open for - writing. - * io-read.c: Include <fcntl.h>. - (netfs_S_io_read): Verify that the user has the file open for - reading. - -Mon Apr 1 16:02:29 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * fsstubs.c (netfs_S_file_exec): Remove stub. - * Makefile (FSSRCS): Add file-exec.c. - * execserver.h: New file. - * file-exec.c: New file. - -Mon Apr 1 14:21:12 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * parse-runtime-options.c (netfs_parse_runtime_options): Pass new - arg to arg_parse. - -Tue Mar 19 14:12:32 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (LCLHDRS): Add callbacks.h misc.h modes.h mutations.h - priv.h. - -Mon Mar 18 11:09:05 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * netfs.h (netfs_startup): Add declaration. - - * netfs.h (netfs_protid_class, netfs_control_class, - netfs_port_bucket, netfs_root_node, netfs_auth_server_port): Make - this extern. - - * fsys-getroot.c: Include "callbacks.h". - - * file-set-translator.c (makedev): New macro. - -Thu Mar 14 16:47:14 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * netfs.h (netfs_attempt_mkdev): Don't pass dev_t in pieces. - * file-set-translator.c (netfs_S_file_set_translator): In call to - netfs_attempt_mkdev don't pass MAJOR and MINOR in pieces. - -Tue Mar 12 14:57:26 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * fsys-getroot.c (netfs_S_fsys_getroot): Add translator linkage - code. - * dir-lookup.c (netfs_S_dir_lookup): Fix up and enable translator - linkage code. - - * netfs.h (netfs_attempt_chmod): Doc fix. - (netfs_attempt_mksymlink, netfs_attempt_mkdev, - netfs_set_translator): New declarations. - * file-set-translator.c: New file. - * fsstubs.c (netfs_S_file_set_translator): Delete function. - * Makefile (FSSRCS): Add file-set-translator.c. - -Mon Mar 11 16:44:08 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * fsstubs.c (netfs_S_file_get_translator): Remove function. - * file-get-translator.c: New file. - * Makefile (FSSRCS): Add file-get-translator.c. - -Mon Mar 4 13:36:36 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsys-set-options.c, fsys-get-options.c, file-get-fs-options.c: - New files. - * netfs.h (netfs_startup_argp, netfs_get_options, - netfs_set_options, netfs_parse_runtime_options, - netfs_unparse_runtime_options): New declarations. - * Makefile (OTHERSRCS): Add startup-argp.c, set-options.c, - get-options.c, parse-runtime-options.c, & unparse-runtime-options.c. - (FSYSSRCS): Add fsys-set-options.c & fsys-get-options.c. - (FSSRCS): Add file-get-fs-options.c. - * unparse-runtime-options.c (netfs_unparse_runtime_options): Add - comment, and remove bogus semi. - * fsysstubs.c (netfs_S_fsys_set_options, netfs_S_fsys_get_options): - Functions removed. - * fsstubs.c (netfs_S_file_get_fs_options): Function removed. - * parse-runtime-options.c: Include "netfs.h", not "priv.h". - * set-options.c: Likewise. - (parse_runtime_opt): New function. - * priv.h: Include <hurd/hurd_types.h> - -Tue Apr 11 11:15:30 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile: New file. diff --git a/libpager/ChangeLog b/libpager/ChangeLog deleted file mode 100644 index 313afa24..00000000 --- a/libpager/ChangeLog +++ /dev/null @@ -1,501 +0,0 @@ -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * demuxer.c (pager_demuxer): Lookup INP->msgh_local_port, rather - than the remote port, as the kernel swaps them in transit. - -2002-05-07 Roland McGrath <roland@frob.com> - - * data-request.c (_pager_seqnos_memory_object_data_request): Use %z - format modifier for vm_size_t argument. - * data-return.c (_pager_do_write_request): Likewise. - * data-unlock.c (_pager_seqnos_memory_object_data_unlock): Likewise. - -2002-04-10 Neal H Walfield <neal@cs.uml.edu> - - * pager-memcpy.c (pager_memcpy): Pass not the block but the byte - offset of the page in question to pager_get_error. - -2002-04-10 Neal H Walfield <neal@cs.uml.edu> - - * pager-memcpy.c (VMCOPY_BETTER_THAN_MEMCPY): New macro. - (pager_memcpy): Rewritten to use vmcopy. - -2002-04-01 Neal H Walfield <neal@cs.uml.edu> - - * data-request.c (_pager_seqnos_memory_object_data_request): Must - hold P->interlock when calling _pager_allow_termination. - -2002-01-19 Roland McGrath <roland@frob.com> - - * demuxer.c (pager_demuxer): Fix last change so it works. Add comment. - -2002-01-16 Marcus Brinkmann <marcus@gnu.org> - - * demuxer.c (pager_demuxer): If the message was not accepted by - one of the servers, acquire a reference to the pager and its lock, - and wait until all previous messages have been processed. This - makes sure that the next message that arrives can proceed. - Reported by Neal H Walfield <neal@cs.uml.edu> - -2001-12-29 Roland McGrath <roland@frob.com> - - * data-init.c, object-create.c: Removed obsolete files. - -2001-02-25 Roland McGrath <roland@frob.com> - - * pager-memcpy.c: Include <string.h> for memcpy decl. - -2000-07-25 Thomas Bushnell, BSG <tb@mit.edu> - - * priv.h (PM_WRITEWAIT): New pagemap bit. - * data-return.c (_pager_do_write_request): Don't proceed with a - pageout if one is already in progress. Once we finish, wake up - any potential PM_WRITEWAIT waiters. - - * priv.h (PM_INIT): Provide value again. - * data-return.c (_pager_do_write_request): Track PM_INIT again. - - * priv.h (struct pager): Make pagemap consist of 16-bit elements - instead of only 8 bits. - * data-request.c (_pager_seqnos_memory_object_data_request): - Make PM_ENTRY a short pointer. - * data-return.c (_pager_do_write_request): Make PM_ENTRIES a short - pointer. - * lock-object.c (_pager_lock_object): Make PM_ENTRIES a short - pointer. - * mark-error.c (_pager_mark_next_request_error): Make P a short - pointer. - (_pager_mark_object_error): Likewise. - * offer-page.c (pager_offer_page): Make PM_ENTRY a short pointer. - * object-terminate.c (_pager_free_structure): Interpret - pagemapsize correctly. - * pagemap.c (_pager_pagemap_resize): Likewise. - -2000-01-24 Roland McGrath <roland@baalperazim.frob.com> - - * pager-memcpy.c (pager_memcpy): Short-circuit return for zero size. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * priv.h: Add #include <sys/mman.h> for munmap decl. - * pager-memcpy.c: Likewise. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * pagemap.c (_pager_pagemap_resize): Use mmap instead of vm_allocate. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * data-return.c (_pager_do_write_request): Use munmap instead of - vm_deallocate. - * object-terminate.c (_pager_free_structure): Likewise. - * pagemap.c (_pager_pagemap_resize): Likewise. - * pager-memcpy.c (pager_memcpy): Likewise. - - * pager.h (pager_write_page): Doc adjustment. - -Wed Aug 20 14:47:38 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * pager.h: Doc fix. - -Thu Feb 6 12:01:36 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * pagemap.c (_pager_pagemap_resize): Return errors. - * offer-page.c (pager_offer_page): Rewrite for clarity. - Deal with _pager_pagemap_resize failing. - * data-request.c (_pager_seqnos_memory_object_data_request): Deal - with _pager_pagemap_resize failing. - * lock-object.c (_pager_lock_object): Likewise. - * mark-error.c (pager_get_error): Likewise. - * priv.h (_pager_pagemap_resize): Returns an error_t. - -Mon Jan 20 16:25:39 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * pager-memcpy.c (pager_memcpy): `preempter' -> `preemptor'. - -Thu Sep 12 16:21:14 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (libpager.so): Delete special depedency. - -Tue Aug 13 10:47:47 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * object-terminate.c (_pager_free_structure): Don't bother calling - mach_port_deallocate if the cells are already null; set the cells - to null after the deallocation is done. - (_pager_seqnos_memory_object_terminate): Destroy the rights passed - in for control and name. - -Thu May 9 11:10:11 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pager-create.c: Get rid of link warning. - - * pager-create.c (pager_create): ports_allocate_port -> - ports_create_port; if we get an error return a null structure. - -Thu May 2 11:17:17 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * offer-page.c (pager_offer_page): Make sure we hold lock across - operation. Also set incore bit when operation is complete. - -Tue Apr 30 12:40:33 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * lock-object.c (_pager_lock_object): Eliminate spurious extra - lock acquisition around pagemap frobbing. - -Sun Apr 28 15:46:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * pager-create.c (pager_create): Add link warning. - -Thu Apr 18 13:03:55 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * data-return.c (_pager_do_write_request): If kernel didn't keep a - copy, turn off INCORE bit. Don't track INIT bit for now. - * lock-object.c (_pager_lock_object): If SYNC and SHOULD_FLUSH, - then turn off PM_INCORE bits when flush is complete. - * data-request.c (_pager_seqnos_memory_object_data_request): Set - PM_INCORE. - * priv.h (PM_INIT): Comment out. - (PM_INCORE): New bit. - * offer-page.c: New file. - * Makefile (SRCS): Add offer-page.c. - * pager.h (pager_offer_page): New function. - -Thu Apr 11 17:50:57 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pager-memcpy.c (pager_memcpy [copy]): Return error_t so that - this function has the proper type as an arg for - hurd_catch_signal. - (pager_memcpy): Cast FAULT to proper type in call to - hurd_catch_signal. - -Tue Mar 26 15:38:06 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * lock-completed.c: Include <stdio.h>. - - * data-return.c (_pager_do_write_request): Delete unused label - `out'. - - * pager-sync.c (pager_sync, pager_sync_some): Ask for RETURN_ALL - and not just RETURN_DIRTY, because we treat precious pages as - dirty in this library. - * pager-return.c (pager_return, pager_return_some): Likewise. - -Mon Mar 18 13:10:32 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pager.h (pager_return, pager_return_some): New declarations. - * Makefile (SRCS): Add pager-return.c. - * pager-return.c: New file. - - * pager-flush.c (pager_flush): Lock request should be - VM_PROT_NO_CHANGE, not VM_PROT_NONE. - (pager_flush_some): Likewise. - -Wed Mar 6 17:53:20 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * lock-object.c (_pager_lock_object): Correctly remove LR from - P's linked list of lock requests. - * pager-attr.c (pager_change_attributes): Likewise for attributes. - - * lock-object.c (_pager_lock_object): Don't barf anymore. - * lock-completed.c (_pager_seqnos_memory_object_lock_completed): Ditto. - * Makefile (SRCS): Remove barf.c. - -Wed Feb 21 14:15:26 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * lock-completed.c (_pager_seqnos_memory_object_lock_completed): - Get rid of bletcherous semi. - Make barf more voluminous. - - * lock-completed.c (_pager_seqnos_memory_object_lock_completed): - Be picky about always releasing SEQNO. - * object-init.c (_pager_seqnos_memory_object_init): Likewise. - -Tue Feb 20 17:44:59 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * lock-object.c (_pager_lock_object): Use barf instead of printf. - * lock-completed.c (_pager_seqnos_memory_object_lock_completed): Ditto. - * Makefile (SRCS): Add barf.c. - - * data-return.c (_pager_do_write_request): Always wait for and - release SEQNO if OBJECT is a valid pager. - * data-request.c (_pager_seqnos_memory_object_data_request): Likewise. - * object-terminate.c (_pager_seqnos_memory_object_terminate): Likewise. - -Tue Feb 20 16:05:42 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * lock-object.c (_pager_lock_object): Print debugging message when - SYNC. - * lock-completed.c (_pager_seqnos_memory_object_lock_completed): - Print a notice when an incoming lock completion corresponds to no - outstanding lock request. - -Tue Feb 20 15:10:29 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * lock-object.c (_pager_lock_object): Remove `sync = 0'. - -Fri Jan 5 17:09:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * pager-memcpy.c: New file. - * Makefile (SRCS): Add pager-memcpy.c. - -Thu Jan 4 15:37:21 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * pager.h: Declare pager_memcpy. - -Mon Oct 9 14:57:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * priv.h: Declare _pager_page_errors extern, not common. - - * Makefile: Specify shared library dependencies. - -Wed Sep 13 14:49:53 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * lock-completed.c (_pager_seqnos_memory_object_lock_completed): - Don't push the locks_pending field negative in the case where the - pager was terminated before we get called. - -Tue Sep 5 15:50:12 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * chg-compl.c (_pager_seqnos_memory_object_change_completed): - Don't push the attrs_pending field negative in the case where the - pager was terminated before we get called. - -Wed Aug 23 15:00:46 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (SRCS): Make this the main list of files, from which - the others are derived. - (COBJS, REMHDRS): Removed. - (OBJS): Derived mostly from $(SRCS). - -Fri Jul 21 16:43:19 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * object-create.c (_pager_seqnos_memory_object_create): Drop - initial reference created by ports_intern_external_reference when - we're done with P. - -Thu Jul 6 15:36:36 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile: Removed dependencies that are now automatically - generated. - -Mon Jun 26 20:15:03 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * get-upi.c: New file. - * pager.h (pager_get_upi): New function. - * Makefile (COBJS): Add get-upi.o. - -Thu Jun 22 11:43:15 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * object-init.c (_pager_seqnos_memory_object_init): Rather than an - empty `if' body and an unconditional return, how about a real - test? - - * notify-stubs.c: New file. - * Makefile (COBJS): Add notify-stubs.o. - -Tue Jun 20 12:44:22 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * chg-compl.c (_pager_seqnos_memory_object_change_completed): Use - new ports routines. - * pager-shutdown.c (pager_shutdown): Likewise. - * object-terminate.c (_pager_free_structure): Likewise. - * object-init.c (_pager_seqnos_memory_object_init): Likewise. - * lock-completed.c (_pager_seqnos_memory_object_lock_completed): - Likewise. - * data-unlock.c (_pager_seqnos_memory_object_data_unlock): Likewise. - * data-return.c (_pager_do_write_request): Likewise. - * data-request.c (_pager_seqnos_memory_object_data_request): - Likewise. - * pager-create.c (pager_create): New parm BUCKET. Allocate port - using new ports interface. Arrange to have _pager_class - initialized at startup. - * clean.c, dropweak.c: New files. - * no-senders.c: Rename pager_no_senders to - _pager_do_seqnos_mach_notify_no_senders. Lookup up port right - ourselves. Remove function pager_clean (now in clean.c). - * priv.h (_pager_class): New var. - (_pager_clean, _pager_real_dropweak): New decls. - * Makefile (COBJS): Delete reference.o. Add clean.o and dropweak.o - (OBJS): Add notifyServer.o. - (demuxer.o): Depend on notify_S.h. - * demuxer.c: Include "notify_S.h". - (pager_demuxer): Declare and use _pager_seqnos_notify_server. - * pager.h: Include <hurd/ports.h>. - (pager_no_senders, pager_reference, pager_unreference, - pager_port_type, pager_clean): Remove declarations. - (pager_create): New parm BUCKET. - (pager_clean): Doc fix. - (pager_dropweak): New decl. - * reference.c: Deleted file. - -Thu May 11 11:19:44 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * priv.h (PM_NEXTERROR, SET_PM_NEXTERROR): Mask 2-bit error code - with 0x3, not 0x2! - - * mark-error.c (_pager_mark_next_request_error, - _pager_mark_object_error): Put the error code in the correct place - in the pagemap rather than always at the beginning. - (pager_get_error): Get the error code from the pagemap rather than - just using the pagemap offset! - -Wed Nov 23 00:28:19 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * demuxer.c (pager_demuxer): Call - _pager_seqnos_memory_object_server, not - seqnos_memory_object_server. - -Tue Nov 8 14:15:01 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * lock-object.c (_pager_lock_object): Hammer SYNC to zero for now; - there's some deadlock bug in noticing when the sync finishes. - -Tue Aug 30 17:55:34 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * data-return.c: Include <assert.h>. - (_pager_seqnos_memory_object_data_return): Use return correctly. - -Mon Aug 29 17:30:52 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * priv.h (PM_INIT): New pagemap bit. - * data-return.c (_pager_do_write-request): Set PM_INIT for - affected pages. New var `omitdata' hold a bitmap of the - pages that we are not actually writing. Set accordingly - while looking through pagemap before starting I/O. Don't - actually call I/O on these pages or frob the page map with them - later. - - * data-return.c (_pager_seqnos_memory_object_data_return): Split - into two functions; _pager_do_write_request does the real work - now. - - * object-create.c: New file. - * data-init.c: New file. - -Fri Jul 22 11:54:05 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile: Rewritten to use new scheme. - * data-request.c: Include "memory_object_S.h" instead of - "memory_object.h". - * data-return.c: Likewise. - * data-unlock.c: Likewise. - * lock-completed: Likewise. - * stubs.c: Likewise. - * object-init.c: Likewise. - * demuxer.c: Likewise. - * object-terminate.c: Likewise. - -Tue Jul 5 14:14:17 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (TAGSHDRS): New variable. - -Wed Jun 1 11:41:24 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * pager-attr.c (pager_change_attributes): Return immediately - if we are already in the requested state. - - * lock-completed.c (_pager_seqnos_memory_object_lock_completed): - Call ports_done_with_port before returning to free reference - created by ports_check_port_type. - * chg-compl.c (_pager_seqnos_memory_object_change_completed): - Likewise. - - * seqnos.c (_pager_release_seqno): New second arg SEQNO. - Set p->seqno here. All callers changed. - (_pager_wait_for_seqno): Don't set p->seqno here; then it - might get released before we actually call _pager_release_seqno. - * priv.h (_pager_release_seqno): Declare new second arg. - - * priv.h (KERNEL_INIT_RACE): New compilation option. All the - changes in this block are conditionalized by this macro. - * priv.h (struct pager): New members init_head and init_tail. - (struct pending_init): New type. - * object-init.c (_pager_seqnos_memory_object_init): If the object - is not ready for init, then queue the init for later processing. - * object-terminate.c (_pager_seqnos_memory_object_terminate): If - there is a pending init, return it here. - * no-senders.c (pager_clean): Destroy all pending inits here. - - * object-terminate.c (_pager_free_structure): Don't unlock - interlock or free the seqno here. - (_pager_seqnos_memory_object_terminate): Unlock interlock and - free seqno after calling _pager_free_structure. - * no-senders.c (pager_clean): Unlock interlock after calling - _pager_free_structure. Don't free seqno here at all. - -Tue May 24 15:25:54 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * data-return.c (_pager_seqnos_memory_object_data_return): New - vars NPAGES, I, and PAGERRS. Rename var PM_ENTRY to be - PM_ENTRIES. Deal with multiple-page data_return calls by dealing - with multiple pagemap slots and calling pager_write_page multiple - times. - - * data-return.c (_pager_seqnos_memory_object_data_return): Fix - printf messages; include length in bogus length messages. - - *data-unlock (_pager_seqnos_memory_object_data_unlock): Likewise. - -Mon May 23 13:06:31 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * data-request.c (_pager_seqnos_memory_object_data_request): - Report length in bogus arg messages; terminate messages with - newlines. - - * chg-compl.c: Include <stdio.h>. - - * priv.h (struct pager [may_cache, copy_strategy]): New members. - * pager.h (pager_create_pager): Added new args MAY_CACHE and - COPY_STRATEGY. - (pager_report_attributes): Deleted declaration. - * object-init.c (_pager_seqnos_memory_object_init): Set attributes - from values in P rather than by calling pager_report_attributes. - * pager-attr.c (pager_change_attributes): Don't panic if the - pager isn't yet initialized by the kernel; record the provided - values in may_cache and copy_strategy. - - * pager-attr.c: Spelling fix. - Include <assert.h>. - * Makefile (COBJS): Added pager-attr.o. - -Fri May 20 15:41:12 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * lock-completed.c (_pager_seqnos_memory_object_lock_completed): - Delete unneeded variable wakeup. Break out of loop as soon - as we find the right record. Call condition_broadcast only - if we need bother. - - * pager.h (pager_change_attributes, pager_report_attributes): - New declarations. - * priv.h (struct attribute_request): New structure. - (struct pager [attribute_requests]): New member. - * pager-create.c (pager_create): Initialize new member. - * object-init.c (_pager_seqnos_memory_object_init): Call - pager_report_attributes for correct args to memory_object_ready. - * pager-attr.c: New file. - * object-terminate.c (_pager_free_structure): Wakeup pending - pager_change_attribute requests. - * stubs.c (_pager_seqnos_memory_object_change_completed): Deleted - function. - * chg-compl.c: New file. - * Makefile (COBJS): Added chg-compl.o. - -Thu May 5 07:49:21 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * stubs.c (_pager_seqnos_memory_object_supply_completed): Change - RESULT arg to type kern_return_t; error_t is not compatible. - - * demuxer.c (pager_demuxer): Declare seqnos_memory_object_server. - - * stubs.c, lock-completed.c: Changed return type of all RPC server - functions to kern_return_t. error_t is not compatible with the - declarations in the mig-generated header files. - - * Makefile: Change uses of $(headers) to $(includedir). - -Tue Apr 26 15:08:57 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * object-init.c (_pager_seqnos_memory_object_init): Only check - for inits of active objects AFTER waiting for seqno; otherwise we - could race against a prior terminate. diff --git a/libpipe/ChangeLog b/libpipe/ChangeLog deleted file mode 100644 index caafc582..00000000 --- a/libpipe/ChangeLog +++ /dev/null @@ -1,186 +0,0 @@ -2006-07-25 Stefan Siegl <stesie@brokenpipe.de> - - * pq.c (packet_write): Only dereference AMOUNT if it is not the null - pointer and document the change. - * pq.h (packet_write): Document the change. - -2002-04-22 Marcus Brinkmann <marcus@gnu.org> - - * pq.c (packet_set_ports): Correctly replace old ports buffer with - new one. Take size of mach_port_t rather than pointer to it. - (packet_read_ports): Take size of mach_port_t rather than pointer - to it. - (pq_queue): Update PACKET->num_ports, PACKET->buf_start and - PACKET->buf_end for reused packets as well. - Submitted by Ognyan Kulev <ogi@fmi.uni-sofia.bg>. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * pq.c: Add #include <sys/mman.h> for munmap decl. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * pq.c (packet_realloc): Use mmap instead of vm_allocate. - (packet_read_ports): Likewise. - (packet_read): Likewise. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * pq.c (free_packets): Use munmap instead of vm_deallocate. - -1998-10-20 Roland McGrath <roland@baalperazim.frob.com> - - * pq.c (free_packets): Add braces to silence gcc warning. - (packet_realloc): Likewise. - * pipe.c (pipe_send): Likewise. - (pipe_recv): Likewise. - -Mon Oct 21 21:58:03 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * pipe.h: Add extern inline protection. - * pq.h: Likewise. - * pipe-funcs.c, pq-funcs.c: New files. - * Makefile (SRCS): Add pipe-funcs.c and pq-funcs.c. - -Thu Sep 12 16:24:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (libpipe.so): Delete special dependency. - -Tue Jul 16 11:33:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pipe.h (EWOULDBLOCK): Define to work around new libc bug. - -Mon Jul 1 17:29:07 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * pq.c (pq_queue): Initialize PACKET->buf_vm_alloced. - -Tue Jan 23 12:44:40 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * pq.h (packet_ensure, packet_ensure_efficiently): Use packet_fit(). - (packet_fit): New function. - * pq.c (packet_read): If there's lots of empty space at the - beginning of a vm_alloced buffer, deallocate it. - -Mon Jan 22 17:12:39 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * pq.c (packet_realloc): Reflect in the new values of BUF_START & - BUF_END that we've removed any empty space at the beginning of BUF. - -Sat Jan 13 13:56:13 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * pq.h (packet_ensure, packet_ensure_efficiently): Use - packet_new_size() instead of packet_size_adjust(). - (packet_size_adjust): Declaration removed. - (packet_new_size): New declaration. - * pq.c (packet_size_adjust): Function removed. - (packet_new_size): New function. - - * pq.c (packet_read): Re-arrange to be slightly less confusing. - Reverse start-past-buf-beginning test that may have leaked memory. - - * pipe.c (pipe_send): For non-blocking writes, avoid writing more - than the user requested. - -Fri Jan 12 12:15:06 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * pq.c (pq_queue): Initialize the ports_alloced field. - (packet_read): When a page-aligned read consumes the whole buffer, - but there's a non-page-multiple amount available, don't let - buf_len become negative. - -Mon Oct 9 14:57:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile: Specify shared library dependencies. - -Thu Sep 7 09:08:30 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * pq.c (packet_read): Don't leave PACKET in a fucked up state when - it's vm_allocate'd but doesn't a page-multiple amount of data and - we're reading everything. - - * pipe.c (_pipe_no_readers): REALLY wake up writers when the pipe - breaks. - -Fri Sep 1 10:42:03 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * pipe.c (_pipe_no_readers): Wake up write selects too when the - pipe breaks. - -Thu Aug 31 14:39:21 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * pipe.c (pipe_send): Make writes blockable. - (pipe_recv): Wakeup blocked writers. - (pipe_kick): Function deleted. - (pipe_create): Make connection-oriented pipes start out broken. - (_pipe_first_reader): New function. - (_pipe_first_writer): Don't check whether PIPE is connection- - oriented before clearing PIPE_BROKEN, as otherwise it will never - be set. - (pipe_pair_select): New function. - (pipe_multiple_lock): New variable. - * pipe.h (pipe_wait): Renamed to `pipe_wait_readable'. - (pipe_select): Renamed to `pipe_select_readable'. - (pipe_writable, pipe_wait_writable, pipe_select_writable): New funcs. - (pipe_acquire_reader): Call _pipe_first_reader if necessary. - (_pipe_first_reader): New declaration. - (struct pipe): New fields: `write_limit', `write_atomic', - `pending_writes', `pending_write_selects'. - (struct pipe): `pending_selects' changed to `pending_read_selects'. - (pipe_pair_select): New declaration. - -Tue Aug 29 14:37:49 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * pipe.c (pipe_send): Use condition_broadcast, not condition_signal. - * pipe.h (pipe_select): New function. - - * pipe.h (struct pipe): Remove interrupt_seq_num field. - (pipe_wait): Use hurd_condition_wait to detect interrupts instead - of previous ad-hoc mechanism. - - * pipe.c (pipe_create): Don't initialize interrupt_seq_num field. - - * pipe.h (pipe_acquire_reader, pipe_acquire_writer, - pipe_add_reader, pipe_add_writer): `aquire' -> `acquire'. - -Fri Aug 11 18:35:32 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * pipe.c (pipe_create): Initialize READERS & WRITERS, not REFS. - (_pipe_first_writer): New function. - (_pipe_no_writers, _pipe_no_writers): New function. - (pipe_break): Function deleted. - -Wed Aug 9 12:53:05 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * pipe.h (struct pipe): Keep separate ref counts for readers and - writers. - (pipe_aquire_reader, pipe_aquire_writer): New functions. - (pipe_release_reader, pipe_release_writer): New functions. - (pipe_add_reader, pipe_add_writer): New functions. - (pipe_remove_reader, pipe_remove_writer): New functions. - (_pipe_first_writer): New function decl. - (_pipe_no_writers, _pipe_no_writers): New function decl. - (pipe_aquire, pipe_release): Function deleted. - (pipe_break): Function decl deleted. - -Tue Aug 1 12:37:27 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * pipe.c (pipe_recv): Get rid of code to deal with getting the - source address from the control packet if there is no data packet, - since pipe_write always writes a data packet. - -Mon Jul 31 14:50:00 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * pipe.c (pipe_recv): Assert that a control packet should only - have a source address if there is no corresponding data packet. - (pipe_send): Change the test to determine whether we should write - a control packet, so that we only do so if we need to. Also, - don't record the source address in control packets, as it's - recorded in the following data packet anyway, and this prevents it - from being dealloc'd twice. - -Fri Jul 28 23:03:27 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * pipe.h (stream_pipe_class, dgram_pipe_class, seqpack_pipe_class): - Make these declarations extern so they don't fuck up initialization. - (seqpacket_pipe_class): Renamed to `seqpack_pipe_class'. diff --git a/libports/ChangeLog b/libports/ChangeLog deleted file mode 100644 index 2270a424..00000000 --- a/libports/ChangeLog +++ /dev/null @@ -1,586 +0,0 @@ -2008-12-29 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * manage-multithread.c (ports_manage_port_operations_multithread): - Drop reset of thread_timeout and global_timeout to 0. - -2004-11-03 Ognyan Kulev <ogi@fmi.uni-sofia.bg> - - * resume-all-rpcs.c (ports_resume_all_rpcs): Fix check for block - condition. - * resume-bucket-rpcs.c (ports_resume_bucket_rpcs): Likewise. - * resume-class-rpcs.c (ports_resume_class_rpcs): Likewise. - * resume-port-rpcs.c (ports_resume_port_rpcs): Likewise. - -2003-08-17 Marcus Brinkmann <marcus@gnu.org> - - * ports.h (struct port_bucket): Change type of HTABLE to struct - hurd_ihash. - (struct port_info): Change type of HENTRY to hurd_ihash_locp_t. - * lookup-port.c (ports_lookup_port): Use hurd_ihash_find instead - ihash_find. - * bucket-iterate.c (_ports_bucket_class_iterate): Use - HURD_IHASH_ITERATE instead ihash_iterate. - * inhibit-all-rpcs.c (ports_inhibit_all_rpcs): Likewise. - * inhibit-bucket-rpcs.c (ports_inhibit_bucket_rpcs): Likewise. - * create-internal.c (_ports_create_port_internal): Use - hurd_ihash_add instead ihash_add. - * import-port.c (ports_import_port): Likewise. - * reallocate-from-external.c (ports_reallocate_from_external): - Likewise. - * reallocate-port.c (ports_reallocate_port): Likewise. - * transfer-right.c (ports_transfer_right): Likewise. - * create-bucket.c: Include <stddef.h>. - (ports_create_bucket): Use hurd_ihash_init instead hurd_ihash_create. - * class-iterate.c: Do not include <hurd/ihash.h>. - * claim-right.c (ports_claim_right): Call hurd_ihash_locp_remove - instead ihash_locp_remove. - * complete-deallocate.c (_ports_complete_deallocate): Likewise. - * destroy-right.c (ports_destroy_right): Likewise. - * reallocate-from-external.c (ports_reallocate_from_external): - Likewise. - * reallocate-port.c (ports_reallocate_port): Likewise. - * transfer-right.c (ports_transfer_right): Likewise. - -2001-03-29 Neal H Walfield <neal@cs.uml.edu> - - * claim-right.c (ports_claim_right): Include errno.h and - assert.h. Add assertions. Clean up the logic. - - * create-bucket.c (ports_create_bucket): Include errno.h - and stdlib.h. Do not include assert.h. Turn assertions - into errors that set errno and return NULL. - * create-class.c (ports_create_class): Likewise. - - * create-internal.c (_ports_create_internal): On error, do - not deallocate a send right, but a receive right. - - * init.c: Do not initialize global variables to 0. - * interrupt-notified-rpcs.c: Likewise. - - * port-deref.c (ports_port_deref): Simplify logic. - - * reallocate-port.c (ports_reallocate_port): Assert return from - mach_port_move_member. - * transfer-right.c (ports_transfer_right): Likewise. - -2001-03-26 Roland McGrath <roland@frob.com> - - * intern-external-port.c, allocate-port.c: Dead files removed - from cvs. Reported by Neal H Walfield <neal@cs.uml.edu>. - -2000-07-25 Mark Kettenis <kettenis@gnu.org> - - * inhibit-all-rpcs.c (ports_inhibit_all_rpcs): Avoid calling - hurd_thread_cancel on the current thread. - * inhibit-class-rpcs.c (ports_inhibit_class_rpcs): Likewise. - * inhibit-bucket-rpcs.c (ports_inhibit_bucket_rpcs): Likewise. - * inhibit-port-rpcs.c (ports_inhibit_port_rpcs): Likewise. - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * get-send-right.c: New file. - * ports.h: Declare ports_get_send_right. - * Makefile (SRCS): Add get-send-right.c. - - * get-right.c (gdb_loses): Remove global variable. - (ports_get_right): Use a local instead. - -Sat Mar 6 17:05:45 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * notify-dead-name.c (ports_do_mach_notify_dead_name): Deallocate - newly created reference to DEAD_NAME. - -1999-02-28 Roland McGrath <roland@baalperazim.frob.com> - - * destroy-right.c (ports_destroy_right): Return error_t (always 0). - * ports.h: Update decl. - - * bucket-iterate.c (_ports_bucket_class_iterate): New function, - transmorgified from ports_bucket_iterate. - (ports_bucket_iterate): Now just call that to do the work. - * class-iterate.c: New file. - (ports_class_iterate): New function. - * ports.h: Declare ports_class_iterate and _ports_bucket_class_iterate. - * Makefile (SRCS): Add class-iterate.c. - -Thu Feb 25 10:31:57 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * end-rpc.c (ports_end_rpc): Signal ports_block anytime an rpc - ends and someone is waiting on an inhibition. - -1999-01-01 Roland McGrath <roland@baalperazim.frob.com> - - * interrupt-on-notify.c (ports_interrupt_self_on_notification): Use - assert to check we are in an rpc; don't return EIEIO (not appropriate). - -1997-08-14 Miles Bader <miles@gnu.ai.mit.edu> - - * interrupt-rpcs.c (ports_interrupt_rpcs): Put RPC into the - interrupted list. - * end-rpc.c (ports_end_rpc): Call ports_self_interrupted to remove - the current thread from the interrupted list. - * ports.h (ports_self_interrupted): New declaration. - (struct rpc_info): Add interrupted_next field. - * Makefile (SRCS): Add interrupted.c. - -Wed Aug 20 13:56:40 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * 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. - -Fri Feb 14 00:51:32 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * create-bucket.c (ports_create_bucket): Initialize rpcs, flags, & - count fields in RET. - -Thu Sep 12 16:19:35 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (libports.so): Delete special depedency. - -Wed Aug 7 15:28:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ports.h (_ports_create_port_internal, - ports_create_port_noinstall): New declarations. - -Thu Jul 18 22:59:14 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (SRCS): Add create-port-noinstall.c and create-internal.c. - * create-port-noinstall.c: New file. - * create-port.c (ports_create_port): Guts deleted; call new work - function. - * create-internal.c: New file; all the guts from create-port.c. - -Wed Jul 3 14:13:53 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * get-right.c (ports_get_right): Supply correct sync value in - notification request. - -Mon May 6 16:33:55 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ports.h (ports_allocate_port, ports_intern_external_port): - Delete obsolete declarations. - * allocate-port.c, intern-external-port.c: Delete files. - * Makefile (SRCS): Delete `intern-external-port.c' and - `allocate-port.c'. - -Sun Apr 28 15:22:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * allocate-port.c: Add obsolescence link warning. - * intern-external-port.c: Add obsolescence link warning. - -Fri Mar 29 15:21:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * end-rpc.c (ports_end_rpc): Acquire _PORTS_LOCK before calling - _ports_remove_notified_rpc. - -Fri Mar 29 09:04:53 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * reallocate-from-external.c (ports_reallocate_from_external): - Require port to have a current port right. - * reallocate-port.c (ports_reallocate_port): Likewise. - - * complete-deallocate.c (_ports_complete_deallocate): Only drop - port right if it isn't already null. - - * transfer-right.c: New file. - * Makefile (SRCS): Add transfer-right.c. - * ports.h (ports_claim_right): Doc fix. - (ports_transfer_right): New function. - -Thu Mar 28 10:47:58 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * claim-right.c (ports_claim_right): Take right out of port - bucket. - - * manage-multithread.c (ports_manage_port_operations_multithread): - Fill in meaningful statuses and errors rather than just zero. - * manage-one-thread.c (ports_manage_port_operations_one_thread): - Likewise. - - * begin-rpc.c (ports_begin_rpc): Return EOPNOTSUPP, not EDIED, if - receive right is gone. - - * manage-one-thread.c (ports_manage_port_operations_one_thread): - Fill in default reply before doing work; we might return 0 and - mach_msg_server expects us to fill in a reply decently no matter - what. - (ports_manage_port_operations_multithread): Likewise. - - * claim-right.c (ports_claim_right): Hold lock until sendright - frobbing is finished. - -Wed Mar 20 13:32:13 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * destroy-right.c (ports_destroy_right): Don't do anything if port - has already been destroyed. - - * ports.h (ports_claim_right): New declaration. - * claim-right.c: New file. - * Makefile (SRCS): Add `claim-right.c'. - -Tue Mar 5 17:28:54 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * get-right.c (ports_get_right): Check mach_port_request_notification - for error returns, against all odds. - -Mon Feb 26 17:10:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * interrupt-on-notify.c (ports_interrupt_rpc_on_notification): - Only set _PORTS_NOTIFICATIONS->prevp if _PORTS_NOTIFICATIONS != 0. - Likewise for PN->prev_req_p. - -Fri Jan 26 00:45:58 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inhibit-class-rpcs.c (ports_inhibit_class_rpcs): Whoops, we - still have the lock when hurd_condition_wait gets cancelled. - * import-port.c (ports_import_port): Likewise. - * create-port.c (ports_create_port): Likewise. - * inhibit-bucket-rpcs.c (ports_inhibit_bucket_rpcs): Likewise. - * inhibit-all-rpcs.c (ports_inhibit_all_rpcs): Likewise. - * inhibit-port-rpcs.c (ports_inhibit_port_rpcs): Likewise. - - * import-port.c (ports_import_port): Don't lose a send right on - PORT when we return an error. - * create-port.c (ports_create_port): Delete the receive right, not - the send right when we return an error. - -Thu Jan 25 12:10:48 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * manage-multithread.c (ports_manage_port_operations_multithread): - Pass INP->msgh_id, not INP to ports_begin_rpc. - * manage-one-thread.c (ports_manage_port_operations_one_thread): Ditto. - -Wed Jan 24 14:02:30 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inhibit-all-rpcs.c (ports_inhibit_all_rpcs): Be interruptable; - return EINTR if interrupted, or EBUSY if already inhibited. - * inhibit-class-rpcs.c (ports_inhibit_class_rpcs): Likewise. - * inhibit-port-rpcs.c (ports_inhibit_port_rpcs): Likewise. - * inhibit-bucket-rpcs.c (ports_inhibit_bucket_rpcs): Likewise. - * begin-rpc.c (ports_begin_rpc): Be interruptable. - * create-port.c (ports_create_port): New function. - * import-port.c (ports_import_port): New function. - * allocate-port.c (ports_allocate_port): Call ports_create_port. - * intern-external-port.c (ports_intern_external_port): Call - ports_import_port. - * ports.h (ports_create_port, ports_import_ports): New declarations. - (PORTS_INHIBITED, PORTS_BLOCKED, PORTS_INHIBIT_WAIT, PORTS_NO_ALLOC, - PORTS_ALLOC_WAIT): New macros (global values for common flags). - (PORT_BLOCKED, PORT_INHIBITED, PORT_INHIBIT_WAIT, - PORT_BUCKET_INHIBITED, PORT_BUCKET_BLOCKED, PORT_BUCKET_INHIBIT_WAIT, - PORT_BUCKET_NO_ALLOC, PORT_BUCKET_ALLOC_WAIT, PORT_CLASS_INHIBITED, - PORT_CLASS_BLOCKED, PORT_CLASS_INHIBIT_WAIT, PORT_CLASS_NO_ALLOC, - PORT_CLASS_ALLOC_WAIT, _PORTS_INHIBITED, _PORTS_BLOCKED, - _PORTS_INHIBIT_WAIT): Redefine using global flag values. - (ports_inhibit_port_rpcs, ports_inhibit_all_rpcs, - ports_inhibit_class_rpcs, ports_inhibit_bucket_rpcs): Return error_t. - (ports_interupt_rpcs): Renamed from port_interrupt_rpc. - - * begin-rpc.c (ports_begin_rpc): Take new MSG_ID arg, and use it to - see if the particular rpc shouldn't be inhibitable. - * manage-multithread.c (ports_manage_port_operations_multithread): - Pass INP to ports_begin_rpc, and only call DEMUXER if it returns 0. - * manage-one-thread.c (ports_manage_port_operations_one_thread): Ditto. - * ports.h (ports_begin_rpc): Add MSG_ID arg. - (struct port_class): Add uninhibitable_rpcs field. - (struct ports_msg_id_range): New structure. - (ports_default_uninhibitable_rpcs): New declaration. - * create-class.c (ports_create_class): Initialize the - uninhibitable_rpcs field. - * default-uninhibitable-rpcs.c (interrupt_operation_ids, - ports_default_uninhibitable_rpcs): New variables. - * Makefile (SRCS): Add default-uninhibitable-rpcs.c. - - * interrupt-rpcs.c (ports_interrupt_rpcs): Renamed from - ports_interrupt_rpc. - * Makefile (SRCS): Rename interrupt-rpc.c to interrupt-rpcs.c. - * interrupt-operation.c (ports_S_interrupt_operation): Use - ports_interrupt_rpcs instead of ports_interrupt_rpc. - * no-senders.c (ports_no_senders): Likewise. - - * manage-multithread.c (ports_manage_port_operations_multithread): - Fix spelling of cancel_threshold (was cancel_threshhold). - * interrupt-operation.c (ports_S_interrupt_operation): Likewise. - * ports.h (struct port_info): Likewise. - * reallocate-from-external.c (ports_reallocate_from_external): Ditto. - * reallocate-port.c (ports_reallocate_port): Likewise. - -Wed Jan 17 13:08:49 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * no-senders.c (ports_no_senders): Interrupt RPCs on PI too. Only - do the ports_interrupt_notified_rpcs() if we're actually losing a ref. - -Fri Jan 5 16:40:34 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * interrupt-on-notify.c (ports_interrupt_rpc_on_notification): - If PORT is dead or bogus, interrupt RPC immediately, and don't add - a new request. - -Thu Dec 28 14:27:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * interrupt-on-notify.c (ports_interrupt_rpc_on_notification): If - NEW_REQ is not needed, put it on the free list, don't call free on it. - -Thu Dec 28 11:04:06 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ports.h (ports_interrupt_self_on_port_death): New macro. - - * interrupt-notified-rpcs.c (ports_interrupt_notified_rpcs): Only - bother to lock _PORTS_LOCK if there are notifications. - -Wed Dec 27 16:27:47 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ports.h (struct rpc_info): Get rid of next_notified/prev_notified_p. - (struct rpc_notify): Get rid of port, what, next fields, and add - rpc, notify, next, pending, next_req, and prev_req_p fields. - (struct ports_notify): New structure. - (_ports_notified_rpcs): Declaration removed. - (_ports_notifications): New declaration. - (_ports_free_ports_notifies): New declaration. - Include <mach/notify.h>. - * interrupt-on-notify.c (ports_interrupt_rpc_on_notification): - Mostly rewrite to use new scheme. - * interrupt-notified-rpcs (_ports_notified_rpcs): Variable removed. - (_ports_notifications, _ports_free_ports_notifications): New variables. - (ports_interrupt_notified_rpcs): Rewrite to use new scheme. - (_ports_remove_notified_rpc): Ditto. - (cancel_notification): Function removed. - (remove_req): New function. - -Tue Dec 26 14:39:51 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * interrupt-notified-rpcs.c (_ports_notified_rpcs, - _ports_free_rpc_notifies): New variables. - (ports_interrupt_notified_rpcs, cancel_notification, - _ports_remove_notified_rpc): New functions. - * interrupt-on-notify.c (ports_interrupt_rpc_on_notification, - ports_interrupt_self_on_notification): New functions, new file. - * ports.h (struct rpc_notify): New structure. - (struct rpc_info): Add rpc_notifies, rpc_next_notified, and - prev_notified_p fields. - (_ports_notified_rpcs, _ports_free_rpc_notifies, - _ports_remove_notified_rpc, ports_interrupt_rpc_on_notification, - ports_interrupt_notified_rpcs, ports_interrupt_self_on_notification): - New declarations. - * begin-rpc.c (ports_begin_rpc): Initialize the notifies field. - * end-rpc.c (ports_end_rpc): Get rid of any rpc notifications. - * no-senders.c (ports_no_senders): Interrupt any rpcs requesting such. - * dead-name.c (ports_dead_name): New function. - * notify-dead-name.c (ports_do_mach_notify_dead_name): Call - ports_dead_name(). - * Makefile (SRCS): Add interrupt-on-notify.c, - interrupt-notified-rpcs.c, and dead-name.c. - -Tue Nov 21 22:04:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * manage-multithread.c: Don't wire timeouts to zero. - -Tue Nov 21 09:42:00 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ports.h (ports_do_mach_notify_dead_name): Declare `extern - kern_return_t'. - (ports_do_mach_notify_msg_accepted): Likewise. - (ports_do_mach_notify_no_senders): Likewise. - (ports_do_mach_notify_port_deleted): Likewise. - (ports_do_mach_notify_port_destroyed): Likewise. - (ports_do_mach_notify_send_once): Likewise. - * notify-send-once.c: Include "notify_S.h". - * notify-port-deleted.c: Likewise. - * notify-msg-accepted.c: Likewise. - * notify-port-destroyed.c: Likewise. - * notify-no-senders.c: Likewise. - * notify-dead-name.c: Likewise. - - * ports.h (struct port_info): New member `cancel_threshhold'. - (ports_S_interrupt_operation): Include seqno arg; declare extern - kern_return_t. - * interrupt-operation.c: Include "interrupt_S.h". - (ports_S_interrupt_operation): Set PI->cancel_threshhold if the - incoming seqno is greater than the current threshhold. - * manage-multithread.c - (ports_manage_port_operations_multithread/internal_demuxer): If - the incoming RPC has already been cancelled, then call - hurd_thread_cancel before the user's demuxer. - * manage-one-thread.c (ports_manage_port_operations_one_thread): - Doc fix. - * intern-external-port.c (ports_intern_external_port): Initialize - PI->cancel_threshhold. - * allocate-port.c (ports_allocate_port): Likewise. - * reallocate-from-external.c (ports_reallocate_from_external): - Clear PI->cancel_threshhold. - * reallocate-port.c (ports_reallocate_port): Likewise. - -Sat Nov 18 08:50:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * inhibit-all-rpcs.c: If calling thread is serving an RPC, don't - block waiting for that RPC to finish. - * inhibit-class-rpcs.c: Likewise. - * inhibit-bucket-rpcs.c: Likewise. - * inhibit-port-rpcs.c: Likewise. - - * inhibit-all-rpcs.c (ports_inhibit_all_rpcs): Renamed from - inhibit_all_rpcs. - -Tue Oct 24 13:32:39 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * manage-multithread.c - (ports_manage_port_operations_multithread/internal_demuxer): Don't - attempt RPC if we can't get a valid port struct. - * manage-one-thread.c - (ports_manage_port_operations_one_thread/internal_demuxer): Likewise. - -Mon Oct 9 14:57:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile: Specify shared library dependencies. - -Fri Sep 22 10:19:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * ports.h: Include hurd.h. - -Fri Sep 8 14:44:03 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * end-rpc.c (ports_end_rpc): Call hurd_check_cancel. - -Wed Sep 6 11:20:20 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ports.h (ports_interrupt_server, ports_S_interrupt_operation): - New declarations. - * Makefile (OBJS): Add interruptServer.o. - (SRCS): Add interrupt-operation.c. - * interrupt-operation.c: New file. - - * ports.h (ports_notify_server, ports_do_mach_notify_*): New decls. - * Makefile (MIGCOMSFLAGS): New variable. - (OBJS): Added notifyServer.o. - (SRCS): Added notify-dead-name.c, notify-no-senders.c, - notify-port-destroyed.c, notify-msg-accepted.c, - notify-port-deleted.c, and notify-send-once.c. - * notify-dead-name.c: New file. - * notify-no-senders.c: New file. - * notify-port-destroyed.c: New file. - * notify-msg-accepted.c: New file. - * notify-port-deleted.c: New file. - * notify-send-once.c: New file. - -Wed Aug 30 16:00:36 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * inhibit-port-rpcs.c (inhibit_port_rpcs): Renamed to - `ports_inhibit_port_rpcs'. - -Tue Aug 29 15:59:49 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * manage-multithread.c (ports_manage_port_operations_multithread): - Hammer WIRE_CTHREADS on for now. - -Thu Aug 24 10:25:52 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * inhibit-port-rpcs.c (inhibit_port_rpcs): thread_cancel -> - hurd_thread_cancel. Include <hurd.h>. - * inhibit-class-rpcs.c (ports_inhibit_class_rpcs): Ditto. - * inhibit-bucket-rpcs.c (ports_inhibit_bucket_rpcs): Ditto. - * interrupt-rpc.c (ports_interrupt_rpc): Ditto. - * inhibit-all-rpcs.c (inhibit_all_rpcs): Ditto. - - * Makefile (OBJS): Use :.c=.o notation. - -Wed Aug 23 15:03:11 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (REMHDRS): Removed. - Order changed a bit. - -Fri Jul 21 11:45:22 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * get-right.c (ports_get_right): If the right is null (because we - are closing down), then just return null. (This helps in a race - in ufs/ex2fs). - - * complete-deallocate.c (_ports_complete_deallocate): Clear - PI->port_right; and do it before releasing _ports_lock. - - * manage-multithread.c (ports_manage_port_operations_multithread): - For now, wire GLOBAL_TIMEOUT and THREAD_TIMEOUT to zero. - -Tue Jul 18 14:29:49 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * manage-multithread.c (ports_manage_port_operations_multithread) - [thread_function]: Return int. Don't cthread_exit child threads; - just let them return normally. - -Wed Jul 12 13:32:22 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * resume-class-rpcs.c (ports_resume_class_rpcs): Clear blocked - flag using correct name. - - * manage-multithread.c (ports_manage_port_operations_multithread) - [internal_demuxer]: Increment NREQTHREADS and TOTALTHREADS - *before* forking newthread. - [thread_function]: Don't increment NREQTHREADS and TOTALTHREADS here. - Initialize NREQTHREADS and TOTALTHREADS in main body of function. - -Sat Jul 8 15:10:50 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * allocate-port.c (ports_allocate_port): Properly add PI to - CLASS's port list when the list is empty (why did this work before?). - * intern-external-port.c (ports_intern_external_port): Ditto. - * begin-rpc.c (ports_begin_rpc): Ditto adding INFO to PI's - current_rpcs list. - * create-class.c (ports_create_class): Initialize the PORTS and - COUNT fields. - -Thu Jul 6 15:36:57 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile: Removed dependencies that are now automatically - generated. - -Tue Jun 27 15:28:54 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (SRCS): Add it *back*. - * stubs.c: New file. - -Mon Jun 26 16:51:42 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * ports.h: Fix spelling error. - - * manage-multithread.c (ports_manage_port_operations_multithread): - Declare NREQTHREADS asd TOTALTHREADS volatile. - - * manage-multithread.c - (ports_manage_port_operations_multithread/thread_function): Don't - hold lock while setting TIMEOUT. - When master goes back to wait for messages, it should unlock LOCK. - Declare ERR inside THREAD_FUNCTION so it doesn't get shared by - multiple threads. - -Thu Jun 22 11:28:56 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * get-right.c (ports_get_right): Parenthesize flag test correctly. - * reallocate-from-external.c (ports_reallocate_from_external): - Likewise. - - * enable-bucket.c (ports_enable_bucket): Clean flag correctly. - - * lookup-port.c (ports_lookup_port): UNlock port lock at exit of - function. - - * bucket-iterate.c: Include <hurd/ihash.h> and <cthreads.h>. - (ports_bucket_iterate): Fix decl of NXT. - -Wed Jun 21 14:25:04 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (SRCS): Added bucket-iterate.c. - * bucket-iterate.c: New file. - * ports.h (port_bucket_iterate): New decl. - -Tue Jun 20 12:35:44 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * enable-bucket.c: Include <cthreads.h>. - * enable-class.c: Likewise. - * count-bucket.c: Likewise. - - * libports/lookup-port.c (ports_lookup_port): Remove assignment - from if test. diff --git a/libps/ChangeLog b/libps/ChangeLog deleted file mode 100644 index 79885024..00000000 --- a/libps/ChangeLog +++ /dev/null @@ -1,983 +0,0 @@ -2003-08-17 Marcus Brinkmann <marcus@gnu.org> - - * ps.h (struct ps_context): Change type of members procs, ttys, - ttys_by_cttyid and users to struct hurd_ihash. - * context.c (ps_context_create): Remove variables err_procs, - err_ttys, err_ttys_by_cttyid and err_users. Use hurd_ihash_init - instead of ihash_create. Call hurd_ihash_set_cleanup and the - hurd_ihash_cleanup_t type instead of ihash_set_cleanup. - (ps_context_free): Call hurd_ihash_destroy instead of ihash_free. - (lookup): Call hurd_ihash_find instead ihash_find, hurd_ihash_add - instead ihash_add. - (ps_context_find_proc_stat): Take pointer of hash object. - (ps_context_find_tty): Likewise. - (ps_context_find_tty_by_cttyid): Likewise. - (ps_context_find_user): Likewise. - -2002-06-09 Roland McGrath <roland@frob.com> - - * Makefile (installhdrs): List just ps.h, not common.h as well. - -2002-06-05 Roland McGrath <roland@frob.com> - - * procstat.c (fetch_procinfo): Use PI_FETCH_TASKEVENTS. - (add_preconditions): PSTAT_TASK_EVENTS no longer needs PSTAT_TASK. - (PSTAT_PROCINFO_TASK): Add PSTAT_TASK_EVENTS to the mask. - (PSTAT_PROCINFO_MERGE): Here too. - (proc_stat_set_flags): Don't use task_info for PSTAT_TASK_EVENTS. - -2002-06-04 James A. Morrison <ja2morri@uwaterloo.ca> - - * spec.c (sprint_frac_value): Added case for values between 1000 and - 1023. Make VALUE, FRAC size_t's and return a value of type size_t. - (ps_emit_nice_int): Removed function. Replaced by ... - (ps_emit_nice_size_t): ... this. New Function. - (ps_cmp_size_ts): New function. - (ps_vsize_getter): Return a size_t instead of an int. - (ps_rsize_getter): Likewise. - (ps_get_rmem_frac): MEM_SIZE is now a size_t. - (specs): Use ps_emit_nice_size_t instead of ps_emit_nice_int and use - ps_cmp_size_ts instead of ps_cmp_ints for RSize and VSize. - -2002-05-13 Roland McGrath <roland@frob.com> - - * ps.h (proc_stat_state_tags): Make decl extern, not common. - -2002-05-07 Roland McGrath <roland@frob.com> - - * context.c (ps_context_find_tty_by_cttyid): int -> mach_port_t - * proclist.c (proc_stat_list_add_all): unsigned -> size_t - (proc_stat_list_add_login_coll): Likewise. - (proc_stat_list_add_session): Likewise. - (proc_stat_list_add_fn_pids): Likewise. - (proc_stat_list_add_id_fn_pids): Likewise. - - * host.c (ps_host_basic_info): int -> size_t - (ps_host_basic_info, ps_host_load_info): Likewise. - * ps.h: Update decls. - (struct proc_stat): unsigned -> size_t for task_events_info_size, - args_len, env_len. - * procstat.c (summarize_thread_waits): Fix argument type. - -2001-12-31 Roland McGrath <roland@frob.com> - - * host.c (ps_get_host): Use mach_port_t instead of host_t. - * ps.h: Update decl. - -2001-12-22 Roland McGrath <roland@frob.com> - - * spec.c (ps_emit_wait): Remove local extern decls for functions - actually defined static. - -2001-10-01 Marcus Brinkmann <marcus@gnu.org> - - * filters.c (ps_own_filter): Add const to type. - (ps_not_leader_filter): Likewise. - (ps_unorphaned_filter): Likewise. - (ps_ctty_filter): Likewise. - (ps_parent_filter): Likewise. - (ps_alive_filter): Likewise. - Submitted by Maurizio Boriani <baux@debian.org>. - -2001-03-29 Neal H Walfield <neal@cs.uml.edu> - - * host.c: Fix comments. - (ps_host_basic_info): Make INITIALIZED static; otherwise - we never cache BUF. Do not initalize static variables to 0. - (ps_host_sched_info): Likewise. - * ps.h: Doc fix. - -2001-02-25 Roland McGrath <roland@frob.com> - - * user.c: Include <string.h> for decls of built-ins. - -2000-02-11 Roland McGrath <roland@baalperazim.frob.com> - - * context.c (ps_context_find_tty_by_cttyid): Use the ttys_by_cttyid - hash table, not the ttys hash table. - -2000-01-25 Roland McGrath <roland@baalperazim.frob.com> - - * tty.c (struct ps_tty_abbrev): Add const to member types. - (ps_tty_abbrevs): Make const. - (ps_tty_short_name): Clean up type usage, add consts. - Include null terminator in calculation for short_name allocation size. - Save lengths and use memcpy instead of using strcpy and strcat. - -1999-12-22 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (HURDLIBS): Add shouldbeinlibc. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * common.h: Add #include <sys/mman.h> for munmap decl. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * common.h (VMFREE): Use munmap instead of vm_deallocate. - * procstat.c (merge_procinfo): Likewise. - -1999-06-02 Roland McGrath <roland@baalperazim.frob.com> - - * ps.h (PSTAT_ENV): New macro. - (struct proc_stat): New members `env', `env_len', `env_vm_alloced'. - (proc_stat_env, proc_stat_env_len): New accessor macros. - (PSTAT_USER_BASE): Increase value to leave more room for additions. - * procstat.c (proc_stat_set_flags): Handle environment. - (_proc_stat_free): Likewise. - * spec.c (ps_get_env, ps_env_getter): New function and constant. - (specs): New spec "Env" using ps_env_getter and ps_emit_args. - -1999-05-29 Roland McGrath <roland@baalperazim.frob.com> - - * spec.c (ps_emit_past_time, ps_emit_minutes): Fix return type of - getter fn (int to void). - - * context.c (ps_context_free): Don't call ihash_free on PC->procs - twice! Instead, call it on ttys, ttys_by_cttyid, and users. - - * spec.c (ps_get_start_time, ps_start_time_getter): New function and - constant to report task_basic_info.creation_time time stamp via - "start_time" spec. - (specs): Add "Start" fmt for it. - -1998-10-19 Roland McGrath <roland@baalperazim.frob.com> - - * fmt.c (_fmt_create): Add braces to silence gcc warning. - * procstat.c (summarize_thread_waits): Likewise. - (proc_stat_set_flags): Likewise. - (proc_stat_set_flags): Likewise. - (proc_stat_set_flags): Likewise. - -Sat Jun 7 21:35:37 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * spec.c (ps_emit_wait): Provide slightly better abbreviations for - various port types. - -Fri May 23 13:13:18 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * procstat.c (summarize_thread_basic_info): Don't include the - kernel's idle threads in the summation. - (summarize_thread_sched_info): Likewise. - (summarize_thread_states): Likewise. - (summarize_thread_waits): Likewise. - -Fri Feb 28 18:11:28 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * fmt.c (ps_fmt_squash): Deal with FIELD->spec being NULL when - advancing over a field. - -Fri Nov 15 19:14:28 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * procstat.c (proc_stat_set_flags): Allow the user fetch hook to - turn on non-user bits, even if they've already failed in the - standard code. - -Wed Oct 9 14:20:08 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * spec.c (ps_nominal_string): New function. - (ps_emit_args, ps_emit_string): Use `-' for empty values. - (specs): Use ps_nominal_string for `Args' and `Arg0' fields. - -Tue Oct 8 13:21:55 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * procstat.c (proc_stat_set_flags): Get rid of INAPP macro. - Fix preconditions of PSTAT_SUSPEND_COUNT. - - * spec.c (ps_emit_seconds, ps_emit_minutes): Interpret - PS_FMT_FIELD_COLON_MOD flag to mean `print zero as "-"'. - - * procstat.c (set_procinfo_flags): Set bits in PS->inapp as appropriate. - (PSTAT_PROCINFO_THREAD, PSTAT_PROCINFO_TASK): New macro. - (PSTAT_PROCINFO_TASK_THREAD_DEP): Renamed from PSTAT_PROCINFO_THREAD. - (PSTAT_PROCINFO): Redefined. - (count_threads): Use PSTAT_PROCINFO_TASK_THREAD_DEP. - (proc_stat_set_flags): Don't use NEED macro for PSTAT_STATE. - -Mon Oct 7 17:40:21 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.h (struct ps_fmt): Add ERROR field, and rename INVAL to INAPP. - * fmt.c (_fmt_create): Initialize INAPP & ERROR fields. - (ps_fmt_clone): Propagate them. - (ps_fmt_write_proc_stat): Use them. - * procstat.c (proc_stat_set_flags): Add NEED & INAPP macros, and - use them to set the inapp field as well as the failed field. - (_proc_stat_create): Initialize INAPP field. - (proc_stat_thread_create): Initialize FAILED and INAPP fields. - -Sun Oct 6 18:42:52 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.h (struct ps): Add INAPP field. - - * spec.c (ps_emit_wait): Correct mapping of init ports. - -Mon Sep 30 23:15:42 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * write.c (noise_write, noise_len): Correctly calculate the length - of a character printed using an octal escape. - -Thu Sep 12 16:23:47 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (libps.so): Delete special depedency. - -Fri Aug 2 15:12:19 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * procstat.c (set_procinfo_flags): Pass HAVE to count_threads. - (count_threads): Take new argument HAVE, and use different thread - counting method depending on whether we have thread detail info. - -Thu Jul 18 18:54:07 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * tty.c (ps_tty_abbrevs): Add an entry for /dev/comX -> cX. - -Thu Jul 18 00:45:25 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (LCLHDRS): Remove ps_msg.h and ps_term.h. - -Wed Jul 10 22:49:39 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * procstat.c (set_procinfo_flags): Don't use fake "*" wait value - if there's no msgport. - -Mon Jul 8 21:39:58 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * write.c (_ps_stream_write_field): If a field is truncatable - (MAX_WIDTH >= 0), take some of our spacing deficit out of it. - -Tue Jul 2 14:43:39 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * procstat.c (proc_stat_set_flags): Pass PS->task_events_info to - task_info, not its address. - -Thu Jun 27 18:32:27 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (LCLHDRS): Add common.h. - -Thu Jun 27 12:33:41 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.h (struct ps_fmt): Add SRC_LEN field. - (proc_stat_list_clone, ps_fmt_clone): New declarations. - * fmt.c (_fmt_create): Set NEW_FMT->src_len. Use strdup. - (ps_fmt_clone): New function. - * proclist.c (proc_stat_list_clone): New function. - -Mon Jun 3 10:17:43 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * spec.c (ps_emit_wait): Never truncate what we write. - - * user.c (ps_user_passwd): Check return value of install_passwd - correctly (it's an error_t). - - * ps.h (struct proc_stat): Add PROC_INFO_VM_ALLOCED, - THREAD_WAITS_VM_ALLOCED, and ARGS_VM_ALLOCED fields, - * procstat.c (merge_procinfo) Take a struct proc_stat as an arg, - not all the individual fields. Correctly set OLD_PI_HDR. - Correctly calculate REALLY_NEED. - (set_procinfo_flags): Use new calling merge_procinfo calling convention. - (_proc_stat_free): Use explicit VM_ALLOCED flag for MFREEMEM. - (proc_stat_set_flags): Try mallocing a buffer for PS->args. - Move second call to set_procinfo_flags after msgport suppress test. - Add TEST_MSGPORT_FLAGS variable, & use it. - Be more picky about when we call set_procinfo_flags. - -Sat Jun 1 11:18:58 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * procstat.c (set_procinfo_flags): New function. - (proc_stat_set_flags): Use it, to get msgport validity testing right. - (merge_procinfo): Take and return HAVE instead of using a - reference parameter. Clean up malloced storage if we get an error. - - * spec.c (struct ps_fmt_spec_block): New type. - (specs_add_alias): Use a linked list of ps_fmt_spec_blocks instead of - reallocing a vector of specs. - (ps_fmt_specs_find): Change searching accordingly. - * ps.h (struct ps_fmt_specs): The EXPANSIONS field now points to a - struct ps_fmt_spec_block. Delete EXPANSIONS_ALLOCED field. - - * procstat.c (merge_procinfo): Correctly test for malloc failure. - -Fri May 31 18:36:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * procstat.c (MFREEMEM): New macro combining MFREEM & MFREEVM. - (MFREEM, MFREEVM): Macros deleted. - (merge_procinfo): Do mem allocation more efficiently and correctly. - (fetch_procinfo): Do conversion for PI_SIZE from/to units of - sizeof (int), so no one else has to deal with it. - (PROCINFO_MALLOC_SIZE, WAITS_MALLOC_SIZE): New macros. - - * procstat.c (proc_stat_set_flags): After fetching number of - threads to guess whether we need wait info, put it in PS->num_threads. - (merge_procinfo): Avoid vm_allocing a procinfo buffer each time if - we can help it. - Correctly reflect newly fetched info. - (PSTAT_PROCINFO_MERGE, PSTAT_PROCINFO_REFETCH): New macros. - -Wed May 29 11:31:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * procstat.c (MP_MGET): Only disable msgport on timeout. - (get_thread_wait): Decrement N in loop. - - * ps.h: Renumber PSTAT_ values to remove dup. - - * procstat.c (merge_procinfo): Don't die if WAITS == 0. - (summarize_thread_waits): Correctly advance NEXT_WAIT. - Skip threads marked `itimer'. - (proc_stat_set_flags): Consider processes with less than 4 threads - to be candidates for a meaningful process wait status. - (get_thread_wait): Use strnlen instead of memchr. - (PSTAT_PROCINFO): Typo: PSTAT_THREAD_WAIT --> PSTAT_THREAD_WAITS. - (PSTAT_USES_MSGPORT): Add PSTAT_THREAD_WAIT. - -Tue May 28 16:36:17 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fmt.c (_fmt_create): Make NAME termination work for posix-mode. - - * fmt.c (ps_fmt_write_proc_stat): Call the output function correctly. - (_fmt_create): Get FIELD's precision, not width, from its spec. - -Fri May 24 13:33:14 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * procstat.c (fetch_procinfo): Always turn on PSTAT_PROC_INFO if - proc_getprocinfo returns successfully. - (merge_procinfo): Update *HAVE with PSTAT_PROC_INFO from - REALLY_HAVE here. - -Wed May 22 19:55:04 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fmt.c (_fmt_create): Increment SRC when reading modifiers. - Recognize '^' modifier. - -Sun May 12 13:33:16 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * procstat.c (PSTAT_PROCINFO, PSTAT_PROCINFO_THREAD): Add - PSTAT_THREAD_WAITS. - (proc_stat_set_flags): Be more careful about when we fetch - thread_wait information, and synthesize a process-summary thread_wait - value for lots of threads. - (summarize_thread_waits): Only give a real summary if there's but - a single user thread. - (fetch_procinfo): Use PSTAT_THREAD_WAITS instead of PSTAT_THREAD_WAIT. - * ps.h (PSTAT_THREAD_WAITS): New macro. - - * procstat.c (merge_procinfo, fetch_procinfo): Change HAVE to be an - input/output parameter. - (proc_stat_set_flags): Change accordingly. - - * procstat.c (get_thread_wait): Correctly advance WAIT. - - * spec.c (specs): Give runtime specs 2 fraction digits by default. - -Thu May 9 17:03:37 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * procstat.c (fetch_procinfo): Pass a reference to PI_FLAGS in - call to fetch_procinfo. - -Mon May 6 16:28:54 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * proclist.c (proc_stat_list_spec_nominal): Take a spec again. - * ps.h (proc_stat_list_spec_nominal): Change FIELD arg to SPEC. - - * user.c (install_passwd): New function. - (ps_user_passwd): Use it. - (ps_user_uname_create, ps_user_passwd_create): New functions. - * ps.h (ps_user_uname_create, ps_user_passwd_create): New declarations. - (ps_fmt_set_output_width): New declaration. - - * spec.c (ps_emit_user_name): New function. - - * ps.h (struct ps_fmt_spec): Remove keep field, add flags field. - (struct ps_fmt_field): Remove at_mod, colon_mod, & keep fields, - add flags field. - (PS_FMT_FIELD_AT_MOD, PS_FMT_FIELD_COLON_MOD, PS_FMT_FIELD_KEEP, - PS_FMT_FIELD_UPCASE_TITLE): New macros. - * spec.c (specs): Initialize flags field, not keep field. - (specs_add_alias): Pass on flags field. - * fmt.c (_fmt_create): Use flags fields, and implement global - flags, and add upcase flag (^). - (ps_fmt_write_titles): Implement PS_FMT_FIELD_UPCASE_TITLE. - * proclist.c (proc_stat_list_spec_nominal): Use flags field, not - keep field. - - * ps.h (struct proc_stat): Remove exec_flags field. - (PSTAT_EXEC_FLAGS): Macro removed. - * procstat.c (add_preconditions, proc_stat_set_flags): Remove - references to exec_flags. - -Sun May 5 00:22:01 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * proclist.c (proc_stat_list_spec_nominal): Take a field, not a spec. - If the field has the keep flag set, don't nominalize it. - * fmt.c (_fmt_create): Change syntax of fields. Add support for - precision and `@', `:', `?', & `!' modifiers. - Add POSIX argument, and support for posix-style format strings. - When using the field name as the title, use the defn, not the user's. - (ps_fmt_squash): Call FN with the field, not the field's spec. - (ps_fmt_squash_flags): Appropiately modify the function we use. - (ps_fmt_create, ps_fmt_creation_error): Add POSIX argument. - * ps.h (struct ps_fmt_spec): Add precision & keep fields. - Change args to OUTPUT_FN. - (struct ps_fmt_field): Add precision, keep, at_mod, & colon_mod fields. - (proc_stat_list_spec_nominal): Change SPEC arg to FIELD. - (ps_fmt_squash): Call FN on the field, not the spec. - (ps_fmt_create, ps_fmt_creation_error): Add POSIX arg. - * spec.c (specs): Add precision & keep fields. - (FG): New macro. - (ps_emit_*): Take FIELD argument instead of WIDTH. - -Thu May 2 00:12:19 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.h (ps_fmt_creation_error): New declaration. - -Tue Apr 30 18:54:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fmt.c (_fmt_create): New function (was ps_fmt_create). - (ps_fmt_create): Call _fmt_create. - (ps_fmt_creation_error): New function. - - * spec.c (ps_emit_past_time): Implement. - -Mon Apr 29 12:59:08 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * spec.c (ps_emit_seconds): Use new args to fmt_seconds. - (ps_emit_minutes): Use new args to fmt_minutes. - -Tue Apr 23 13:38:06 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.h (PSTAT_STATE_P_ATTRS): Fix names of individual flags. - - * spec.c (state_shadows): If a process has no parent don't show - various process attributes (that are likely to be noise). - -Thu Apr 11 18:05:16 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (MIGCOMUFLAGS): Delete variable. - - * spec.c (ps_emit_past_time): Return zero. - -Wed Mar 27 15:19:40 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (msg-MIGUFLAGS, term-MIGUFLAGS): Add a user prefix of `ps_'. - * procstat.c (proc_stat_set_flags): Use new prefix. - Include "ps_msg.h". - * tty.c (ps_tty_name): Use new prefix. - Include "ps_term.h". - -Mon Mar 25 11:35:48 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ...just about everything...: Get rid of mega typedefs, and just - use structure pointers like other hurd libraries. Other misc cleanups. - - * ps.h (struct ps_fmt_specs): Add EXPANSIONS & EXPANSIONS_ALLOCED. - * spec.c (ps_fmt_specs_find): Use new alias expansion method. - (specv_find, specs_add_alias): New functions. - -Mon Mar 11 16:27:14 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * write.c (noise_write): Keep track of amount printed correctly. - -Sat Mar 9 15:52:55 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * write.c (iscntl): New macro. - (noise_write, noise_len): Correctly handle MAX < 0 case. - (noise_write): Use new arguments for flush. - (flush): Moved to file scope. Remove END argument and use NEW - 1. - (noise_write): Make T of type unsigned char * so that chars with - the high bit set print correctly. - -Thu Mar 7 19:08:00 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * write.c (iscntl): New macro. - (noise_write, noise_len, flush): New functions. - (ps_stream_write, _ps_stream_write_field): Use noise functions. - -Thu Feb 15 00:02:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * spec.c (specs): Right-align the TTY column. - -Wed Feb 14 17:49:17 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * write.c (ps_stream_write): Don't screw up on negative spaces. - - * proclist.c (proc_stat_list_add_pids): Add and support new return - parameter PROC_STATS. - (proc_stat_list_add_pid): Add and support new return parameter PS. - (proc_stat_list_add_fn_pids, proc_stat_list_add_id_fn_pids, - proc_stat_list_add_all, proc_stat_list_add_login_coll, - proc_stat_list_add_session, proc_stat_list_add_pgrp): - Add and support new return parameters PROC_STATS & NUM_PROCS. - * ps.h (proc_stat_list_add_pids, proc_stat_list_add_pid, - proc_stat_list_add_all, proc_stat_list_add_login_coll, - proc_stat_list_add_session, proc_stat_list_add_pgrp): - Update declarations. - - * filters.c (ps_alive_filter): New variable. - (ps_alive_p): New function. - * ps.h (ps_alive_filter): New declaration. - -Mon Feb 12 14:34:22 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * spec.c (ps_emit_wait): For rpcs, put the port first. - -Fri Feb 9 15:55:35 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.h (struct proc_stat): Add thread_wait, thread_waits, & - thread_waits_len fields. - (PSTAT_THREAD_WAIT): Renamed from PSTAT_THREAD_RPC. - (proc_stat_thread_wait): New macro. - (ps_stream_write_trunc_field): New declaration. - * procstat.c (fetch_procinfo, merge_procinfo): Return wait strings. - (summarize_thread_waits): Return both wait and rpc info. - (get_thread_wait): New function. - (proc_stat_set_flags): Support finding wait info. - Change occurances of PSTAT_THREAD_RPC to PSTAT_THREAD_WAIT. - * spec.c (specs): Change `Rpc' entry to `Wait'. - (ps_emit_wait): New function. - (ps_emit_string, ps_emit_string0): Use ps_stream_write_trunc_field. - (ps_get_wait): Renamed from ps_get_rpc; calling convention changed. - (ps_wait_getter): Renamed from ps_rpc_getter & contents changed accord. - (get_syscall_name, get_rpc_name): New stub functions. - * write.c (ps_stream_write_field): Call _ps_stream_write_field. - (ps_stream_write_trunc_field): New function. - (_ps_stream_write_field): New function, from ps_stream_write_field. - -Sat Feb 3 22:22:01 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * spec.c (specs, state_shadows, ps_pid_getter, - ps_thread_index_getter, ps_owner_getter, ps_owner_uid_getter, - ps_ppid_getter, ps_pgrp_getter, ps_session_getter, - ps_login_col_getter, ps_num_threads_getter, ps_args_getter, - ps_state_getter, ps_rpc_getter, ps_vsize_getter, ps_rsize_getter, - ps_cur_priority_getter, ps_base_priority_getter, - ps_max_priority_getter, ps_usr_time_getter, ps_sys_time_getter, - ps_tot_time_getter, ps_rmem_frac_getter, ps_cpu_frac_getter, - ps_sleep_getter, ps_susp_count_getter, ps_proc_susp_count_getter, - ps_thread_susp_count_getter, ps_tty_getter, ps_page_faults_getter, - ps_cow_faults_getter, ps_pageins_getter, ps_msgs_sent_getter, - ps_msgs_rcvd_getter, ps_zero_fills_getter): Make const. - * ps.h (ps_getter_t, ps_filter_t, struct ps_filter, - ps_not_leader_filter, ps_ctty_filter, ps_unorphaned_filter, - ps_parent_filter, ps_std_fmt_specs): Make const. - -Mon Jan 15 16:32:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * procstat.c (summarize_thread_basic_info): If there are any - running threads, then only average priority from them. - -Sun Jan 14 00:24:55 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * spec.c (state_shadows): Don't reflect a suspended thread in the - process state display if any thread isn't suspended. - -Sun Dec 24 14:24:52 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (installhdrsubdir): New macro (put ps.h in <>, not <hurd/>). - -Sat Dec 23 21:50:58 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * fmt.c (ps_fmt_set_output_width): New function. - -Fri Dec 22 12:21:04 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.h (struct ps_user_hooks): New structure. - (PSTAT_HOOK, PSTAT_USER_BASE, PSTAT_USER_MASK): New macros. - (struct ps_context): Add USER_HOOKS field. - * procstat.c (_proc_stat_free): Call user cleanup hook. - (proc_stat_set_flags, add_preconditions): Deal with user bits. - * context.c (ps_context_create): Initialize USER_HOOKS field. - -Thu Dec 21 12:04:24 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * spec.c (ps_get_usr_time, ps_get_sys_time, ps_get_tot_time): - Return a struct timeval instead of mach time_value_t. - (ps_cmp_times): New function. - (ps_emit_seconds, ps_emit_minutes): Use timefmt functions. - (append_fraction, sprint_long_time, ps_emit_nice_seconds): Deleted. - Include <timefmt.h>. - - * ps.h (struct ps_fmt_spec): Add TITLE field. Renamed - DEFAULT_WIDTH field to WIDTH, and move to after TITLE. - (ps_fmt_spec_width): Renamed from ps_fmt_spec_default_width().. - (ps_fmt_spec_title): New macro. - (struct ps_fmt): Add INVAL field. - (ps_fmt_inval): New macro. - * spec.c (specs): Rearrange to use new field layout. - - * fmt.c (ps_fmt_create): Use the new spec fields. - (ps_fmt_write_proc_stat): Support new inval field in FMT. - - * spec.c (ps_fmt_specs_find): Renamed from find_ps_fmt_spec; now - uses a struct ps_fmt_specs instead of an array of specs. - (specs): Renamed from ps_std_fmt_specs; - (ps_std_fmt_specs): Now of type struct ps_fmt_specs, pointing to specs. - * ps.h (ps_fmt_specs_t): New typedef. - (struct ps_fmt_specs): New structure. - (ps_std_fmt_specs): Now of type struct ps_fmt_specs. - (ps_fmt_specs_find): Renamed from find_ps_fmt_spec; now uses a - struct ps_fmt_specs instead of an array of specs. - (ps_fmt_create): Now takes a ps_fmt_specs_t structure instead of - an array of specs. - - * fmt.c (ps_fmt_create): Now takes a ps_fmt_specs_t instead of an - array of specs. Also fixup call to ps_fmt_specs_find(). - - * ps.h (struct proc_stat): Add failed and hook fields. - * procstat.c (proc_stat_set_flags): Support the failed field. - (_proc_stat_create): Initialize the failed and hook fields. - -Wed Dec 20 12:49:24 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * spec.c (ps_emit_nz_int): Write `-' when the value is 0, rather - than mangling the output. - -Sun Dec 17 03:09:31 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * procstat.c (proc_stat_set_flags): If there's no owner, set the - uid to -1 (and the owner to null), instead of failing. - * spec.c (ps_emit_uid): Use an int uid, and emit "-" for none. - (ps_emit_uname, ps_cmp_uids, ps_cmp_unames, ps_nominal_user): - Handle NULL users. - - * filters.c (ps_not_leader_p): Renamed from ps_not_sess_leader_p. - (ps_not_leader_filter): Renamed from ps_not_sess_leader_filter. - (ps_unorphaned_p): Include login leaders as well as session leaders. - * ps.h (ps_not_leader_filter): Renamed from ps_not_sess_leader_filter. - -Sat Dec 16 23:42:27 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.h (proc_stat_owner_uid): New macro. - (PSTAT_OWNER_UID): New macro. - (struct proc_stat): Add owner_uid field. - * procstat.c (proc_stat_set_flags): Add support for PROC_OWNER_UID. - (add_preconditions): Add preconditions for owner_uid (& owner). - * spec.c (ps_owner_uid_getter): New variable. - (ps_get_owner_uid, ps_nominal_uid): New functions. - (ps_std_fmt_specs): Make "UID" use owner_uid rather than owner. - (own_uid): New variable (was function local). - * filters.c (ps_own_filter): Depend on PSTAT_OWNER_UID. - (ps_own_p): Account for there being no uid. - -Thu Nov 16 12:51:34 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * write.c (ps_stream_write_field): Trim spaces from BUF. - -Wed Nov 15 18:55:26 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.h (ps_fmt_write_titles, ps_fmt_write_proc_stat, - proc_stat_list_fmt, ps_emit_int, ps_emit_nz_int, ps_emit_priority, - ps_emit_percent, ps_emit_num_blocks, ps_emit_nice_int, - ps_emit_nice_seconds, ps_emit_seconds, ps_emit_uid, ps_emit_uname, - ps_emit_string0, ps_emit_string, ps_emit_tty_name, ps_emit_state, - ps_stream_write, ps_stream_space, ps_stream_pad, - ps_stream_newline, ps_stream_write_field, ps_stream_write_int_field): - Use new STREAM parameter instead of old one and count. - (ps_stream_write): Renamed from ps_write_string. - (ps_stream_space): Renamed from ps_write_spaces. - (ps_stream_pad): Renamed from ps_write_padding. - (ps_stream_write_field): Renamed from ps_write_field. - (ps_stream_write_int_field): Renamed from ps_write_int_field. - (ps_stream_newline): New declaration. - - * fmt.c (ps_fmt_write_titles, ps_fmt_write_proc_stat): Use new - write function names. Use new STREAM parameter instead of old one - and count. - * proclist.c (proc_stat_list_fmt): Ditto. - * spec.c (ps_emit_int, ps_emit_nz_int, ps_emit_priority, - ps_emit_percent, ps_emit_num_blocks, ps_emit_nice_int, - ps_emit_nice_seconds, ps_emit_seconds, ps_emit_uid, ps_emit_uname, - ps_emit_string0, ps_emit_string, ps_emit_tty_name, ps_emit_state): - Ditto. - (ps_emit_seconds): Remove leading spaces from what we print. - - * write.c (ps_stream_write): Renamed from ps_write_string. - (ps_stream_space): Renamed from ps_write_spaces. - (ps_stream_pad): Renamed from ps_write_padding. - (ps_stream_write_field): Renamed from ps_write_field. - (ps_stream_write_int_field): Renamed from ps_write_int_field. - (ps_stream_write, ps_stream_space, ps_stream_pad, - ps_stream_newline, ps_stream_write_field, ps_stream_write_int_field): - Use new STREAM parameter instead of old one and count. - Use new function names. - (ps_stream_write, ps_stream_space): Support negative spaces. - (ps_stream_newline): New function. - (ps_stream_pad, ps_stream_write_field): Use negative spaces. - -Tue Nov 7 17:43:48 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * spec.c (ps_base_priority_getter, ps_cur_priority_getter, - ps_get_base_priority, ps_get_cur_priority): Get this info using - PSTAT_THREAD_BASIC instead of PSTAT_THREAD_SCHED. - * procstat.c (summarize_thread_basic_info): Summarize available - priority info too. - (summarize_thread_sched_info): Do max_ & depress_priority too. - - * procstat.c (proc_stat_set_flags): Initialize the proc_info and - proc_info_size fields if they've never been set before. - Always update proc_getprocinfo fields, even if we already had them. - (add_preconditions): Correct preconditions for PSTAT_STATE. - (PSTAT_TEST_MSGPORT): Renamed from SHOULD_SUPPRESS_MSGPORT_FLAGS. - (PSTAT_USES_MSGPORT): New macro. - (SUPPRESS_MSGPORT_FLAGS): Use PSTAT_USES_MSGPORT, not PSTAT_MSGPORT. - (proc_stat_set_flags): Use PSTAT_TEST_MSGPORT. - (merge_procinfo): Only copy old task info if we actually had it. - (proc_stat_set_flags): Don't unnecessarily grab procinfo stuff. - -Tue Oct 31 14:03:53 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * spec.c (ps_rpc_getter): New variable. - (ps_get_rpc): New function. - (ps_std_fmt_specs): Add "RPC" entry. - (ps_emit_nz_int): New function. - - * ps.h (PSTAT_STATE_P_LOGINLDR, PSTAT_STATE_P_WAIT, - PSTAT_STATE_P_GETMSG): New flags. - * procstat.c (add_preconditions): Don't require PSTAT_EXEC_FLAGS for - getting the state anymore (but do require PSTAT_{TASK,THREAD}_BASIC). - (proc_stat_state_tags): Update to reflect new flags. - (proc_stat_set_flags): Set new flags. - - * procstat.c (PSTAT_PROCINFO, PSTAT_PROCINFO_THREAD): New macros. - (fetch_procinfo, merge_procinfo): New functions. - (SHOULD_SUPPRESS_MSGPORT_FLAGS): Change to use more accurate flags. - (should_suppress_msgport): Use new fields. - (summarize_thread_basic_info, summarize_thread_sched_info, - summarize_thread_states, summarize_thread_rpcs, count_threads): - New functions. - (proc_stat_set_flags): Support the new division of PSTAT_INFO into - individual flags, and support getting thread information by - using the thread's origin proc_stat. - (_proc_stat_free): Free the thread_basic_info and - thread_sched_info fields if necessary. - (proc_stat_thread_create): Don't require that the source process - have thread information around; it will be fetched later if necessary. - - * spec.c (ps_ppid_getter, ps_pgrp_getter, ps_session_getter, - ps_login_col_getter): Use PSTAT_PROC_INFO, not PSTAT_INFO. - (ps_get_ppid, ps_get_pgrp, ps_get_session, ps_get_login_col): Use - proc_stat_proc_info, not proc_stat_info. - (ps_vsize_getter, ps_rsize_getter, ps_rmem_frac_getter, - ps_proc_susp_count_getter): Use PSTAT_TASK_BASIC, not PSTAT_INFO. - (ps_get_vsize, ps_get_rsize, ps_get_rmem_frac, ps_get_proc_susp_count): - Use proc_stat_task_basic_info, not proc_stat_info. - (ps_cur_priority_getter, ps_base_priority_getter, - ps_max_priority_getter): Use PSTAT_THREAD_SCHED, not PSTAT_THREAD_INFO. - (ps_usr_time_getter, ps_sys_time_getter, ps_tot_time_getter, - ps_cpu_frac_getter, ps_sleep_getter): - Use PSTAT_THREAD_BASIC, not PSTAT_THREAD_INFO. - - * filters.c (ps_own_filter): Use PSTAT_PROC_INFO, not PSTAT_INFO. - (ps_own_p): Use proc_stat_proc_info, not proc_stat_info. - - * ps.h (proc_stat_num_threads): Use the num_threads field. - (proc_stat_thread_sched_info, proc_stat_thread_basic_info): Don't - take the address, now that the fields used are pointers themselves. - (proc_stat_thread_rpc, proc_stat_task_basic_info): New macros. - (proc_stat_proc_info): Renamed from proc_stat_info. - (PSTAT_PROC_INFO): Renamed from PSTAT_INFO. - (PSTAT_TASK_BASIC, PSTAT_THREAD_BASIC, PSTAT_THREAD_SCHED, - PSTAT_THREAD_RPC): New macros. - (struct proc_stat): info & info_len --> proc_info & proc_info_len. - Add the num_threads, task_basic_info, and thread_rpc fields. - thread_basic_info & thread_sched_info are now pointers. - -Mon Oct 9 14:57:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile: Specify shared library dependencies. - -Fri Aug 25 18:55:51 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ps.h (ps_std_fmt_specs): Declare extern. - -Wed Aug 23 15:04:51 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (OBJS): Just put the migs stubs directly in here. - (REMHDRS, MIGSTUBS): Removed. - -Sat Aug 19 11:49:06 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * procstat.c (proc_stat_set_flags): Actually set the P_STOP bit. - -Fri Aug 18 16:43:41 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ps.h (PSTAT_STATE_*): All proc state flags reorganized and - renamed to PSTAT_STATE_P_* for process-global bits, and - PSTAT_STATE_T_* for per-thread bits. - * procstat.c (proc_stat_state_tags): Reordered to reflect the new - ordering of the state bits. - (thread_state, proc_stat_set_flags): Use the new state bits. - * spec.c (ps_emit_state): Rearrange things to reflect the new - state bits. - (state_shadows): New variable. - (ps_emit_state): Use the state_shadows list to turn off some states. - * filters.c (ps_not_sess_leader_p, ps_unorphaned_p, ps_parent_p): - Use the new state bits. - -Sat Jul 8 13:34:20 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * tty.c (ps_tty_short_name): That assignment around which extra - parents were put was actually supposed to be a test! Make it so... - -Thu Jul 6 22:25:20 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * tty.c (ps_tty_short_name): Put extra parens around assignment - inside if test. - -Thu Jul 6 15:36:04 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * Makefile: Remove include dependencies. - -Thu Jun 29 15:29:05 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * Makefile (REMHDRS): New variable. - ($(OBJS)): depend on ../libihash/ihash.h. - * ps.h: Include hurd/ihash.h instead of ihash.h. - -Wed May 31 13:09:04 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * fmt.c (ps_fmt_create): Don't mutate the format spec name in the - fmt_spec list we're passed just to get correctly capitalized - titles. Instead, do things correctly by making enough room to - store our own version of the title string, which we can do with - what we please. - - * ps.h (ps_own_filter, ps_not_sess_leader_filter, ps_ctty_filter, - ps_unorphaned_filter, ps_parent_filter): Declare these as extern - so that the linker will bring in the initialized version (it's not - doing so otherwise may be a bug). - -Thu May 4 20:01:32 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * procstat.c (proc_stat_set_flags): If a msg port call times out, - disable use of that msg port. - * Makefile (MIGSTUBS, term-MIGUFLAGS, msg-MIGUFLAGS): Compile our - own msg & term user stubs to add msg timeouts. - -Wed May 3 11:32:52 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * proclist.c (proc_stat_list_for_each): New function for iterating - over proc_stat_lists. - (proc_stat_list_spec_nominal): New function for deciding if a - particular spec is always nominal. - * ps.h: Add entries for proc_stat_list_for_each and - proc_stat_list_spec_nominal. - - * fmt.c (ps_fmt_squash, ps_fmt_squash_flags): Recalculate the set - of ps flags needed by the fmt in ps_fmt_squash. - -Tue May 2 12:25:57 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * ps.h (ps_fmt_squash): Rename to ps_fmt_squash_flags. - * fmt.c (ps_fmt_squash, ps_fmt_squash_flags): Rename ps_fmt_squash to - ps_fmt_squash_flags, moving most of the guts into a new more - general ps_fmt_squash, which is usable for other things than flags. - - * ps.h (struct ps_fmt_spec): Add the nominal_fn field, which will - be used to decide whether values are `unexciting'. - * spec.c (ps_std_fmt_specs): Add values for the nominal_fn field. - (ps_nominal_zint, ps_nominal_user, ps_nominal_pri, ps_nominal_nth): - Possible nominal funs. - - * ps.h (struct proc_stat): Add the suspend_count field, along with - PSTAT_SUSPEND_COUNT, and proc_stat_suspend_count(ps). - * procstat.c (proc_stat_set_flags, add_preconditions): Add support for - the suspend_count field. - * spec.c (ps_std_fmt_specs): Add the Susp (task/thread suspend count), - PSusp (task suspend count), and TSusp (thread suspend count) output - specs. - - * procstat.c (add_preconditions): A new function that calculates inter- - flag dependencies; code moved here from from proc_stat_set_flags. - (should_suppress_msgport): A new function that returns true when - there's some condition indicating that we shouldn't use a process's msg - port. - (proc_stat_set_flags): Avoid using a process's msg port when it may be - unusable. - - * ps.h (PSTAT_STATE_FORKED): A new flag to replace PSTAT_STATE_EXECED; - we want to the flags to mark exceptional conditions, and this is rarer. - * procstat.c (proc_stat_set_flags): Set PSTAT_STATE_FORKED instead of - PSTAT_STATE_EXECED. - (proc_stat_state_tags): Change the user state letter to "f" from "e". - -Sun Apr 23 15:38:39 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * Makefile: Set libname. - -Fri Apr 7 11:12:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * proclist.c (proc_stat_list_sort1): Always keep threads after their - process when sorting! - - * spec.c (ps_emit_state): If a process is marked as stopped, then - don't mention sleeping or idle threads' status (as that's presumably - the signal thread). - - * ps.h: Add decls for proc_stat_list_add_pgrp & ps_tty_short_name. - - * proclist.c (proc_stat_list_add_all, proc_stat_list_add_login_coll, - proc_stat_list_add_session): Move most of the functionality into - proc_stat_list_add_[id_]fn_pids. - (proc_stat_list_add_pgrp): New function, adds pids for a pgrp. - - * tty.c (ps_tty_short_name): New function; functionality used to be in - spec.c - (ps_tty_create, ps_tty_free): Add short_name fields. - * spec.c (ps_emit_tty_name): Move guts into into ps_tty_short_name. - - * Just about everything: tighten up types used (i.e., don't use int - for everything). - -Wed Apr 5 22:42:24 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * spec.c (ps_std_fmt_specs): Add the `Arg0' spec, which is the - same as `Args', but only prints the first one. Change MsgsIn - and MsgsOut to MsgIn and MsgOut. - -Tue Apr 4 20:13:55 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ps.h: Add the PSTAT_NO_MSGPORT flag, which when set disables any - use of the process's message port. - * procstat.c (proc_stat_set_flags): If PSTAT_NO_MSGPORT is set, - don't use the msg port. - -Wed Mar 29 15:36:43 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * procstat.c (proc_stat_set_flags): Don't barf if a process has - zero threads. - -Tue Mar 28 10:33:08 1995 Miles Bader <miles@duality.gnu.ai.mit.edu> - - * ps.h: Add the exec_flags field to the proc_stat structure, and - add PSTAT_STATE_TRACED. - * procstat.c (proc_stat_set_flags): Add support for the exec_flags - field, and make the state bits calculation use that to support the - PSTAT_STATE_TRACED bit. - -Mon Mar 20 20:51:51 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * user.c (ps_user_passwd) [COUNT, COPY]: Use `if' statement. - * spec.c (ps_emit_num_blocks): Use int format for int arg. - (sprint_frac_value): Likewise. - * write.c (ps_write_int_field): Likewise. - * host.c (ps_host_basic_info): Cast third arg to host_info. - (ps_host_sched_info): Likewise. - (ps_host_load_info): Likewise. - - * filters.c: Include <unistd.h>. - * context.c: Include <hurd/term.h>. - * tty.c: Likewise. - * spec.c: Include <string.h>. - * procstat.c: Likewise. - - * host.c: Don't include "pshost.h". - * spec.c: Likewise. - - * ps.h: Include <errno.h>. - (ps_get_host, ps_host_basic_info, ps_host_sched_info, - ps_host_load_info): Copied here from pshost.h. - (ps_write_string, ps_write_spaces, ps_write_padding, - ps_write_field, ps_write_int_field): Copied here from pswrite.h - * pshost.h, pswrite.h: Delete files. - - * New ChangeLog, moved into canonical directory structure. - Old ChangeLog is in .../hurd/utils/ps.ChangeLog. diff --git a/libshouldbeinlibc/ChangeLog b/libshouldbeinlibc/ChangeLog deleted file mode 100644 index f3fa68b0..00000000 --- a/libshouldbeinlibc/ChangeLog +++ /dev/null @@ -1,1413 +0,0 @@ -2008-07-17 Flávio Cruz <flaviocruz@gmail.com> - - * idvec-auth.c (idvec_merge_auth): Fix size in munmap calls. - -2008-03-19 Marc-Olivier Mercier <mercier.m@sympatico.ca> - - * ugids-argp.c (parse_opt): Check NULL condition for struct passwd - (resp. group) pointer returned by getpwnam_r (resp. getgrnam_r). - -2008-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * idvec-verify.c (verify_id): Compare id to (uid_t) -1 instead of - checking that is is positive or nul (which is always true). - Reported by Marc-Olivier Mercier <mercier.m@sympatico.ca>. - -2007-02-04 Thomas Schwinge <tschwinge@gnu.org> - - * maptime.h: Fix a comment. - -2004-10-23 Marcus Brinkmann <marcus@gnu.org> - - * ugids-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing. - -2003-08-03 Marco Gerards <metgerards@student.han.nl> - - * idvec-verify.c: Include <crypt.h>. - (crypt): Removed prototype. - -2002-05-12 Marcus Brinkmann <marcus@gnu.org> - - * idvec-impgids.c (_merge_implied_gids): Free CACHE on failure. - Submitted by Neal H Walfield <neal@cs.uml.edu>. - -2002-05-08 Roland McGrath <roland@frob.com> - - * portinfo.c (print_port_info): Use %z formats for port names. - * xportinfo.c (print_xlated_port_info): Likewise. - - * idvec-verify.c (verify_passwd): Cast to intptr_t before int. - - * idvec-auth.c (idvec_merge_auth): int -> size_t. - - * portxlate.c (port_name_xlator_xlate): Use mach_msg_type_name_t - instead of mach_port_type_t, to match RPC prototype. - - * wire.c: Use ElfW(TYPE) in place of Elf32_TYPE throughout. - -2002-02-06 Roland McGrath <roland@frob.com> - - * Makefile (CFLAGS): Don't add -DHAVE_LINEWRAP_H -DHAVE_CTHREADS_H. - -2001-06-24 Mark Kettenis <kettenis@gnu.org> - - * idvec-impgids.c (_merge_implied_gids) [HAVE_GETGROUPLIST]: - Conditionally enable code that calls getgrouplist. Use `int' - instead of `size_t' for number of groups. - [!HAVE_GETGROUPLIST]: Add #warning about missing getgrouplist. - -2001-03-31 Roland McGrath <roland@frob.com> - - * ugids.h: Fix obsolescent #endif syntax. - -2001-03-29 Neal H Walfield <neal@cs.uml.edu> - - * idvec-auth.c (idvec_merge_auth): Really allow parameters - to be NULL. - -2001-02-25 Roland McGrath <roland@frob.com> - - * idvec.h: Include <string.h> for memcmp decl. - - * wire.c (map_extent): Add dead return stmt to silence gcc warning. - -2001-02-20 Marcus Brinkmann <marcus@gnu.org> - - * timefmt.c: Include <time.h>. Reported by Arkadi E. Shishlov - <arkadi@it.lv>. - -2000-10-30 Marcus Brinkmann <marcus@gnu.org> - - * wire.c: Include <error.h>. - -2000-10-29 Roland McGrath <roland@frob.com> - - * wire.c (map_extent): Pass second arg of RTLD_NOLOAD to dlopen. - (RTLD_NOLOAD): Define macro to zero if undefined. - - * wire.c (map_extent): Rewrite using dlsym on library's _end symbol. - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * options.c, options.h: Ancient unused files removed. - -2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> - - * exec-reauth.c (exec_reauth): Always destroy REF, even when we - get errors. - -2000-01-29 Roland McGrath <roland@baalperazim.frob.com> - - * maptime.h: Include <errno.h> for error_t decl. - -1999-10-29 Roland McGrath <roland@baalperazim.frob.com> - - * wire.c: Use a weak reference to _DYNAMIC. - -1999-09-29 Mark Kettenis <kettenis@gnu.org> - - * idvec.c (idvec_setid): Switch last two arguments in call to - idvec_insert_only. - * idvec.h: Doc fix. - -1999-09-27 Thomas Bushnell, BSG <tb@mit.edu> - - * idvec.c (idvec_setid): Implement Posix saved set-user id - correctly. - (idvec_insert_only): Doc fix. - Reported by Mark Kettenis <kettenis@wins.uva.nl>. - -1999-08-23 Roland McGrath <roland@baalperazim.frob.com> - - * wire.c (map_extent): Use p_memsz instead of p_filesz. - (loaded): Return zero if _DYNAMIC has address zero (i.e., static link). - -1999-08-19 Roland McGrath <roland@baalperazim.frob.com> - - * mktime.c: File removed. Current libc code is good. - * Makefile (SRCS): Remove mktime.c. - -1999-07-11 Roland McGrath <roland@baalperazim.frob.com> - - * portinfo.h: Don't include <sys/types.h>, <sys/mman.h>. - This is an exported header, and its decls don't need them. - * portinfo.c: Include them here instead. - * xportinfo.c: And here. - -1999-07-11 Thomas Bushnell, BSG <tb@mit.edu> - - * ugids-argp.c (parse_opt): Clarify if-then-else structure by - adding more braces. - - * portinfo.h: Include <sys/types.h>. - * portxlate.c: Likewise. - * portinfo.c: (print_port_info): Cast first arg of munmap correctly. - (print_task_ports_info): Likewise. - * xportinfo.c (print_xlated_task_ports_info): Likewise. - * idvec-auth.c (idvec_merge_auth): Likewise. - * portxlate.c (port_name_xlator_create): Likewise. - (port_name_xlator_free): Likewise. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * portinfo.h: Add #include <sys/mman.h> for munmap decl. - * fsysops.c: Likewise. - * idvec-auth.c: Likewise. - * portxlate.c: Likewise. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * fsysops.c (fsys_get_readonly): Use munmap instead of vm_deallocate. - * idvec-auth.c (idvec_merge_auth): Likewise. - * portinfo.c (print_port_info): Likewise. - (print_task_ports_info): Likewise. - * portxlate.c (port_name_xlator_create): Likewise. - (port_name_xlator_free): Likewise. - * xportinfo.c (print_xlated_task_ports_info): Likewise. - -1999-05-23 Roland McGrath <roland@baalperazim.frob.com> - - * idvec-verify.c (SHADOW_PASSWORD_STRING): New macro. - (verify_id): Check for shadow password immediately after getpwuid_r - call, and replace PW->pw_passwd pointer with SP->sp_pwdp. - This is ok since the only use will be later in the function, - and we give the lookup buffer function scope. - (verify_passwd): Don't call CHECK_SHADOW for main passwd, - only when rechecking for wheel-group hack. - -1999-05-20 Roland McGrath <roland@baalperazim.frob.com> - - * idvec-verify.c (verify_passwd): Avoid nonreentrant getpwuid. - If pw_passwd is "x", use getspnam_r and use its sp_pwdp if it succeeds. - -1998-12-21 Mark Kettenis <kettenis@phys.uva.nl> - - * ugids-verify-auth.c: Include <hurd/password.h> again and remove - temporary definitions of password_check_user and - password_check_group. - -1998-11-29 Mark Kettenis <kettenis@phys.uva.nl> - - * idvec-verify.c (verify_passwd): Grant access when the password - in the passwd DB is empty. - (verify_id): Also call verify_fn when the password in the password - DB is empty. - -1999-02-12 Gordon Matzigkeit <gord@trick.fig.org> - - * Makefile (LCLHDRS): Purge argp-fmtstream.h and argp-namefrob.h. - -1998-11-30 Mark Kettenis <kettenis@phys.uva.nl> - - * ugids-verify-auth.c (svma_state_add_auths): Allocate correct - number of bytes for new auth port array. - (server_verify_make_auth): Set check to password_check_group if - is_group is true and to password_check_user if not. Not the other - way around. - -1998-09-26 Mark Kettenis <kettenis@phys.uva.nl> - - * cacheq.c (cacheq_set_length): Fix the limit of the destination - entries. Decide that there is no following entry if the current - entry is equal or greater than this limit. - -1998-10-20 Roland McGrath <roland@baalperazim.frob.com> - - * idvec-verify.c (verify_id): Add braces to silence gcc warning. - -1998-10-19 Roland McGrath <roland@baalperazim.frob.com> - - * exec-reauth.c (exec_reauth): Add braces to silence gcc warning. - * idvec-rep.c (idvec_rep): Likewise. - * idvec-verify.c (verify_id): Likewise. - * portinfo.c (print_port_info): Likewise. - * ugids-verify-auth.c (ugids_verify_make_auth): Likewise. - -1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - - * ugids-verify-auth.c (ugids_verify_make_auth): Fix typos in - svma_state change of 1998-08-11. - - * idvec.c, idvec-auth.c (id_t): Remove typedef; use uid_t everywhere. - The name `id_t' is coopted in libc now for the SVID `waitid' interface. - - * Makefile (SRCS): Remove argz-replace.c and argp-*.c from the list. - (installhdrs): Remove argp.h from the list. - -1998-08-12 Roland McGrath <roland@baalperazim.frob.com> - - * argz-replace.c: Removed, now in libcwhereitshouldbe. - - * argp-ba.c, argp-eexst.c, argp-ex1.c, argp-ex2.c, argp-ex3.c, - argp-ex4.c, argp-fmtstream.c, argp-fmtstream.h argp-fs-xinl.c, - argp-help.c, argp-namefrob.h argp-parse.c, argp-pv.c, argp-pvh.c, - argp-test.c, argp-xinl.c, argp.h: Removed, now in libcwhereitshouldbe. - -1998-08-11 Roland McGrath <roland@baalperazim.frob.com> - - * ugids-verify-auth.c: Leave #include <hurd/password.h> there, but - commented out for the time being. - (password_check_user, password_check_group): Make symbols weak; these - are temporary defns until we get back in synch with libc. - - * ugids-verify-auth.c (ugids_verify_make_auth): Properly initialize - SVMA_STATE members if they will be used. - -Wed Jul 29 16:25:50 1998 Thomas Bushnell, BSG <tb@mit.edu> - - * ugids-verify-auth.c: Don't include <hurd/password.h> for now. - -1997-09-26 Miles Bader <miles@gnu.ai.mit.edu> - - * idvec-verify.c (verify_passwd, get_passwd): New functions. - (idvec_verify): Change type of GETPASS_FN arg. - Add GETPASS_HOOK, VERIFY_FN, and VERIFY_HOOK args & use them. - (verify_id): Change type of GETPASS_FN arg. - Add GETPASS_HOOK, VERIFY_FN, and VERIFY_HOOK args. - Remove WHEEL_UID arg. - Use VERIFY_FN & VERIFY_HOOK instead of doing password comparison - ourselves. - * ugids.h (ugids_verify_make_auth): New declaration. - (ugids_verify): Change type of GETPASS_FN arg. - Add GETPASS_HOOK, VERIFY_FN, and VERIFY_HOOK args. - (ugids_make_auth): Change FROM arg into an array, & add NUM_FROM. - * ugids-verify.c (ugids_verify): Change type of GETPASS_FN arg. - Add GETPASS_HOOK, VERIFY_FN, and VERIFY_HOOK args. - * ugids-verify-auth.c: New file. - * ugids-auth.c (ugids_make_auth): Change FROM arg into an array, & - add NUM_FROM arg. - * Makefile (SRCS): Add ugids-verify-auth.c. - -1997-09-25 Miles Bader <miles@gnu.ai.mit.edu> - - * idvec.h (idvec_verify): Change type of GETPASS_FN arg. - Add GETPASS_HOOK, VERIFY_FN, and VERIFY_HOOK args. - -1997-08-18 Miles Bader <miles@gnu.ai.mit.edu> - - * mktime.c: A copy of libc's time/mktime.c with the - overflow-detection code ifdefd out, to avoid problems with - floating point. - * Makefile (SRCS): Add mktime.c (temporarily). - -1997-07-28 Miles Bader <miles@gnu.ai.mit.edu> - - * ugids-posix.c (ugids_set_posix_user): Ignore errors from - idvec_merge_implied_gids. - * ugids.c (ugids_add_user): Likewise. - * idvec-impgids.c (idvec_merge_implied_gids): Do all ids in UIDS - even if one returns an error. - -1997-07-23 Miles Bader <miles@gnu.ai.mit.edu> - - * maptime.c (maptime_map): Allow MTIME to be mapped anywhere. - -1997-07-22 Miles Bader <miles@gnu.ai.mit.edu> - - * maptime.c (maptime_map): For the device-file case, don't use - wierd file_get_storage_info method for getting device port, just - use io_map to get a memory object directly from the file. - - * argz-replace.c: New file (until the libc version is more widely available). - * Makefile (SRCS): Add argz-replace.c (temporarily). - -1997-06-21 17:35 Ulrich Drepper <drepper@cygnus.com> - - * argp.h: Remove extra #endif. Pretty print. - -1997-06-13 10:06 Richard Henderson <rth@tamu.edu> - - * argp-parse.c: [_LIBC] <libc-lock.h> -> <bits/libc-lock.h>. - * argp-fmtstream.h: Standardize the multiple-include protect (for libc). - * argp.h: Likewise. - -1997-06-13 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (argp_version_parser): Include `(PROGRAM ERROR)' in - the no-version error text to indicate that something's fucked. - [!_] (N_): New macro. - (argp_default_options, argp_version_options): Wrap doc strings in N_(). - -1997-06-12 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (parser_parse_opt): Detect and report unhandled - options here. - (parser_parse_args): Function removed. - (parser_parse_arg): Handle ARGP_KEY_ARGS here. - Adjust NEXT pointer back if we fail to parse any args. - (parser_parse_next): Don't use parser_parse_args. Leave state - NEXT frobbing to parser_parse_arg. - -1997-06-12 21:22 Ulrich Drepper <drepper@cygnus.com> - - * argp-help.c (argp_args_usage): Don't modify `fdoc' value since - it is used to distinguish filtered strings from unmodifed strings. - -1997-06-12 Miles Bader <miles@gnu.ai.mit.edu> - - * maptime.h: Include <sys/time.h>. - -1997-06-11 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h (ARGP_KEY_ARGS, ARGP_KEY_FINI): New macros. - * argp-parse.c (parser_parse_next): Try parser_parse_args if other - methods fail. - (parser_parse_arg): New function. - (parser_finalize): Do another pass over the parsers with ARGP_KEY_FINI. - -Wed Jun 4 15:05:10 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h, argp-help.c, argp-parse.c: Sync with libc version (there - were minor whitespace differences, etc). - - * argp-help.c (_help): Use uparams.usage_indent instead of the - USAGE_INDENT macro. - -Thu May 29 15:00:07 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * idvec-verify.c (idvec_verify): Fix detection of multiple ids. - -Tue May 27 14:16:08 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (argp_args_usage): Supply correct argp to filter_doc. - -Sun May 25 21:57:08 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (parser_init): For the special case where no - parsing function is supplied for an argp, propagate its input to - its first child, if any. - - * argp.h (struct argp_state): `argp' field renamed to `root_argp'. - * argp-help.c (__argp_state_help, argp_args_usage, hol_help): - Replace references to STATE->argp with STATE->root_argp. - * argp-parse.c (parser_init): Likewise. - -Fri May 23 10:23:51 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * idvec.h (idvec_contains): Now an inline function. - (idvec_equal): New inline function. - * idvec.c (idvec_tail): Function removed (now inline in idvec.h). - * ugids-imply.c, ugids-posix.c: New files. - * Makefile (SRCS): Add ugids-imply.c & ugids-posix.c. - -Thu May 22 11:38:01 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * idvec.c (idvec_subtract, idvec_keep): New functions. - (idvec_contains, idvec_tail_contains): Make IDVEC arg const. - (idvec_tail_contains): Rewrite. - (idvec_set_ids, idvec_merge_ids): Make IDS arg const. - (idvec_set, idvec_merge): Make NEW arg const. - * idvec.h (idvec_subtract, idvec_keep, idvec_rep, idvec_uids_rep, - idvec_gids_rep, idvec_merge_implied_gids, idvec_verify): - New declarations. - (idvec_fini): New macro. - (idvec_contains, idvec_tail_contains): Make IDVEC arg const. - (idvec_set_ids, idvec_merge_ids): Make IDS arg const. - (idvec_set, idvec_merge): Make NEW arg const. - (idvec_is_empty): New function. - (IDVEC_INIT): New macro. - * idvec-impgids.c, idvec-verify.c, idvec_rep.c: New files. - * ugids.h, ugids.c, ugids-subtract.c, ugids-verify.c, - ugids-argp.c, ugids-rep.c, ugids-auth.c, ugids-xinl.c, - ugids-merge.c: New files. - * Makefile (SRCS): Add idvec-impgids.c, idvec-verify.c, - idvec-rep.c, ugids.c, ugids-subtract.c, ugids-verify.c, - ugids-argp.c, ugids-rep.c, ugids-auth.c, ugids-xinl.c, - & ugids-merge.c. - (installhdrs): Add ugids.h. - -Wed May 21 17:53:30 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (hol_add_cluster): Initialize CL->depth. - -Tue May 20 14:01:00 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (_help): Supply STATE to argp_args_usage. - (argp_args_usage): Add filtering of the args doc string. - (comma): Print cluster headers for the first entry too. - * argp.h (ARGP_KEY_HELP_ARGS_DOC): New macro. - -1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com> - - * argp-fmtstream.c: Add casts to prevent warnings. - * argp-fmtstream.h: Likewise. - * argp-help.c: Likewise. - -1997-02-27 16:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * argp-parse.c (parser_finalize): Always set *END_INDEX if - supplied. - -Thu May 8 17:15:31 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h [!__error_t_defined] (__error_t_defined): Define. - * argp-help.c (canon_doc_option): Correct ctype tests. - -Wed Mar 5 16:49:51 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (__argp_state_help): Use ARGP_ERR_EXIT_STATUS when - exiting due to an error. - * argp.h (argp_err_exit_status): New variable. - * argp-eexst.c: New file. - * Makefile (SRCS): Add argp-eexst.c. - -Fri Feb 21 10:41:02 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h (OPTION_NO_USAGE): New macro. - * argp-help.c (usage_long_opt, usage_argful_short_opt, - add_argless_short_opt): Implement OPTION_NO_USAGE. - -Thu Feb 20 15:56:16 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * idvec.c (idvec_insert_only): Handle POS >= IDVEC->num correctly. - (idvec_insert, idvec_remove): Handle POS > IDVEC->num correctly. - - * argp-fmtstream.c (__argp_fmtstream_update): Account for case - where NEXTLINE points one past the end of the active buffer. - - * argp-help.c <stddef.h>: New include. - (__argp_failure): Only exit if STATE says it's ok. - (print_header, hol_entry_help): Use UPARAMS fields rather than - constants. - (_help): Call fill_in_uparams if necessary. - (struct hol_help_state): New type. - (struct pentry_state): Add hhstate field. Remove prev_entry & - sep_groups fields. - (hol_entry_help): Add HHSTATE parameter. Remove prev_entry & - sep_groups parameters. - Suppress duplicate arguments if requested, and note the fact. - (print_header, comma): Use PEST->hhstate fields. - (hol_help): Add HHSTATE variable & pass to hol_entry_help. - Remove LAST_ENTRY & SEP_GROUPS variables. - If any suplicate arguments were suppressed, print explanatory note. - (filter_doc): Replace PEST parameter with STATE. - (struct uparams): New type. - (uparams): New variable. - (struct uparam_name): New type. - (uparam_names): New variable. - (fill_in_uparams): New function. - (__argp_failure, __argp_error, __argp_state_help): Make STATE - parameter const. - * argp.h (argp_state_help, __argp_state_help, argp_usage, - __argp_usage, argp_error, __argp_error, argp_failure, - __argp_failure): Make STATE parameter const. - (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro. - - * argp.h (argp_program_bug_address): Make const. - -Wed Feb 19 18:48:15 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-pv.c (argp_program_version): Make const. - * argp-ba.c (argp_program_bug_address): Make const. - * argp-ex2.c, argp-ex3.c, argp-ex4.c (argp_program_version, - argp_program_bug_address): Make const. - - * argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME. - (parser_init): Use the basename for PARSER->state.name. - * argp-help.c (__argp_error, __argp_failure, __argp_state_help): - Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME. - - * argp-parse.c (parser_init): Set PARSER->state.flags. - Make check whether PARSER has the prog name in argv[0] at the - proper place. - -Mon Feb 17 13:33:11 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (parser_parse_next, parser_init): Remove __ - prefixes from references to getopt functions variables (OPT*). - (argp_version_parser, parser_finalize): Use _ instead of gettext. - (gettext): Macro removed. - * argp-namefrob.h (__getopt_long, __getopt_long_only, __optind, - __optarg, __opterr, __optopt): Macros removed. - -Sun Feb 16 00:04:07 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (space): New function. - (usage_argful_short_opt): Use space. - (argp_doc): Deal with help filters. Add STATE param. - (argp_hol): Passin ARGP to make_hol, not ARGP->options. - (struct hol_entry): Add argp field. - (make_hol): Make this first parameter ARGP instead of OPT. Set - each entry's argp field. - (filter_doc): New function. - (print_header): Filter STR if necesary. - (hol_add_cluster): Add ARGP argument. - (argp_hol): Pass ARGP to hol_add_cluster. - (struct hol_cluster): Add argp field. - (hol_entry_help): Add STATE param. Do user filtering if necessary. - (struct pentry_state): Add state field. - (hol_help): Add STATE param. - (_help): Renamed from __argp_help. Add STATE argument, which pass - on appropiately. - (__argp_help): Now a wrapper that calls _help. - (__argp_state_help): Call _help instead of __argp_help. - - * argp-parse.c (parser_init): Set PARSER->state.pstate. - (struct group): Add argp field. - (convert_options): Set it. - (__argp_input): New function. - * argp-namefrob.h (__argp_input): New macro. - -Sat Feb 15 22:00:42 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h (struct argp): Add help_filter field. - (struct argp_state): Add pstate field. - -Fri Feb 14 18:00:52 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c, argp-parse.c [!_] (_): New macro. - [!_ && HAVE_LIBINTL_H] <libintl.h>: New include. - * argp-help.c (hol_entry_help, __argp_help, argp_args_usage, argp_doc, - usage_long_opt, arg, hol_entry_help): Call gettext in appropriate - places. - * argp-parse.c (parser_finalize, argp_version_parser): Likewise. - - * argp-help.c: Incorporate gettext changes from drepper. - -Thu Feb 13 16:46:59 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c, argp-help.c, argp-fmtstream.c, argp-pvh.c, - argp-test.c, argp-fs-xinl.c, argp-xinl.c - [HAVE_CONFIG_H] <config.h>: New include. - -Wed Feb 12 00:35:21 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-fmtstream.c (_GNU_SOURCE): New macro. - <ctype.h>: New include. - [!isblank] (isblank): New macro. - * argp-fmtstream.h <ctype.h>: Include removed. - - * argp-parse.c (parser_parse_next): Decrement PARSER->state.next - if we consumed an arg we didn't end up parsing. - Set ARG_EBADKEY ourselves in all cases. - (parser_parse_arg, parser_parse_opt): Get rid of ARG_EBADKEY param. - - * argp-parse.c (__progname, __progname_full): Decls removed. - (argp_default_parser): Use PROGRAM_INVOCATION_NAME & - PROGRAM_INVOCATION_SHORT_NAME, not __PROGNAME_FULL & __PROGNAME. - - * argp-help.c (__progname, __progname_full): Decls removed. - (__argp_failure, __argp_error, __argp_state_help): Use - PROGRAM_INVOCATION_NAME instead of __PROGNAME_FULL. - (__argp_error): Use STATE->name if it's available. - * argp-namefrob.h (__progname_full): Macro removed. - - * argp.h (ARGP_KEY_END, ARGP_KEY_NO_ARGS, ARGP_KEY_INIT, - ARGP_KEY_SUCCESS, ARGP_KEY_ERROR): Change values. - - * argp-help.c (make_hol): Initalize clusters field. - (argp_args_usage): Don't trash memory. - -Tue Feb 11 19:16:39 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (argp_args_levels): New function. - (argp_args_usage): Add LEVELS & ADVANCE arguments, and implement - multi-pattern output. - (__argp_help): Print multiple argument patterns if there are any. - * argp-test.c (args_doc): Add an alternative args pattern. - (parse_opt): Enforce it. - - * argp-parse.c: Largely rewritten to clean up the code, avoid - using nested functions, and adapt namespace and locking in - preparation for moving into libc. - - * argp-help.c (make_hol): Make static. - Increment default group for option headers. - (until_short): Return correct key. - (group_cmp): Put group 0 before other groups, not in the middle. - (hol_entry_cmp): Use __strcasecmp instead of strcasecmp. - (hol_entry_cmp, usage_argful_short_opt, usage_long_opt): - Don't use ?: operator. - (__argp_help): Renamed from argp_help. - (__argp_state_help): Renamed from argp_state_help. - (__argp_error): Renamed from argp_error. - (__argp_failure): Renamed from argp_failure. - [weak_alias] (argp_help, argp_state_help, argp_error, argp_failure): - New weak aliases. - (__progname, __progname_full): New declarations. - (__argp_state_help, __argp_error, __argp_failure): Use - __PROGNAME_FULL instead of PROGRAM_INVOCATION_NAME. - "argp-namefrob.h": New include. - - * argp.h [HAVE_CONFIG_H] <config.h>: New include. - [__GNU_LIBRARY__] <sys/cdefs.h>: New include. - [!__const] (__const): New macro. - (struct argp_option, struct argp, struct argp_child, struct - argp_state): Use __const instead of const. - (__argp_parse, __argp_help, __argp_state_help, __argp_error, - __argp_usage, __argp_failure, __option_is_short, __option_is_end): - New declarations. - (argp_parse, argp_help, argp_state_help, argp_error, - argp_usage, argp_failure, _option_is_short, _option_is_end): - Use __P macro for function declarations. - (argp_usage, _option_is_end, _option_is_short): Inline definitions - replaced by __-prefixed versions, and protected by __OPTIMIZE__. - [__OPTIMIZE__ && !_LIBC] (__argp_usage, __argp_state_help, - __option_is_short, __option_is_end): Add redefs (& later undefs) - of __ versions of inline definitions so they define the correct - name for the environment (libc vs. non-libc). - - * argp-fmtstream.c, argp-fmtstream.h, argp-fs-xinl.c, argp-xinl.c, - argp-namefrob.h, argp-test.c: New files. - * argp.c: File removed. - * Makefile (SRCS): Add argp-fmtstream.c, argp-fs-xinl.c, and argp-xinl.c. - Remove argp.c. - (installhdrs): Define explicitly. - (LCLHDRS): Define in terms of $(installhdrs) + others. - (CFLAGs): Add -DHAVE_LINEWRAP_H & -DHAVE_CTHREADS_H. - -Mon Feb 10 22:19:46 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (indent_to, arg, struct pentry_state, print_header, - comma, hol_entry_help, hol_help, usage_argful_short_opt, - usage_long_opt, hol_usage, argp_args_usage, argp_doc, argp_help): - Use argp_fmtstream_t & associated functions instead of stdio - streams. - "argp-fmtstream.h": New include. - <linewrap.h>: Include removd. - - * argp-help.c (hol_append): Use memcpy instead of bcopy. - (argp_doc): Use strchr instead of index. - (make_hol): Make static. - * argp-parse.c (argp_default_parser): Use strrchr instead of rindex. - (argp_parse): Use strchr instead of index, memset instead of bzero. - * argp-parse2.c (parser_init, argp_parse): Use memset instead of bzero. - (argp_default_parser): Use strrchr instead of rindex. - (parser_parse_opt): Use strchr instead of index. - -Sun Feb 9 10:53:20 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h (ARGP_LONG_ONLY, ARGP_HELP_LONG_ONLY): New macros. - * argp-parse.c (argp_parse): Support ARGP_LONG_ONLY. - * argp-parse2.c (parser_parse_next): Likewise. - * argp-help.c (argp_state_help): Add ARGP_HELP_LONG_ONLY to FLAGS - if STATE has ARGP_LONG_ONLY set. - - * argp-help.c (hol_entry_help): Correctly output odoc options. - Use un-nested helper functions, with state block. - (arg, print_header, comma): New functions (were nested in - hol_entry_help) - (struct pentry_state): New type. - (add_argless_short_opt, usage_argful_short_opt, usage_long_opt): - New functions (were nested in hol_usage). - (hol_usage): Use un-nested functions. - * argp-help.c (hol_entry_short_iterate, hol_entry_long_iterate): - Add COOKIE argument, also to signature of FUNC. - (until_short): Add COOKIE argument. - -Sat Feb 8 17:18:43 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h (OPTION_DOC): New macro. - * argp-parse.c (argp_parse): Don't parse OPTION_DOC options. - * argp-parse2.c (convert_options): Likewise. - * argp-help.c (odoc): New macro. - (oshort): Exclude options for which odoc is true. - (canon_doc_option): New function. - (hol_entry_cmp): Correctly place odoc options. - - * argp-help.c (hol_entry_qcmp): New function. - (hol_sort): Remove cmp and use hol_entry_qcmp instead. - (until_short): New function, from old nested function func1 in - hol_entry_first_short. Only return short key when oshort is true. - (hol_entry_first_short): Remove func1 and use until_short insteadd. - -Tue Nov 12 19:22:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * idvec.h (idvec_set, idvec_set_ids): New functions. - * idvec.c (idvec_set, idvec_set_ids): Ditto. - -Tue Nov 5 21:16:10 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * idvec.h (idvec_setid): Doc fix. - -Thu Oct 24 15:15:27 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (hol_entry_help: comma): Only print cluster headers for - real clusters. - Emit a newline after cluster headers. - -Wed Oct 23 13:58:22 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (argp_args_usage, argp_doc): Use the new type of - argp child vector. - -Tue Oct 22 15:35:56 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (make_hol): Accept new CLUSTER argument, - and fill in the corresponding entry fields with it. - (hol_sort): Use hol_entry_cmp. - (hol_entry_cmp, group_cmp, hol_cluster_cmp, hol_cluster_base, - hol_add_cluster): New functions. - (hol_free): Free clusters. - (hol_append): Deal with clusters. - Always use hol_free to free MORE, and just mark it's entries as - invalid if we steal them. - (argp_hol): Add, and use the new CLUSTER argument. - Use the new type of argp child vector, and make clusters. - (argp_help): Pass new CLUSTER argument to argp_hol. - (hol_entry_help): Add gunk to print cluster headers. - * argp.h (struct argp_child): New type. - (struct argp): Change type of CHILDREN field to `struct argp_child *'. - * argp-parse.c (argp_parse): Convert to use the new type of argp - children vectors. - -Mon Oct 21 22:00:44 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * argp.h: Add extern inline protection. - * idvec.h: Likewise. - * maptime.h: Likewise. - * argp.c, idvec-funcs.c, maptime-funcs.c: New files. - * Makefile (SRCS): Add argp.c, idvec-funcs.c, and - maptime-funcs.c. - -Mon Oct 14 18:06:19 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (argp_parse): Don't consume non-option arguments - that aren't recognized by any parser. - Allocate enough space for TOP_ARGP's parent list to include the - version parser. - -Thu Sep 19 17:48:14 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsysops.c (fsys_update): Renamed from fsys_remount. - Use --update, not --remount. - -Fri Aug 30 20:44:44 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (argp_help): Print documentation only according to - the ARGP_HELP_*_DOC bits in FLAGS. - Possibly print bug report address if ARGP_HELP_BUG_ADDR is set. - Replace FIRST by ANYTHING (sense inverted). - * argp.h (ARGP_HELP_PRE_DOC, ARGP_HELP_POST_DOC, ARGP_HELP_DOC, - ARGP_HELP_BUG_ADDR): New macros. - (ARGP_HELP_STD_HELP): Include ARGP_HELP_DOC & ARGP_HELP_BUG_ADDR. - (argp_program_bug_address): New declaration. - (ARGP_HELP_EXIT_ERR, ARGP_HELP_EXIT_OK): Values changed. - * Makefile (SRCS): Add argp-ba.c. - -Tue Aug 20 17:12:42 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (argp_doc): Add FIRST_ONLY argument. - Don't output a blank line for empty post-docs. - (argp_help): Use it. Move first call to argp_doc after newline. - -Mon Aug 19 14:45:30 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (argp_help): Add note about --usage to `Try...' msg. - Supply new args to argp_doc, and additional call before arg help. - (argp_doc): Add the POST and PRE_BLANK arguments, & return val. - -Wed Jul 31 15:24:09 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * wire.c (_start): No longer declared as weak, now that everything - is getting recompiled anyway. - -Fri Jul 26 20:57:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * timefmt.c (fmt_past_time): Always use WIDTH+1 as strftime's limit. - -Thu Jul 25 23:10:35 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * timefmt.c (fmt_past_time): Terminate SEPS. - - * argp-help.c (hol_entry_help): Never return without restoring margins. - -Mon Jul 22 23:41:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * timefmt.c (fmt_past_time): Try several separators when - concatenating dates & times. - -Fri Jul 19 17:23:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (hol_usage): Allocate enough space in - SHORT_NO_ARG_OPTS for the '\0' terminator. - -Tue Jul 16 00:24:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (argp_help): Set the lmargin after printing the - start of the usage message, so that it won't get indented. - -Wed Jul 10 12:16:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (argp_version_options, argp_version_parser): Use an - uppercase 'V' for short version option. - - * argp-help.c (argp_help): "OPTIONS..." -> "OPTION...". - -Sat Jul 6 16:17:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (argp_version_parser): Output ARGP_PROGRAM_VERSION - to STATE->out_stream, not stdout. Supply that stream and STATE to - ARGP_PROGRAM_VERSION_HOOK. - * argp.h (argp_program_version_hook): Add argument types. - * argp-pv.c (argp_program_version): Doc updated. - * argp-pvh.c (argp_program_version_hook): Type & doc updated. - "argp.h": New include. - -Fri Jul 5 17:13:12 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * timefmt.c (fmt_past_time): Get rid of extraneous `f' in fmt string. - -Thu Jun 27 17:09:30 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (argp_parse): Zero the CHILD_INPUTS vector. - -Fri Jun 21 17:15:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (argp_parse): Use group_parse instead of calling - group parser directly for long options. - -Wed Jun 19 13:11:15 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsysops.c: New file. - * Makefile (SRCS): Add fsysops.c. - -Tue Jun 18 21:09:52 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (argp_failure): If FMT is 0, don't print `: MSG'. - -Sun Jun 16 19:25:10 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (SRCS): Remove line.c. - (LCLHDRS): Remove line.h. - - * argp-help.c (argp_help, argp_state_help, argp_error, argp_failure): - Handle null streams. - - * argp.h (struct argp_state): Add NAME, ERR_STREAM, & OUT_STREAM - fields. - (argp_failure): New declaration. - (ARGP_NO_HELP, ARGP_NO_EXIT): Fix values (were hex, but with - decimal value!). - (argp_help): Add NAME argument. - * argp-parse.c (argp_default_parser): Output to STATE->out_stream. - (argp_parse): Initialize new fields in STATE. - Output errors to STATE.err_stream. Handle null streams. - - * argp-help.c (argp_help): Add and use NAME argument. - (argp_error): Use STATE->err_stream instead of STDERR. - (argp_state_help): Supply NAME argument to argp_help. - (argp_failure): New function. - -Thu May 30 18:10:35 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (indent_to): Terminate. - -Tue May 28 18:05:40 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * timefmt.c (fmt_seconds): Don't print two decimal points. - -Wed May 22 00:11:24 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (argp_default_parser): Break after --HANG. - - * argp-help.c (hol_usage): Prefix each option desc with a space. - Do manual wrapping of descs with an embedded space. - Don't set wrap margin (done elsewhere now). - (argp_args_usage): Do manual line wrapping because of embedded spaces. - (argp_help): Set wrap & left margins when printing usage. - - * argp-parse.c (argp_parse): Only print a `Try...' message if the - error was a parsing error. - -Tue May 14 21:59:43 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * timefmt.c (add_field): Correctly decrement *SECS by amount printed. - - * timefmt.c (fmt_named_interval): Use fraction digit in more cases. - Always pick the last suffix if we can't find any that fits. - Use new tv_ functions. - (tv_is_zero, tv_is_ge): New functions. - -Fri May 10 23:17:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h (ARGP_ERR_UNKNOWN): New define. - * argp-parse.c (EBADKEY): New define. - (argp_default_parser, argp_version_parser, argp_parse): Use - EBADKEY instead of EINVAL. Turn any EBADKEY that makes it to the - end back into EINVAL. - -Thu May 9 11:30:47 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * maptime.c (maptime_map): Use new file_get_storage_info interface. - - * argp-help.c (argp_help): Just assign STREAM instead of using 2 vars. - -Thu May 9 11:00:52 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * exec-reauth.c (exec_reauth): Use new args to - auth_user_authenticate. - - * timefmt.c (fmt_past_time): Cast arg to localtime appropriately. - - * argp-help.c (argp_args_usage): add_usage_item -> fprintf. - (argp_help): Don't shadow arg; change parm STREAM to be STREAMARG - and adjust initialization of STREAM variable to use the renamed - parm. - -Tue May 7 14:58:48 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * timefmt.c (fmt_past_time): Suppress leading noise in some formats. - - * argp-help.c (hol_usage): Set the wmargin, not the lmargin. - (hol_help): Set the wmargin as well as the lmargin. - * argp-help.c <linewrap.h>: New include. - (lmargin): Function deleted. - (hol_entry_help, hol_usage): Use line_wrap_set_lmargin instead. - -Mon May 6 12:46:16 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c <line.h>: Include removed. - (lmargin, indent_to): New functions. - (argp_usage_arg): Function removed. - (hol_entry_help, hol_help, hol_usage, argp_args_usage, argp_doc, - argp_help): Use stdio streams and line_wrap_ functions instead of - line_ functions. - -Sat May 4 05:32:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * rwlock.h: Moved to ../libthreads. - * Makefile (LCLHDRS): Remove rwlock.h. - -Fri May 3 18:10:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * path-lookup.c: File removed. - * Makefile (SRCS): Remove path-lookup.c. - - * argz.c, argz.h, envz.c, envz.h: Files removed. - * Makefile (SRCS): Remove argz.c, envz.c. - (LCLHDRS): Remove argz.h, envz.h. - -Thu May 2 00:31:32 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (_argp_hang): New variable. - (OPT_HANG): New macro. - (argp_default_options, argp_default_parser): Add hidden --HANG option. - (argp_default_parser): New function. - (argp_version_options, argp_version_argp): New variables. - (argp_parse): Use ARGP_VERSION_ARGP when appropiate. - * argp.h (argp_program_version, argp_program_version_hook): New decls. - * Makefile (SRCS): Add argp-pv.c & argp-pvh.c. - * argp-pv.c, argp-pvh.c: New files. - -Tue Apr 30 20:25:12 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * timefmt.c (fmt_past_time): New function. - (fmt_minutes, fmt_seconds): New args, rewrite. - (add_field): New function. - (fmt_frac_value, append_fraction): Functions removed. - * timefmt.h (fmt_past_time): New declaration. - (fmt_minutes, fmt_seconds): Update. - - * argp-parse.c (argp_parse): Work with ARGP == 0. - -Mon Apr 29 15:34:00 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * cacheq.c, cacheq.h: New files. - * Makefile (SRCS): Add cacheq.c. - (LCLHDRS): Add cacheq.h. - -Thu Apr 25 00:09:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * idvec.c (idvec_free_contents): New function. - * idvec.h (idvec_free_contents): Declare it. - -Thu Apr 11 15:23:15 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * wire.c (wire_segment_internal): Cast values nicely in `poke' - loop. - -Wed Apr 3 12:57:39 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h (argp_parse): Change HOOK argument to INPUT. - (struct argp_state): Rename HOOK & CHILD_HOOKS to INPUT & CHILD_INPUTS; - add HOOK field again. - * argp-parse.c (argp_parse): Change HOOK argument to INPUT. - Don't propagate back return values when we're done. - (struct group): Rename HOOK & CHILD_HOOKS to INPUT & CHILD_INPUTS; - add HOOK field again. - (group_parse): Restore and save value of GROUP's hook field into - STATE around calling the parser. Don't save changed value of INPUT. - -Tue Apr 2 18:25:51 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * lcm.c: New file. - * Makefile (SRCS): Add lcm.c. - -Thu Mar 28 19:06:12 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * portinfo.c, xportinfo.c, portinfo.h: New files. - * portxlate.c, portxlate.h: New files. - * Makefile (LCLHDRS): Add portinfo.h, portxlate.h. - (SRCS): Add portinfo.c, xportinfo.c, portxlate.c. - -Tue Mar 26 17:43:51 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * wire.c: Add a weak reference to _start, so we don't have to - compile all users of this library. - -Mon Mar 25 18:38:23 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * timefmt.c (fmt_named_interval): Rationalize WIDTH. - -Mon Mar 25 16:11:49 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * wire.h, wire.c: New files. - * Makefile (SRCS): Add wire.c. - (LCLHDRS): Add wire.h. - -Mon Mar 25 16:06:40 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * envz.c (envz_merge): NEW_LEN is a size, not a char. - -Mon Mar 18 14:09:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h (struct argp_state): Add HOOK and CHILD_HOOKS fields. - Rename the PARENTS field to be CHILDREN (the most common use is - initialization, so this change shouldn't have much effect). - (ARGP_KEY_BEGIN, ARGP_KEY_ERROR): New macros. - * argp-parse.c (struct group): Add PARENT, PARENT_INDEX, HOOK, and - CHILD_HOOKS fields. - (argp_parse): Add HOOK argument. - Implement passing hook values to parsers, and propagating them - between parents and children. - * argp-help.c (argp_doc, argp_args_usage, argp_hol): Rename - PARENTS field to CHILDREN. - - * argp-help.c (argp_error): Take an argp_state instead of an argp, - and only doing anything if ARGP_NO_ERRS isn't set in it. - (argp_state_help): New function. - (argp_help): Don't interpret exiting options anymore. - * argp-parse.c (argp_default_options): Add --usage option. - (argp_default_parser): Use argp_state_help, so we don't need to - screw with exit options anymore. - Add usage option. - (argp_parse): When printing `too many arguments', test - ARGP_NO_ERRS instead of ARGP_NO_HELP. - * argp.h (argp_state_help): New function. - (argp_usage, argp_error): Change arguments. - -Fri Mar 1 18:59:40 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (hol_entry_help): Don't print extraneous blank lines. - -Wed Feb 28 18:44:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (argp_parse): Print an error message if appropiate - when we know there are too many arguments. - - * argp-help.c (hol_entry_help): Handle null group headers nicely. - -Wed Feb 28 16:09:27 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * maptime.c (maptime_map): mapped_time_value arg is volatile data. - * maptime.h (maptime_map): Likewise. - -Sat Feb 17 21:34:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * shared-dom.c, localhost.c: New file. - * Makefile (SRCS): Add shared-dom.c and localhost.c. - -Fri Feb 16 15:54:22 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * maptime.c, maptime.h: New files. - * Makefile (SRCS, LCLHDRS): Add maptime.c and maptime.h respectively. - - * timefmt.c (fmt_named_interval): Correct backwards comparison. - -Thu Feb 15 15:18:34 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * canon-host.c: New file. - * Makefile (SRCS): Add canon-host.c. - - * argp-parse.c (argp_parse): Correctly deal with errors from - getopt, and allow the user to use '?' as a short option. - (KEY_ERR): New macro. - (argp_default_options, argp_default_parser): Use -? as the short - option for --help. - -Wed Feb 14 14:33:48 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (argp_parse): Make things a bit more readable by - using the TRY_GETOPT variable in place of opt == EOF. - Use KEY_END, KEY_ARG, and QUOTE. - Clear STATE.quoted if STATE.next has been moved back before it. - (KEY_END): New macro, in place of EOF. - (KEY_ARG, QUOTE): New macros. - -Mon Feb 12 15:08:33 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (argp_parse): Don't parse args in order by - default. Honor ARGP_NO_ARGS. - Deal correctly when the user turns a non-option arg into an option - in re-ordering mode. - * argp.h (struct argp_state): Add `quoted' field. - -Thu Feb 8 19:35:49 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (argp_parse): When a non-option arg fails to be - parsed with EINVAL, set ARG_EINVAL true, and leave ERR as is until - just before we return. - Put process_arg() in the right scope. - -Wed Feb 7 23:08:33 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (argp_parse): Deal with getopt returning EOF early - because of `--'. - - * argp-parse.c (argp_parse): Make STATE.arg_num per-group. - (struct group): Renamed process_arg field to args_processed (a count). - -Mon Feb 5 13:39:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h (struct argp_state): Add ARG_NUM field. - * argp-parse.c (argp_parse): Implement the ARG_NUM field. - - * argp.h (struct argp, struct argp_state, argp_parse, argp_help, - argp_usage, argp_error, _option_is_short, _option_is_end): Add `const' - where appropriate. - * argp-parse.c (argp_default_options, argp_default_argp, - argp_parse, find_long_option): Likewise. - * argp-help.c (struct hol_entry, make_hol, - hol_entry_short_iterate, hol_entry_long_iterate, - hol_entry_first_short, hol_entry_first_long, hol_find_entry, - hol_sort, hol_entry_help, argp_hol, argp_args_usage, argp_doc, - argp_help, argp_error): Likewise. - * line.h (line_write, line_fill, line_puts): Likewise. - * line.c (line_write, line_fill): Likewise. - -Sat Feb 3 02:00:06 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * idvec.c (idvec_merge_ids): Correctly add all IDS, even if some - duplicates are avoided. - -Tue Jan 23 15:02:03 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (hol_entry_help): Correctly print group headers, and - precede them with a blank line. - (hol_set_group): Renamed from hol_set_sort_class. - (argp_help): Use hol_set_group instead of hol_set_sort_class. - (struct hol_entry, make_hol, hol_sort, hol_set_group): Rename the - `set_class' field to be `group'. - (hol_help, hol_entry_help): After a group header has been printed, - separate subsequent groups with a blank line. - -Mon Jan 15 11:01:15 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * path-lookup.c (hurd_file_name_path_lookup, file_name_path_lookup): - Add PREFIXED_NAME (return) argument. - (file_name_path_scan): New function. - (hurd_file_name_path_lookup): Use file_name_path_scan(). - -Tue Jan 2 01:24:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (argp_default_options, argp_default_parser): Add - --program-name (hidden) option. - (OPT_PROGNAME): New macro. - - * idvec.c (idvec_merge_ids): Preserve duplicates internal to IDS. - (idvec_ensure): Alloc NUM ids, not NUM chars! - (idvec_remove): Correctly copy ids when deleting. - * idvec.h (idvec_merge, idvec_delete): New declarations. - - * idvec-auth.c (idvec_merge_auth): Fix various small typos. - - * argz.c (argz_delete): If the result is empty, free it. - - * exec-reauth.c (exec_reauth): Doc fix. - - * argz.h (argz_delete): Renamed from argz_remove. - * argz.c (argz_delete): Ditto. - (argz_insert): Deref ARGZ where necessary. - * envz.c (envz_merge): Rename argz_remove to argz_delete. - -Mon Jan 1 17:48:34 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * idvec.c (idvec_remove, idvec_insert_only): New functions. - (idvec_setid): Use idvec_insert_only() instead of idvec_insert_new(). - * idvec.h (idvec_remove, idvec_insert_only): New declarations. - - * Makefile (SRCS): Add exec-reauth.c. - - * idvec.c (idvec_free_wrapper, idvec_free, idvec_ensure, - idvec_grow, idvec_tail_contains, idvec_add_new, idvec_insert_new, - idvec_merge_ids, idvec_setid): New functions. - (idvec_insert): Rewritten to use idvec_grow(). - * idvec-auth.c (idvec_merge_auth): New function. - * idvec.h (idvec_free_wrapper, idvec_free, idvec_ensure, - idvec_grow, idvec_tail_contains, idvec_add_new, idvec_insert_new, - idvec_merge_ids, idvec_setid, idvec_merge_auth): New declarations. - * Makefile (SRCS): Added idvec-auth.c. - -Fri Dec 29 12:15:00 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (_argp_unlock_xxx): New function. - -Thu Dec 21 10:18:04 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * idvec.h (struct idvec): Renamed from struct ivec. `ints' field - renamed to `ids'. - (make_idvec, idvec_insert, idvec_add, idvec_contains): - All renamed from the corresponding `ivec' declaration, and types, - variable names, etc, changed accordingly. - * idvec.c (make_idvec, idvec_insert, idvec_add, idvec_contains): - All renamed from the corresponding `ivec' routine, and types, - variable names, etc, changed accordingly. - * Makefile (SRCS): Remove options.c. Rename ivec.c to idvec.c. - (LCLHDRS): Remove options.h. Rename ivec.h to idvec.h. - -Wed Dec 20 13:05:00 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * argz.c (argz_insert): Instead of an integer position N, take a - pointer BEFORE into ARGZ to insert before. - * argz.h (argz_insert): Instead of an integer position N, take a - pointer BEFORE into ARGZ to insert before. - (argz_next): New inline function. - -Tue Dec 19 13:52:52 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h (struct argp_option): Add the GROUP field. Twiddle doc. - (_option_is_end): Be more pessimistic about what constitutes `the end'. - * argp-help.c (make_hol): Use the new GROUP field in struct - argp_option to initialize sort_classes. - (HEADER_COL): New macro. - (hol_entry_help): Deal with group headers. - * argp-parse.c (argp_default_options): Put --help in group -1. - -Sun Dec 17 00:18:58 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ivec.c: New file. - * ivec.h: New file. - * Makefile (LCLHDRS): Add ivec.h. - (SRCS): Add ivec.c. - -Sat Dec 16 17:42:27 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * termsize.c (deduce_term_size): New function, new file. - * Makefile (SRCS): Add termsize.c. - - * argz.c (argz_insert): New function. - (argz_remove, argz_append, argz_add): New functions, were in envz.c. - * argz.h (argz_insert): New declaration. - -Thu Dec 14 18:04:48 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * argz.h (argz_append, argz_add, argz_remove): New functions. - -Wed Dec 13 14:28:12 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * envz.c: New file. - * envz.h: New file. - * Makefile (SRCS): Add envz.c. - (LCLHDRS): Add envz.h - -Wed Dec 6 15:05:43 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h (struct argp_state): Rename the INDEX field to be NEXT. - * argp-parse.c (argp_parse): Change uses of that field. - - * argz.c (argz_stringify): Add the SEP argument. - * argz.h (argz_stringify): Ditto. - -Tue Dec 5 18:38:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (SRCS, LCLHDRS): Removed error.c and error.h. - (CPPFLAGS-error.c): Variable removed. - * error.c, error.h: Files removed. - -Thu Oct 19 18:39:59 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h (argp_usage, argp_error): New declarations. - (argp_usage): New inline function. - * argp-help.c (argp_error): New function. - -Fri Oct 13 19:28:28 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h (ARGP_HELP_STD_ERR): Doesn't print a usage message. - (ARGP_HELP_STD_USAGE): ... whereas this does. - -Thu Oct 12 15:57:18 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-parse.c (argp_parse): Correctly mark short options as optional. - (argp_parse): If an option alias doesn't have a key, use the real key. - -Wed Oct 11 13:54:18 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * argp-help.c (hol_find_entry): Don't increment ENTRY prematurely. - - * argp-parse.c (argp_parse): Update STATE.argp when adding a - wrapper to implement the --help option. - In general, use the version of variables that are in STATE. - Update STATE.index in the case where getopt returns EOF. - (argp_parse): Correctly translate options. - - * line.c (line_write): New function. - (line_puts): Function deleted. - (line_fill): Use line_write instead of line_printf. - * line.h (line_write): New declaration. - (line_puts): Rewrite in terms of line_write. - - * argp-help.c (hol_entry_help): Print the right documentation - string for each entry. - - * argp-parse.c (argp_default_parser, argp_parse): Rename uses of - argp_usage* to argp_help*. - - * argp-help.c (argp_help): Renamed from argp_usage. - * argp.h (ARGP_HELP_*, argp_help): Renamed from ARGP_USAGE_* &c. - - * argp.h (ARGP_USAGE_STD_HELP): Use ARGP_USAGE_SHORT_USAGE instead - of ARGP_USAGE_USAGE. - - * argp-help.c (make_hol): Deal with a null value of OPT. If there - are no entries, don't define the ENTRIES or SHORT_OPTIONS fields. - (hol_free): Don't free ENTRIES or SHORT_OPTIONS unless there are any. - (hol_sort): Don't sort unless there are some entries. - (hol_usage): Don't do anything unless there are some entries. - (hol_sort): Sort int he correct order. - (argp_usage): Add the ARGP_USAGE_SHORT_USAGE case. - - * argp-parse.c (argp_parse): Deal with null parser or option fields. - If an argp has neither a parser or any options, don't put it in GROUPS. - Use comparison with EGROUP, rather than testing the parser field, - the end test for iteration over GROUPS. - - * argp-help.c (hol_append): Implement. - - * argp-parse.c (argp_parse): Pass in the right value for GROUPS to - convert_options. - - * Makefile (SRCS): Add argp-parse.c, argp-help.c, and line.c - (LCLHDRS): Add line.h and argp.h. - -Tue Oct 10 17:58:14 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.h: Doc fixes. - - * argp.h: (ARGP_KEY_NO_ARGS): New macro. - * argp-parse.c (argp_parse): Add support for ARGP_KEY_NO_ARGS. - Put all the group attributes into structures which get stored in - the GROUPS array, rather than having a separate array for each. - -Sat Oct 7 03:32:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * rwlock.h: Protect against multiple inclusion. - Include cthreads.h and assert.h. - -Wed Sep 27 17:37:08 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * options.c (options_parse): Use 0 as the tag for non-option args. - * options.h: Ditto. - -Sat Sep 23 14:15:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * rwlock.h (RWLOCK_INITIALIZER): New macro. - -Sat Sep 16 13:40:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (lndist, $(srcdir)/hurd-snap/$(dir)/error.[ch]): - Targets removed. - -Thu Aug 24 11:49:13 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * options.c: Include "options.h" instead of <options.h>. diff --git a/libstore/ChangeLog b/libstore/ChangeLog deleted file mode 100644 index 8837f82b..00000000 --- a/libstore/ChangeLog +++ /dev/null @@ -1,1279 +0,0 @@ -2008-03-04 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * nbd.c (nbd_read): Initialize piecelen. - -2005-09-24 Roland McGrath <roland@frob.com> - - * store.h (STORE_STD_CLASS): Use __attribute_used__ macro - instead of `unused' attribute. - -2004-09-03 Alfred M. Szmidt <ams@kemisten.nu> - - * store.h (__start_store_std_classes, __stop_store_std_classes): - Declare using __attribute__ ((weak)). - * typed.c (store_find_class): Removed `#pragma weak' for - `__stop_store_std_classes' and `__start_store_std_classes'. - -2003-08-05 Marcus Brinkmann <marcus@gnu.org> - - * zero.c: Do not include <assert.h>. - -2003-07-21 Ognyan Kulev <ogi@mfmi.uni-sofia.bg> - - * rdwr.c (store_write): Return EINVAL when LEN is not aligned to - STORE->block_size, instead of raising assertion failure. - (store_read): Likewise. - -2003-08-04 Roland McGrath <roland@frob.com> - - * typed.c (store_find_class): Use dlopen/dlclose on the names found by - looking through the list instead of passing list elements directly to - dlsym, which is not kosher. - -2003-08-02 Ognyan Kulev <ogi@fmi.uni-sofia.bg> - - * module.c (store_module_open): NAME that doesn't contain ':' is - not considered invalid argument, but a class name without - class-specific portion. - * typed.c (store_typed_open): When NAME is empty string, don't - invoke store_open (name + 1, ...). - -2002-10-01 Ludovic Courtès <ludovic.courtes@utbm.fr> - - * store.h: New type store_set_size_meth_t: New type. New - prototype store_set_size. - (struct store_class): Added a set_size () method. - * rdwr.c (store_set_size): New function. - * file.c (file_store_set_size): New function. - (store_file_class): Add file_store_set_size. - * concat.c (concat_set_size): New function. - (store_concat_class): concat_set_size. - * copy.c (copy_set_size): New function. - (store_copy_class): copy_set_size. - * device.c (device_set_size): New function. - (store_device_class): device_set_size. - * memobj.c (memobj_set_size): New function. - (store_memobj_class): memobj_set_size. - * mvol.c (mvol_set_size): New function. - (store_mvol_class): mvol_set_size. - * nbd.c (nbd_set_size): New function. - (store_nbd_class): nbd_set_size. - * remap.c (remap_set_size): New function. - (store_remap_class): remap_set_size. - * stripe.c (stripe_set_size): New function. - (store_stripe_class): stripe_set_size. - * unknown.c (unknown_set_size): New function. - (store_unknown_class): unknown_set_size. - * zero.c (zero_set_size): New function. - (store_zero_class): zero_set_size. - -2002-11-03 Neal H. Walfield <neal@cs.uml.edu> - - * kids.c: Do not include <malloc.h>. - Include <stdlib.h>. - (store_set_children): Use memcpy, not bcopy. - Calculate SIZE correctly: STORE->children is a struct store **, - not a struct store_run *. - Reported by Moritz Schulte <moritz@duesseldorf.ccc.de>. - -2002-06-07 Roland McGrath <roland@frob.com> - - * store.h (struct store_enc): Use loff_t instead of off_t. - (store_enc_init, store_enc_return, store_return): Likewise. - - * encode.c (store_std_leaf_encode): Do a sizeof comparison to get - `too_big' optimized out when store_enc starts using 64 bit offsets. - -2002-05-20 Ognyan Kulev <ogi@fmi.uni-sofia.bg> - - * Makefile: Move inclusion of ../Makeconf before using $(srcdir). - -2002-05-16 Roland McGrath <roland@frob.com> - - * device.c (enforced): Use dev_status_data_t for SIZES. - (store_device_create): Likewise. - (dev_write): Do some silly magic since device.defs uses int. - -2002-05-07 Roland McGrath <roland@frob.com> - - * module.c (open_class): Add cast to int for %* arg. - - * kids.c (store_open_children): Dereference pointer in isalnum call. - - * set.c (store_set_runs): Fix argument type. - * kids.c (store_set_children): Likewise. - -2002-03-15 Roland McGrath <roland@frob.com> - - * Makefile (OBJS): Remove hack for part.o. - (parted.o parted_p.o parted_pic.o): Targets removed. - -2002-03-14 Roland McGrath <roland@frob.com> - - * Makefile (cleantarg): Append $(store-types:%=libstore_%.a) here. - (all): Depend on that list too. - (install): Depend on those files in $(libdir). - ($(store-types:%=$(libdir)/libstore_%.a): $(libdir)/%: %): New static - pattern rule to install them. - -2002-03-13 Roland McGrath <roland@frob.com> - - * Makefile ($(store-types:%=libstore_%.a)): Create object files with - the undefined symbol rather than linker scripts. - -2002-03-14 Marcus Brinkmann <marcus@gnu.org> - - * unzipstore.c (unzip_store): New variable IN_BUF_SIZE to hold - allocated space for IN_BUF. Use that instead IN_BUF_LEN for that - purpose if appropriate. Always update IN_BUF_LEN after a read. - -2002-03-11 Roland McGrath <roland@frob.com> - - * unzipstore.c: New file, broken out of bunzip2.c. - * bunzip2.c: Most code moved to unzipstore.c, which we #include. - (DO_UNZIP, UNZIP): New function, macro. - * gunzip.c: Most code deleted, now in unzipstore.c, which we #include. - (DO_UNZIP, UNZIP): New function, macro. - * Makefile (DIST_FILES): New variable, list unzipstore.c here. - - * Makefile (module-CPPFLAGS): New variable. - * module.c (STORE_SONAME_SUFFIX): Macro removed. - - * Makefile (store-types): Add missing types here. - (SRCS): Remove all those from here and use $(store-types:=.c) instead. - -2002-02-08 Roland McGrath <roland@frob.com> - - * Makefile (store-types): New variable. - (all): Depend on $(store-types:%=libstore_%.a). - (libstore_%.so.$(hurd-version)): New pattern rule. - ($(store-types:%=libstore_%.a): libstore_%.a): New static pattern rule - to create `-lstore_TYPE' pseudo-objects (linker scripts) for each type. - (libstore.so-LDLIBS): New variable, adds -ldl. - (GUNZIP_OBJS, BUNZIP2_OBJS): New variables. - (UNZIP_OBJS): Variable removed, replaced by those two. - (OBJS): Update use. - (libstore_gunzip.so.$(hurd-version)): Depend on PIC $(GUNZIP_OBJS). - (libstore_bunzip2.so.$(hurd-version)): Depend on PIC $(BUNZIP2_OBJS). - * unknown.c: Add STORE_STD_CLASS decl. - * bunzip2.c: Likewise. - * copy.c: Likewise. - * device.c: Likewise. - * file.c: Likewise. - * gunzip.c: Likewise. - * memobj.c: Likewise. - * module.c: Likewise. - * mvol.c: Likewise. - * nbd.c: Likewise. - * open.c: Likewise. - * part.c: Likewise. - * remap.c: Likewise. - * stripe.c: Likewise. - * stripe.c: Likewise. - * task.c: Likewise. - * typed.c: Likewise. - * typed.c: Likewise. - * unknown.c: Likewise. - * url.c: Likewise. - * zero.c: Likewise. - - * argp.c (DEFAULT_STORE_TYPE): Macro removed. - (DEFAULT_STORE_CLASS): New macro replaces it. - (parse_opt): Update the use. - -2002-01-19 Roland McGrath <roland@frob.com> - - * url.c (find_url_class): Function removed. - (store_url_open): Use store_typed_open after validating syntax. - (store_url_decode): Use store_find_class and store_module_find_class. - - * typed.c (store_find_class): New function. - (store_typed_open): Use it. - - * url.c (url_decode): Renamed to store_url_decode, made public. - (store_url_open_class): Changed use. - * store.h: Declare store_url_decode. - * decode.c (store_decode): Call store_url_decode for STORAGE_NETWORK - as a special case. - -2001-12-28 Roland McGrath <roland@frob.com> - - * Makefile (SRCS): Remove std.c. - - * module.c: New file. - * store.h (store_module_open, store_module_find_class, - store_module_decode): Declare them. - * argp.c (parse_opt): Leave PARSED->classes null here instead - of defaulting to store_std_classes. - (find_class): Default null class-list parameter to store_std_classes - here instead. If no matches when defaulted, try calling - store_module_open_class too. - * typed.c (store_typed_open): If no match when search list is - store_std_classes, try calling store_module_open_class too. - * url.c (find_url_class): Likewise. - * decode.c (store_decode): If no match when search list is - store_std_classes, try calling store_module_decode too. - - * store.h (store_concat_class_vectors): Remove decl of nonexistent fn. - -2002-03-14 Marcus Brinkmann <marcus@gnu.org> - - * rdwr.c (store_read): Truncate amount to be read to size of - store. Use memcpy rather than bcopy. - (store_write): Return EIO if caller tries to write over the end of - the store. - * copy.c (copy_read): Do not multiply LEN returned from vm_read - with vm_page_size. - -2002-03-11 Marcus Brinkmann <marcus@gnu.org> - - * stripe.c (store_concat_class): Add store_concat_open. - (store_concat_create): Do not multiply NUM_STORES with 2 to get - the number of runs. - * kids.c (store_allocate_child_encodings): Call allocate_encoding - on child store K, not on STORE. - (store_encode_children): Likewise. - * decode.c (store_std_leaf_decode): Increment ENC->cur_data by - NAME_LEN and MISC_LEN as appropriate. - -2002-03-05 Roland McGrath <roland@frob.com> - - * device.c (dev_map): Pass proper OFFSET and SIZE params to device_map. - -2002-01-19 Roland McGrath <roland@frob.com> - - Support explicit open of unknown store (with no name), i.e. -Tunknown. - * unknown.c (unknown_allocate_encoding): Return EOPNOTSUPP - if STORE->hook is null. - (unknown_encode): Likewise. - (unknown_cleanup): Do nothing if STORE->hook if is null. - (unknown_clone): Likewise. - (unknown_validate_name, unknown_open): New functions. - (store_unknown_class): Use them. - -2002-01-01 Roland McGrath <roland@frob.com> - - * nbd.c (htonll): Make this a macro using bswap_64 from <byteswap.h>. - -2001-12-31 Roland McGrath <roland@frob.com> - - * url.c (url_decode): Don't clobber *ENC in the dummy run. - - * nbd.c (store_nbd_open): Make sure the store's name always - starts with the "nbd://" prefix. - -2001-12-30 Roland McGrath <roland@frob.com> - - * nbd.c (nbd_read): Request multiple chunks of up to NBD_IO_MAX each. - Handle needing multiple io_read calls to receive a single chunk. - -2001-12-29 Roland McGrath <roland@frob.com> - - * nbd.c (nbdopen): Fix in last change. - (nbd_read): Let LEN receive the result count from io_read. - - * nbd.c (NBD_IO_MAX): New macro. - (nbd_write): Write in chunks no larger than NBD_IO_MAX. - (nbd_read): Cap AMOUNT to NBD_IO_MAX. - - * nbd.c (nbd_validate_name): Skip : before port number. - (nbdopen): Fix test after connect loop. - Use multiple read calls as needed to get the whole connection header. - -2001-12-26 Roland McGrath <roland@frob.com> - - * unknown.c: New file. - * Makefile (SRCS): Add it. - * store.h (store_unknown_class, store_unknown_decode): Declare them. - * create.c (store_create): If store_decode fails with EINVAL, - and we were called with the STORE_NO_FILEIO flag bit set, - then use store_unknown_decode. - -2001-12-23 Roland McGrath <roland@frob.com> - - * kids.c (store_set_child_flags): Move decrement to avoid ill-defined - C behavior that gets a warning. - (store_clear_child_flags): Likewise. - -2001-10-14 Roland McGrath <roland@frob.com> - - * Makefile (SRCS): Add url.c to the list. - - * url.c: New file. - (store_url_open): New function. - (store_url_open_class): New const variable. - * store.h: Declare them. - * std.c (store_std_classes): Add &store_url_open_class to the list, - move &store_nbd_class after it. - - * nbd.c (nbd_validate_name): Accept an optional "nbd://" prefix. - (nbdopen): Likewise. - -2001-10-06 Neal H Walfield <neal@cs.uml.edu> - - * memobj.c: Include "store.h", not <hurd/store.h>. - * nbd.c: Likewise. - * part.c: Likewise. - -2001-10-01 Marcus Brinkmann <marcus@gnu.org> - - * part.c: Add const to type. - Reported by Jeroen Dekkers. - -2001-10-01 Marcus Brinkmann <marcus@gnu.org> - - * device.c (dev_error): Add a break to silence gcc warning. - (store_device_class): Add const to type. - * typed.c (store_typed_open_class): Likewise. - * file.c (store_file_class): Likewise. - * stripe.c (store_concat_class): Likewise. - (store_ileave_class): Likewise. - * zero.c (store_zero_class): Likewise. - * open.c (store_open_class): Likewise. - * remap.c (store_remap_class): Likewise. - * task.c (store_task_class): Likewise. - * copy.c (store_copy_class): Likewise. - * gunzip.c (store_gunzip_class): Likewise. - * bunzip2.c (store_bunzip2_class): Likewise. - * mvol.c (store_mvol_class): Likewise. - * memobj.c (store_memobj_class): Likewise. - * nbd.c (store_nbd_class): Likewise. - Submitted by Maurizio Boriani <baux@debian.org>. - -2001-09-30 Roland McGrath <roland@frob.com> - - * memobj.c: New file. - * Makefile (SRCS): Add it. - * store.h (store_memobj_class, store_memobj_create): Declare them. - -2001-09-29 Roland McGrath <roland@frob.com> - - * nbd.c (struct nbd_startup): Replace sizehi, sizelo with just size. - (nbdopen): Changed use. - -2001-09-28 Roland McGrath <roland@frob.com> - - * decode.c (store_std_leaf_decode): Actually copy data into MISC. - Don't call malloc for it when MISC_LEN is zero, just store null. - -2001-09-27 Roland McGrath <roland@frob.com> - - * nbd.c (store_nbd_open): Divide reported size by block size. - - * std.c (store_std_classes): Add store_nbd_class. - * store.h: Declare it. - - * nbd.c: New file. - * Makefile (SRCS): Add it. - * store.h (store_nbd_open, _store_nbd_create): Declare them. - -2001-09-16 Roland McGrath <roland@frob.com> - - * std.c (store_std_classes): Only include store_part_class - if [HAVE_PARTED_PARTED_H]. - -2001-08-25 Roland McGrath <roland@frob.com> - - * part.c (store_part_create): Do a run-time check on ped_get_version. - -2001-08-25 Neal H Walfield <neal@cs.uml.edu> - - * part.c: New file. - * std.c (store_std_classes): Add store_part_class. - * store.h (store_part_create): New prototype. - (store_part_open): Likewise. - -2001-08-25 Roland McGrath <roland@frob.com> - - * Makefile (parted.o, parted_pic.o): Pass -nostdlib. - -2001-08-25 Neal H Walfield <neal@cs.uml.edu> - - * Makefile (libstore.so-LDFLAGS): Renamed from LDFLAGS-libstore.so. - -2001-08-24 Roland McGrath <roland@frob.com> - - * Makefile (SRCS): Add part.c here. - (OBJS): Mutate part.o -> parted.o here. - (parted.o, parted_p.o, parted_pic.o): New targets. - (LDFLAGS-libstore.so): Set to $(PARTED_LIBS). - -2001-08-12 Neal H Walfield <neal@cs.uml.edu> - - * copy.c (copy_read): The protocol dictates that *LEN is in - bytes, not pages. - (copy_write): Be sure that the buffer passed to vm_read is - page-aligned. When determining how much to copy, use LEN, not the - uninitialized *AMOUNT. - (copy_clone): Use memcpy, not bcopy. - * derive.c: Include <sys/types.h> and <mach.h>. - (_store_derive): Initialize STORE->wrap_src. - - * set.c: Do not include <malloc.h>. - Include <stdlib.h>, <errno.h> and <mach.h>. - (store_set_runs): Use memcpy, not bcopy. - (store_set_name): Use strdup, not a strlen, malloc and strcpy. - * zero.c (zero_read): When checking if mmap failed, compare - against MAP_FAILED, not -1. - Use memset, not bzero. - -2001-08-03 Roland McGrath <roland@frob.com> - - * Makefile (HURDLIBS): Define it so we link in libshouldbeinlibc. - -2001-04-26 Marcus Brinkmann <marcus@gnu.org> - - * set.c: Use explicit comparison to MACH_PORT_NULL. - -2001-03-07 Roland McGrath <roland@frob.com> - - * store.h (store_write, store_write_meth_t): Make buffer arg const*. - * copy.c (copy_write): Likewise. - * device.c (dev_write): Likewise. - * file.c (file_write): Likewise. - (file_byte_write): Likewise. - * rdwr.c (store_write): Likewise. - * remap.c (remap_write): Likewise. - * stripe.c (stripe_write): Likewise. - * task.c (task_write): Likewise. - * zero.c (zero_write): Likewise. - * mvol.c (zero_write): Likewise. - -2001-01-16 Roland McGrath <roland@frob.com> - - * store.h (struct store_argp_params): Add member `store_optional'. - * argp.c (parse_opt): If store_optional is set, don't make it an error - when there are no store arguments and the type doesn't validate that. - -2001-01-14 Roland McGrath <roland@frob.com> - - * encode.c (too_big): New static function. - (store_std_leaf_encode): Use it to return EOVERFLOW if a run - does not fit in an off_t. - -2001-01-09 Marcus Brinkmann <marcus@gnu.org> - - * device.c (store_device_create): Protect code of last change with - #ifdef DEV_GET_RECORDS, and set sizes_len again before second try. - (enforce): Likewise. Move definition of variable err up to top - level. - -2001-01-09 Marcus Brinkmann <marcus@gnu.org> - - * device.c (enforce): First try DEV_GET_RECORDS, and only fall - back to DEV_GET_STORE if this fails with D_INVALID_OPERATION. - (store_device_create): Likewise, but fall back for any failure. - -2001-01-08 Marcus Brinkmann <marcus@gnu.org> - - * zero.c (zero_remap): Change type of variables length, old_length - to store_offset_t. - (zero_decode): Change type of variable size to store_offset_t. - (zero_open): Likewise. Use strtoull instead strtoul to parse - size argument from name. Use store_offset_t for max_offs and - its calculation. - (store_zero_create): Use store_offset_t type for size argument. - - * derive.c (_store_derive): Use store_offset_t as type for - variable last_part_base. - - * stripe.c (addr_adj): Change types of addr argument and return - value to store_offset_t. - (store_ileave_create): Change type of interleave argument and - variables min_end and end to store_offset_t, but type of variable - block_size to size_t. - (store_concat_create): Change type of variable block_size to - size_t. - - * make.c (_store_create): Change end argument type to store_offset_t. - - * store.h: New type store_offset_t, define to off64_t. - (struct store_run): Change type of start and length to - store_offset_t. - (struct store): Change type of end, wrap_src, wrap_dst, blocks, - size to store_offset_t. - Change type of addr arg in store_read_meth_t and - store_write_meth_t to store_offset_t, as well as in declarations - for store_read and store_write. - Change type of argument end in _store_create declaration to - store_offset_t. - Change type of argument size in store_zero_create to - store_offset_t. Change type of argument interleace in - store_ileace_create to store_offset_t. - - * rdwr.c (store_find_first_run): Change type of return value, addr - and *base arguments, and variables wrap_src and run_blocks to - store_offset_t. - (store_next_run): Change type of *base argument to store_offset_t. - (store_write): Change type of addr argument and variable base to - store_offset_t. - (store_read): Likewise, also for addr argument of local function seg_read. - Change type of len argument to size_t. - - * copy.c (copy_read): Change type of addr argument to store_offset_t. - (copy_write): Likewise. - * device.c (dev_read): Likewise. - (dev_write): Likewise. - * file.c (file_read): Likewise. - (file_write): Likewise. - (file_byte_read): Likewise. - (file_byte_write): Likewise. - * mvol.c (mvol_read): Likewise. - (mvol_write): Likewise. - * remap.c (remap_read): Likewise. - (remap_write): Likewise. - * stripe.c (stripe_read): Likewise. - (stripe_write): Likewise. - * task.c (task_read): Likewise. - (task_write): Likewise. - * zero.c (zero_read): Likewise. - (zero_write): Likewise. - - * remap.c (store_remap_runs): Change type of addr and len - arguments of local function add_run and of local variables addr, - length, baddr, blen and len to store_offset_t. - (remap_open): Cast -1 to store_offset_t, not off_t. - - * argp.c (struct store_parsed): Change type of interleave from - off_t to store_offset_t. - (store_parsed_append_args): Use %Ld instead %ld to print - interleave value. - (store_parsed_name): Likewise. - -2001-01-07 Marcus Brinkmann <marcus@gnu.org> - - * copy.c: Include <mach.h>. New macro page_aligned. - (copy_write): Cast buf to vm_address_t in call to vm_write. - Dereference amount for memcpy. - (copy_read): Add len parameter to vm_read, remove redundant following - len assignment. - -2000-12-20 Roland McGrath <roland@frob.com> - - * zero.c (zero_open): Check for END being null after strtoul call. - If character following number (*END) is b, multiply size by 512; - k or K, by 1024; m or M by 1024*1024; g or G by 1024*1024*1024. - - * store.h (struct store_class): Fix typo in comment. - - * copy.c (copy_read): When reading whole aligned pages, use vm_read. - Use MAP_FAILED in place of (void *) -1. Use memcpy in place of bcopy. - (copy_write): When reading whole aligned pages, use vm_write. - Use memcpy in place of bcopy. - -1999-11-20 Roland McGrath <roland@baalperazim.frob.com> - - * store.h (struct store_class): Add const to type of `name' member. - -1999-11-14 Roland McGrath <roland@baalperazim.frob.com> - - * device.c (dev_error): New static function. - Translate all expected D_* codes into POSIX codes. - (dev_read, dev_write, dev_open): Use it. - -1999-10-07 Roland McGrath <roland@baalperazim.frob.com> - - * rdwr.c (store_read, store_write): Fix asserts in last change. - -1999-10-03 Roland McGrath <roland@baalperazim.frob.com> - - * rdwr.c (store_read, store_write): Fix calculations broken in last - change, so they again properly account for starting intrarun offset. - -1999-09-09 Roland McGrath <roland@baalperazim.frob.com> - - * rdwr.c (store_write, store_read): Carefully avoid scaling run - lengths from blocks to bytes except when we're already sure the - run's size in bytes won't overflow size_t. - -1999-07-11 Thomas Bushnell, BSG <tb@mit.edu> - - * argp.c (store_parsed_open): Add more braces to clarify if-else - structure. - - * encode.c: Include <sys/mman.h> - * zero.c: Likewise. - - * encode.c (store_encode): Repair syntax. - * copy.c (copy_read): Likewise. - - * enc.c (store_enc_dealloc): Cast first arg of munmap correctly. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * rdwr.c: Add #include <sys/mman.h> for munmap decl. - * enc.c: Likewise. - * copy.c: Likewise. - * gunzip.c: Likewise. - * bunzip2.c: Likewise. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * bunzip2.c (bunzip2): Use mmap instead of vm_allocate. - * copy.c (copy_read): Likewise. - (copy_clone): Likewise. - * encode.c (store_encode): Likewise. - * gunzip.c (gunzip): Likewise. - * rdwr.c (store_read): Likewise. - * zero.c (zero_read): Likewise. - -1999-07-08 Roland McGrath <roland@baalperazim.frob.com> - - * remap.c (remap_open): Recognize "N+" syntax in block list as from - block N through the end of the store. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * bunzip2.c (bunzip2): Use munmap instead of vm_deallocate. - (store_bunzip2_create): Likewise. - * rdwr.c (store_read): Likewise. - * gunzip.c (gunzip): Likewise. - (store_gunzip_create): Likewise. - * enc.c (store_enc_dealloc): Likewise. - * copy.c (copy_cleanup): Likewise. - -1999-05-23 Roland McGrath <roland@baalperazim.frob.com> - - * remap.c (remap_open): Don't multiply by 512. Offsets and sizes are - in blocks, not bytes. - - * stripe.c (concat_decode): Add __attribute__((unused)) to suppress - warning. - (ileave_decode): Likewise. - - * bunzip2.c: Add extern decl for do_bunzip2. - -1999-05-16 Roland McGrath <roland@baalperazim.frob.com> - - * remap.c (remap_decode): Add attribute((unused)) to suppress warning. - -1999-05-14 Roland McGrath <roland@baalperazim.frob.com> - - * remap.c (remap_open, remap_validate_name): New functions, to support - parsing block lists a la GRUB. - (store_remap_class): Initialize those slots. - -1999-05-01 Mark Kettenis <kettenis@gnu.org> - - * device.c (store_device_create): Deal with devices that return - sucessfully from device_get_status, but do not return any sensible - information. - -1998-09-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> - - * bunzip2.c: New file. - * store.h (store_bunzip2_create): New declarations. - (store_bunzip2_open): Likewise. - (store_bunzip2_class): Likewise. - * std.c (store_std_classes): Add store_bunzip2_class. - * Makefile (SRCS): Add bunzip2.c. - (UNZIP_OBJS): Add do-bunzip2.o. - -1998-12-27 Roland McGrath <roland@baalperazim.frob.com> - - * store.h: Remove defns of STORAGE_*, now in <hurd/hurd_types.h>. - -1998-12-21 Roland McGrath <roland@baalperazim.frob.com> - - * open.c (store_open): Like file.c:fiopen, catch EACCES or EROFS - and try to open read-only. - - * file.c (fiopen): Treat EROFS same as EACCES. - -1998-10-20 Roland McGrath <roland@baalperazim.frob.com> - - * flags.c (store_clear_flags): Add braces to silence gcc warning. - -1998-10-19 Roland McGrath <roland@baalperazim.frob.com> - - * rdwr.c (store_read): Add braces to silence gcc warning. - * flags.c (store_set_flags): Likewise. - * typed.c (store_typed_open): Likewise. - * decode.c (store_decode): Likewise. - * argp.c (store_parsed_append_args): Likewise. - (store_parsed_name): Likewise. - (store_parsed_open): Likewise. - -1998-09-05 Roland McGrath <roland@baalperazim.frob.com> - - * argp.c (store_parsed_append_args): Use %d for layer, which is int. - Cast to int for %* field width arg. - -1997-09-22 Miles Bader <miles@gnu.ai.mit.edu> - - * encode.c (store_encode): Allocate the correct amount of memory - for the encoding vectors. - - * make.c (_store_create): Initialize NEW->misc_len. - - * mvol.c (store_mvol_class): Set correct members. - (store_mvol_create): Declare PHYS correctly. - <stdio.h>: New include. - * store.h (store_mvol_create): Declare PHYS correctly. - * Makefile (SRCS): Add mvol.c. - -1997-08-11 Miles Bader <miles@gnu.ai.mit.edu> - - * store.h (store_mvol_create): New declaration. - (store_mvol_class): New declaration. - * mvol.c: New file. - -1997-07-24 Miles Bader <miles@gnu.ai.mit.edu> - - * device.c (store_device_create): Treat devices that can't do - device_get_status as zero-length. - (dev_map): Pass 0 for OFFSET and SIZE arguments to device_map -- - mach ignores them, and we often can't supply meaningful values. - * make.c (_store_create): If BLOCK_SIZE is zero, make sure there - are no runs. - * derive.c (_store_derive): Let BSIZE be zero. - -1997-07-21 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.c (store_parsed_append_args): Correctly unparse complex - type names. - -1997-07-18 Miles Bader <miles@gnu.ai.mit.edu> - - * map.c (store_map): If we can't map STORE directly, and it has a - source file, try to map that instead. - * remap.c (store_remap): If we are mutating SOURCE, close any - source port it has. - * store.h (store_map_source): Declaration removed. - -1997-07-17 Miles Bader <miles@gnu.ai.mit.edu> - - * store.h (store_map): New declaration. - (struct store_class): Add map field. - * device.c (dev_map): New function. - (store_device_class): Use dev_map. - * zero.c (zero_map): New function. - (store_zero_class): Use zero_map. - * file.c (file_map): New function. - (store_file_class): Use file_map. - * map.c: New file. - * Makefile (SRCS): Add map.c. - - * device.c (dev_read, dev_write): Remove debugging grot. - -1997-07-07 Miles Bader <miles@gnu.ai.mit.edu> - - * kids.c (store_open_children): Support factored type notation. - -1997-07-05 Miles Bader <miles@gnu.ai.mit.edu> - - * file.c (file_read, file_write, file_byte_read, file_byte_write): - Remove debugging noise. - -1997-06-30 Miles Bader <miles@gnu.ai.mit.edu> - - * store.h: Doc fix. - -1997-06-27 Miles Bader <miles@gnu.ai.mit.edu> - - * file.c (store_file_open): Use fiopen to open the file. - Set name of newly created store. - (fiopen, ficlose, enforced, file_set_flags, file_clear_flags): New - functions. - (store_file_class): Use new functions. - (store_file_byte_class): Fill in rest of functions. - * device.c (enforced): Move some checking here from dev_set_flags, - and correct the check for the number of stores. - (dev_set_flags): Move enforcement checking code to enforce. - -1997-06-26 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.c (parse_type): Fill in name_prefix field. - (store_parsed_open): Apply it to any names we open. - -1997-06-22 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.c (parse_type): New function. - (parse_opt): Use parse_type to parse the -T option. - (struct store_parsed): Add NAME_PREFIX field. - (store_parsed_free): Free it. - (store_parsed_append_args): Emit it. - (store_parsed_open): Use it in opens. - - * typed.c (store_typed_open): If NAME doesn't contain a `:' - separator, try to use it as either a class name or a file name. - Interpret a trailing or leading `:' as unambiguously referring to - a class-name or a filename, respectively. - -1997-06-19 Miles Bader <miles@gnu.ai.mit.edu> - - * rdwr.c (store_read): Limit reads to the amount available. - - * store.h (store_typed_open_class): Renamed from store_typed_class. - * std.c (store_std_classes): Use store_typed_open_class instead of - store_typed_class. - - * Makefile (SRCS): Remove storeread.c & storecat.c. - (storeread, storecat): Rules removed. - * storeread.c, storecat.c: Moved to ../utils. - -1997-06-18 Miles Bader <miles@gnu.ai.mit.edu> - - * store.h (struct store): BLOCKS & SIZE are off_t, not size_t. - (store_zero_create): SIZE is off_t, not size_t. - * zero.c (store_zero_create, zero_open): Likewise. - - * storecat.c (main): Update use of argp. - * storeread.c (main): DATA is void *. - - * Makefile (UTILS_OBJS): Variable removed. - (UNZIP_OBJS): New variable. - (OBJS): Don't use $(UTILS_OBJS). Do use $(UNZIP_OBJS). - (VPATH, CPPFLAGS): Search for stuff in ../exec for unzip junk. - - * derive.c: Include <assert.h> - (_store_derive): Assert that block_size & blocks_per_page are - powers of two (which should be enforced elsewhere). - - * make.c (_store_create): Renamed from _make_store. - Return an error_t code, and add an additional argument STORE to - return the new store; all uses changed. - * store.h (_make_store): Likewise. - - * Makefile (SRCS): Add typed.c, copy.c, and gunzip.c. - - * typed.c: New file - * store.h (store_gunzip_class, store_typed_class): New declarations. - * std.c (store_std_classes): Add store_copy_class, - store_gunzip_class, and store_typed_class. - - * kids.c (store_open_children, store_children_name): New functions. - * stripe.c (store_concat_open): New function. - (store_concat_create): Set the store name if possible. - * store.h (store_concat_open, store_children_name, - store_open_children): New declaration. - * rdwr.c (store_read): Deallocate memory returned when reading - part of a multiple-segment read. - -1997-06-17 Miles Bader <miles@gnu.ai.mit.edu> - - * copy.c, gunzip.c: New files. - * store.h (store_copy_class): New declaration. - (store_copy_create, store_copy_open, store_buffer_create, - store_gunzip_create, store_gunzip_open): New declarations. - - * decode.c (store_decode): Pass the original value of CLASSES to - any decode method, not our search tail. - - * device.c (dopen): If *MOD_FLAGS already contains - STORE_HARD_READONLY, don't ever try to open for reading. - -Fri Feb 21 23:31:34 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * device.c (dopen): Add MOD_FLAGS param, and detect read-only devices. - (dev_clear_flags, store_device_open): Use MOD_FLAGS arg to dopen. - -Wed Feb 19 15:40:18 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * storeread.c (doc): Make doc string come after options. - - * device.c (dev_set_flags): Correctly check for unenforcable runs. - - * task.c: New file. - * Makefile (SRCS): Add task.c. - * store.h (store_task_class): New declaration. - (store_task_create, _store_task_create, store_open): New declarations. - * std.c (store_std_classes): Add &STORE_TASK_CLASS. - - * xinl.c: Renamed from store.c. - * Makefile (SRCS): Change store.c to xinl.c. - -Mon Oct 21 22:03:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * store.h: Add extern inline protection. - * store.c: New file. - * Makefile (SRCS): Add store.c. - -Tue Oct 8 14:31:51 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * kids.c (store_set_child_flags, store_clear_child_flags): New funcs. - * store.h (store_set_child_flags, store_clear_child_flags): New decls. - * stripe.c (stripe_set_flags, stripe_clear_flags): Remove functions. - * remap.c (store_remap_class): Init set_flags & clear_flags fields. - * stripe.c (store_ileave_class, store_concat_class): Likewise. - - * clone.c (store_clone): Copy name field. - -Mon Oct 7 14:56:27 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * device.c (dev_set_flags, dev_clear_flags): New functions. - (store_device_class): Add dev_set_flags & dev_clear_flags. - (dopen, dclose, enforced): New functions. - (store_device_open): Use dopen. - * store.h <fcntl.h>: New include. - * stripe.c (stripe_set_flags, stripe_clear_flags): New functions. - (store_ileave_create, store_concat_create): Add common backend - flags from children to parent's flags. - -Sat Oct 5 00:23:45 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * create.c (store_create): Add special handling of STORE_INACTIVE - in FLAGS. - -Fri Oct 4 23:44:51 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * create.c (store_create): Free *STORE when store_set_flags fails. - - * store.h (STORE_INNOCUOUS, STORE_INACTIVE): New macros. - (store_is_securely_returnable): New function. - * zero.c (store_zero_create): Set STORE_INNOCUOUS flags. - -Fri Sep 27 17:01:07 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * remap.c (store_remap): Zero SOURCE->end before calling _store_derive. - Turn off STORE_ENFORCED flag in source if munging it. - - * device.c (store_device_open): Set *STORE's name appropriately. - -Tue Sep 24 15:15:27 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * zero.c <limits.h>: New include. - (zero_open): When no size is specified, use the maximum off_t - value, not the maximum size_t value. - -Mon Sep 23 12:55:43 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storecat.c (main): Use new PARAMS var for passing args to STORE_ARGP. - -Thu Sep 19 11:12:44 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.c (parse_opt): Correctly check for non-default type. - - * kids.c (store_decode_children): Change CLASSES to **. - * encode.c (store_encode): Make CLASS var const. - * file.c (_store_file_create): Make CLASS arg const. - * store.h (struct store): Make CLASS field const. - (_make_store): Make CLASS arg const. - * make.c (_make_store): Make CLASS arg const. - * stripe.c (ileave_decode, concat_decode): Make CLASSES arg const. - * remap.c (remap_decode): Likewise. - * create.c (store_create): Likewise. - -Wed Sep 18 15:14:51 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.c (struct store_parsed): Change CLASSES field to be a pointer to - a vector of class pointers. - (find_class): Change CLASSES to be a vector of class pointers. - * decode.c (store_decode): Change CLASSES to be a vector of class - pointers. - * store.h (struct store_class, struct store_argp_params, store_create, - store_open, store_decode, store_decode_children): Change CLASSES args - to be a pointer to a vector of class pointers. - (_store_add_std_class): Declaration removed. - (STORE_STD_CLASS): Macro removed. - * std.c (store_std_classes): Make an initialized array. - (_store_add_std_class): Function removed. - * device.c (store_device_class): Renamed from dev_class; export. - * file.c (store_file_class): Renamed from file_class; export. - (store_file_byte_class): Renamed from file_byte_class; export. - * zero.c (store_zero_class): Renamed from zero_class; export. - * remap.c (store_remap_class): Renamed from remap_class; export. - * open.c (store_query_class): Renamed from query_class; export. - * stripe.c (store_ileave_class): Renamed from ileave_class; export. - (store_concat_class): Renamed from concat_class; export. - - * zero.c (zero_open, zero_validate_name): New functions. - (zero_class): Use them. - - * argp.c (store_parsed_open): Remove CLASSES argument. - (struct store_parsed): Make some fields const. - * store.h (store_parsed_open): Remove CLASSES argument. - -Tue Sep 17 14:48:48 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * store.h (struct store_class): Add OPEN and PARSE fields. - (store_open): Make NAME const. - (struct store_argp_params): New type. - * device.c (dev_open): New function. - (dev_class): Point to it. - * file.c (fhile_open): New function. - (file_class): Point to it. - * argp.c (options, parse_opt): Add --store-type/-T & (hidden) - --machdev/-m options, remove --device/-d option. - (struct store_parsed): Rmove DEVICE field, add TYPE, DEFAULT_TYPE - and CLASSES fields. - (store_parsed_free): Free PARSED->type if it exists. - (store_parsed_append_args): Use --store-type=... instead of --device. - (store_parsed_open): When --store-type is specified, search - CLASSES for that type, and call it's open function. - * open.c (store_open): Make NAME const. - (query_class): New variable. - -Fri Sep 13 14:33:24 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.c (store_parsed_append_args, store_parsed_open, struct - store_parsed): Use `device' instead of `machdev'. - - * encode.c (store_return): Only call store_enc_dealloc upon failure. - (store_std_leaf_allocate_encoding): NUM_OFFSETS is NUM_RUNS * 2. - - * enc.c (store_enc_return): Don't call store_enc_dealloc. - -Thu Sep 12 17:23:35 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storecat.c (main): Limit reads to 1M, and iterate until done. - Use store_parsed_name to get store name for errors. - Add program description. - - * store.h (STORAGE_REMAP, STORAGE_ZERO): New macros (temporary, to - avoid touching hurd/hurd_types.h). - -1996-09-12 Miles Bader <miles@gnu.ai.mit.edu> - - * remap.c (store_remap): Call _store_derive after changing runs. - - * argp.c (store_parsed_name): New function. - -Wed Sep 11 12:38:44 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * decode.c (store_with_decoded_runs): New function. - (store_std_leaf_decode): Call it. - * store.h (store_with_decoded_runs): New declaration. - - * stripe.c (ileave_class, concat_class): Initialize the REMAP field. - (stripe_remap): New function. - * store.h (store_remap_create): New declaration. - * zero.c (zero_remap): New function. - (zero_class): Initialize remap field with zero_remap. - * Makefile (SRCS): Add remap.c. - - * zero.c: New file, from null.c. - * null.c: File removed. - * store.h (store_zero_create): Renamed from store_null_create. - * Makefile (SRCS): Replace null.c by zero.c. - -Tue Sep 10 17:05:03 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * remap.c: New file. - * store.h (struct store_class): Add remap field. - (store_remap): New declaration. - - * encode.c (store_return): New function. - * enc.c (store_enc_return, store_return): New functions. - * store.h (store_enc_return, store_return): New declarations. - -Mon Sep 9 12:32:11 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * rdwr.c (store_write, store_read): Use void * for buffers, not char *. - * device.c (dev_write, dev_read): Likewise. - * file.c (file_read, file_write, file_byte_read, file_byte_write): - Likewise. - * stripe.c (stripe_read, stripe_write): Likewise. - * null.c (null_read, null_write): Likewise. - * store.h (store_write_meth_t, store_read_meth_t, store_read, - store_write): Make type of buffer void *, not char *. - -Sun Sep 8 14:14:05 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * device.c (dev_read, dev_write): Don't print debugging messages. - * argp.c (options, parse_opt): Change short option names around. - -Wed Sep 4 13:01:19 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.c (parse_opt): --layer isn't implemented, so say so. - - * storeread.c (main): Add new args to store_*_create calls. - * storecat.c (main): Use new interface to store_argp. - -Wed Sep 3 11:00:00 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.c (struct store_parsed): New type. - (store_parsed_free, store_parsed_append_args, store_parsed_open): - New functions. - (parse_opt): Use new store_parsed structure instead of the old - store_pars_hook, and just fill in the names rather than doing the - open here. Don't take a struct store_argp_params as input any - more; instead just take the address of a location in which to - return a store_parsed structure. - (struct store_parse_hook): Type removed. - (free_hook, open_file): Functions removed. - <assert.h>: New include. - <stdlib.h>, <fcntl.h>: Includes removed. - (options): --machdev/-m renamed to --device/-D. - * store.h (struct store): Make log2_* fields unsigned. - (STORE_NO_FILEIO): New macro. - (STORE_HARD_READONLY, STORE_ENFORCED): Values changed. - (STORE_GENERIC_FLAGS): Add STORE_NO_FILEIO. - (struct store_argp_params): Type removed. - (store_parsed_Free, store_parsed_open, store_parsed_append_args): - New declarations. - (struct store_parsed): New incomplete type. - -Mon Sep 2 18:56:26 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * store.h (store_open): New declaration. - * open.c: New file. - * Makefile (SRCS): Add open.c. - -Wed Aug 21 14:40:15 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * device.c (store_device_open): Don't call store_device_create if - device_open fails. - -Tue Aug 20 14:37:33 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.c (free_hook): Free H->params->args if necessary. - (parse_opt): Initialize and fill in H->params->args when appropriate. - <argz.h>: New include. - -Mon Aug 19 14:31:33 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * store.h (struct store_argp_params): Add return_args, args, & - args_len fields. - -Fri Jul 19 16:16:46 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * decode.c (store_std_leaf_decode): Decode name too. - Deal with NAME_LENGTH being 0. - -Sun Jun 16 22:49:55 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.c (parse_opt): Use argp_failure. - -Thu May 23 10:54:06 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.c (parse_opt): Honor ARGP_NO_ERRS. - <error.h>: New include. - -Wed May 22 00:14:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.c (parse_opt): Use error instead of ERR for non-parsing errors. - Rename ERR to PERR. - -Tue May 21 00:01:02 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storecat.c (main): Delete most everything and use store arg parsing. - (options, doc, args_doc): Variables removed. - - * create.c (store_create): Add FLAGS & CLASSES params. - * rdwr.c (store_write): Return an error if STORE is readonly. - * decode.c (store_decode): Add CLASSES param, use it instead of big - hardwired switch statement. - (store_default_leaf_decode): Use typedef for CREATE param. Pass in - FLAGS arg when calling it. - * encode.c (store_std_leaf_allocate_encoding): Renamed from - store_default_leaf_allocate_encoding. Make STORE const. - (store_std_leaf_encode): Renamed from store_default_leaf_encode. - Make STORE const. Get class id from store->class->id. - (store_encode): Use CLASS field instead of METHS field. - * clone.c (store_clone): Copy the flags by passing them to _make_store. - Use CLASS field instead of METHS field. - * file.c (store_file_open, file_decode): New functions. - (store_file_create): Always set STORE_ENFORCED. - (file_class): Renamed from file_meths. Add more fields. Make std - with _STORE_STD_CLASS. - (file_byte_class): Renamed from file_byte_meths. - <fcntl.h>, <hurd.h>: New includes. - * device.c (store_device_open, dev_decode): New functions. - (store_device_create): Always set STORE_ENFORCED. - (device_class): Renamed from device_meths. Add more fields. Make std - with _STORE_STD_CLASS. - <hurd.h>: New include. - * stripe.c (ileave_allocate_encoding, ileave_encode, ileave_decode, - concat_allocate_encoding, concat_encode, concat_decode): New functions. - (concat_class): New variable. - (ileave_class): Renamed from stripe_class. More fields added. - * store.h (struct store): Remove CLASS field. METHS field renamed - CLASS. - (STORE_IMMUTABLE_FLAGS, STORE_GENERIC_FLAGS, STORE_BACKEND_SPEC_BASE, - STORE_BACKEND_FLAGS, STORE_READONLY, STORE_HARD_READONLY, - STORE_ENFORCED): New macros. - (struct store_class): Renamed from store_meths; all uses changed. - Add ID, NAME, DECODE, SET_FLAGS, CLEAR_FLAGS, and NEXT fields. - (store_std_leaf_decode): Renamed from store_default_leaf_decode. - (store_std_leaf_create_t): New type. - (_STORE_STD_CLASS): New macro. - (struct store_argp_params): READONLY field deleted, FLAGS field added. - (store_allocate_child_encodings, store_encode_children, - store_decode_children, store_set_flags, store_clear_flags, - store_file_open, store_device_open, store_null_create, - store_std_classes, _store_add_std_class, - store_allocate_child_encodings, store_encode_children, - store_decode_children): New declarations - (store_decode, store_create, store_device_create, _store_device_create, - store_file_create, _store_file_create, store_ileave_create, - store_concat_create, _make_store): Declarations updated. - * make.c (_make_store): CLASS param removed, METHS param renamed - CLASS; all callers changed. FLAGS param added. - * stripe.c (store_ileave_create, store_concat_create): Likewise. - * file.c (store_file_create, _store_file_create): Likewise. - * device.c (store_device_create, _store_device_create): Likewise. - * argp.c (open_machdev): Function removed. - (parse_opt): Use store_device_open instead of open_machdev. - (open_file, parse_opt): Add FLAGS arg to various function calls. - * set.c (store_set_children): Function moved to kids.c. - * null.c, flags.c, std.c, kids.c: New files. - * Makefile (SRCS): Add null.c, flags.c, std.c, & kids.c. - -Sun May 12 10:12:24 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.c (store_parse_opt): Put result in the passed-in params struct. - Pass hook to open_{file,machdev}. - (open_machdev): Use params to determine readonly-ness. - (open_file): New function. - * store.h (store_argp): New declaration. - (struct store_argp_params): New type. - * Makefile (SRCS): Add argp.c. - - * create.c (store_create): Steal SOURCE instead of cloning it. - -Sat May 11 01:17:39 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * argp.c: New file. - - * storeread.c (parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL. - * storecat.c (parse_opt): Likewise. - -Fri May 10 13:23:36 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * store.h (struct store_run): New type. - (struct store): RUNS is a vector of runs, not offsets. - (_store_device_create, _store_file_create, _make_store, - store_set_runs, store_default_leaf_decode): Update declaration. - * rdwr.c (store_find_first_run, store_next_run, store_write, - store_read): Use store_run, not off_t, vectors; tweak accordingly. - Rename variables called `RUNS' to `RUN', because although they're - always vectors, they're used more often for their first element. - * derive.c (_store_derive): Use store_run, not off_t, vectors; tweak - accordingly. - * device.c (store_device_create, _store_device_create): Likewise. - * set.c (store_set_runs): Likewise. - * storecat.c (main): Likewise. - * storeread.c (main): Likewise. - * make.c (_make_store): Likewise. - * stripe.c (store_ileave_create, store_concat_create): Likewise. - * file.c (store_file_create, _store_file_create): Likewise. - * decode.c (store_default_leaf_decode): Convert the slice of the - offset vector we're using into a vector of store_runs to pass to - CREATE. Change type of CREATE accordingly. - * encode.c (store_default_leaf_encode): Convert from the store_run - vector to a off_t vector for encoding. - - * create.c (store_create): Use the real file_get_storage_info. - (fgsi): Function removed. - - * store.h (struct store): Add CHILDREN & NUM_CHILDREN fields. - Rename RUNS_LEN to NUM_RUNS (all uses changed). - (store_set_children): New declaration. - * make.c (_make_store): Initialize CHILDREN & NUM_CHILDREN. - (store_free): Free all children too. - * clone.c (store_clone): Clone children too. - * set.c (store_set_children): New function. - * stripe.c (store_ileave_create, store_concat_create): Use - store_set_children. - (stripe_clone): Function removed. - (stripe_read, stripe_write): Get stripes from CHILDREN, not HOOK. - - * Makefile (storeread, storecat): Remove explicit dependency on - program object file. - Put include of ../Makeconf before dependencies. - -Mon May 6 15:20:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * store.h: Move big comment describing file_get_storage_info - encoding to <hurd/hurd_types.h>. diff --git a/libthreads/ChangeLog b/libthreads/ChangeLog deleted file mode 100644 index f0898498..00000000 --- a/libthreads/ChangeLog +++ /dev/null @@ -1,499 +0,0 @@ -2008-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * i386/cthreads.h (spin_unlock, spin_try_lock): Add memory clobbers. - -2007-06-14 Thomas Schwinge <tschwinge@gnu.org> - - * cthread_internals.h (cproc_block): Add prototype. - -2006-03-04 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * i386/cthreads.h (cthread_sp): Likewise. - -2002-08-26 Roland McGrath <roland@frob.com> - - * cthreads.c (cthread_body) [HAVE_USELOCALE]: Call uselocale to - initialize the thread to the global locale. - -2002-07-29 Marcus Brinkmann <marcus@gnu.org> - - * stack.c (stack_init): Put back in setting of the - __hurd_threadvar_stack_mask and __hurd_threadvar_stack_offset - variables (which got lost in the merge). - - * cthreads.c (cthread_init): Move cthread_alloc call before - cproc_init call (lost in merge). - -2002-05-28 Roland McGrath <roland@frob.com> - - * cthreads.h: Do not define WAIT_DEBUG to affect inlines. - * options.h: Not here either. - - * cprocs.c (cproc_block): Can't be static, called from cancel-cond.c. - - * cthreads.h (hurd_condition_wait, condition_implies, - condition_unimplies): Restore decls lost in merge. - (mutex_clear): Define as mutex_init instead of bogon (lost in merge). - - * cthreads.c (cthread_fork_prepare, cthread_fork_parent, - cthread_fork_child): Don't call malloc_fork_* (lost in merge). - - * lockfile.c: Use __attribute__ magic instead of #pragma magic - for alias definitions. Don't bother to make them weak. - -2002-05-26 Roland McGrath <roland@frob.com> - - Changes merged from CMU MK83a version: - * cthreads.h, options.h: Various cleanups. - * call.c, cthread_data.c, sync.c, mig_support.c, stack.c: Likewise. - * i386/cthreads.h, i386/thread.c, i386/lock.s: Likewise. - * cthread_internals.h: Add decls for internal functions. - (struct cproc): Use vm_offset_t for stack_base and stack_size members. - Use natural_t for context member. - * cprocs.c: Use prototypes for all defns. - * cthreads.c: Likewise. - (cthread_exit): Cast any_t to integer_t before int. - - * alpha/thread.c: #if 0 out the silly bzero decl. - - * alpha/cthreads.h, alpha/thread.c, alpha/csw.S, alpha/lock.S: - New files, verbatim from CMU release MK83a user/threads/alpha. - -2002-05-08 Roland McGrath <roland@frob.com> - - * cthreads.c (cthread_exit): Cast any_t to long before int. - - * cthread_internals.h: int -> void * for `busy' member. - * cprocs.c (cthread_mach_msg): Don't cast to int when setting it. - * cprocs.c (cthread_mag_active): Likewise. - -2002-05-07 Roland McGrath <roland@frob.com> - - * cprocs.c (cproc_list_lock): Declare type as spin_lock_t. - - * cthreads.h (cthread_sp): Cast to vm_address_t instead of int. - (mutex_unlock): Cast to void * instead of int. - -2002-03-24 Roland McGrath <roland@frob.com> - - * libthreads.map: Use GLIBC_2.2.6 set instead of GLIBC_2.2. - -2001-12-22 Roland McGrath <roland@frob.com> - - * i386/thread.c (cthread_sp): Use __thread_stack_pointer. - -2001-08-23 Roland McGrath <roland@frob.com> - - * lockfile.c: Rewritten to use macros now defined by libc. - -2001-03-31 Roland McGrath <roland@frob.com> - - * cthreads.h: Fix obsolescent #endif syntax. - * cthread_internals.h: Likewise. - * cancel-cond.c: Likewise. - * stack.c: Likewise. - * cthreads.c: Likewise. - * cprocs.c: Likewise. - * call.c: Likewise. - * i386/thread.c: Likewise. - * cthread_data.c: Likewise. - -2001-02-25 Roland McGrath <roland@frob.com> - - * i386/thread.c: Remove superfluous bzero decl, - just include <strings.h> instead. - -2000-05-25 Mark Kettenis <kettenis@gnu.org> - - * libthreads.map: Update comment to reflect Roland's 2000-03-30 - change, and my change to the toplevel configure.in that disables - versioning for the old stdio-using libc. - -2000-03-30 Roland McGrath <roland@baalperazim.frob.com> - - * libthreads.map: Define HURD_CTHREADS_0.3 version set, - putting all symbols there except the lockfile symbols. - * lockfile.c: Nit fixes. - -2000-03-27 Roland McGrath <roland@baalperazim.frob.com> - - Locking support for stdio streams with glibc-2.2 libio. EXPERIMENTAL! - * lockfile.c: New file. - * libthreads.map: New file. - * Makefile (SRCS): Add lockfile.c. - [$(VERSIONING) = yes] ($(libname).so.$(hurd-version)): Depend - on $(srcdir)/$(libname).map to get version script into the link. - -2000-02-28 Roland McGrath <roland@baalperazim.frob.com> - - * i386/csw.S: #undef __ELF__ before defining it, since - it is usually predefined. - -2000-01-10 Mark Kettenis <kettenis@gnu.org> - - * cprocs.c: Include <assert.h> - -2000-01-09 Roland McGrath <roland@baalperazim.frob.com> - - * cprocs.c (cproc_alloc): Initialize P->wired and P->msg here (code - from cthread_wire). - (cthread_wire): Reduce to just an assert, cthreads always wired. - (chtread_unwire): Abort if called. - -1999-06-13 Roland McGrath <roland@baalperazim.frob.com> - - * cthreads.h (MACRO_BEGIN, MACRO_END): #undef before unconditionally - redefining. Use GCC extension for statement expression with value 0. - -1999-05-29 Roland McGrath <roland@baalperazim.frob.com> - - * cthreads.h (mutex_clear): Change again, to call mutex_init. - - * cthreads.h (mutex_clear): Change from syntax error to no-op (with - warning avoidance). - -1998-11-12 Mark Kettenis <kettenis@phys.uva.nl> - - * cthreads.c (cthread_init): Move cthread_alloc call before - cproc_init call, since cthread_alloc uses malloc, and malloc won't - work between initializing the new stack and switching over to it. - -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * i386/csw.S (cproc_prepare): Take address of cthread_body as third - arg, so we don't have to deal with PIC magic to find its address - without producing a text reloc. - * cprocs.c (cproc_create): Pass &cthread_body to cproc_prepare. - -Tue Jun 9 13:50:09 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * cthreads.c (cthread_fork_prepare): Don't call - malloc_fork_prepare since we are no longer providing our own - malloc in this library. - (cthread_fork_parent): Likewise, for malloc_fork_parent. - (cthread_fork_child): Likewise, for malloc_fork_child. - -Wed Aug 20 15:39:44 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * 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. - -Fri Aug 8 13:21:17 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (SRCS): Delete malloc.c; libc now has a thread safe - malloc. - (malloc.c): Delete file. - -Mon Jun 9 21:18:46 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * cthreads.c (cthread_fork): Delete debugging oddity that crept - into source. - -Thu Apr 3 20:29:27 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * i386/csw.S: Define __ELF__ too. - -Wed Feb 19 23:29:55 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * stack.c (__hurd_threadvar_stack_mask, - __hurd_threadvar_stack_offset, __hurd_threadvar_max): Make extern. - -Tue Feb 18 16:28:36 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * i386/thread.c (cproc_setup): Correctly leave space at top of - stack for GNU per-thread variables. - -Mon Nov 18 16:36:56 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * cprocs.c (cproc_create): Cast CHILD in assignment. - -Mon Oct 21 22:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * i386/csw.S (CALL_MCOUNT): New macro. - (cproc_swtich, cproc_start_wait, cproc_prepare): Use CALL_MCOUNT. - - * rwlock.h: Change extern inline protection to use new canonical - method. - * rwlock.c: Rewritten. - -Wed Sep 4 09:06:09 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (VPATH): Look in $(asm_syntax) instead of old - $(machine); Hurd configure now folds equivalent CPU types into - asm_syntax. - -Thu Aug 29 12:50:37 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * i386/csw.S: Include <mach/i386/asm.h> instead of <i386/asm.h>. - Define ELF before inclusion. - -Sat Jul 20 15:47:24 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (lndist-i386-files): Look for I386SRCS and I386HDRS in - $(srcdir). - -Thu Jun 6 07:29:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * malloc.c (more_memory): Use assert_perror instead of MACH_CALL. - "cthread_internals.h": Include removed. - -Thu May 9 11:13:42 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (installhdrs, installhdrsubdir): Install headers using - the generic technique, now that installhdrsubdir is available. - - * rwlock.h: If _RWLOCK_DEFINE_FUNCTIONS is defined, then clear - _EXTERN_INLINE, but *after* header files have been included. - * rwlock.c (_RWLOCK_DEFINE_FUNCTIONS): New macro; use in place of - clearing _EXTERN_INLINE, which conflicts with machine-sp.h. - -Sat May 4 05:33:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * cthreads.h [lint] (NEVER): Spurious global variable removed. - [!lint] (NEVER): Useless macro removed. - - * Makefile (SRCS): Add rwlock.c. - (LCLHDRS): Add rwlock.h. - (install): Depend on $(includedir)/rwlock.h. - ($(includedir)/%.h: %.h): New rule. - ($(includedir)/cthreads.h): Target removed, obviated by that rule. - * rwlock.h: Moved to libthreads from libshouldbeinlibc. - (_EXTERN_INLINE): New macro. - Use it for all the inline defns. - * rwlock.c: New file. - -Thu Apr 11 17:55:24 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (CFLAGS): Turn off -Wall. - - * Makefile (VPATH): Fix up for new configure reality. - -Thu Mar 7 15:52:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * malloc.c (realloc): Use LOG2_MIN_SIZE. - (LOG2_MIN_SIZE): New macro. - - * malloc.c (realloc): Don't bother allocating a new block if the - new size request fits in the old one and doesn't waste any space. - Only free the old block if we successfully got a new one. - -Wed Mar 6 18:05:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * malloc.c [MCHECK] (struct header): New type. - (union header): Only define if !MCHECK. - (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros. - [MCHECK] (MIN_SIZE): Add correct definition for this case. - (more_memory, malloc, free, realloc): Use above macros, and add - appropiate checks & frobs in MCHECK case. - -Wed Jan 31 20:05:57 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * cancel-cond.c: Add assert to check for signal bug. - -Wed Jan 24 13:38:11 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * cthreads.h: Use prototypes for functions of zero args. - -Sun Dec 10 08:41:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * stack.c (addr_range_check, probe_stack): Functions #if 0'd out. - (stack_init): Don't call probe_stack or frob old stack at all. - Default cthread_stack_size to 16 pages if it is zero. - -Wed Dec 6 14:48:37 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * cprocs.c (condition_unimplies): Take address of (*impp)->next in - assignment to IMPP on loop step instruction. - -Wed Oct 4 16:22:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * i386/csw.S (JUMPTARGET): New macro, versions for [PIC] and not. - Use it in place of EXT. - * Makefile (csw_pic.o): Bogus braindead target from hell removed. - Bushnell will be shot. - -Fri Sep 22 13:51:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * cprocs.c: Include hurd/threadvar.h. - -Sat Sep 16 13:42:02 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (CPPFLAGS): Variable removed. - (lndist-i386-files): Use $(top_srcdir) in place of $(srcdir). - -Wed Sep 13 15:49:17 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * cthreads.h (CONDITION_INITIALIZER): Provide initial zero for - IMPLICATIONS member. - (condition_init): Bother initializing NAME and IMPLICATIONS members. - -Wed Aug 30 11:10:27 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * cthreads.h (condition_implies, condition_unimplies): New - functions. - (struct condition): New member `implications'. - (cond_imp): New structure. - (cond_signal): Return int now. - (condition_broadcast): Always call cond_broadcast if this - condition has implications. - (condition_signal): Always call cond_signal if this condition has - implications. - * cprocs.c (cond_signal): If this condition has implications, - see if one of them needs to be signalled when we have no waiters. - (cond_broadcast): Signal the implications list too. - (condition_implies, condition_unimplies): New functions. - - * cthreads.h (hurd_condition_wait): Provide declaration. - -Tue Aug 29 10:48:59 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * cthread_internals.h (cproc_block): Provide decl. - -Sat Aug 26 14:08:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * cancel-cond.c (hurd_condition_wait_cancel): Name changed to - `hurd_condition_wait'. - -Tue Aug 22 19:26:38 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (SRCS): Add a backslash. - -Mon Aug 21 12:52:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (SRCS): Add cancel-cond.c. - * cancel-cond.c: New file. - -Thu Jul 6 13:39:25 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (install): Don't *always* install cthreads.h; do it - only if it's new. - - * Makefile: Removed dependencies that are now automatically - generated. - - * Makefile (csw_pic.o): Provide slightly cheating rule. - -Fri May 12 14:25:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * i386/csw.S: Use EXT macro instead of explicit underscores. - * i386/asm.h: File removed; it is installed by libc. - * Makefile (I386HDRS): Variable removed. - ($(OBJS)): Don't depend on i386/asm.h. - - * Makefile (CPPFLAGS): Use $(srcdir) instead of $(hurdsource). - -Wed Apr 12 14:33:06 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (lndist, lndist-i386-files): Change $(hurdsource) to - $(srcdir). - ($(hurdsource)/hurd-snap/$(dir)/i386): Likewise. - -Tue Apr 4 17:04:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (CPPFLAGS): Define. - ($(OBJS) rule): Fix typo in target. - (install-cthreads.h): Use $(INSTALL_DATA). - - * cthreads.h (mutex_lock, mutex_unlock): Use __ names for *_solid. - * cprocs.c (mutex_lock_solid, mutex_unlock_solid): Renamed to __*. - (_cthread_mutex_lock_routine, _cthread_mutex_unlock_routine): Variables - removed. - -Fri Jul 22 10:47:51 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile: Rewritten in accord with new scheme. - -Tue Jul 19 12:22:01 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (generic-sources): Restored malloc.c. - (malloc-sources, malloc-objects): Deleted variables. - (DIST_FILES): Deleted $(malloc-sources) - (all): Deleted libmalloc.a. - (libmalloc.a): Delted target. - ($(hurdinst)/lib/libmalloc.a): Deleted target. - (install): Deleted $(hurdinst)/lib/libmalloc.a. - (clean): Deleted libmalloc.a. - -Tue Jul 5 14:17:28 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (SRCS, TAGSHDRS): New variables. - (TAGS): Deleted local definition; now it's in Makeconf. - -Thu May 19 00:54:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * cprocs.c (_cthread_mutex_lock_routine, - _cthread_mutex_unlock_routine): New variables. - -Thu May 5 19:33:49 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * Makefile: (generic-sources): Removed malloc.c. - (malloc-sources, malloc-objects): new variables. - (DIST_FILES): added $(malloc-sources). - (libmalloc.a, $(hurdinst)/lib/libmalloc.a): New targets. - ($(hurdinst)/lib/malloc.o): Deleted target. - (all): added libmalloc.a. - (install): Changed $(hurdinst)/lib/malloc.o to - $(hurdinst)/lib/libmalloc.a - (clean): Added libmaloc.a. - -Thu May 5 04:30:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * cthreads.c (cthread_init): Pass STACK instead of P to mig_init. - - * cprocs.c (cproc_create): Pass normal offset value to - cproc_stack_base. Explicitly store CHILD ptr at base of its stack. - - * stack.c (stack_init): Set __hurd_threadvar_stack_mask to find - the lowest address of the stack segment. - [STACK_GROWTH_UP]: Set __hurd_threadvar_stack_offset to - sizeof(ur_cthread_t*). - [! STACK_GROWTH_UP]: Set __hurd_threadvar_stack_offset to the size - of the stack minus space for the cproc_self ptr and thread variables. - - * malloc.c (malloc, free, realloc): Change declarations to - standard types, so as not to conflict with the declarations in - <stdlib.h>. - - * cthread_internals.h: #if 0 out declaration of malloc. - (struct cproc): #if 0 out `reply_port' member; libc implements that. - * cprocs.c (cproc_alloc): #if 0 out initialization of P->reply_port. - - * Makefile (generic-sources): Omit sync.c. libc implements that. - - * cprocs.c (cproc_block): Add __hurd_threadvar_max * sizeof (long - int) to 2nd arg to cproc_stack_base. - - * stack.c: Include <hurd/threadvar.h>. - (__hurd_threadvar_stack_mask, __hurd_threadvar_stack_offset, - __hurd_threadvar_max): Define variables (uninitialized). - (stack_init): Set __hurd_threadvar_stack_mask to cthread_stack_mask. - Set __hurd_threadvar_stack_offset to point past the cproc_self ptr. - Add __hurd_threadvar_max * sizeof (long int) to 2nd arg to - cproc_stack_base. - - * cthreads.h: #if 0 include of <machine/cthreads.h>. - Instead, include <machine-sp.h>. - (cthread_sp): Define using __thread_stack_pointer. - #if 0 out spin_lock definitions. Just include <spin-lock.h> instead. - (struct mutex): Move `held' member to be first in the structure. - -Wed May 4 14:55:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * i386/thread.c: Changed inclusions because we aren't using - -I flags the way CMU's makefiles do. - - * i386/csw.S: Convert comment character to /* */ pairs. - - * Renamed csw.s to csw.S so that GCC knows to run cpp on it. - * Makefile (machine-sources): Change csw.s to csw.S. - -Wed May 4 07:11:46 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile (GEN_SRCS): Renamed generic-sources. - (I386_SRCS): Replaced with machine-sources, omitting directory. - (SRCS): Renamed sources. Include $(machine-sources) and prepend - $(machine)/ directory name. - (headers): Define variable. - (OBJS): Renamed objects. - (VPATH): Define to $(machine). diff --git a/libtrivfs/ChangeLog b/libtrivfs/ChangeLog deleted file mode 100644 index e285dbd3..00000000 --- a/libtrivfs/ChangeLog +++ /dev/null @@ -1,1047 +0,0 @@ -2008-12-08 Thomas Schwinge <tschwinge@gnu.org> - - * Makefile (HURDLIBS): Add fshelp. Reported by Olaf Buddenhagen - <olafbuddenhagen@gmx.net>. - -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * times.c (trivfs_set_atime, trivfs_set_mtime): Adapt to ``struct - stat'' changes. - -2003-10-11 Marcus Brinkmann <marcus@gnu.org> - - * nosenders.c, notify-stubs.c: Remove obsolete files. - -2003-02-15 Roland McGrath <roland@frob.com> - - * Makefile (installhdrs): Add generated headers only ifndef no_deps. - -2002-06-13 Roland McGrath <roland@frob.com> - - * dir-chg.c: Don't include stub header, trivfs.h now gets those decls. - * dir-link.c: Likewise. - * dir-lookup.c: Likewise. - * dir-mkdir.c: Likewise. - * dir-mkfile.c: Likewise. - * dir-readdir.c: Likewise. - * dir-rename.c: Likewise. - * dir-rmdir.c: Likewise. - * dir-unlink.c: Likewise. - * file-access.c: Likewise. - * file-chauthor.c: Likewise. - * file-chflags.c: Likewise. - * file-chg.c: Likewise. - * file-chmod.c: Likewise. - * file-chown.c: Likewise. - * file-get-fs-options.c: Likewise. - * file-get-storage-info.c: Likewise. - * file-get-trans.c: Likewise. - * file-get-transcntl.c: Likewise. - * file-getcontrol.c: Likewise. - * file-getfh.c: Likewise. - * file-getlinknode.c: Likewise. - * file-lock.c: Likewise. - * file-reparent.c: Likewise. - * file-set-size.c: Likewise. - * file-set-trans.c: Likewise. - * file-statfs.c: Likewise. - * file-sync.c: Likewise. - * file-syncfs.c: Likewise. - * file-utimes.c: Likewise. - * fsys-forward.c: Likewise. - * fsys-get-options.c: Likewise. - * fsys-getroot.c: Likewise. - * fsys-goaway.c: Likewise. - * fsys-set-options.c: Likewise. - * fsys-stubs.c: Likewise. - * fsys-syncfs.c: Likewise. - * io-async-icky.c: Likewise. - * io-async.c: Likewise. - * io-duplicate.c: Likewise. - * io-identity.c: Likewise. - * io-map.c: Likewise. - * io-modes-get.c: Likewise. - * io-modes-off.c: Likewise. - * io-modes-on.c: Likewise. - * io-owner-get.c: Likewise. - * io-owner-mod.c: Likewise. - * io-pathconf.c: Likewise. - * io-read.c: Likewise. - * io-readable.c: Likewise. - * io-reauthenticate.c: Likewise. - * io-restrict-auth.c: Likewise. - * io-revoke.c: Likewise. - * io-seek.c: Likewise. - * io-select.c: Likewise. - * io-stat.c: Likewise. - * io-stubs.c: Likewise. - * io-write.c: Likewise. - - * Makefile (mig-sheader-prefix): New variable. - (installhdrs): Add trivfs_*_S.h for fs, io, fsys (server stub headers). - ($(MIGSTUBS:%Server.o=%.sdefsi)): Give dep $(srcdir)/fsmutations.h. - * priv.h: All declarations moved to ... - * trivfs.h: ... here. #include those server stub headers. - * fsmutations.h (FILE_IMPORTS, IO_IMPORTS, FSYS_IMPORTS): - Use <hurd/trivfs.h> instead of "priv.h" here. - - * io-version.c (trivfs_S_io_server_version): Fix receiver arg type. - - * file-exec.c (trivfs_S_file_exec): Add reply port args. - - * dir-readdir.c (trivfs_S_dir_readdir): Revert last change. - -2002-06-08 Roland McGrath <roland@frob.com> - - * io-identity.c (trivfs_S_io_identity): Use ino_t for FILENO. - - * dir-readdir.c (trivfs_S_dir_readdir): Use vm_size_t for AMOUNT. - -2002-06-07 Roland McGrath <roland@frob.com> - - * trivfs.h (trivfs_modify_stat): - Use io_statbuf_t instead of struct stat. - -2002-05-28 Roland McGrath <roland@frob.com> - - * dir-readdir.c (trivfs_S_dir_readdir): u_int -> size_t - * file-get-trans.c (trivfs_S_file_get_translator): Likewise. - * file-set-trans.c (trivfs_S_file_set_translator): Likewise. - * file-getfh.c (trivfs_S_file_getfh): Likewise. - * fsys-getroot.c (trivfs_S_fsys_getroot): Likewise. - * io-restrict-auth.c (trivfs_S_io_restrict_auth): Likewise - * fsys-stubs.c (trivfs_S_fsys_getfile): Likewise. - (trivfs_S_fsys_startup): Fix argument type. - -2001-04-01 Neal H Walfield <neal@cs.uml.edu> - - * dir-lookup.c (trivfs_S_dir_lookup): Use iohelp_dup_iouser as - per the new semantics. - * fsys-getroot.c (trivfs_S_fsys_getroot): Use - iohelp_create_complex_iouser. - * io-reauthenticate.c (trivfs_S_io_reauthenticate): - Use iohelp_reauth as per the new semantics. - * io-restrict-auth.c (trivfs_S_io_restrict_auth): - Use iohelp_create_complex_iouser. Check return values. - * protid-dup.c (trivfs_protid_dup): Use iohelp_dup_iouser - as per the new semantics. - -2001-06-10 Neal H Walfield <neal@cs.uml.edu> - - * file-inv.c: Remove this file, function no longer exists. - * Makefile (FSSRCS): Remove reference to file-inv.c. - -2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> - - * startup.c (trivfs_startup): Don't use MAKE_SEND in Hurd RPC. - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Use - ports_get_send_right. - -1999-11-08 Roland McGrath <roland@baalperazim.frob.com> - - * io-write.c: Include <fcntl.h>. - - * fsys-getroot.c (trivfs_S_fsys_getroot): Fix typo. - - * io-write.c (trivfs_S_io_write): Return EBADF if trivfs_allow_open - doesn't include O_WRITE. - - * io-modes-get.c (trivfs_S_io_get_openmodes): Remove assert. - The default implementation ought to be fine for this. - - * io-owner-get.c (trivfs_S_io_get_owner): Remove asserts. - It is entirely reasonable to have EOPNOTSUPP be the default - implementation for these calls that files are not obligated to provide. - * io-owner-mod.c (trivfs_S_io_mod_owner): Likewise. - * io-map.c (trivfs_S_io_map): Likewise. - * io-async.c (trivfs_S_io_async): Likewise. - * io-async-icky.c (trivfs_S_io_get_icky_async_id): Likewise. - - * fsys-getroot.c (trivfs_S_fsys_getroot): Return EROFS or EACCES for a - disallowed open attempt, instead of EOPNOTSUPP. EOPNOTSUPP results in - the confusing result of ENOTDIR being delivered to the user. - -1999-10-11 Roland McGrath <roland@baalperazim.frob.com> - - * dir-readdir.c (trivfs_S_dir_readdir): Take DATA_DEALLOC parameter. - - * dir-lookup.c (trivfs_S_dir_lookup): Duplicate CRED->user to pass it - to trivfs_open. Add ref to CRED->realnode when used by trivfs_open. - - * trivfs.h (trivfs_open_hook): New variable. - * fsys-getroot.c (trivfs_S_fsys_getroot): Use it. - -1999-09-13 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile, io-map.c, io-map-segment.c: Reverted changes related to - io_map_segment. - -1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> - - * io-map-segment.c (trivfs_S_io_map): New file. - * io-map.c (trivfs_S_io_map): Just call trivfs_S_io_map_segment. - * Makefile (IOSRCS): Add io-map-segment.c. - -Mon Mar 15 14:36:33 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * migsupport.c (trivfs_begin_using_protid): In first branch, - protect work against PI being null, and call ports_port_deref with - the proper value. - (trivfs_begin_using_control): Likewise. - Reported by Mark Kettenis (kettenis@wins.uva.nl). - -1999-02-06 Mark Kettenis <kettenis@gnu.org> - - * trivfs.h (trivfs_check_access_hook): New variable. - * fsys-getroot.c (trivfs_S_fsys_getroot): Use - trivfs_check_acces_hook. - * dir-lookup.c (trivfs_S_dir_lookup): Likewise. - * file-access.c (trivfs_S_file_check_access): Likewise. - -1999-02-16 Roland McGrath <roland@baalperazim.frob.com> - - * io-revoke.c: Add reply, reply_type args. - -Tue Feb 16 05:47:57 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * io-revoke.c: New file. - * Makefile (IOSRCS): Add io-revoke.c. - -1999-02-12 Gordon Matzigkeit <gord@trick.fig.org> - - * open.c (trivfs_open): Add missing `=' from last change. - -1999-02-05 Mark Kettenis <kettenis@gnu.org> - - * open.c (trivfs_open): Correctly initialize NEW->isroot. - -Sun Jan 31 18:29:22 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * times.c (trivfs_set_atime, trivefs_set_mtime): Take advantage of - new semantics for file_utimes. - -1998-08-20 Roland McGrath <roland@baalperazim.frob.com> - - * file-get-fs-options.c (trivfs_S_file_get_fs_options): - fshelp_return_malloced_buffer renamed to iohelp_*. - * fsys-get-options.c (trivfs_S_fsys_get_options): Likewise. - -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * dir-lookup.c (trivfs_S_dir_lookup): Fix brainos in last change. - -Tue Jul 14 16:47:28 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * dir-lookup.c (trivfs_S_dir_lookup): In null-pathname case, this - should work even for non-directories, so actually do it, making - this a simpler case of trivfs_S_fsys_getroot. - -Thu Feb 20 13:13:13 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * protid-classes.c (trivfs_protid_portclasses, - trivfs_protid_nportclasses): Make common. - * cntl-classes.c (trivfs_cntl_portclasses, - trivfs_cntl_nportclasses): Likewise. - -Tue Feb 18 19:47:16 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * cntl-create.c (trivfs_create_control): Put the actual port - creation call back in! - -Fri Feb 14 02:10:50 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * dyn-classes.c: New file. - * cntl-create.c (trivfs_create_control): Possibly allocate and add - the port classes/buckets to the list of ones recognized by trivfs. - * migsupport.c - (trivfs_begin_using_protid): Support dynamic protid port classes. - (trivfs_begin_using_control): Support dynamic control port classes. - * cntl-clean.c (trivfs_clean_cntl): Clean up dynamic port - classes/buckets. - * trivfs.h (trivfs_add_control_port_class, - trivfs_add_protid_port_class, trivfs_add_port_bucket, - trivfs_remove_control_port_class, trivfs_remove_protid_port_class, - trivfs_remove_port_bucket): New declarations. - Doc fixes. - * priv.h (trivfs_dynamic_protid_port_classes, - trivfs_num_dynamic_protid_port_classes, - trivfs_dynamic_control_port_classes, - trivfs_num_dynamic_control_port_classes, - trivfs_dynamic_port_buckets, trivfs_num_dynamic_port_buckets): - New declarations. - * Makefile (OTHERSRCS): Add dyn-classes.c, protid-classes.c, & - cntl-classes.c. - -Thu Feb 13 18:30:45 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * trivfs.h (trivfs_getroot_hook): New declaration. - * fsys-getroot.c (trivfs_S_fsys_getroot): Use trivfs_getroot_hook. - * Makefile (FSSRCS): Replace dir-reparent.c by file-reparent.c. - -Mon Jan 20 16:37:04 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-reparent.c (trivfs_S_dir_reparent): New file. - * Makefile (FSSRCS): Add dir-reparent.c. - -Tue Nov 19 22:36:49 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * io-stat.c (trivfs_S_io_stat): Clear S_ITRANS and set S_IROOT in - ST->st_mode (before calling trivfs_modify_stat). - -Mon Nov 18 18:13:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * io-stat.c (trivfs_S_io_stat): Make the mode specify IFCHR by - default. - -Sat Nov 16 17:20:15 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): Add `iohelp'. - -Thu Nov 14 13:13:10 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * io-restrict-auth.c (trivfs_S_io_restrict_auth): idvec_set -> - idvec_set_ids. Fix unrelated typos. - - * protid-dup.c (trivfs_protid_dup): Use iouser_dup_iouser instead - of copying old arrays by hand. - * protid-clean.c (trivfs_clean_protid): Free CRED->user instead of - CRED->uids and CRED->gids. - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Args for - io_restrict_auth now come from the new structure definitions. - * open.c (trivfs_open): Pass correct first arg to idvec_contains. - - * open.c (trivfs_open): Delete variable I. - - * trivfs.h: Include <hurd/iohelp.h> - -Thu Nov 7 17:05:02 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * io-restrict-auth.c (trivfs_S_io_restrict_auth): If CRED has - root, use the requested id sets verbatim. - -Thu Nov 7 01:01:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * io-restrict-auth.c (trivfs_S_io_restrict_auth): Rewrite to use - idvecs. - -Wed Nov 6 23:40:50 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * trivfs.h (struct trivfs_protid): Delete members `uids', `gids', - `nuids', and `ngids'. Replace with `user'. - (trivfs_check_open_hook): Delete args `uids', `nuids', `gids', - `ngids'. Replace with new arg `user'. All callers changed. - (trivfs_open): Likewise. - * open.c (trivfs_open): Change to match new declaration. - - * trivfs.h (struct trivfs_protid): Delete members `uids', `gids', - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Use new - iohelp_reauth call. - -Thu Sep 26 14:25:29 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * file-access.c (trivfs_S_file_check_access): Return - CRED->realnode's access bits rather than always 0. - -Mon Sep 23 17:20:08 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * file-get-fs-options.c <argz.h>: New include. - - * trivfs.h (trivfs_append_args): Make ARGZ_LEN `size_t *'. - * append-args.c (trivfs_append_args): Likewise. - -Thu Sep 19 18:00:42 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): Add shouldbeinlibc. - -Wed Sep 18 12:47:54 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsys-get-options.c (trivfs_S_fsys_get_options): Initialize ARGZ - with the program name, and call trivfs_append_args instead of - trivfs_get_options. - * file-get-fs-options.c (trivfs_S_file_get_fs_options): Likewise. - * trivfs.h (trivfs_append_args): New declaration. - (trivfs_get_options): Declaration removed. - * Makefile (OTHERSRCS): Replace get-options.c with apend-args.c. - * append-args.c (trivfs_append_args): New file. - -Thu Sep 12 16:23:15 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (libtrivfs.so): Delete special depedency. - -Fri Aug 16 19:24:45 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * migsupport.c (trivfs_end_using_protid): Only call - ports_port_deref if CRED is set. - (trivfs_end_using_control): Likewise. - -Thu Aug 15 16:14:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * io-pathconf.c (trivfs_S_io_pathconf): Implement by calling - underlying node. - -Thu Jul 18 23:14:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Use noinstall - version of ports_create_port. Put it in the port set after the - node has been fully initialized. - -Sat Jul 13 20:15:56 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Repeat - ports_create_port, auth_server_authenticate, io_restrict_auth, and - *trivfs_protid_create_hook for as long as we get EINTR. Deal with - other errors without crashing. - -Sun Jul 7 16:06:37 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Don't use - MACH_MSG_TYPE_MOVE_SEND; it's unreliable. - -Thu Jun 20 22:54:01 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * file-get-fs-options.c (trivfs_S_file_get_fs_options): - Call trivfs_get_options, and package up the results. - * fsys-get-options.c (trivfs_S_fsys_get_options): Likewise. - * fsys-set-options.c (trivfs_S_fsys_set_options): Call - trivfs_set_options. - * set-options.c, get-options.c: New files. - * trivfs.h: Add trivfs_set_options & trivfs_get_options. - * Makefile (OTHERSRCS): Add set-options.c & get-options.c. - -Wed Jun 19 21:29:45 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * trivfs.h (trivfs_runtime_argp): New declaration. - * fsys-set-options.c (trivfs_S_fsys_set_options): Use - trivfs_runtime_argp to parse options. - * runtime-argp.c: New file. - * Makefile (OTHERSRCS): Add runtime-argp.c. - -Sat Jun 15 19:50:37 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsys-stubs.c (trivfs_S_fsys_set_options, trivfs_S_fsys_get_options, - trivfs_S_file_get_fs_options): Functions removed. - * fsys-set-options.c, fsys-get-options.c, file-get-fs-options.c: - New files. - * Makefile (FSSRCS): Add file-get-fs-options.c - (FSYSSRCS): Add fsys-set-options.c & fsys-get-options.c. - -Thu May 9 20:03:28 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-identity.c: New file. - * Makefile (IOSRCS): Add io-identity.c. - * cntl-clean.c (trivfs_clean_cntl): Destroy filesys_id and file_id - members. - * cntl-create.c (trivfs_create_control): Initialize filesys_id and - file_id members of new control. - * trivfs.h (trivfs_control): New members `filesys_id' and - `file_id'. - -Thu May 9 16:58:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * file-get-storage-info.c (trivfs_S_file_get_storage_info): Change - to new interface. - -Thu May 9 15:32:38 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Don't send - right for CRED to auth_server_authenticate. - - * fsys-stubs.c (trivfs_S_fsys_get_options): Expect (and ignore) - reply port args. - - * file-syncfs.c (trivfs_S_file_syncfs): Provide new third arg to - file_sync. - * fsys-syncfs.c (trivfs_S_fsys_syncfs): Likewise. - * file-sync.c (trivfs_S_file_sync): Accept and pass through new - omitmeta parm. - - * file-statfs.c (trivfs_S_file_statfs): Use new struct statfs - format. - - * dir-rename.c (trivfs_S_dir_rename): Accept new excl parm. - * dir-link.c (trivfs_S_dir_link): Likewise. - - * Makefile (OTHERSRCS): Delete handle-port.c. - * trivfs.h (trivfs_handle_port): Delete declaration. - * handle-port.c: Delete file. - -Thu May 9 12:16:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * io-select.c (trivfs_S_io_select): Remove TAG arg. - -Tue May 7 16:14:10 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * file-get-storage-info.c (trivfs_S_file_get_storage_info): Swap - PORTS_TYPE and NUM_PORTS args. - -Mon May 6 20:16:20 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * file-get-storage-info.c (trivfs_S_file_get_storage_info): - Rewrite for new interface. - -Mon Apr 29 15:19:26 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * handle-port.c: Comment out warning addition. - -Sun Apr 28 15:22:16 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * handle-port.c: Add obsolescence link warning. - -Thu Apr 11 18:03:31 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (MIGSFLAGS): Reference fsmutations.h in $(srcdir). - -Thu Jan 25 16:19:29 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * cntl-create.c (trivfs_create_control): New function. - * trivfs.h (trivfs_create_control): New declaration. - * startup.c (trivfs_startup): Use trivfs_create_control. - * handle-port.c (trivfs_handle_port): Likewise. - * Makefile (OTHERSRCS): Add cntl-create.c. - - * open.c (trivfs_open): Use ports_create_port instead of - ports_allocate_port, and return any error. - * protid-dup.c (trivfs_protid_dup): Likewise. - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Likewise. - * io-restrict-auth.c (trivfs_S_io_restrict_auth): Likewise. - -Mon Jan 15 12:02:49 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * protid-clean.c (trivfs_clean_protid): Don't hold - CRED->po->cntl->lock while calling TRIVFS_PEROPEN_DESTROY_HOOK. - -SUN Nov 5 00:01:53 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * fsys-stubs.c (trivfs_S_fsys_get_options, - trivfs_S_file_get_fs_options): New functions. - - * file-get-storage-info.c (trivfs_S_file_get_storage_info): Add - FLAGS arg. - - * dir-chg.c (trivfs_S_dir_notice_changes): Waste some time adding - reply port args that no one will use. - * dir-link.c (trivfs_S_dir_link): Ditto. - * dir-lookup.c (trivfs_S_dir_lookup): Ditto. - * file-utimes.c (trivfs_S_file_utimes): Ditto. - * file-statfs.c (trivfs_S_file_statfs)Ditto. - * file-set-trans.c (trivfs_S_file_set_translator): Ditto. - * file-lock.c (trivfs_S_file_lock, trivfs_S_file_lock_stat): Ditto. - * file-getlinknode.c (trivfs_S_file_getlinknode): Ditto. - * file-getfh.c (trivfs_S_file_getfh): Ditto. - * file-get-transcntl.c (trivfs_S_file_get_translator_cntl): Ditto. - * file-get-trans.c (trivfs_S_file_get_translator): Ditto. - * file-get-storage-info.c (trivfs_S_file_get_storage_info): Ditto. - * file-chown.c (trivfs_S_file_chown): Ditto. - * file-chflags.c (trivfs_S_file_chflags): Ditto. - * file-chg.c (trivfs_S_file_notice_changes): Ditto. - * dir-unlink.c (trivfs_S_dir_unlink): Ditto. - * dir-rmdir.c (trivfs_S_dir_rmdir): Ditto. - * dir-rename.c (trivfs_S_dir_rename): Ditto. - * dir-readdir.c (trivfs_S_dir_readdir): Ditto. - * dir-mkfile.c (trivfs_S_dir_mkfile): Ditto. - * dir-mkdir.c (trivfs_S_dir_mkdir): Ditto. - * file-chmod.c (trivfs_S_file_chmod): Ditto. - * file-chauthor.c (trivfs_S_file_chauthor): Ditto. - -Wed Nov 1 15:53:38 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * startup.c (trivfs_startup): Add FLAGS arg, passed to fsys_startup. - * trivfs.h (trivfs_startup): Add FLAGS arg. - * fsys-stubs.c (trivfs_S_fsys_startup): Ditto. - -Sat Oct 7 05:04:02 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * fsys-stubs.c (trivfs_S_fsys_getpriv): Add poly args. - - * Makefile (libtrivfs.so): Depend on ../libports/libports.so. - -Fri Oct 6 17:44:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * migsupport.c: Remove leading _ from function names. - * fsmutations.h: Likewise. - * trivfs.h (trivfs_{begin,end}_using_{protid,control}): Declare them. - -Fri Oct 6 17:28:07 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * dir-link.c (trivfs_S_dir_link): Swap first two arguments. - - * file-get-storage-info.c (trivfs_S_file_get_storage_info): Change - type of RUNS to off_t **, and add the BLOCK_SIZE parameter. - -Thu Oct 5 00:41:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (FSSRCS): Add file-get-storage-info.c. - * file-get-storage-info.c: New file. - -Mon Sep 18 14:29:37 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * file-set-size.c (trivfs_S_file_set_size): Renamed from - file-truncate.c:trivfs_s_file_truncate. - * io-pathconf.c (trivfs_S_io_pathconf): Renamed from - file-pathconf.c:trivfs_S_file_pathconf. - (trivfs_S_io_pathconf): Add reply port to args. - * Makefile (FSSRCS): Remove file-pathconf.c. - (IOSRCS): Add io-pathconf.c. - (FSSRCS): Rename file-truncate.c to file-set-size.c. - -Wed Sep 6 10:33:03 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * demuxer.c (trivfs_demuxer): Use ports_notify_server and - ports_interrupt_server instead of our own versions. - * Makefile (SRCS): Removed $(NOTIFYSRCS) and $(INTSRCS). - (NOTIFYSRCS, INTSRCS): Removed. - (MIGSTUBS): Removed notifyServer.o and interruptServer.o. - * interrupt.c: File deleted. - -Fri Aug 25 12:11:26 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * interrupt.c (trivfs_S_interrupt_operation): Use ports_interrupt_rpc. - -Thu Aug 24 11:46:19 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * fsys-forward.c (trivfs_S_fsys_forward): New file. - -Wed Aug 23 15:09:31 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (REMHDRS): Removed. - (FSYSSRCS): Added fsys-forward.c. - -Mon Aug 21 15:25:36 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * handle-port.c (trivfs_handle_port): Initialize the hook field. - * io-stat.c (trivfs_S_io_stat): Pass CRED to trivfs_modify_stat. - * fsys-goaway.c (trivfs_S_fsys_goaway): Use new args for trivfs_goaway. - * trivfs.h (struct trivfs_control): Add the hook field. - (trivfs_goaway): Pass the control structure directly instead of - random fields from it. - (trivfs_modify_stat): Pass in the node as well. - -Mon Aug 21 10:51:24 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * protid-dup.c: Doc fix. - -Fri Aug 11 14:01:41 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * open.c (trivfs_open): Actually set the PO field to what we create. - * Makefile (OTHERSRCS): Add protid-dup.c and open.c. - -Tue Aug 8 14:07:04 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * open.c: New file, containing trivfs_open. - * fsys-getroot.c (trivfs_S_fsys_getroot): Guts (except for - protection check) moved into trivfs_open. - * protid-dup.c: New file, containing trivfs_protid_dup. - * io-duplicate.c (trivfs_S_io_duplicate): Guts moved into - trivfs_protid_dup. - - * trivfs.h (trivfs_protid_create_hook, trivfs_peropen_create_hook): - Change the declarations now that these return an error code. - * fsys-getroot.c (trivfs_S_fsys_getroot): Allow - trivfs_protid_create_hook and trivfs_peropen_create_hook to return - an error code, and abort if either does. - * protid-clean.c (trivfs_clean_protid): Only call - trivfs_protid_destroy_hook hook on CRED if it was fully initialized. - * io-duplicate.c (trivfs_S_io_duplicate): Allow - trivfs_protid_create_hook to return an error code. - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Ditto. - * io-restrict-auth.c (trivfs_S_io_restrict_auth): Ditto. - -Fri Jul 21 17:01:12 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * fsys-getroot.c (trivfs_S_fsys_getroot): Free initial reference - created by ports_allocate_port. - * handle-port.c (trivfs_handle_port): Likewise. - * io-duplicate.c (trivfs_S_io_duplicate): Likewise. - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Likewise. - * io-restrict-auth.c (trivfs_S_io_restrict_auth): Likewise. - -Sun Jul 16 13:00:44 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * trivfs.h: Protect against including twice, and add includes that - we depend on. - -Thu Jul 6 15:38:48 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile: Removed dependencies that are now automatically - generated. - -Tue Jun 27 10:55:16 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * fsys-goaway.c (trivfs_S_fsys_goaway): Call trivfs_goaway the new - way. - * startup.c (trivfs_startup): New parms CONTROL_BUCKET and - PROTID_BUCKET; pass them to trivfs_handle_port. Use new ports - interface. - * protid-clean.c (trivfs_clean_protid): Use new ports interface. - Use PREdecrement in reference counting check. - * nosenders.c (trivfs_do_mach_notify_no_senders): Use new ports - interface. - * migsupport.c (_trivfs_begin_using_protid, - _trivfs_end_using_protid, _trivfs_begin_using_oontrol, - _trivfs_end_using_control): Use new ports interface. - * io-restrict-auth.c (trivfs_S_io_restrict_auth): Use new ports - interface. - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Use new ports - interface. - * io-duplicate.c (trivfs_S_io_duplicate): Use new ports interface. - * handle-port.c (trivfs_handle_port): Take new parms; use new - ports interface; initialize CNTL->protid_bucket. - * fsys-getroot.c (trivfs_S_fsys_getroot): Use new form of - ports_allocate_port call. - * trivfs.h (trivfs_protid_portclasses): Renamed from - trivfs_protid_porttypes. Change type to `struct port_class *'. - (trivfs_protid_nportclasses): Renamed from trivfs_protid_nporttypes. - (trivfs_cntl_portclasses): Renamed from trivfs_cntl_porttypes. Change - type to `struct port_class *'. - (trivfs_cntl_nportclasses): Renamed from trivfs_cntl_nporttypes. - (trivfs_startup): Pass port classes instead of integer types. New - parms CONTROL_BUCKET and PROTID_BUCKET. - (trivfs_handle_port): Pass port classes instead of integer types. - New parms CONTROL_BUCKET and PROTID_BUCKET. - (trivfs_goaway): Pass port classes instead of integer types. - (struct trivfs_control): Renamed member `protid_types' to be - `protid_class' and changed type to be `stroct port_class *'. - New member `protid_bucket'. - -Fri May 12 19:05:46 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * fsys-stubs.c (trivfs_S_fsys_set_options, - trivfs_S_fsys_mod_readonly): Change from mod_readonly to set_options. - -Sun Apr 9 00:36:36 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * io-stat.c (trivfs_S_io_stat): Before calling trivfs_modify_stat, - set the st_fstype & st_fsid fields to trivfs_fstype & trivfs_fsid. - But first, if trivfs_fsid is zero, set it to our process id, which - should be a nice unique value. - * file-statfs.c (trivfs_S_file_statfs): Ditto about the PID. - - * startup.c (trivfs_startup): New function, which implements a - common sequence of steps when starting up a new trivfs. - * trivfs.h: Declare trivfs_startup. - * Makefile (OTHERSRCS): Add startup.c. - -Thu Mar 30 12:27:59 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * trivfs.h (trivfs_check_open_hook): Doc fix. - (trivfs_complete_open): Delete declaration. - (struct trivfs_control): Delete members `openshead' and - `openstail'. - * fsys-getroot.c (trivfs_S_fsys_getroot): Strip out old - hack for blocking. - (struct pending_open): Delete type. - (trivfs_complete_open): Delete function. - - * trivfs.h (struct trivfs_control): New member `lock'. - * handle-port.c (trivfs_handle_port): Initialize CNTL->lock. - * io-duplicate.c (trivfs_S_io_duplicate): Lock - CRED->po->cntl->lock around relevant code. - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Likewise. - * io-restrict-auth.c (trivfs_S_io_restrict_auth): Likewise. - * protid-clean.c (trivfs_clean_protid): Likewise. - -Tue Jan 17 19:00:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * io-select.c: Updated for new io_select interface. - -Fri Dec 9 01:35:54 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * io-write.c: Use mach_msg_type_number_t in place of unsigned int - and int. - * io-read.c: Likewise. - * io-readable.c: Likewise. - -Tue Oct 25 10:54:06 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * fsys-getroot.c (trivfs_S_fsys_getroot): Don't clear O_NONBLOCK. - -Tue Aug 30 13:23:55 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * fsys-syncfs.c: New file. - * Makefile (FSYSSRCS): Added fsys-syncfs.c. - * fsys-stubs.c (trivfs_S_fsys_mod_readonly): New function. - - * Makefile (FSSRCS): Remove dir-pathtrans.c; add dir-lookup.c. - * dir-lookup.c: Renamed from dir-pathtrans.c - * dir-pathtrans.c (trivfs_S_dir_lookup): Renamed from - trivfs_S_dir_pathtrans. - - * fsys-getroot.c (trivfs_S_fsys_getroot): Use FS_RETRY_NORMAL - instead of FS_RETRY_NONE. - (trivfs_complete_open): Likewise. - - * file-set-trans.c (trivfs_S_file_set_translator): Change to args - as for new file_set_translator procotol. - -Mon Aug 29 12:52:43 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Use new - authentication protocol. - -Wed Aug 17 20:11:29 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * io-select.c (trivfs_S_io_select): Take poly arg for notify port. - -Thu Aug 11 11:58:48 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * io-version.c (trivfs_S_io_server_version): Fix typo in name. - -Fri Jul 22 12:41:55 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * fsys-goaway.c: Include fsys_S.h with " not with <>. - * handle-port.c: Include priv.h with " not with <>. - - * Makefile: Converted to use new scheme. - * fsmutations.h (SERVERPREFIX): Deleted macro. - * fsys-getroot.c: Include "fsys_reply_U.h" instead of "fsys_reply.h". - -Wed Jul 20 15:59:36 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * file-inv.c: New file. - * Makefile (FSSRCS): Added file-inv.c. - -Tue Jul 19 19:23:33 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * fsys-stubs.c (trivfs_S_fsys_startup): Deleted dotdot args. - * fsys-getroot.c (trivfs_S_fsys_getroot): New arg `dotdot'; - don't do anything with it. - -Mon Jul 11 14:49:03 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * trivfs.h (trivfs_set_atime, trivfs_set_mtime): New functions. - * times.c: New file. - * Makefile (OTHERSRCS): Added `times.c'. - -Thu Jul 7 10:39:04 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (DIST_FILES): Add priv.h. - -Tue Jul 5 13:24:59 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (DIST_FILES): Added fsmutations.h. - (TAGSHDRS): New variable. - - * fsys-getroot.c: Include "fsys_reply.h". - (trivfs_S_fsys_getroot, trivfs_complete_open): - Uncomment code now that we have reply ports. - (struct pending_open): Delete USERS_PORT, add CRED. - (trivfs_S_fsys_getroot): When creating PENDO, don't call - ports_get_right, call ports_port_ref; store CRED in PENDO. - (trivfs_complete_open): Deal with errors properly. When sending - port to user, call ports_get_right. Always call - ports_done_with_port when freeing pending open struct. - * Makefile (MIGSTUBS): Added fsys_replyUser.o. - (fsys_reply.h fsys_replyUser.c): New rule. - (fsys-getroot.c): Add dependency on fsys_reply.h. - - * fsmutations.h (REPLY_PORTS): New macro, affecting io and fsys - interfaces. - * io-async-icky.c (trivfs_S_io_get_icky_async_id): Added new - REPLY and REPLYTYPE args. - * io-async.c (trivfs_S_io_async): Likewise. - * io-duplicate.c (trivfs_S_io_duplicate): Likewise. - * io-map.c (trivfs_S_io_map): Likewise. - * io-modes-get.c (trivfs_S_io_get_openmodes): Likewise. - * io-modes-off.c (trivfs_S_io_clear_some_openmodes): Likewise. - * io-modes-on.c (trivfs_S_io_set_some_openmodes): Likewise. - * io-modes-set.c (trivfs_S_io_set_all_openmodes): Likewise. - * io-owner-get.c (trivfs_S_io_get_owner): Likewise. - * io-owner-mod.c (trivfs_S_io_mod_owner): Likewise. - * io-read.c (trivfs_S_io_read): Likewise. - * io-readable.c (trivfs_S_io_readable): Likewise. - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Likewise. - * io-restrict-auth.c (trivfs_S_io_restrict_auth): Likewise. - * io-seek.c (trivfs_S_io_seek): Likewise. - * io-select.c (trivfs_S_io_select): Likewise. - * io-stat.c (trivfs_S_io_stat): Likewise. - * io-stubs.c (trivfs_S_io_map_cntl): Likewise. - (trivfs_S_io_get_conch): Likewise. - (trivfs_S_io_release_conch): Likewise. - (trivfs_S_io_eofnotify): Likewise. - (trivfs_S_io_prenotify): Likewise. - (trivfs_S_io_postnotify): Likewise. - (trivfs_S_io_readsleep): Likewise. - (trivfs_S_io_sigio): Likewise. - (trivfs_S_io_readnotify): Likewise. - * io-write.c (trivfs_S_io_write): Likewise. - * io-version.c (trivfs_S_trivfs_io_server_version): Likewise. - * fsys-getroot.c (trivfs_S_fsys_getroot): Likewise. - * fsys-goaway.c (trivfs_S_fsys_goaway): Likewise. - * fsys-stubs.c (trivfs_S_fsys_startup): Likewise. - (trivfs_S_fsys_getpriv): Likewise. - (trivfs_S_fsys_init): Likewise. - (trivfs_S_fsys_getfile): Likewise. - -Wed Jun 29 13:02:17 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * io-read.c (trivfs_S_io_read): Always return EOPNOTSUPP. - * io-write.c (trivfs_S_io_write): Likewise. - * file-truncate.c (trivfs_S_file_truncate): Likewise. - * io-readable.c (trivfs_S_io_readable): Likewise. - * io-select.c (trivfs_S_io_select): Likewise. - - * fsys-getroot.c (trivfs_S_fsys_getroot): Use trivfs_allow_open - instead of trivfs_support_* vars. - - * trivfs.h (trivfs_allow_open): New variable. - - * dir-pathtrans.c (trivfs_S_dir_pathtrans): Delete unused var - `newcred'. - -Mon Jun 27 15:05:06 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * fsys-getroot.c: Comment out code for blocking opens; don't - permit trivfs_check_open_hook to return EWOULDBLOCK. - -Thu Jun 23 12:28:49 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * fsys-getroot.c (trivfs_S_fsys_getroot): Don't call - ports_done_with_port for CNTL; the MiG destructor function does - that for us. - - * fsys-getroot.c (trivfs_S_fsys_getroot): Call trivfs_check_open_hook - to allow trivfs users to block or restrict opens. - * trivfs.h (trivfs_check_open_hook, trivfs_complete_open): New - declarations. - (struct trivfs_control): New members `openshead' and `openstail'. - -Wed Jun 22 14:49:00 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * fsys-getroot.c (trivfs_S_fsys_getroot): Initialize both hook - members to 0. - * io-duplicate.c (trivfs_S_io_duplicate): Copy NEWCRED->hook - from CRED->hook. - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Likewise. - * io-restrict-auth.c (trivfs_S_io_restrict_auth): Likewise. - - * fsys-getroot.c (trivfs_S_fsys_getroot): Don't force read/write - systems to redefine this function. If O_foo is set, but - trivfs_support_foo isn't, then return EACCES. Call - io_restrict_auth at the front so we can check open permission - using the result. Initialise CRED->po->openmodes. - - * trivfs.h (trivfs_peropen): New member `openmodes'. - * io-modes-get.c (trivfs_S_io_get_openmodes): Set bits from - CRED->po->openmodes, but only if we are not a read/write - server; otherwise the server might be hiding bits elsewhere. - - * dir-pathtrans.c (trivfs_S_dir_pathtrans): Strip out code; always - return ENOTDIR. - -Tue Jun 21 13:21:07 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * file-access.c: New file. - * dir-chg.c: New file. - * file-chg.c: New file. - * Makefile (FSSRCS): Added file-access.c, dir-chg.c, and file-chg.c. - -Mon Jun 20 14:42:12 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir-readdir.c (trivfs_S_dir_readdir): Declare args in accord - with fs.defs interface change. - * fsys-getroot.c (trivfs_S_fsys_getroot): Likewise. Set - DO_RETRY and RETRY_NAME appropriately. - * file-get-transcntl.c (trivfs_S_file_get_translator_cntl): - CNTL_TYPE is a pointer. - -Fri Jun 17 11:23:47 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * file-get-transcntl.c (trivfs_S_file_get_translator_cntl): Add - missing poly arg. - -Wed Jun 15 21:27:20 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir-pathtrans.c: Include <string.h> for bcopy. - * fsys-getroot.c: Likewise. - * io-duplicate.c: Likewise. - * io-reauthenticate.c: Likewise. - * io-restrict-auth.c: Likewise. - -Wed Jun 15 16:58:02 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * trivfs.h (trivfs_goaway): New args REALNODE, CNTLTYPE, - PROTIDTYPE. All callers changed. - - * fsmutations.h (FSYS_DESTRUCTOR, FSYS_INTRAN): New macros. - * priv.h (trivfs_control_t): New type. - (_trivfs_begin_using_control, _trivfs_end_using_control): New - declarations. - * migsupport.c (_trivfs_begin_using_control, - _trivfs_end_using_control): New functions. - * fsys-getroot.c (trivfs_S_fsys_getroot): First arg is now - `struct trivfs_control *'; don't call ports_check_port_type - ourselves or ports_done_with_port. - * fsys-goaway.c (trivfs_S_fsys_goaway): Likewise. - * fsys-stubs.c (trivfs_S_fsys_startup, trivfs_S_fsys_getpriv, - trivfs_S_fsys_init, trivfs_S_fsys_getfile): Declare first - arg as `struct trivfs_control *'. - - * trivfs.h (trivfs_protid_porttype, trivfs_cntl_porttype): - Deleted vars. - (trivfs_protid_porttypes, trivfs_cntl_porttypes, - trivfs_protid_nporttypes, trivfs_cntl_nporttypes): New vars. - (trivfs_control): New member protidtypes. - (trivfs_handle_port): New args PROTIDTYPE and CNTLTYPE. - * migsupport.h (_trivfs_begin_using_protid): Check - against all the members of trivfs_protid_porttypes. - * dir-pathtrans.c (trivfs_S_dir_pathtrans): Copy type of new port - from existing port. - * io-duplicate.c (trivfs_S_io_duplicate): Likewise. - * io-restrict-auth.c (trivfs_S_io_restrict_auth): Likewise. - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Likewise. - * handle-port.c (trivfs_handle_port): Allocate port of type - from new arg CNTLTYPE. Initialize CNTL->protidtypes from new arg - PROTIDTYPE. - * fsys-getroot (trivfs_S_fsys_getroot): Allocate port of type - from CNTL->protidtypes. - - * trivfs.h (struct trivfs_protid) [hook]: New member. - (trivfs_protid_create_hook, trivfs_peropen_create_hook, - trivfs_protid_destroy_hook, trivfs_peropen_destroy_hook): New - hook functions. - * dir-pathtrans.c (trivfs_S_dir_pathtrans): Call - trivfs_peropen_create_hook. - * fsys-getroot.c (trivfs_S_fsys_getroot): Likewise. - * dir-pathtrans.c (trivfs_S_dir_pathtrans): Call - trivfs_protid_create_hook. - * fsys-getroot.c (trivfs_S_fsys_getroot): Likewise. - * io-duplicate.c (trivfs_S_io_duplicate): Likewise. - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Likewise. - * io-restrict-auth.c (trivfs_S_io_restrict_auth): Likewise. - * protid-clean.c (trivfs_clean_protid): Call - trivfs_protid_destroy_hook and trivfs_peropen_destroy_hook. - - * trivfs.h (struct trivfs_protid) [po]: New member. - (struct trivfs_protid) [cntl]: Deleted member. - (struct trivfs_peropen): New type. - * file-getcontrol.c (trivfs_S_file_getcontrol): Fetch control - port through peropen structure. - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Likewise. - * fsys-getroot.c (trivfs_S_fsys_getroot): Likewise. - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Reference - peropen, not cntl. - * io-restrict-auth.c (trivfs_S_io_restrict_auth): Likewise. - * io-duplicate.c (trivfs_S_io_duplicate): Likewise. - * fsys-getroot.c (trivfs_S_fsys_getroot): Create new peropen - and reference it. - * dir-pathtrans (trivfs_S_dir_pathtrans): Actually create new - peropen and cred. - * protid-clean.c (trivfs_clean_protid): Drop reference on peropen, - deallocating it if necessary. - - * trivfs.h (struct trivfs_protid) [uids, gids, nuids, ngids]: New - members. - * io-reauthenticate.c (trivfs_S_io_reauthenticate): Save received - ids in newly created protid. - * io-restrict-auth.c (listmember): New function. - (trivfs_S_io_restrict_auth): Save uids and gids in newly created - protid. - * io-duplicate.c (trivfs_S_io_duplicate): Copy uids and gids. - * protid-clean.c (trivfs_clean_protid): Free CRED->uids and - CRED->gids. - * fsys-getroot.c (trivfs_S_fsys_getroot): Initialize uids - and gids. diff --git a/login/ChangeLog b/login/ChangeLog deleted file mode 100644 index be61d98e..00000000 --- a/login/ChangeLog +++ /dev/null @@ -1,24 +0,0 @@ -2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * utmp.c (S_login_get_idle_time): Use st_atim.tv_sec and - st_atim.tv_nsec members instead of st_atime and st_atime_usec. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * utmp.c (return_data): Use mmap instead of vm_allocate. - -Mon Aug 21 16:35:34 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * utmp.c (trivfs_goaway, trivfs_modify_stat): Update arguments. - -Sun Apr 23 16:03:48 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * utmp.c (_find_device, add_device, remove_device): Remove the LEN - parameter and the incorrectly computed value which was shadowing - it, both of which are the wrong thing anyway. - -Tue Apr 11 11:20:21 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile: New file. - - diff --git a/mach-defpager/ChangeLog b/mach-defpager/ChangeLog deleted file mode 100644 index 6ba2231c..00000000 --- a/mach-defpager/ChangeLog +++ /dev/null @@ -1,64 +0,0 @@ -2007-06-06 Thomas Schwinge <tschwinge@gnu.org> - - * Makefile: Remove a comment. - * setup.c (default_pager_paging_storage): Rename to - `S_default_pager_paging_storage'. - -2002-06-15 Roland McGrath <roland@frob.com> - - * setup.c (page_write_file_direct): Use proper type for result param - of device_write. - -2002-03-23 Roland McGrath <roland@frob.com> - - * setup.c (default_pager_paging_storage): Fail if receiver port is not - default_pager_default_port. - - * Makefile (OBJS): Add default_pager_replyUser.o here. - - * main.c (default_pager_bootstrap_port): Declaration removed. - (main): Don't use it. - * Makefile (OBJS): Remove bootstrapServer.o from here. - -2001-06-05 Mark Kettenis <kettenis@gnu.org> - - * setup.c (page_read_file_direct): Fix logic to find the run that - contains the data to be read. Use size in bytes instead of blocks - when calling device_read. - (page_write_file_direct): Fix logic to find the run that contains - the data to be written. Pass SIZE_WRITTEN to device_write call - instead of &WROTE when writing a whole page. Correctly calculate - SEGSIZE. - -2001-02-28 Roland McGrath <roland@frob.com> - - * main.c (main): Instead of calling daemon, do the work ourselves but - synchronize with the child so that vm_set_default_memory_manager has - definitely been called before exit. - (nohandler): New function. - -2000-12-28 Roland McGrath <roland@frob.com> - - Override the shared code from serverboot for device access with - a new, simpler implementation with no filesystem format support. - The new code implements the new default_pager_paging_storage RPC - to set up paging areas that can be subsets of whole Mach devices, - with no Linux signature checking. The compatibility setup entry - point works as before on whole devices. - * setup.c, file_io.h: New files. - * Makefile (SRCS): Remove def_pager_setup.c, file_io.c, strfcns.c, - ext2_file_io.c, ffs_file_io.c, ffs_compat.c, minix_file_io.c, - minix_ffs_compat.c; add setup.c to replace them all. - -2000-02-06 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile: Move include ../Makeconf earlier, since it sets srcdir. - -1999-11-18 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile, main.c: New files for new this directory `mach-defpager'. - This is a standalone Hurd program version of the Mach default pager, - with the bulk of the source code coming from ../serverboot. - This program /hurd/mach-defpager is started like a normal daemon, - i.e. from rc or whatever, rather than being the first task. - * ChangeLog: New file, mentioning itself in this sentence. diff --git a/nfs/ChangeLog b/nfs/ChangeLog deleted file mode 100644 index 6b133a2e..00000000 --- a/nfs/ChangeLog +++ /dev/null @@ -1,741 +0,0 @@ -2008-12-08 Thomas Schwinge <tschwinge@gnu.org> - - * Makefile (HURDLIBS): Add shouldbeinlibc. - -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * nfs.c (xdr_encode_sattr_stat, xdr_decode_fattr): Adapt to ``struct - stat'' changes. - -2002-09-29 Marcus Brinkmann <marcus@gnu.org> - - * mount.c (mount_root): Add parenthesis for post-decrement (even - though it is only used as an lvalue here). Increment P after - using it in the macro, not within. - * rpc.c (initialize_rpc, conduct_rpc): Likewise. - * ops.c (process_returned_stat, process_wcc_stat, - netfs_validate_stat, netfs_attempt_chown, netfs_attempt_chmod, - netfs_attempt_utimes, netfs_attempt_set_size, - netfs_attempt_statfs, netfs_attempt_read, netfs_attempt_write, - verify_nonexistent, netfs_attempt_lookup, netfs_attempt_mkdir, - netfs_attempt_rmdir, netfs_attempt_link, - netfs_attempt_create_file, netfs_attempt_unlink, - netfs_attempt_rename, netfs_attempt_readlink, netfs_report_access, - netfs_check_open_permissions): Likewise. - (fetch_directory): Likewise. Also use memcpy instead bcopy. - * cache.c (recache_handle): Likewise. - * nfs.c (xdr_encode_data, xdr_encode_sattr_mode, - xdr_encode_sattr_ids, xdr_encode_sattr_size, - xdr_encode_sattr_times, xdr_encode_create_state, - xdr_encode_sattr_stat, xdr_decode_64bit, xdr_decode_fattr): - Likewise. - (xdr_decode_string): Likewise. Also use memcpy instead bcopy. - (xdr_decode_fhandle): Likewise. Also use memcpy instead bcopy. - -2002-05-13 Roland McGrath <roland@frob.com> - - * ops.c (register_fresh_stat): Set NP->nn_translated appropriately. - -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * main.c: Include <version.h>. - (netfs_server_name, netfs_server_version, argp_program_version): - New variables. - -2002-05-08 Roland McGrath <roland@frob.com> - - * storage-info.c (netfs_file_get_storage_info): Cast %* arg to int. - - * ops.c (netfs_attempt_unlink): Use %tx and ptrdiff_t. - -2002-05-03 Roland McGrath <roland@frob.com> - - * mount.c: Include <error.h>. - -2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca> - - * main.c (main): Use error, not perror and exit. Use ERR, not errno. - * mount.c (mount_root): Likewise. - * rpc.c (rpc_receive_thread): Use error, not perror. - -2002-01-03 Roland McGrath <roland@frob.com> - - * storage-info.c (netfs_file_get_storage_info): Set *PORTS_TYPE. - -2001-10-13 Roland McGrath <roland@frob.com> - - * storage-info.c: New file. - * Makefile (SRCS): Add it. - * mount.c (mounted_hostname, mounted_nfs_port): New global variables. - (mount_root): Set them. - * nfs.h: Declare them. - -2000-12-26 Neal H Walfield <neal@cs.uml.edu> - - * cache.c: Change cache/hash table size to 509, a prime. Use - memcpy/memcmp not bcopy/bcmp. Verify return value from malloc and - check the result of rpc transaction _and_ do not act if failed. - * main.c: Correct the wording of the help messages. Do not - bother initializing global variable to 0. Use memcpy/memcmp not - bcopy/bcmp. Verify return value from malloc and check the result - of rpc transaction _and_ do not act if failed. - * mount.c: Check return values of initialize_rpc. Use - memcpy/memcmp not bcopy/bcmp. Verify return value from malloc and - strdup. Correct comments. - (mount_root): Check result of connect. Handle errors - consistently. Reverse loops that are if (! c) {} else when - appropriate. - * mount.h: Protect header with #ifdef. - * name-cache.c: Correct dangerous NPARTIALS macro. Use - memcpy/memcmp not bcopy/bcmp. - (find_cache): Use PARTIAL_THRESH, not the constant. - * nfs-spec.h: Protect header with #ifdef. - * nfs.c: Use memcpy/memcmp not bcopy/bcmp. - * nfs.h: Likewise. - * ops.c (netfs_attempt_mkdir): Check return values of initialize_rpc. - Use memcpy/memcmp not bcopy/bcmp. Verify return value from malloc and - check the result of rpc transaction _and_ do not act if failed. - (netfs_attempt_link): Unlock the directory before the rpc transaction. - Check the result of rpc transaction _and_ do not act if failed. - * pager.c: Remove, we do not use it. - * rpc.c: Use memcpy/memcmp not bcopy/bcmp. Verify return value from - malloc and check the result of rpc transaction _and_ do not act if - failed. - (initialize_rpc): Use AUTH_NONE, not the depreciated - AUTH_NULL. Return sane values on failure. - (generate_xid): Make inline. - (link_rpc): New function. Complements unlink_rpc. - (conduct_rpc): Use link_rpc. - (rpc_receive_thread): Reroll to a single loop. - -2000-11-26 Marcus Brinkmann <marcus@gnu.org> - - * ops.c (netfs_attempt_mkdir): Add casts -1 -> (struct iouser *) -1 - to silence gcc warning. - (netfs_attempt_create_file): Likewise. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile (HURDLIBS): Reorder libs such that the threads lib - comes before the ports lib. This makes sure the functions in - libthreads properly override the stubs in libports with the new - dynamic linker semantics in glibc 2.2. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * nfs.h: Add #include <sys/mman.h> for munmap decl. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * ops.c (netfs_get_dirents): Use mmap instead of vm_allocate. - * pager.c (pager_read_page): Likewise. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * ops.c (netfs_get_dirents): Use munmap instead of vm_deallocate. - * pager.c (pager_read_page): Likewise. - -1999-02-01 Mark Kettenis <kettenis@phys.uva.nl> - - * ops.c: Include <maptime.h>. - (netfs_attempt_utimes): Fix various typo's. - -Sun Jan 31 18:39:09 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * nfs.c (xdr_encode_sattr_times): Convert nanoseconds to - microseconds correctly. - - * ops.c (netfs_attempt_utimes): Handle new possibility that ATIME - or MTIME might be null. - -1999-01-22 Roland McGrath <roland@baalperazim.frob.com> - - * ops.c (netfs_attempt_link): Remove major, minor macro definitions. - * nfs.c (xdr_decode_fattr): Remove makedev macro definition. - -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * mount.c (mount_root): Make perror explanation strings consistent. - - * mount.c (pmap_initialize_rpc): Make static. - (mount_initialize_rpc): Likewise. - -Wed Aug 20 14:31:03 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ops.c (netfs_attempt_link): Implement EXCL == 0 case. - (netfs_attempt_rename): Implement EXCL != 0 case. - - * pager.c (netfs_get_filemap): If pager_create fails, return - error to caller. - -Wed Aug 6 15:23:03 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ops.c (netfs_attempt_unlink): Purge cache-held references - *before* counting live references. Use new function. - * name-cache.c (purge_lookup_cache_node): New function. - * nfs.h (purge_lookup_cache_node): New decl. - - * cache.c (netfs_node_norefs): Don't do delete RPC here, fork off - a separate thread to do it. - (struct fnd): New type. - (forked_node_delete): New function. - -Mon Aug 4 15:56:37 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * name-cache.c (struct lookup_cache): Drop members `node_cache_fh' - and `node_cache_len'. New member `np'. - (enter_lookup_cache): Fill C->np instead of C->node_cache_fh. - Acquire an additional reference on NP to keep it live. If there - was a reference there before, release it. - (purge_lookup_cache): If there is a reference to a node on a - purged entry, release it. - (check_lookup_cache): If there is a reference to a node on an - out-of-date entry, release it. When returning live positive hits, - use the NP stored instead of looking one up. - -Fri Aug 1 15:56:56 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * main.c (netfs_append_args): Append --name-cache-timeout and - --name-cache-neg-timeout values. - -Tue Jul 29 15:38:15 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * name-cache.c (check_lookup_cache): Use name_cache_neg_timeout in - preference to name_cache_timeout for negative hits. - - * nfs.h (name_cache_neg_timeout): New variable. - * main.c (DEFAULT_NAME_CACHE_NEG_TIMEOUT): New macro. - (name_cache_neg_timeout): Initialize new variable. - (OPT_NCACHE_NEG_TO): New option key. - (common_options): Add --name-cache-neg-timeout switch. - (parse_common_opt): Process OPT_NCACHE_NEG_TO option key. - - * ops.c (netfs_attempt_lookup): Do cast of -1 correctly to match - check_lookup_cache and ANSI C rules. - - * name-cache.c (check_lookup_cache): Unlock DIR correctly before - returning a negative cache hit. - - * rpc.c (rpc_receive_thread): Don't print "dropping reply" - messages any more. - - * ops.c (netfs_attempt_lookup): Cash all lookups, both positive - and negative. - (netfs_attempt_mkdir): Purge cache before creating directory - entry. - (netfs_attempt_link): Likewise. - (netfs_attempt_create_file): Likewise. - - * ops.c (netfs_attempt_lookup): Pass correct node to - enter_lookup_cache as the child. - -Thu Jul 24 13:15:56 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * name-cache.c: New file. - * ops.c (netfs_attempt_lookup): Check lookup cache before trying - RPC. After successful lookup, make cache entry. - (netfs_attempt_unlink): Purge cache before doing operation. - (netfs_attempt_rmdir): Likewise. - (netfs_attempt_rename): Purge cache for both names before operation. - * nfs.h (enter_lookup_cache, purge_lookup_cache, - check_lookup_cache): New prototypes. - * Makefile (SRCS): Add name-cache.c. - - * nfs.h (name_cache_timeout): New variable. - * main.c (DEFAULT_NAME_CACHE_TIMEOUT): New macro. - (name_cache_timeout): Initialize new variable. - (OPT_NCACHE_TO): New option key. - (common_options): Add --name-cache-timeout switch. - (parse_common_opt): Process OPT_NCACHE_TO option key. - - * cache.c (lookup_fhandle): Don't parse NFS XDR format, instead - take a length arg. Return void. All callers changed to use new - function xdr_decode_fhandle. - * nfs.c (xdr_decode_fhandle): New function. - * nfs.h (xdr_decode_fhandle): New prototype. - (lookup_fhandle): Update prototype. - -1997-07-23 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c: Include <error.h>. - (main): Failure to map MAPPED_TIME is a fatal error. - -1997-06-09 Miles Bader <miles@gnu.ai.mit.edu> - - * ops.c (netfs_validate_stat): Don't clear NP->istranslated. - -Wed May 21 12:07:24 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ops.c (netfs_attempt_create_file): Only attempt chown if the - create succeeded. - -Tue May 20 15:35:39 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * nfs.c (xdr_encode_create_state): New arg OWNER. Set the owner - of the new file to it. All callers changed. - * nfs.h (xdr_encode_create_state): Update prototype. - * ops.c (netfs_attempt_mkdir): If owner didn't get set correctly - (some servers ignore it) then try a chown. - (netfs_attempt_create_file): Likewise. - -Thu Apr 10 13:25:12 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ops.c (netfs_attempt_set_size): Short circuit EACCES to cover - one important case. - -Fri Feb 21 16:47:35 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (netfs_append_args): Present the remote filesystem as a - single argument, in HOST:FS format. - -Wed Feb 12 13:53:42 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ops.c (netfs_check_open_permissions): If this is a new node, - don't report an error here. (Though, later I/O requests still - might fail.) - -Wed Nov 20 17:13:59 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): Add iohelp. - -Mon Nov 18 17:01:38 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ops.c (guess_mode_use): Delete function. - (netfs_report_access): Use fshelp_access instead of - guess_mode_use. Change return type. - -Sat Nov 16 18:24:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (SRCS): Remove `cred.c'. - * cred.c: Delete file. - * nfs.h (struct netcred): Delete type. - (cred_has_uid, cred_has_gid): Delete functions. - (nfs_initialize_rpc): netcred arg now iouser. - * ops.c: Change struct netcred to struct iouser throughout. - * pager.c: Likewise. - * cache.c (netfs_node_norefs): Likewise. - * nfs.c (nfs_initialize_rpc): Convert use of netcred to iouser. - -Mon Nov 4 21:23:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * rpc.c (rpc_list_lock): Delete variable. Omit all mention of it - throughout this file. Expand the use of outstanding_lock to cover - what rpc_list_lock used to handle. - -Fri Nov 1 18:12:21 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * rpc.c (conduct_rpc): Unlock OUTSTANDING_LOCK if write fails. - -Wed Oct 30 18:25:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ops.c (netfs_attempt_statfs): Convert incoming numbers from - network to host byte order. - Don't convert sizes from IOSIZE to BSIZE units. - Return BSIZE in f_bsize field, not IOSIZE. - Fill in f_fsid field. - -Thu Oct 24 23:01:35 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (runtime_argp_children): New variable. - (runtime_argp_parents): Variable removed. - (runtime_argp): Use RUNTIME_ARGP_CHILDREN, not RUNTIME_ARGP_PARENTS. - (main): Rename ARGP_PARENTS to ARGP_CHILDREN, and change the - element type to `struct argp_child'; change the reference in ARGP - accordingly. - -Fri Oct 4 00:00:12 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * mount.c: Add hacks to avoid idiotic sun definitions of TRUE, - FALSE, and malloc in <rpc/types.h>. - * nfs.h (bool_t, enum_t): Typedefs removed. - -Thu Oct 3 12:04:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ops.c (netfs_attempt_write): If we get EINTR after having - already written something, return a short count. - - * ops.c (netfs_attempt_create_file): If verify_nonexistent returns - an error, bother to properly unlock NP before returning. - -Mon Sep 30 15:45:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (OPT_RSIZE): Changed to 'R'. - (OPT_WSIZE): Changed to 'W'. - (doc): Add general description. - -Thu Sep 26 14:03:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * nfs.h (enum_t): New decl. - -Wed Sep 18 13:03:22 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (netfs_append_args): Renamed from netfs_get_options. - Don't initialize ARGZ & ARGZ_LEN anymore. - Add remote filesystem spec to output. - (hold): Variable removed. - (main): Don't use HOLD anymore. - -Thu Sep 12 16:46:47 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (nfs): Omit special dependency. - -Tue Sep 3 14:00:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * nfs-spec.h: Renamed from rpcsvc/nfs_prot.h. - * mount.c: Include "mount.h" instead of <rpcsvc/mount.h>. - * nfs.h: Include "nfs-spec.h" instead of <rpcsvc/nfs_prot.h>. - * rpcsvc/mount.h: Deleted file. - * rpcsvc: Deleted directory. - * mount.h (MOUNTPROG): Renamed from MOUNT_RPC_PROGRAM. - (MOUNTVERS): Renamed from MOUNT_RPC_VERSION. - * Makefile (RPCSVC_FILES): Deleted var. - (lndist, lndist-rpcsvc-files, - $(top_srcdir)/hurd-snap/$(dir)/rpcsvc): Deleted targets. - (LCLHDRS): Added mount.h and nfs-spec.h. - -Thu Aug 29 10:41:27 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * rpcsvc/nfs_prot.h (createmode): Spell EXCLUSIVE correctly. - * nfs.c (hurd_mode_to_nfs_type): New function. - * nfs.h (hurd_mode_to_nfs_type): New decl. - * ops.c (netfs_attempt_rmdir): process_wcc_stat for NP, not DIR. - (netfs_attempt_link): Spell netfs_validate_stat correctly. - (minor, major): New macros. - (netfs_report_access): Don't try and return an error. - - * rpc.c (conduct_rpc): Tolerate and return errors from write. - - * Makefile (RPCSVC_FILES): New variable. - (lndist): Depend on lndist-rpcsvc-files. - (lndist-rpcsvc-files, $(top_srcdir)/hurd-snap/$(dir)/rpcsvc): New - targets. - -Fri Aug 16 11:56:53 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ops.c (process_wcc_stat): New function. - (netfs_attempt_chown): Use process_wcc_stat instead of - register_fresh_stat. Pack and unpack v3 SETATTR structure if - appropriate. - (netfs_attempt_chmod): Likewise. - (netfs_attempt_utimes): Likewise. - (netfs_attempt_set_size): Likewise. - (netfs_attempt_lookup): Use process_returned_stat instead of - register_fresh state. Unpack v3 LOOKUP structure if appropriate. - (netfs_attempt_link): Likewise. - (verify_nonexistent): Assert that we are v2. - (netfs_report_access): Use NFS3PROC_ACCESS if we are v3. - (netfs_check_open_permissions): Use netfs_report_access. - (netfs_attempt_readlink): Unpack v3 READLINK structure if - appropriate. - (netfs_attempt_read): Pack and unpack v3 READ structure in - appropriate. Use process_returned_stat instead of - register_fresh_stat. - (netfs_attempt_write): Pack and unpack v3 WRITE structure in - appropriate. Use process_wcc_stat instead of - register_fresh_stat. - (netfs_attempt_create_file): Pack and unpack v3 CREATE structure - if appropriate. Use process_returned_stat instead of - register_fresh_stat. - (netfs_attempt_link) [CHRDEV, BLKDEV, FIFO, SOCK]: If v3, use new - MKNOD call instead of CREATE with overloaded mode. - (netfs_attempt_link) [SYMLINK]: If pack and unpack v3 SYMLINK - structure if appropriate. - (netfs_attempt_unlink): Unpack v3 REMOVE structure if appropriate. - (netfs_attempt_rmdir): Unpack v3 RMDIR structure if appropriate. - (netfs_attempt_rename): Unpack v3 RENAME structure if appropriate. - - * rpcsvc/nfs_prot.h (ACCESS3_READ, ACCESS3_LOOKUP, ACCESS3_MODIFY, - ACCESS3_EXTEND, ACCESS3_DELETE, ACCESS3_EXECUTE): New macros. - - * ops.c (netfs_attempt_chown): Bother to read NFS error/success - value. - -Thu Aug 15 15:24:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ops.c (verify_nonexistent): Don't need to lock DIR; it's already - locked. - (netfs_attempt_link): Lock DIR *before* calling verify_nonexistent. - - * nfs.c (xdr_encode_fhandle) [protocol_version == 2]: Copy - fhandle->data, not fhandle itself. - -Wed Aug 14 12:33:37 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * nfs.c (xdr_encode_fhandle): Second arg now a `struct fhandle *'. - Encode v3 fhandle if appropriate. - * cache.c: Include <netinet/in.h>. - (hash): New arg `length'. - (lookup_fhandle): Changed to be more like xdr_decode_* functions. - All callers changed. Do the right thing for v3. - (recache_handle): Likewise. - * nfs.h (struct fhandle): New type. - (struct netnode): Member `handle' is now a `struct fhandle'. - (xdr_encode_fhandle): Second arg now a `struct fhandle *'. - (lookup_fhandle, recache_handle): Changed to be more like - xdr_decode_* functions. - - * rpcsvc/nfs_prot.h (enum sattr_time_how): New type. - * nfs.c (xdr_encode_64bit): New function. - (xdr_encode_sattr_mode, xdr_encode_sattr_ids, - xdr_encode_sattr_size, xdr_encode_sattr_times, - xdr_encode_create_state, xdr_encode_sattr_stat): Encode v3 sattr - if appropriate. - (xdr_decode_fattr): Decode v3 fattr if appropriate. - - * rpcsvc/nfs_prot.h (NFS_FHSIZE): Deleted macro. - (NFS2_FHSIZE, NFS3_FHSIZE, NFS3_COOKIEVERFSIZE, NFS3_CREATEVERFSIZE, - NFS3_WRITEVERFSIZE): New macros. - (enum ftype): Deleted NFFIFO. Added NF2FIFO, NF3FIFO, and an - alias NF2BAD for NF3FIFO. - (NFSPROC_NULL, NFSPROC_GETATTR, NFSPROC_SETATTR, - NFSPROC_LOOKUP, NFSPROC_READLINK, NFSPROC_READ, - NFSPROC_WRITE, NFSPROC_CREATE, NFSPROC_REMOVE, - NFSPROC_RENAME, NFSPROC_LINK, NFSPROC_SYMLINK, NFSPROC_MKDIR, - NFSPROC_RMDIR, NFSPROC_READDIR): Replace with new - macros that take a version arg. All users changed to use new - version arg. - (NFS_PROTOCOL_FUNC): New macro. - (NFS2PROC_NULL, NFS2PROC_GETATTR, NFS2PROC_SETATTR, NFS2PROC_ROOT, - NFS2PROC_LOOKUP, NFS2PROC_READLINK, NFS2PROC_READ, - NFS2PROC_WRITECACHE, NFS2PROC_WRIT, NFS2PROC_CREATE, - NFS2PROC_REMOVE, NFS2PROC_RENAME, NFS2PROC_LINK, NFS2PROC_SYMLINK, - NFS2PROC_MKDIR, NFS2PROC_RMDIR, NFS2PROC_READDIR, NFS2PROC_STATFS, - NFS3PROC_NULL, NFS3PROC_GETATTR, NFS3PROC_SETATTR, - NFS3PROC_LOOKUP, NFS3PROC_ACCESS, NFS3PROC_READLINK, - NFS3PROC_READ, NFS3PROC_WRITE, NFS3PROC_CREATE, NFS3PROC_MKDIR, - NFS3PROC_SYMLINK, NFS3PROC_MKNOD, NFS3PROC_REMOVE, NFS3PROC_RMDIR, - NFS3PROC_RENAME, NFS3PROC_LINK, NFS3PROC_READDIR, - NFS3PROC_READDIRPLUS, NFS3PROC_FSSTAT, NFS3PROC_FSINFO, - NFS3PROC_PATHCONF, NFS3PROC_COMMIT): New macros. All callers - appropriately changed. - - * nfs.c (nfs_error_trans): NFS_SERVERFAULT maps to EIO; - NFSERR_BADTYPE maps to EOPNOTSUPP. - - * rpcsvc/nfs_prot.h (nfsstat, ftype, struct nfs_fh, nfs_fh, struct - nfstime, nfstime, struct fattr, fattr, struct sattr, sattr, - filename, nfspath, struct attrstat, attrstat, struct sattrargs, - sattrargs, struct diropargs, diropargs, struct diropokres, - diropokres, struct diropres, diropres, struct readlinkres, - readlinkres, struct readargs, readargs, struct readokres, - readokres, struct readres, readres, struct writeargs, writeargs, - struct createargs, createargs, struct renameargs, renameargs, - struct linkargs, linkargs, struct symlinkargs, symlinkargs, - nfscookie, struct readdirargs, readdirargs, struct entry, entry, - struct dirlist, dirlist, struct readdirres, readdirres, struct - statfsokres, statfsokres, struct statfsres, statfsres): Delete - unused types. - (xdr_nfsstat, xdr_ftype, xdr_nfs_fh, xdr_nfstime, xdr_fattr, - xdr_sattr, xdr_filename, xdr_nfspath, xdr_attrstat, xdr_sattrargs, - xdr_diropargs, xdr_diropokres, xdr_diropres, xdr_readlinkres, - xdr_readargs, xdr_readokres, xdr_readres, xdr_writeargs, - xdr_createargs, xdr_renameargs, xdr_linkargs, xdr_symlinkargs, - xdr_nfscookie, xdr_readdirargs, xdr_entry, xdr_dirlist, - xdr_readdirres, xdr_statfsokres, xdr_statfsres, nfsproc_null_2, - nfsproc_getattr_2, nfsproc_setattr_2, nfsproc_root_2, - nfsproc_lookup_2, nfsproc_readlink_2, rfsproc_read_2, - nfsproc_writecache_2, nfsproc_write_2, nfsproc_create_2, - nfsproc_remove_2, nfsproc_rename_2, nfsproc_link_2, - nfsproc_symlink_2, nfsproc_mkdir_2, nfsproc_rmdir_2, - nfsproc_readdir_2, nfsproc_statfs_2): Delete unused function - declarations. - -Tue Aug 13 14:57:03 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ops.c (netfs_attempt_create_file): Sun's NFS client does not - expect NFSPROC_CREATE to be exclusive. Accordingly, on most - servers (including ours) it isn't exclusive. (Which, of course, - contradicts Sun's own RGC 1094, section 2.2.10.) Which means we - have to insert our own test here to make sure the file doesn't - exist before attempting NFSPROC_CREATE. - (netfs_attempt_link): Likewise. - (verify_nonexistent): New function. - -Mon Aug 12 11:13:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * nfs.c (nfs_error_trans): Repair syntax. - -Thu Aug 8 18:48:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * nfs.h (protocol_version): New variable. - * mount.c (protocol_version): Define and initialize to `2'. - - * rpcsvc/nfs_prot.h (enum nfsstat): Added new nfsv3 error codes: - NFSERR_XDEV, NFSERR_INVAL, NFSERR_MLINK, NFSERR_REMOTE, - NFSERR_BADHANDLE, NFSERR_NOT_SYNC, NFSERR_BAD_COOKIE, - NFSERR_NOTSUPP, NFSERR_TOOSMALL, NFSERR_SERVERFAULT, - NFSERR_BADTYPE, NFSERR_JUKEBOX. - (NFSERR_TRYLATER): New macro. - * nfs.c (nfs_error_trans): Understand v3 error codes if we are - runnnig v3. - -Wed Jul 31 13:25:00 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ops.c (netfs_attempt_statfs): Use NFSPROC_STATFS, not SETATTR to - do a statfs. - -Tue Jul 23 19:41:07 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * nfs.c (xdr_encode_sattr_times): `struct timespec' now uses a - field prefix of `tv_'. - -Wed Jul 17 13:12:31 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * main.c (mounted_soft): Initialize to zero. - -Thu Jul 4 17:14:42 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ops.c (netfs_attempt_link) [case SYMLINK]: Include directory - handle as an RPC arg. - -Wed Jun 26 16:41:00 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (netfs_get_options): New function. - (netfs_parse_runtime_options, netfs_unparse_runtime_options): - Functions removed. - (runtime_argp_parents, runtime_argp, netfs_runtime_argp): New variables. - (main): Use &NETFS_STD_STARTUP_ARGP insteda of NETFS_STARTUP_ARGP. - -Thu Jun 13 09:24:24 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (SRCS): Remove pager.c. - * nfs.h (struct netnode): Add member `fileinfo'. - * nfs.h (register_fresh_stat): Add decl. - -Wed Jun 12 22:37:31 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (SRCS): Add pager.c. - -Wed May 22 18:49:16 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (parse_startup_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL. - -Tue May 14 14:00:21 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ops.c (netfs_attempt_unlink): Add new arg in call to - netfs_attempt_link. - -Sat May 11 01:10:05 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (parse_common_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL. - -Fri May 10 18:15:11 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ops.c (netfs_attempt_rename, netfs_attempt_link): New parm EXCL, - but don't implement the hard case yet. - -Thu May 9 20:24:21 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ops.c (netfs_attempt_statfs): Expect and fill in new statfs - buffer. - -Fri Apr 19 13:50:25 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * main.c (main): Failure to bind privileged ports is indicated by - EACCES, not EPERM. - -Thu Apr 11 13:51:33 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ops.c (guess_mode_use): New function. - (netfs_check_open_permissions, netfs_report_access): Replace old - clever versions with less obtrusive one. - -Tue Apr 2 09:12:28 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ops.c (netfs_report_access): Bother to initialize LEN. - -Fri Mar 29 17:26:14 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * rpc.c: Define malloc to something random around include of rpc/* - header files to avoid bogus definition there. - -Fri Mar 29 17:10:58 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ops.c (netfs_report_access): Make sure netfs_attempt_read return - a reasonable LEN. - (netfs_attempt_write): Truncate to THISAMT instead of AMT. - -Tue Mar 19 11:00:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (LCLHDRS): Drop rpc.h. - - * consts.c: Doc fixes. - * cache.c: Likewise. - * cred.c: Likewise. - * main.c: Likewise. - * mount.c: Likewise. - * mount.h: Likewise. - * nfs.c: Likewise. - * ops.c: Likewise. - * rpc.c: Likewise. - - * rpc.c (rpc_receive_thread): Allocate receive buffer big enough - for largest read we expect. - - * cache.c (lookup_fhandle): Correctly install new node in hash - table slot. - - * main.c (parse_startup_opt): Pass STATE, not STATE->argp in call - to argp_error. - - * cache.c (lookup_fhandle): Initialize NN->dead_dir and - NN->dead_name. - - * ops.c: Include <unistd.h>. - (register_fresh_stat): Repair syntax. - -Mon Mar 18 19:49:28 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main, netfs_parse_runtime_options): Pass new arg to - argp_parse. - -Mon Mar 18 11:19:27 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ops.c (register_fresh_stat): Set fs_fsid, st_fstype, st_gen, - st_author, and st_flags here. - * nfs.c (xdr_decode_fattr): Don't set st_fstype, st_gen, - st_author, or st_flags here. - - * ops.c (netfs_attempt_write): Increment OFFSET each time around - the loop. - - * nfs.c (xdr_encode_create_state): Call hurd_mode_to_nfs_mode and - htonl on MODE. - - * nfs.c (xdr_encode_sattr_stat): New function. - -Thu Mar 14 15:11:41 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * nfs.h (struct netnode): New members `dtrans' and `transarg'. - * cache.c (lookup_fhandle): Initialize NN->dtrans. - (netfs_node_norefs): Free transarg if necessary. - (recache_handle): New function. - * ops.c (netfs_attempt_mkfile): Make dtrans possible if it - isn't already. - (netfs_attempt_unlink): Likewise, when doing the rename hack. - (netfs_attempt_mksymlink): Implement using dtrans and transarg. - (netfs_attempt_mkdev): Likewise. - (register_fresh_stat): If NP->nn->dtrans is set, then mutate the - mode here. - (netfs_attempt_readlink): If NP->nn->dtrans is SYMLINK, then DTRT. - (netfs_attempt_link): Only issue NFSPROC_LINK if dtrans is not - operative. Otherwise, DTRT. - (netfs_attempt_chmod): Implement type-changing using dtrans. - -Tue Mar 12 15:23:32 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ops.c (netfs_set_translator, netfs_attempt_mksymlink, - netfs_attempt_mkdev): New functions. - (netfs_attempt_chmod): Detect attempt to change node type. - (netfs_validate_stat): Clear NP->istranslated. - -Mon Mar 4 16:16:13 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Use NETFS_STARTUP_ARGP. - (netfs_parse_runtime_options, netfs_unparse_runtime_options): New funs. - -Wed Feb 28 19:24:23 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (options): New variable. - (main): Parse our arguments. diff --git a/nfsd/ChangeLog b/nfsd/ChangeLog deleted file mode 100644 index 3e04e728..00000000 --- a/nfsd/ChangeLog +++ /dev/null @@ -1,244 +0,0 @@ -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * ops.c (complete_setattr): Adapt to ``struct stat'' changes. - * xdr.c (encode_fattr): Likewise. - -2006-03-15 Thomas Schwinge <tschwinge@gnu.org> - - * loop.c (server_loop): Fix invalid lvalues. - -2002-09-29 Marcus Brinkmann <marcus@gnu.org> - - * loop.c (server_loop): Use memset instead bzero. - (server_loop): Add parenthesis for post-decrement (even - though it is only used as an lvalue here). Increment P after - using it in the macro, not within. - * ops.c (complete_setattr): Likewise. - (op_setattr, op_read, op_write, op_create, op_symlink, op_mkdir, - op_readdir, op_getport): Likewise. - * xdr.c (encode_fattr): Likewise. - (encode_data): Likewise. Also use memcpy instead bcopy. - (encode_statfs): Likewise. - (decode_name): Likewise. Also use memcpy instead bcopy. - (encode_fhandle): Use memcpy instead bcopy. - * cache.c (process_cred): Add parenthesis for post-decrement (even - though it is only used as an lvalue here). Increment P after - using it in the macro, not within. - (idspec_lookup): Use memcpy, not bcopy. - (lookup_cache_handle): Likewise. - (create_cached_handle): Likewise. - (check_cached_replies): Likewise. - -2002-05-29 Roland McGrath <roland@frob.com> - - * nfsd.h (struct proctable): [0] -> [], for newfangled GCC. - -2002-05-08 Roland McGrath <roland@frob.com> - - * main.c (main): Cast int to intptr_t before any_t. - -2002-05-07 Roland McGrath <roland@frob.com> - - * loop.c (server_loop): size_t -> socklen_t - * cache.c (fh_hash): int -> intptr_t - -2002-05-03 Roland McGrath <roland@frob.com> - - * main.c: Include <error.h>. - * fsys.c: Likewise. - -2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca> - - * fsys.c (init_filesystems): Use error, not fprintf. Use - MACH_PORT_NULL explicitly. - (write_filesystems): Use error, not fprintf. Use ERR, not errno. - * main.c (main): Use error, not perror and exit. - -2001-02-25 Roland McGrath <roland@frob.com> - - * ops.c: Include <string.h> for decls of built-ins. - -2000-12-02 Marcus Brinkmann <marcus@gnu.org> - - * ops.c (op_readlink): Before returning, check if the buffer - pointed to by transp is ours. If not, munmap it. - (op_read): Likewise for bp. - (op_readdir): Don't alloca a buffer here. Instead initialize - BUF and BUFSIZE to 0 and let the server (eh, MiG) do it. - munmap BUF before returning. - -2000-12-01 Marcus Brinkmann <marcus@gnu.org> - - * cache.c (scan_creds): Move I inside for-statement. - Replace inner for-loop with a while-loop. New variable - NEXT_I set to I->NEXT, because we might free I. - Set I to NEXT_I at end of while block. - Move update of leastidlastuse inside if block, because - otherwise we will constantly prevent ourself from scanning. - (scan_fhs): Very much the same. - (scan_replies): Likewise. Also free CR. - - (check_cached_reply): Make HASH value absolute (as XID can be - negative, and thus the modulus). - Initialize REFERENCES to 1. - -2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> - - * cache.c (create_cached_handle): Add comment. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * cache.c: Add #include <sys/mman.h> for munmap decl. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * cache.c (create_cached_handle): Use munmap instead of - vm_deallocate. - -1998-12-20 Roland McGrath <roland@baalperazim.frob.com> - - * loop.c (server_loop): Cosmetic. - - * nfsd.h: Include <rpc/types.h>. - (bool_t, enum_t): Remove typedefs. - -1998-10-20 Roland McGrath <roland@baalperazim.frob.com> - - * cache.c (scan_creds): Add braces to silence gcc warning. - (scan_fhs): Likewise. - (scan_replies): Likewise. - -Thu Sep 26 14:09:20 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * nfsd.h (enum_t): New type. - - * cache.c: Don't inclide <rpc/auth_unix.h>. - -Thu Sep 12 16:52:13 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (nfsd): Delete special depedency. - -Tue Sep 3 14:15:50 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * loop.c: Include "../nfs/mount.h" instead of - "../nfs/rpcsvc/mount.h". - * ops.c: Likewise. - * nfsd.h: Include "../nfs/nfs-spec.h" instead of - "../nfs/rpcsvc/nfs_prot.h". - -Wed Aug 14 13:46:45 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ops.c (nfstable): Renamed to nfs2table. - * nfsd.h (nfstable): Likewise. - * loop.c (server_loop): Reference nfs2table instead of nfstable. - - * nfsd.h, cache.c, ops.c, xdr.c: Use new names for things that - have just been changed in ../nfs/rpcsvc/nfs_prot.h. - * xdr.c (hurd_mode_to_nfs_type): New parm VERSION; all callers - changed. - (encode_fattr): New parm VERSION; all callers changed. - * nfsd.h (encode_fattr): New parm VERSION. - -Tue Aug 13 14:38:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ops.c (op_create): Sun's NFS client implementation actually - bombs if do do what RFC 1094 says to do in section 2.2.10. So - don't pass O_EXCL, but do pass O_TRUNC. That's what NetBSD does. - - * ops.c (op_setattr): Fill in an fattr in reply. - -Mon Aug 12 11:15:15 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (installationdir): Include quotes in variable expansion - here. - * main.c: Build index_file better. - - * xdr.c (nfs_error_trans): New errors for IO and XDEV don't have - prefixed E. - - * main.c (main): Cast second cthread_fork args. - - * nfsd.h (nfs_error_trans): Add new arg to prototype. - -Thu Aug 8 19:20:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * xdr.c (nfs_error_trans): New parm `version'. All callers - changed. If we are version 3, then return one of the new v3 error - codes if appropriate. - -Wed Aug 7 11:39:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * main.c (index_file): New var. - (index_file_name): Initialize from index_file. - (main): Don't initialize index_file_name here. - - * ops.c (op_null, op_getattr, op_setattr, op_lookup, op_readlink, - count_read_buffersize, op_read, op_write, op_create, op_remove, - op_rename, op_link, op_symlink, op_mkdir, op_rmdir, - count_readdir_buffersize, op_statfs, op_mnt, op_getport): Add new - parm `version'. - * loop.c (server_loop): Supply VERSION to PROC->alloc_reply and - PROC->func. - * nfsd.h (struct procedure): Add new parm to `func' and - `alloc_reply' members to specify protocol version. - - * ops.c (mounttable): Use op_null for MOUNTPROC_UMNT and - MOUNTPROC_UMNTALL. - - * ops.c (op_create): Ignore most of setattr structure given. - (op_mkdir): Likewise. - (complete_setattr): Clean up and be less active when possible. - - * ops.c (op_readdir): Correctly end list of directory entries. - - * nfsd.h (authserver): New variable. -n * main.c: Include <hurd.h>. - (main): Initialize AUTHSERVER. - * cache.c: Include <hurd/io.h> and <hurd/auth.h>. - (create_cached_handle): Reauthenticate port before calling - file_getfh. - - * fsys.c (init_filesystems): When setting NFSYS, it needs to be at - least as big as INDEX + 1, and install the control port into the - correct slot. - (init_filesystems): When allocating or reallocating FSYSTABLE, - make sure the new entries are zeroed. - (enter_filesystem): Likewise. - -Tue Aug 6 13:18:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * cache.c (create_cached_handle): Always call fsys_getfile when - creating a new cached handle instead of relying upon the passed in - port. - - * xdr.c (hurd_mode_to_nfs_mode): Specify octal number in octal - notation. - (encode_fattr): Bother filling in all the fields. - - * loop.c (server_loop): Don't attempt to call cache_handle_rele if - C is null. - - * cache.c (fh_hash): Mod-ulize HASH before returning it. - - * cache.c (process_cred): Arrange to skip VERF field for - non-AUTH_UNIX creds too. - - * loop.c (server_loop): Don't call skip_cred for the VERF here; - process_cred does it for us. - * xdr.c (skip_cred): Delete function. - * nfsd.h (skip_cred): Delete decl. - - * cache.c (process_cred): After processing gid list, set P after - it. Start gid processing loop at 0. - - * main.c (main): Detach one thread for pmap_udp_socket, - and NTHREADS threads for main_udp_socket. - * loop.c (server_loop): New parm `fd'; don't do select. - Ignore errors that we get from recvfrom instead of processing the - last message again. - - * nfsd.h (server_loop): New parm. - - * main.c (main): Stringify LOCALSTATEDIR; but for now just pound - in /var. Call asprintf correctly. diff --git a/pfinet/ChangeLog b/pfinet/ChangeLog deleted file mode 100644 index 57505c31..00000000 --- a/pfinet/ChangeLog +++ /dev/null @@ -1,1141 +0,0 @@ -2009-02-24 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * linux-src/net/ipv6/addrconf.c (ipv6_addr_type): Use - __in6_u.__u6_addr32 member instead of in6_u.u6_addr32. - * linux-src/net/ipv6/icmpv6.c (icmpv6_rcv): Use - __in6_u.__u6_addr16 member instead of in6_u.u6_addr16. - -2008-10-02 Thomas Schwinge <tschwinge@gnu.org> - - * glue-include/linux/socket.h: Revert last change. - (MSG_NOSIGNAL): Guard definition and add a compile-time warning. - -2008-07-11 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * glue-include/linux/socket.h (MSG_NOSIGNAL): Remove macro. - -2008-06-10 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * glue-include/linux/if.h (IFF_DYNAMIC): Remove macro. - -2007-10-14 Stefan Siegl <stesie@brokenpipe.de> - - * options.c (ipv6_get_dflt_router) [CONFIG_IPV6]: New function. - (parse_opt) [CONFIG_IPV6]: Don't delete IPv6 interface address, if - it would be re-added immediately, but delete if otherwise. - Do not touch inet6_ifaddr after inet6_addr_del was called. - Don't purge and re-add IPv6 default router unless necessary. - (trivfs_append_args) [CONFIG_IPV6]: Use ipv6_get_dflt_router. - * linux-src/net/ipv6/addrconf.c (ipv6_del_addr): Call del_timer - on ifp->timer. - -2007-10-13 Marco Gerards <metgerards@student.han.nl> - - * iioctl-ops.c (S_iioctl_siocgifhwaddr): New function. - -2007-10-13 Stefan Siegl <stesie@brokenpipe.de> - - * linux-src/net/ipv6/af_inet6.c (inet6_getname): Initialize - sin6_scope_id. - * linux-src/net/ipv6/datagram_ipv6.c (ipv6_recv_error): Likewise. - * linux-src/net/ipv6/tcp_ipv6.c (v6_addr2sockaddr): Likewise. - * linux-src/net/ipv6/udp_ipv6.c (udpv6_recvmsg): Likewise. - * linux-src/net/ipv6/raw_ipv6.c (rawv6_recvmsg): Likewise. - - * linux-src/net/ipv6/af_inet6.c (inet6_bind): For link-local IPv6 - addresses copy sin6_scope_id to bound_dev_if and error out unless - bound. - * linux-src/net/ipv6/tcp_ipv6.c (tcp_v6_connect): Likewise. - * linux-src/net/ipv6/udp_ipv6.c (udpv6_connect): Likewise. - * linux-src/net/ipv6/raw_ipv6.c (rawv6_bind): Likewise. - - * linux-src/net/ipv6/raw_ipv6.c (rawv6_sendmsg): For link-local - IPv6 addresses bind packet to interface specified by sin6_scope_id. - * linux-src/net/ipv6/udp_ipv6.c (udpv6_sendmsg): Likewise. - -2007-10-12 Thomas Schwinge <tschwinge@gnu.org> - - * README: How to find information about IPv6 support. - -2007-10-09 Stefan Siegl <stesie@brokenpipe.de> - - * iioctl-ops.c: Include <net/sock.h>. - (siocgifXaddr): Return EINVAL unless socket family is AF_INET. - (siocsifXaddr): Likewise. - -2007-10-08 Stefan Siegl <stesie@brokenpipe.de> - - [task #5470: ``Implement pfinet6''] - - * config.h (CONFIG_IPV6, CONFIG_IPV6_EUI64): New defines, - set to 1. - * Makefile (ipv6-srcs): New variable. - (LINUXSRCS): Add ipv6-srcs. - - * ethernet.c (ethernet_demuxer): Call skb_put instead of changing - skb->len directly, and thus now update skb->tail accordingly. - * pfinet.h (PORTCLASS_INET, PORTCLASS_INET6): New enums. - (trivfs_protid_portclasses, trivfs_protid_nportclasses) - (trivfs_cntl_portclasses, trivfs_cntl_nportclasses): Declare - these. - (pfinet_bootstrap_portclass): New variable. - (pfinet_bind): New function. - * main.c: Define _HACK_ERRNO_H. Include <errno.h>. - (trivfs_protid_portclasses, trivfs_cntl_portclasses): New slots - for PORTCLASS_INET6. - (trivfs_protid_nportclasses, trivfs_cntl_nportclasses): Set to 2. - (pfinet_bootstrap_portclass): New variable. - (pfinet_bind): New function. - (pfinet_activate_ipv6) [CONFIG_IPV6]: New function. - (main) [CONFIG_IPV6]: Call inet6_proto_init. - (main): Reordered to allow pfinet to not be started as a - translator, if pfinet_bind is used. If started as a translator, - treat pfinet_bootstrap_portclass when calling trivfs_startup. - * options.c: Include <net/sock.h>, <net/ip6_fib.h>, - <net/ip6_route.h> and <net/addrconf.h>. - (options): New option `ipv4'. - (options) [CONFIG_IPV6]: New options `ipv6', `address6' and - `gateway6'. - (parse_interface) [CONFIG_IPV6]: Add address6 and gateway6. - (parse_hook_add_interface) [CONFIG_IPV6]: Initialize address6 and - gateway6. - (parse_opt): Parse new args. - * socket-ops.c (S_socket_create): Call either - net_families[PF_INET]->create or net_families[PF_INET6]->create, - depending on receiving master. - (S_socket_create_address): Allow creation of AF_INET6 addresses. - - * glue-include/asm/delay.h: New stub file. - * glue-include/linux/ipv6.h: Merged many bits unmodified from Linux - header file. - * glue-include/linux/in6.h: Likewise. - (ipv6mr_ifindex): New define, glue to ipv6mr_interface. - * glue-include/linux/socket.h (SOL_IPV6, SOL_ICMPV6): New defines. - - * linux-src/net/ipv6/addrconf.c (ipv6_find_idev, inet6_addr_add) - (inet6_addr_del) [_HURD_]: Make these non-static. - (addrconf_set_dstaddr, addrconf_add_ifaddr, addrconf_del_ifaddr) - [_HURD_]: Don't define these functions. - * linux-src/net/ipv6/route_ipv6.c (ipv6_route_ioctl) [_HURD_]: - Likewise. - * linux-src/net/ipv6/af_inet6.c (inet6_ioctl) [_HURD_]: Don't - define the function, instead #define it to 0. - (inet6_proto_init) [_HURD_]: Don't call sit_init. - * linux-src/net/ipv6/udp_ipv6.c (udp_ioctl) [_HURD_]: Define - to 0. - (udp_v6_get_port): Put empty statement after label to silence - compiler. - * linux-src/net/ipv6/tcp_ipv6.c (tcp_v6_get_port, tcp_v6_rcv): - Likewise. - * linux-src/net/ipv6/icmpv6.c (icmpv6_rcv): Likewise. - (icmpv6_init) [_HURD_]: Don't initialize i_uid and i_gid. - * linux-src/net/ipv6/mcast.c (igmp6_init): Likewise. - * linux-src/net/ipv6/ndisc.c (ndisc_init): Likewise. - * linux-src/net/ipv6/ip6_fib.c (BUG_TRAP): Don't use __FUNCTION__ - as a string but a variable, to keep gcc happy. - (fib6_walker_list): Make it non-static, to keep gcc happy. - * linux-src/net/ipv6/ip6_flowlabel.c (fl_create) [_HURD_]: Drop - IPV6_FL_S_USER support, since current->euid is not available. - - Import a number of files from Linux 2.2.14. Renamed some of them, - to have unique filenames as required by the make system. - * linux-src/net/ipv6/addrconf.c: Import file. - * linux-src/net/ipv6/af_inet6.c: Likewise. - * linux-src/net/ipv6/exthdrs.c: Likewise. - * linux-src/net/ipv6/ip6_fib.c: Likewise. - * linux-src/net/ipv6/ip6_flowlabel.c: Likewise. - * linux-src/net/ipv6/ip6_input.c: Likewise. - * linux-src/net/ipv6/ip6_output.c: Likewise. - * linux-src/net/ipv6/ipv6_sockglue.c: Likewise. - * linux-src/net/ipv6/mcast.c: Likewise. - * linux-src/net/ipv6/ndisc.c: Likewise. - * linux-src/net/ipv6/reassembly.c: Likewise. - * linux-src/net/ipv6/tcp_ipv6.c: Likewise. - * linux-src/net/ipv6/datagram_ipv6.c: Import file (was datagram.c). - * linux-src/net/ipv6/icmpv6.c: Import file (was icmp.c). - * linux-src/net/ipv6/protocol_ipv6.c: Import file (was protocol.c). - * linux-src/net/ipv6/raw_ipv6.c: Import file (was raw.c). - * linux-src/net/ipv6/route_ipv6.c: Import file (was route.c). - * linux-src/net/ipv6/udp_ipv6.c: Import file (was udp.c). - -2007-07-27 Thomas Schwinge <tschwinge@gnu.org> - - [bug #17124 -- ``-fno-strict-aliasing for pfinet''] - * Makefile (CFLAGS): Add ``-fno-strict-aliasing''. - -2006-07-31 Stefan Siegl <stesie@brokenpipe.de> - - * options.c (trivfs_append_args): Figure out the address of the default - gateway and push the --gateway option to argz. - -2006-04-27 Thomas Schwinge <tschwinge@gnu.org> - - * ethernet.c (ether_filter) [NETF_IN]: Prefix `NETF_IN' to the actual - rules. - -2006-03-15 Thomas Schwinge <tschwinge@gnu.org> - - * glue-include/asm/system.h (xchg): Fix invalid lvalue. - * linux-src/net/ipv4/tcp_ipv4.c (tcp_v4_rst_req): Don't use ?: as a - lvalue. - -2004-09-03 Alfred M. Szmidt <ams@kemisten.nu> - - * linux-src/net/ipv4/udp.c (udp_v4_get_port): Put empty statement - after label to silence compiler warning. - * linux-src/net/ipv4/tcp_ipv4.c - (tcp_v4_get_port, tcp_v4_connect, tcp_v4_rcv): Likewise. - * linux-src/net/ipv4/route.c (ip_rt_redirect): Likewise. - * linux-src/net/ipv4/arp.c (arp_constructor): Likewise. - -2004-02-10 Roland McGrath <roland@frob.com> - - * linux-src/arch/i386/lib/checksum.S: Fix comment syntax. - -2003-05-07 Ognyan Kulev <ogi@fmi.uni-sofia.bg> - - * linux-src/include/asm-i386/checksum.h (ip_fast_csum): Use - string literals concatenation instead of multi-line string - literal. - (csum_fold): Likewise. - (csum_tcpudp_nofold): Likewise. - (csum_ipv6_magic): Likewise. - - * linux-src/include/net/sock.h (SOCK_DEBUG): Don't use ## to - concatenate string literals. - -2002-09-17 Marcus Brinkmann <marcus@gnu.org> - - * Makefile: Revert last change. - * glue-include/asm/spinlock.h (SPIN_LOCK_UNLOCKED): Do not use a - compound literal, which is not constant. - - * Makefile: For now, filter -std=gnu99 out of CPPFLAGS. - -2002-06-15 Roland McGrath <roland@frob.com> - - * socket-ops.c (S_socket_getopt): Use a local int for result param of - getsockopt hook function. - -2002-06-13 Roland McGrath <roland@frob.com> - - * tunnel.c (trivfs_S_io_read): off_t -> loff_t - (trivfs_S_io_map): Add reply port args. - (trivfs_S_io_read): Fix argument types. Check mmap for failure. - - * pfinet.h (trivfs_protid_t): Type removed (now in trivfs.h). - - * linux-src/include/net/ip_fib.h: Fix obsolescent #endif syntax. - -2002-06-08 Roland McGrath <roland@frob.com> - - * pfinet-ops.c (S_pfinet_siocgifconf): Use vm_size_t for AMOUNT. - - * io-ops.c (S_io_identity): Use ino_t for FILENO. - -2002-05-31 Roland McGrath <roland@frob.com> - - * Makefile (LINUXSRCS): Search for .S files as well as .c files - for arch-lib-srcs modules. - (OBJS): .S -> .o as well as .c -> .o - - * sched.c (net_bh_worker): Add return stmt to quiet gcc warning. - -2002-05-29 Roland McGrath <roland@frob.com> - - * ethernet.c (setup_ethernet_device): u_int -> size_t - - * linux-src/include/linux/net.h (struct socket) [_HURD_]: - New member `st_ino'. - * io-ops.c (S_io_stat, S_io_identity): Use that. - * socket.c (sock_alloc): Initialize it with a monotonic counter. - - * stubs.c: Use __attribute__ instead of #pragma for aliases. - - * linux-src/arch/alpha/lib/csum_partial_copy.c: New file, - taken verbatim from Linux 2.2.14. - * Makefile (arch-lib-srcs): Add csum_partial_copy.c. - (LINUXSRCS): Match $(arch-lib-srcs) subset in arch/$(asm_syntax)/lib. - (OBJS): Use delayed evaluation. - * glue-include/asm/uaccess.h (__get_user): New macro. - (__m): New macro. - -2002-05-28 Roland McGrath <roland@frob.com> - - * io-ops.c (S_io_write, S_io_read): u_int -> size_t - (S_io_restrict_auth): Likewise. - (S_io_reauthenticate): Likewise. - * socket-ops.c (S_socket_getopt, S_socket_setopt): Likewise. - (S_socket_send, S_socket_recv): Likewise. - -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * main.c: Include <version.h>. - (argp_program_version): New variable. - -2002-05-03 Roland McGrath <roland@frob.com> - - * timer-emul.c (timer_function): Add a return stmt. - -2002-01-30 Marcus Brinkmann <marcus@gnu.org> - - * tunnel.c (trivfs_S_io_select): Remove IDTAG argument. - -2001-10-14 Marcus Brinkmann <marcus@gnu.org> - - * glue-include/linux/sched.h (process_schedule_timeout): New - function used as timer callback for schedule_timeout. - (schedule_timeout): Implement it. - Suggested by "kurian kattukaren" <kjk_bugs@rediffmail.com>. - -2001-07-25 Mark Kettenis <kettenis@gnu.org> - - * glue-include/linux/socket.h (SOMAXCONN): Only define if it - wasn't already. - (msg_control, msg_controllen, struct cmsghdr, cmsg_len, cmsg_type, - cmsg_level, CMSG_FIRSTHDR, CMSG_NXTHDR, CMSG_DATA, CMSG_LEN): Only - define if CMSG_DATA wasn't already defined. - -2001-07-18 Marcus Brinkmann <marcus@gnu.org> - - * linux-src/net/ipv4/devinit.c (configure_device): Initialize IFA - correctly. If we are setting the peer on an IFF_POINTOPOINT link, - force the netmask to 255.255.255.255. - By Neal H Walfield <neal@cs.uml.edu>. - -2001-07-13 Neal H Walfield <neal@cs.uml.edu> - - * options.c (parse_opt): In the cases where we hold global_lock - and fail, we must release the lock before calling FAIL. - -2001-06-08 Marcus Brinkmann <marcus@gnu.org> - - * timer-emul.c (add_timer): Don't add jiffies to EXPIRES, it is - the responsibility of the caller to do this. - -2001-02-25 Roland McGrath <roland@frob.com> - - * Makefile (asm/checksum.h): New target. - (CPPFLAGS): Don't set _HURD_SYSTYPE. - * glue-include/asm/checksum.h: File removed. - - * linux-src/include/linux/net.h (struct file): Move forward - decl outside of `struct socket' type definition, for gcc-2.96 syntax. - -2001-01-17 Marcus Brinkmann <marcus@gnu.org> - - * iioctl-ops.c (siocsifXaddr): Remove incorrect comment - about isroot. - (S_iioctl_siocsifflags): Likewise. - (S_iioctl_siocsifmtu): And one more time. - -2001-01-07 Marcus Brinkmann <marcus@gnu.org> - - * pfinet-ops.c: New file to implement hurd/pfinet.defs. - - * iioctl-ops.c: New file to implement iioctl.defs. - * linux-src/net/core/dev.c: If _HURD_, don't define netdev_chain as - static. - - * glue-include/linux/if.h: New file, to avoid conflict between - <net/if.h> (imported by iioctl.defs) and linux version of it. - - * main.c (pfinet_demuxer): Prototype pfinet_server and - iioctl_server, use them. - - * pfinet.h: New global variables pfinetctl, pfinet_owner - and pfinet_group. - * main.c (main): New variable ST. Request pfinetctl from - trivfs_startup. Use it to determine the owner and group - of the underlying node. - * io-ops.c (S_io_reauthenticate): New index variable j. Set - newuser->isroot also for owners of the underlying file and - group owners. - (S_io_restrict_auth): Likewise. - * socket-ops.c: Include <sys/stat.h> and <hurd/fshelp.h>. - (S_socket_create): New variable isroot. If master->isroot is - not set, use fshelp_isowner to check ownership and if to set it. - Pass isroot to make_sock_user instead master->isroot. - - * linux-src/net/ipv4/devinet.c (configure_device): Accept new parameter - BROADCAST, set ifa_broadcast if this is not INADDR_NONE. - (inquire_device): Accept new parameter broadcast, set it. - * main.c: Add new paramter to prototype of configure_device. - (main): Add new parameter to call to configure_device. - * options.c: Add new parameters to prototypes of configure_device - and inquire_device. - (trivfs_append_args): Define new variable BROAD, use its address - as the new parameter for inquire_device. - - * linux-src/net/core/dev.c (dev_ifconf): Don't declare static - if _HURD_. - * linux-src/net/ipv4/devinet.c (inet_gifconf): If _HURD_, set - sin_len member. - - * Makefile (MIGSRCS): Add pfinetServer.c and iioctlServer.c. - (SRCS): Add pfinet-ops.c, iioctl-ops.c. - -2001-01-03 Marcus Brinkmann <marcus@gnu.org> - - * options.c (parse_opt): Set err to 0 if it was ESRCH. - (or zero anyway). - -2000-12-03 Marcus Brinkmann <marcus@gnu.org> - - * main.c (pfinet_demuxer): New variable PI. - Store port info in PI, and dereference it if found. - -2000-11-02 Marcus Brinkmann <marcus@gnu.org> - - * tunnel.c (trivfs_S_io_get_owner): Add return type to silence - compiler warning. - -2000-10-06 Marcus Brinkmann <marcus@gnu.org> - - * Makefile (SRCS): Add tunnel.c - * tunnel.c: New file. - * linux-src/net/ipv4/devinet.c (configure_device): New argument PEER. - Implement support for setting the destination address for - point-to-point interfaces. - (inquire_device): New argument PEER. - Implement support to get the destination address. - * main.c: Include fcntl.h. - Update prototype of configure_device. - Set trivfs_support_read and trivfs_support_write to 1, as we support - those in some cases now. For the same reason, set trivfs_allow_open - to O_READ | O_WRITE. - (pfinet_demuxer): If the port is not in the socketport_class, - don't try io_server (so requests for trivfs are not catched too early). - (find_device): Use setup_tunnel_device for tun* interfaces. - (main): Add peer argument to configure_device call for the lo interface. - * options.c: Update prototypes for configure_device, inquire_device. - (options): Add --peer option. - (stuct parse_interface): Add peer member. - (parse_hook_add_interface): Initialize peer. - (parse_opt): Add a case for --peer. - Add peer argument to configure_device call. - (add_dev_opts): Add peer variable, add it to inquire_device call arguments. - Check for peer argument and add it to command line if it is there. - * pfinet.h: Add prototype for setup_tunnel_device. - -2000-10-04 Marcus Brinkmann <marcus@gnu.org> - - * Makefile (SRCS): Add dummy.c - * dummy.c: New file. - - * ethernet.c: Moved ETHER_PORT, READPT, READPTNAME to ... - (struct ether_device): ... here. New struct. ETHER_DEV is now a - pointer to a struct ether_device. - (ethernet_demuxer): New variables edev, dev. Iterate over linked - list ETHER_DEV to find correct readptname. Use dev instead - ETHER_DEV for socket buffer manipulation. - (ethernet_open): New variable edev. Use dev->priv to find correct - edev. Use members of edev instead global variables. - (ethernet_xmit): New variable edev. Use dev->priv to find correct - edev.Use member of edev instead global variable ETHER_PORT. - (setup_ethernet_device): New output argument DEVICE. New - variables edev and dev. Allocate memory for edev, add it to the - head of ETHER_DEV. Use dev instead ETHER_DEV. Use members of edev - instead global variables. - * main.c: ALREADY_OPEN removed. - (find_device): Fix comment. Redone to work with multiple devices - by iterating over DEV_BASE. - (enumerate_device): Likewise. - * pfinet.h: Add new argument to prototype of - setup_ethernet_device. Add prototype for setup_dummy_device. - Remove prototype for ETHER_DEV. Add prototype for DEV_BASE. - -2000-09-30 Marcus Brinkmann <marcus@gnu.org> - - * main.c: Prototype configure_device to supress compiler warning. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * glue-include/linux/poll.h (POLLERR): Define as SELECT_READ | - SELECT_WRITE. - (POLLHUP): Define as SELECT_READ. - - * linux-src/net/core/dev.c (net_bh) [_HURD_]: Leave out the code - that gives other bottom halves a chance to run; the network bottom - half is the only one present in pfinet. - -2000-04-03 Roland McGrath <roland@baalperazim.frob.com> - - * glue-include/asm/byteorder.h: Include <hurd.h> early on, - to get the things it #include's that need __BYTE_ORDER to work. - -2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> - - * main.c (arrange_shutdown_notification): Don't use MAKE_SEND in - Hurd RPC. - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * io-ops.c (S_io_reauthenticate): Use ports_get_send_right. - -2000-02-13 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (main): Call configure_device on loopback_dev. - * linux-src/net/ipv4/devinet.c (configure_device): Call - dev_change_flags with IFF_UP flag. - -2000-02-06 Roland McGrath <roland@baalperazim.frob.com> - - * socket.c (make_sock_user): Take new argument CONSUME. - * pfinet.h: Update decl. - * io-ops.c (S_io_reauthenticate, S_io_restrict_auth, S_io_duplicate): - Callers changed, these all pass false. - * socket-ops.c (S_socket_create, S_socket_accept): Callers changed, - these ones pass true. - - * glue-include/linux/socket.h (memcpy_fromiovec): Update *IOV to - consume bytes copied from the available buffer. - (memcpy_tokerneliovec): Likewise. - (memcpy_toiovec): Just call memcpy_tokerneliovec. - -2000-02-05 Roland McGrath <roland@baalperazim.frob.com> - - * linux-src (many files): Merge Linux 2.2.13 and 2.2.14 code. - * glue-include/linux/mm.h (PAGE_SIZE, num_physpages): New macros. - (__get_free_pages): New inline function. - -2000-02-04 Roland McGrath <roland@baalperazim.frob.com> - - * options.c (parse_opt): New code to set the default gateway using - fib_new_table and the tb_insert/tb_delete callbacks. - - * options.c (parse_opt): Take global_lock while applying changes. - * main.c (main): Unlock global_lock before calling argp_parse. - - * options.c (struct parse_interface): Use uint32_t for the IP - address members. - - * linux-src/net/ipv4/devinet.c [_HURD_] (inquire_device): New function. - * options.c: Declare it. - (trivfs_append_args): Use inquire_device for --address and --netmask. - (ADD_ADDR_OPT): #undef it after uses. - -2000-02-03 Roland McGrath <roland@baalperazim.frob.com> - - Complete overhaul of pfinet based on the IPv4 networking code from the - Linux 2.2.12 kernel sources. This page describes a single unified set - of interdependent changes, but there are so many changes that I have - broken up the log entry into paragraphs based on rough topical - divisions of the work involved. - - Subset of verbatim Linux 2.2.12 sources imported on a vendor branch. - * linux-src: New directory, see README for details. - * README: New file, describes linux-src layout and procedures for - tracking Linux source updates. - - Light modifications to linux-src files to avoid really bending over - backwards with the glue macros. All modifications to files in - linux-src are conditionalized by #ifdef _HURD_. - * linux-src/include/linux/net.h [_HURD_] (struct socket): New members - refcnt and identity; elide members fasync_list, file. - * linux-src/include/linux/rtnetlink.h [! CONFIG_RTNETLINK] - (rtnl_shlock, rtnl_shunlock) [! _HURD_]: Conditionalize contents on - this, making these no-ops #ifdef _HURD_. - * linux-src/net/core/dev.c [_HURD_] (dev_ioctl): Don't define the - function, instead #define it to 0. - * linux-src/net/ipv4/af_inet.c [_HURD_] (inet_ioctl): Likewise. - * linux-src/net/ipv4/arp.c [_HURD_] (arp_ioctl): Likewise. - * linux-src/net/ipv4/udp.c [_HURD_] (udp_ioctl): Likewise. - * linux-src/net/ipv4/tcp.c [_HURD_] (tcp_ioctl): Likewise. - [_HURD_] (tcp_tiocinq): New function, TIOCINQ code from tcp_ioctl. - * linux-src/net/ipv4/devinet.c [_HURD_] (devinet_ioctl): Don't define - the function, instead #define it to 0. - [_HURD_] (configure_device): New function, cobbled from SIOCSIFADDR - and SIOCSIFNETMASK code from devinet_ioctl. - - * glue-include/asm, glue-include/linux: New directories. - These contain glue kludge headers that replace all of the - Linux <asm/*.h> headers except checksum.h, and several of - the Linux <linux/*.h> headers (the remainder come from - linux-src/include/linux and are mostly unmodified). - * glue-include/asm/atomic.h: New file, glue replacement header. - * glue-include/asm/bitops.h: New file, glue replacement header. - * glue-include/asm/byteorder.h: New file, glue replacement header. - * glue-include/asm/checksum.h: New file, glue replacement header. - * glue-include/asm/errno.h: New file, glue replacement header. - * glue-include/asm/hardirq.h: New file, glue replacement header. - * glue-include/asm/init.h: New file, glue replacement header. - * glue-include/asm/segment.h: New file, glue replacement header. - * glue-include/asm/spinlock.h: New file, glue replacement header. - * glue-include/asm/system.h: New file, glue replacement header. - * glue-include/asm/types.h: New file, glue replacement header. - * glue-include/asm/uaccess.h: New file, glue replacement header. - * glue-include/linux/autoconf.h: New file, glue replacement header. - * glue-include/linux/binfmts.h: New file, glue replacement header. - * glue-include/linux/config.h: New file, glue replacement header. - * glue-include/linux/errno.h: New file, glue replacement header. - * glue-include/linux/fcntl.h: New file, glue replacement header. - * glue-include/linux/fs.h: New file, glue replacement header. - * glue-include/linux/in.h: New file, glue replacement header. - * glue-include/linux/in6.h: New file, glue replacement header. - * glue-include/linux/interrupt.h: New file, glue replacement header. - * glue-include/linux/ioctl.h: New file, glue replacement header. - * glue-include/linux/ipv6.h: New file, glue replacement header. - * glue-include/linux/kernel.h: New file, glue replacement header. - * glue-include/linux/limits.h: New file, glue replacement header. - * glue-include/linux/major.h: New file, glue replacement header. - * glue-include/linux/malloc.h: New file, glue replacement header. - * glue-include/linux/mm.h: New file, glue replacement header. - * glue-include/linux/param.h: New file, glue replacement header. - * glue-include/linux/personality.h: New file, glue replacement header. - * glue-include/linux/poll.h: New file, glue replacement header. - * glue-include/linux/proc_fs.h: New file, glue replacement header. - * glue-include/linux/sched.h: New file, glue replacement header. - * glue-include/linux/slab.h: New file, glue replacement header. - * glue-include/linux/socket.h: New file, glue replacement header. - * glue-include/linux/sockios.h: New file, glue replacement header. - * glue-include/linux/stat.h: New file, glue replacement header. - * glue-include/linux/string.h: New file, glue replacement header. - * glue-include/linux/termios.h: New file, glue replacement header. - * glue-include/linux/time.h: New file, glue replacement header. - * glue-include/linux/timer.h: New file, glue replacement header. - * glue-include/linux/timex.h: New file, glue replacement header. - * glue-include/linux/types.h: New file, glue replacement header. - * glue-include/linux/un.h: New file, glue replacement header. - * glue-include/linux/version.h: New file, glue replacement header. - * glue-include/linux/wait.h: New file, glue replacement header. - - * kmem_cache.c: New file. Glue code replaces Linux kmem_cache_t et al. - * stubs.c: New file. No-op functions and stub variables for a few - things the Linux networking code needs to link. - - * Makefile (core-srcs, arch-lib-srcs, ethernet-srcs, ipv4-srcs): New - variables, listing sources used from linux-src subdirectories. - (LINUXSRCS): Define using those. - (SRCS): Remove devices.c; add kmem_cache.c, stubs.c. - (UNUSEDSRC): Variable removed. - (vpath %.c): Remove vpath for $(srcdir)/linux-inet directory. - Add vpaths for $(srcdir)/linux-src subdirectories. - (CPPFLAGS): Add -D_HURD_SYSTYPE defining it to $(asm_syntax) as a - double-quoted string. Add -I's for glue-include and linux-src/include. - - * pfinet.h: Include <sys/socket.h>, and not <linux/netdevice.h>. - (master_device): Remove decl. - (global_lock, packet_queue_lock): Remove common defns. - (global_lock, net_bh_lock): Declare them as externs. - (struct sockaddr): Remove len member, make address member just a - struct sockaddr rather than a 0-length array. - (setup_loopback_device, become_task_protid, become_task): Remove decls. - (ethernet_initialize): Declare it. - (input_work_thread): Remove decl. - (net_bh_thread): Declare it. - (tcp_readable): Remove decl. - (tcp_tiocinq): Declare it. - - * config.h: Rewritten based on Linux 2.2.12 set of CONFIG_* options. - (CONFIG_NET, CONFIG_INET, CONFIG_SKB_LARGE): These are the only - Linux config options we set. - (CONFIG_IP_NOSIOCRT): New macro (not a proper config option, but - used conveniently in the code). - * ethernet.c (ethernet_set_multi): Take only one parameter. - Remove assert, since we always get passed IGMP_ALL_HOSTS. - (ethernet_thread): Make static. - (ethernet_demuxer): Use __mutex_lock in place of mutex_lock, so as to - get cthreads instead of linux/spinlock.h glue macros. Lock - net_bh_lock instead of global_lock. Set SKB->protocol with - eth_type_trans before calling netif_rx. - (ethernet_initialize): New function, one-time initialization broken - out of ethernet_open. - (ethernet_open): Ports setup moved to ethernet_initialize. - Don't use `errno' to avoid glue conflicts. - Use get_privileged_ports here to get the master device port, and - deallocate it after calling device_open. - (ethernet_xmit): Use assert_perror. Only one arg to dev_kfree_skb now. - (setup_ethernet_device): Change initializations for structure changes. - Call dev_init_buffers and register_netdevice on the device. - * timer-emul.c (all functions): Use __mutex_lock instead of mutex_lock. - Adjust for renaming of `prevp' member to `prev' in struct timer_list. - (mod_timer): New function. - * socket.c (proto_ops): Variable removed. - (net_families): New variable replaces it. - (sock_register): Rewritten for new calling convention, set - net_families rather than proto_ops. - (make_sock_user, clean_socketport, sock_alloc, sock_release): - Functions moved here from misc.c. - * sched.c (packet_queue_lock): Variable removed. - (net_bh_lock, net_bh_wakeup): New variables. - (current): Variable removed (now a macro in the glue headers). - (interruptible_sleep_on, wake_up_interruptible): Functions removed. - They are replaced by inlines in the glue headers. - (become_task, become_task_protid): Functions removed; they are - replaced by macros in glue-include/linux/sched.h. - (net_bh_worker): New function. - * loopback.c: Completely rewritten, mostly copied from linux-2.2.12's - drivers/net/loopback.c source file. - - * io-ops.c (all functions): Use __mutex_lock in place of mutex_lock. - (S_io_write): Call ops->sendmsg instead of ops->write, - which no longer exists. If O_NONBLOCK is set, set MSG_DONTWAIT in - msg_flags. - (S_io_read): Call ops->recvmsg instead of ops->read, - which no longer exists If O_NONBLOCK is set, pass MSG_DONTWAIT. - (S_io_readable): Use USER->sock->data in place of USER->sock->sk. - For SOCK_STREAM and SOCK_SEQPACKET types, call tcp_tiocinq. - (S_io_set_all_openmodes, S_io_get_openmodes, S_io_set_some_openmodes, - S_io_clear_some_openmodes): Member USER->sock->userflags is now - renamed USER->sock->flags. - (S_io_select): Completely rewritten using ops->poll. - (select_wait): Function removed. - (S_io_stat): Set st_mode to reflect S_IFSOCK. - * socket-ops.c (all functions): Use __mutex_lock instead of mutex_lock. - (S_socket_create): Don't set SOCK->ops or call SOCK->ops->create. - Instead, call net_families[PF_INET]->create. - (S_socket_listen): Remove extra checks; just call ops->listen. - (S_socket_accept): Remove extra checks before ops->accept call. - Avoid use of goto. - (S_socket_connect): Remove extra checks; just call ops->connect. - (S_socket_bind): Adjust for struct sock_addr changes. - (S_socket_create_address): Likewise. - (S_socket_whatis_address): Likewise. - (S_socket_connect2): Don't diddle data structures after - ops->socketpair call. - (S_socket_getopt): Use sock_getsockopt if LEVEL is SOL_SOCKET. - Accept any data size, not just sizeof (int). - (S_socket_setopt): Use sock_setsockopt if LEVEL is SOL_SOCKET. - (S_socket_send): Always use ops->sendmsg instead of ops->send or - ops->sendto, which no longer exist. If O_NONBLOCK is set, set - MSG_DONTWAIT in msg_flags. - (S_socket_recv): Always use ops->recvmsg instead of ops->recv, which - no longer exists. If O_NONBLOCK is set, set MSG_DONTWAIT in flags. - Check for error from S_socket_create_address. - - * main.c (find_device): Don't try to set ether_dev.pa_mask (it's gone). - (main): Don't call init_devices. Call ethernet_initialize. - Start net_bh_worker instead of input_work_thread. Don't call - setup_loopback_device. Instead, take global_lock, do prepare_current, - and then call sk_init, skb_init, inet_proto_init, and net_dev_init. - Keep global_lock held while calling argp_parse. - Call arrange_shutdown_notification only after all that. - Fix error call for "contacting parent" to pass ERR instead of errno. - * options.c (ADDR): #undef before defining macro. - (parse_opt): #if 0 out EDESTADDRREQ check (I don't understand it). - To apply settings, call configure_devices. - (ADD_ADDR_OPT): #if 0 --address and --netmask options. Needs fixed. - * misc.c (make_sock_user, clean_socketport, sock_alloc, sock_release): - Functions moved to socket.c. - (sock_release_peer): Function removed. - (make_sockaddr_port): Use struct sockaddr_storage to size buffer. - Fix size calculation for new struct sock_addr layout. - Initialize sa_family and sa_len of new struct sock_addr. - - Remove the old Linux (2.0.??) network stack and the glue code for it. - * linux-inet, asm, linux: Directories and all files removed. - Some of the new files in glue-include came from the old glue headers - in the asm and linux directories, but most were substantially modified. - * devices.c: File removed. The equivalent glue is now elsewhere. - -2000-01-27 Roland McGrath <roland@baalperazim.frob.com> - - * mapped-time.h: Include <maptime.h>. - (fill_timeval): Function removed. - (fetch_jiffies): Use maptime_read. - * timer-emul.c (init_time): Use maptime_map and maptime_read. - * linux/sched.h (fetch_xtime): Use maptime_read. - * linux/time.h (do_gettimeofday): Likewise. - -1999-10-22 Roland McGrath <roland@baalperazim.frob.com> - - * socket-ops.c (S_socket_getopt): Implement the call. - All options supported by the code in linux-inet are in - fact of type int, so we can support just that one size. - (This is still a bogus untyped interface!) - -1999-09-13 Roland McGrath <roland@baalperazim.frob.com> - - * io-ops.c: Reverted changes related to io_map_segment. - -1999-09-09 Thomas Bushnell, BSG <tb@mit.edu> - - * ethernet.c (ethernet_open): Don't start the input work thread - here. - (more_packets, mark_bh, input_work_thread): Move - these to ... - * devices.c: ... here. - Also include "pfinet.h" instead of list of <> includes. - * main.c (main): Launch input work thread here. - * pfinet.h (input_work_thread): Declare function. - - * devices.c (add_device): Remove unused function. - * pfinet.h (incoming_net_packet): Remove unused declaration. - -1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> - - * io-ops.c (S_io_map_segment): New function. - -1999-07-11 Roland McGrath <roland@baalperazim.frob.com> - - * pfinet.h: Add #include <sys/mman.h> for munmap decl. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * io-ops.c: Add #include <sys/mman.h> for munmap decl. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * io-ops.c (S_io_read): Use mmap instead of vm_allocate. - * socket-ops.c (S_socket_whatis_address): Likewise. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * io-ops.c (S_io_read): Use munmap instead of vm_deallocate. - (S_io_reauthenticate): Likewise. - -1999-06-13 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (trivfs_goaway): Exit if there are no socket ports. - -Sun Mar 14 18:33:54 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * ethernet.c (ether_filter): Use a shorter filter program. - (ether_filter_len): Compute more safely. - -1999-02-28 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (S_startup_dosync): Use ports_class_iterate. - (sigterm_handler): Likewise. - -Tue Feb 16 05:50:27 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * io-ops.c (S_io_revoke): New function. Don't attempt to - implement. (Other systems don't even permit non-file revokes.) - -1998-10-24 Roland McGrath <roland@baalperazim.frob.com> - - * ethernet.c (ethernet_open): Check error return from device_open and - device_set_filter. - (setup_ethernet_device): Check error return from device_get_status. - - * ethernet.c (ethername): Remove static variable. - (setup_ethernet_device): Don't set it. - (ethernet_open): Don't use it; use DEV->name instead. - -1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - - * loopback.c (loopback_type_trans): Return u_int16_t. - -Fri Apr 24 15:43:07 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * io-ops.c (S_io_select): When returning EINTR after cancellation, - deallocate REPLY because the stub won't do it for us. Reported by - UCHIYAMA Yasushi (uch@nop.or.jp). - -1997-08-25 Miles Bader <miles@gnu.ai.mit.edu> - - * io-ops.c (S_io_write): Negate linux error codes before returning. - -1997-08-19 Miles Bader <miles@gnu.ai.mit.edu> - - * linux-inet/tcp.c (tcp_conn_request): SK->err holds errno values, - not linux negative errno return vals. - -Wed Aug 20 14:05:52 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * main.c (main): New args for - ports_manage_port_operations_multithread. - -Fri Aug 8 11:47:08 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * 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. - -Mon Jul 21 14:58:13 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): Add iohelp. - - * main.c (trivfs_goaway): If FSYS_GOAWAY_FORCE is set, then go - away, otherwise, continue to return EBUSY. - -Fri Apr 25 10:46:49 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * options.c (trivfs_append_args): Renamed from trivfs_get_options. - Don't initialize ARGZ/ARGZ_LEN. - -Tue Feb 4 16:53:19 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * socket-ops.c (S_socket_send): Don't deref ADDR if it's 0. - (S_socket_bind): Return EADDRNOTAVAIL if ADDR is 0. - -Fri Oct 25 20:02:17 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * loopback.c (loopback_type_trans): New function. - (setup_loopback_device): Bother to mark interface up - too. Set LOOPBACK_DEV.type_trans. - -Thu Oct 24 22:38:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * main.c (main): Call setup_loopback_device before parsing args - (and thus before the ethernet device shows up). - * loopback.c: New file. - * Makefile (SRCS): Add loopback.c. - * pfinet.h (loopback_dev): New variable. - - * pfinet.h (ip_rt_del): New prototype. - -Thu Sep 12 16:47:24 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (pfinet): Omit special dependency. - - * Makefile (vpath %.c): Put this after Makeconf inclusion so it - catches setting of $(srcdir) there. - -Fri Sep 6 16:46:43 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * socket-ops.c (S_socket_recv): Bother to pass - USER->sock->userflags through to the recvfrom routine. - -Sat Jul 20 15:48:29 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (lndist-asm-files): Look for files in $(srcdir). - (lndist-linux-files): Likewise. - (lndist-linux-inet-files): Likewise. - -Fri Jul 19 09:39:08 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * pfinet.h (make_sock_user): Declaration updated. - -Thu Jul 18 23:19:07 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * misc.c (make_sock_user): New parm `noinstall'; if it's set use - non-installing version of ports_create_port. All callers - changed. - * io-ops.c (S_io_reauthenticate): Install NEWUSER port right into - portset after it's fully initialized. - -Sat Jul 13 20:18:18 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-ops.c (S_io_reauthenticate): Repeat auth_server_authenticate - for as long as we get EINTR. Deal with other errors without - crashing. - -Sun Jul 7 21:29:42 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-ops.c (S_io_reauthenticate): Don't use unsafe MOVE_SEND in - call to auth_server_authenticate. - -Fri Jul 5 19:42:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ethernet.c (setup_ethernet_device): Linux's device `mtu' member - does not include the hardware header size; subtract that off the - value the kernel specifies as maximum packet size in setting - ETHER_DEV.mtu. - -Thu Jun 27 10:14:10 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (lndist): Add lndist-asm-files. - (lndist-asm-files): New rule. - (ASMHEADERS): New variable. - ($(top_srcdir)/hurd-snap/$(dir)/asm): New rule. - -Tue Jun 25 14:00:07 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * linux-inet/route.c (ip_rt_del): New function. - * linux-inet/route.h (ip_rt_del): New declaration. - - * options.c (trivfs_get_options): Initialize *ARGZ & *ARGZ_LEN. - (parse_opt): Fix test for address-less netmask. - Fix byte order when using IN_* macros. - Base default netmask on dev->pa_addr, not in->address. - Don't clear dev->pa_addr. - Delete old routing entries before adding new ones. - (trivfs_get_options): Add & use ADD_ADDR_OPT macro. - (parse_hook_add_interface): Initialize H->curint->device. - -Mon Jun 24 16:48:51 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (sigterm_handler): Renamed from sighup_handle. Make void. - Deal with SIGTERM instead of SIGHUP. - (main): Use SIGTERM & sigterm_handler instead of SIGHUP &c. - - * options.c (parse_hook_add_interface): Realloc the correct number - of bytes. - -Mon Jun 24 16:33:55 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * main.c (sighup_handle): New function. - (arrange_shutdown_notification): Register SIGHUP handler. - -Mon Jun 24 12:44:17 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * options.c (parse_opt): Don't fail if there were no options. - (RETURN): New macro. - (PERR, FAIL): Use RETURN instead of return to free memory if nec. - -Fri Jun 21 16:42:29 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Pass ARGC & ARGV to argp_parse in the correct order. - -Thu Jun 20 22:39:17 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * options.c: Renamed from opts.c. - (parse_opt): Fix lots of typos. - (trivfs_get_options): New function. - (get_opts, trivfs_S_fsys_get_options, trivfs_S_file_get_fs_options): - Functions removed. - <netinet/in.h>, <arpa/inet.h>: New includes. - * Makefile (pfinet): Depend on ../libfshelp/libfshelp.a & - ../libshouldbeinlibc/libshouldbeinlibc.a. - (SRCS): Add options.c. - -Thu Jun 20 19:47:40 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * main.c: Include <hurd/startup.h> and <string.h>. - (shutdown_notify_class): Declare variable. - (S_startup_dosync): Give enough args to ports_lookup_port. - (S_startup_dosync/do1): Return a value. - (arrange_shutdown_notification): Correct spelling of - ports_create_port. Initialize shutdown_notify_class. - (find_device): Construct arg to strcmp correctly. Correct - spelling of ENXIO. - -Wed Jun 19 18:46:35 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts.c (trivfs_S_fsys_set_options): Function removed. - (trivfs_runtime_argp): New variable. - -Sun Jun 16 22:45:54 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * opts.c (parse_opt): Rename ERR macro to FAIL. Use argp_failure. - -Sat Jun 15 19:47:06 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Rearrange for arg parsing some more. - (enumerate_devices): New function. - (pfinet_argp): New declaration. - (already_open): Make global. - <error.h>, <argp.h>: New includes. - -Fri Jun 14 15:41:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (find_device): New function. - (main): Rearrange to use new argument parsing. - -Thu Jun 13 16:55:42 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (MIGSRCS): Add startup_notifyServer.c. - * main.c (S_startup_dosync, arrange_shutdown_notification): New - functions. - (pfinet_demuxer): Call startup_notify_server. - (main): Call arrange_shutdown_notification). - -Tue May 14 14:12:25 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * main.c (main): Initialize fsys_identity. - * misc.c (sock_alloc): Initialize SOCK->identity. - (sock_release): Destroy SOCK->identity if it's been set. - * io-ops.c (S_io_identity): New function. - * pfinet.h (fsys_identity): New variable. - * linux/net.h (struct socket) [_HURD_]: New member `identity'. - - * ethernet.c (ethernet_open): Delete superfluous arg to - assert_perror. - -Fri May 10 16:56:52 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * misc.c (make_sock_user): Pass correct args to ports_create_port. - - * ethernet.c (ethernet_open): Pass in ERRNO to assert_perror. - -Thu May 9 20:27:28 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io-ops.c (S_io_reauthenticate): Use new auth_server_authenticate - interface. - - * io-ops.c (S_io_select): Drop ID_TAG arg. - - * ethernet.c (ethernet_thread): Return any_t. - (input_work_thread): Likewise. - - * ethernet.c (ethernet_open): Use new ports_create_port call. - * socket-ops.c (S_socket_create_address): Likewise. - * misc.c (make_sock_user): Likewise. - (make_sockaddr_port): Likewise. - -Wed Apr 24 18:35:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * main.c (main): Take third cmdline arg and add gateway route. - -Mon Apr 15 12:53:24 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (CPPFLAGS): Look for config.h in $(srcdir). - (io-MIGSFLAGS, socket-MIGSFLAGS): Look for mutations.h in - $(srcdir). - (vpath %.c): Find linux-inet dir under #(srcdir)> - (SRCS): Add time.c. - (LCLHDRS, LINUXHDRS, FROBBEDLINUXHEADERS): New variables. - (lndist, lndist-linux-inet-files, lndist-linux-files, - $(top-srcdir)/hurd-snap/$(dir)/linux-inet, - $(top-srcdir)/hurd-snap/$(dir)/linux): New targets. - -Mon Feb 26 13:36:14 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * misc.c (end_using_sockaddr_port): Only call ports_port_deref if - arg is valid. - (end_using_socket_port): Likewise. - - * linux/interrupt.h (mark_bh): Remove stubby inline, replace - with real declaration. - * pfinet.h (packet_queue_lock): New variable. - * sched.c (packet_queue_lock): Provide initialization. - * ethernet.c (ethernet_open): Put READPT in etherport_bucket - instead of pfinet_bucket. Fork ethernet_thread and - input_work_thread before returning. - (more_packets, etherport_bucket): New variables. - (input_work_thread, ethernet_thread, mark_bh): New functions. - - * main.c (pfinet_demuxer): Don't use call ethernet_demuxer. - -Thu Feb 22 17:54:25 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ethernet.c (ethernet_open): Request maximum queue limit - on our read port. - -Thu Feb 8 18:32:33 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * socket-ops.c (S_socket_connect): Don't return EINVAL for - SS_CONNECTED state. - -Mon Jan 22 13:47:47 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * timer-emul.c (init_time): There are *still* a million microseconds to - the second. - -Thu Jan 18 12:37:57 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * mapped-time.h (fetch_jiffies): Uh, duh, there are a million - microseconds in a second, not just a thousand. - -Tue Dec 26 19:29:16 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * io-ops.c (S_io_select): Add REPLY parameter, and request - notification if it dies. - * mutations.h (IO_SELECT_REPLY_PORT): New def. - -Thu Dec 14 18:50:07 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ethernet.c (ethernet_open): Don't set filter priority high. - -Mon Dec 11 13:23:49 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * socket-ops.c (S_socket_recv): Whoops, incorrectly negated this - particular return value. Rename the variable `recvd' to make - things more clear. - (S_socket_send): Ditto (`sent'), plus correctly check the return - value when deciding whether to deallocate ADDR's send right. - -Thu Dec 7 18:24:37 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * socket-ops.c (S_socket_recv, S_socket_bind, S_socket_send): - Negate error return values from linux code. - (S_socket_setopt): Implement. - -Wed Aug 23 14:20:48 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (pfinet): Put all dependencies here. - (HURDLIBS): Removed. diff --git a/pflocal/ChangeLog b/pflocal/ChangeLog deleted file mode 100644 index 696b9adb..00000000 --- a/pflocal/ChangeLog +++ /dev/null @@ -1,390 +0,0 @@ -2008-07-22 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * pf.c (S_socket_fabricate_address): Drop one reference from addr since - we only take the send right. - * socket.c (S_socket_name): Likewise. - (S_socket_send): Release a reader reference instead of a writer - reference when the destination is given. - -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * io.c (S_io_stat): Adapt to ``struct stat'' changes. - -2005-05-17 Neal H. Walfield <neal@gnu.org> - - * sock.c (sock_free): Don't destroy SOCK->CONNECT_QUEUE. - -2002-06-08 Roland McGrath <roland@frob.com> - - * io.c (S_io_identity): Use ino_t for FILENO. - -2002-05-08 Roland McGrath <roland@frob.com> - - * io.c (S_io_reauthenticate): unsigned -> size_t - (S_io_restrict_auth): Likewise. - -2002-04-24 Ognyan Kulev <ogi@fmi.uni-sofia.bg> - - * sock.c (sock_shutdown): When both SHUTDOWN_READ and - SHUTDOWN_WRITE are set in FLAGS unlock sock->lock after all - processing of `sock' is finished. - (sock_create): Replace bzero with memset. - -2001-12-22 Roland McGrath <roland@frob.com> - - * connq.c (connq_compress): #if 0 out unused function. - - * sock.h (sock_deref): Don't define this extern inline. - Instead, use static inline and __attribute__ ((unused)). - * mig-decls.h (begin_using_sock_user_port): Likewise. - (end_using_sock_user_port): Likewise. - (begin_using_addr_port): Likewise. - (end_using_addr_port): Likewise. - -2001-03-31 Roland McGrath <roland@frob.com> - - * sock.c: Include "connq.h" for connq_destroy decl. - -2001-02-20 Marcus Brinkmann <marcus@gnu.org> - - * connq.c: Include <assert.h>. Reported by Arkadi E. Shishlov - <arkadi@it.lv>. - -2001-02-11 Marcus Brinkmann <marcus@gnu.org> - - * connq.c (connq_destroy): New function. - * connq.h: Prototype connq_destroy. - * sock.c (sock_free): Call connq_destroy when listen or connect - queue exist. - -2000-08-09 Mark Kettenis <kettenis@gnu.org> - - * pf.c (S_socket_create): Only accept S_IFCHR, S_IFSOCK and - S_IFIFO as `magic' protocols. - -2000-08-02 Mark Kettenis <kettenis@gnu.org> - - Add `magic' protocols to specify the file type of a sockets. This - allows implementation of POSIX pipes by using a S_IFSOCK protocol. - * sock.h: Include <sys/types.h>. - (struct sock): Add new member `mode'. - (sock_create): Add new parameter `mode'. - * sock.c (sock_create): Initialize `mode' member of struct sock, - with new parameter. - * pf.c (S_socket_create): Pass file type/mode to sock_create based - on PROTOCOL. - * io.c (S_io_stat): Use new member of `struct sock' to set - ST->st_mode. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile (HURDLIBS): Reorder libs such that the threads lib - comes before the ports lib. This makes sure the functions in - libthreads properly override the stubs in libports with the new - dynamic linker semantics in glibc 2.2. - -1999-09-13 Roland McGrath <roland@baalperazim.frob.com> - - * io.c: Reverted changes related to io_map_segment. - -1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> - - * io.c (S_io_map_segment): New function. - -1999-07-11 Roland McGrath <roland@baalperazim.frob.com> - - * sock.h: Add #include <sys/mman.h>. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * io.c: Add #include <sys/mman.h> for munmap decl. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * pf.c (S_socket_whatis_address): Use mmap instead of vm_allocate. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * io.c (TRASH_IDS): Use munmap instead of vm_deallocate. - -1999-03-01 Mark Kettenis <kettenis@gnu.org> - - * pf.c (S_socket_whatis_address): Implement. Since we cannot tell - what our adress is, return an empty string as the file name. - -Tue Feb 16 05:52:35 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * io.c (S_io_revoke): New function. Don't attempt to implement. - (Other systems don't even permit non-file revokes.) - -1998-10-20 Roland McGrath <roland@baalperazim.frob.com> - - * io.c (S_io_select): Add braces to silence gcc warning. - -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * pflocal.c (main): Fix return type to int, and use return. - -Wed Aug 20 14:06:11 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * pflocal.c (main): New args for - ports_manage_port_operations_multithread. - * sserver.c (handle_sock_requests): Likewise. - -Mon Oct 7 12:53:24 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * connq.c (connq_listen): Unlock CQ->lock when returning EWOULDBLOCK. - -Thu Sep 12 16:43:09 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (pflocal): Omit special dependency. - -Tue Jul 23 19:44:29 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * sock.c (sock_create): Remove NEXT_SOCK_ID. - -Sat Jul 13 20:20:55 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io.c (S_io_reauthenticate): Repeat sock_create_port and - auth_server_authenticate for as long as we get EINTR. - -Sun Jul 7 21:30:33 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io.c (S_io_reauthenticate): Don't use unsafe MOVE_SEND in call - to auth_server_authenticate. - -Mon Jul 1 18:45:35 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * sock.c (sock_create): Initialize ID field to MACH_PORT_NULL. - -Thu Jun 27 17:58:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (LCLHDRS): Add sserver.h. - -Thu Jun 20 16:33:06 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (pflocal): Depend on ../libfshelp/libfshelp.a. - -Wed May 15 20:27:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * sock.c (sock_free): Destroy SOCK's id port if necessary. - -Tue May 14 14:05:33 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * io.c (S_io_identity): New function. - * sock.h (struct sock): Make the id field a receive right, not an int. - -Thu May 9 20:20:20 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * io.c (S_io_reauthenticate): Use new auth_server_authenticate - protocol. - -Thu May 9 12:14:37 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * io.c (S_io_select): Remove TAG arg. - -Mon Apr 15 12:52:32 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (MIGSFLAGS): Look for mig-mutate.h in $(srcdir). - -Fri Jan 26 16:46:37 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * socket.c (S_socket_recv): Test for MSG_OOB in IN_FLAGS, not FLAGS. - Return EINVAL if we get MSG_OOB, not EOPNOTSUPP. - -Thu Jan 25 17:34:50 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * sock.c (sock_create_port, addr_create): Use ports_create_port - instead of ports_allocate_port. - * pflocal.c (trivfs_goaway): Handle errors from - ports_inhibit_bucket_rpcs. - (thread_cancel): Function deleted. - -Tue Jan 23 21:31:40 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * socket.c (S_socket_connect): Handle connectionless protocols - correctly. - - * socket.c (S_socket_send): Allow DEST_ADDR to be null if the - socket is connected. - - * sock.c (sock_bind): Don't change SOCK's ref count if we're - returning an error. - -Thu Jan 4 15:44:13 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * io.c (S_io_select): Reworked to avoid calling - ports_interrupt_self_on_port_death() if there's data immediately - available. Also, don't block if we can return EOF/EPIPE. - -Thu Dec 28 13:46:32 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * io.c (S_io_select): Use handy macro to avoid unthinkable line break. - -Tue Dec 26 17:30:18 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * io.c (S_io_select): Add reply port parameter, and request - notification if it dies. - * mig-mutate.h (IO_SELECT_REPLY_PORT): New def. - -Mon Nov 13 14:03:03 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * socket.c (S_socket_bind, S_socket_connect): Drop ADDR's send right. - -Thu Nov 9 13:18:44 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * socket.c (S_socket_connect): Drop our reference to ADDR. - -Sun Nov 5 10:01:15 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * pf.c (S_socket_create_address): Removing BINDING argument. - - * pflocal.c (main): Add FLAGS argument to trivfs_startup call. - -Tue Sep 19 14:07:24 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * io.c (S_io_pathconf): New function. - (S_io_set_all_openmodes, S_io_set_some_openmodes, - S_io_clear_some_openmodes): The user specifies O_NONBLOCK, not - SOCK_NONBLOCK. - (S_io_get_openmodes): Always return O_APPEND. - -Wed Sep 6 11:53:48 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * sserver.c (sock_demuxer): Use ports_interrupt_server and - ports_notify_server instead of our own version. - (do_mach_notify_no_senders, do_mach_notify_port_deleted, - do_mach_notify_msg_accepted, do_mach_notify_port_destroyed, - do_mach_notify_port_deleted, do_mach_notify_send_once, - do_mach_notify_dead_name): Functions deleted. - * io.c (S_interrupt_operation): Function deleted. - * Makefile (MIGSTUBS): Remove notifyServer.o and interruptServer.o. - - * io.c (S_io_read, S_io_readable): Don't return EPIPE on EOF. - -Tue Sep 5 14:22:18 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * io.c (S_io_stat): Only attempt to use the read pipe if it exists. - -Thu Aug 31 16:31:18 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * io.c (S_io_select): Change the way selects are done, now that - writes can block. - (S_io_write): Pass in the new NOBLOCK parameter to pipe_write. - * socket.c (S_socket_send): Pass in the new NOBLOCK parameter to - pipe_send. - -Tue Aug 29 14:33:14 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * io.c (S_io_select): Use pipe_select instead of pipe_wait. - - * connq.c (struct connq): Remove interrupt_seq_num field. - (connq_listen): Use hurd_condition_wait to detect interrupts - instead of previous ad-hoc mechanism. - (connq_interrupt, connq_interrupt_sock): Functions deleted. - * connq.h (connq_interrupt, connq_interrupt_sock): Decls deleted. - * io.c (S_interrupt_operation): Use ports_interrupt_rpc to - interrupt waiting threads. - - * sock.c (sock_acquire_read_pipe, sock_acquire_write_pipe): - `aquire' -> `acquire'. - * socket.c (S_socket_send, S_socket_recv): Ditto. - * sock.h: Ditto. - -Tue Aug 29 14:30:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * io.c (S_io_select): Fix typo in masking off SELECT_URG. - Don't check open modes and return EBADF. - -Thu Aug 24 10:35:58 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (pflocal): Put all dependencies here. - (OBJS): Remove error.o. - (HURDLIBS): Removed. - Removed all rules dealing with error.o. - -Mon Aug 21 16:37:32 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * pflocal.c (trivfs_goaway, trivfs_modify_stat): Update arguments. - -Fri Aug 11 15:33:28 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * sock.h (struct sock): Store the pipe class in a separate field, - as READ_PIPE is no longer always defined. - * sock.c (sock_create, sock_connect): Set/use the PIPE_CLASS field. - (sock_connect, sock_aquire_write_pipe): Use pipe_aquire_writer - instead of pipe_aquire. - (sock_aquire_read_pipe): Use pipe_aquire_reader instead of - pipe_aquire. Handle the case where there is no read pipe (in - which case return EPIPE). - (sock_shutdown): Make shutting down the read half just like the - write half -- the pipe goes away... - (sock_create): Don't bump the read pipe ref count ourself. - (sock_free): Use sock_shutdown to trash the read pipe too. - - * socket.c - (S_socket_recv): Use pipe_release_reader instead of pipe_release. - (S_socket_send): Use pipe_release_writer instead of pipe_release. - (S_socket_recv): Reflect EPIPE as EOF. - - * io.c (S_io_read, S_interrupt_operation, S_io_readable, S_io_select): - Use pipe_release_reader instead of pipe_release. - (S_io_write): Use pipe_release_writer instead of pipe_release. - (S_io_readable, S_io_read): Reflect EPIPE as EOF. - -Mon Jul 31 13:59:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * connq.c (connq_compress): New function. - (connq_interrupt_sock): Use connq_compress to compress the queue. - -Sun Jul 30 10:30:24 1995 Miles Bader <miles@duality.gnu.ai.mit.edu> - - * connq.c (connq_interrupt_sock): Reset CQ's tail to the end of - the compressed queue. - -Sat Jul 29 00:00:57 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * socket.c (S_socket_send): Only free SOURCE_ADDR if the send - fails, as otherwise it's consumed; also free all the ports in - PORTS if the send fails. - - * io.c (S_interrupt_operation): Allow socket trying to connect to - be interrupted. - * connq.c (connq_interrupt_sock): New function. - * socket.c (S_socket_connect): Use the CONNECT_QUEUE field to - allow only a single connection attempt at once. - Check for already-connected sockets here instead of waiting for - the final rendezvous. - * connq.h (connq_interrupt_sock): New declaration. - - * connq.c (connq_listen, connq_connect, connq_interrupt, - connq_set_length): Reverse the roles of the HEAD and TAIL fields, - and make sure they're used correctly. - (qprev): Deleted function. - - * sock.h (struct sock, all uses changed): Add the CONNECT_QUEUE - field, and rename the CONNQ field to LISTEN_QUEUE. - * sock.c (sock_create): Initialize the CONNECT_QUEUE field and - rename CONNQ to LISTEN_QUEUE. - - * connq.c (connq_set_length): When shrinking the queue, actually - do so, and don't leak memory. - - * socket.c (S_socket_connect): Return ECONNREFUSED when trying to - connect to a non-existant address, instead of EADDRNOTAVAIL. - - * connq.c (struct connq): Add the INTERRUPT_SEQ_NUM field, used to - detect interupts. - (connq_listen): Detect when we get interrupted, and return EINTR. - (connq_interrupt): New function. - * connq.h (connq_interrupt): New declaration. - * io.c (S_interrupt_operation): Call connq_interrupt when appropiate. - - * connq.c (connq_connect): Initialize REQ before using it. - (connq_request_init): Swap the arguments. - (connq_listen): Don't lock the accepted request just to get its sock. - - * socket.c (S_socket_connect): Actually use the connq operations - to connect, like the listening socket is expecting, instead of - connecting directly to it. diff --git a/proc/ChangeLog b/proc/ChangeLog deleted file mode 100644 index 1a01550c..00000000 --- a/proc/ChangeLog +++ /dev/null @@ -1,1314 +0,0 @@ -2003-08-17 Marcus Brinkmann <marcus@gnu.org> - - * proc.h: Include <hurd/ihash.h>. - (struct proc): Change type of members p_pidhashloc and - p_taskhashloc to hurd_ihash_locp_t. - (struct pgrp): Likewise for pg_hashloc. - (struct session): Likewise for s_hashloc. - * hash.c: Change type of pghash, pidhash, taskhash and sidhash to - struct hurd_ihash and initialize them with HURD_IHASH_INITIALIZER. - Include stddef.h. - (pid_find): Call hurd_ihash_find instead ihash_find. - (pid_find_allow_zombie): Likewise. - (task_find): Likewise. - (task_find_nocreate): Likewise. - (pgrp_find): Likewise. - (session_find): Likewise. - (add_proc_to_hash): Call hurd_ihash_add instead ihash_add. - (add_pgrp_to_hash): Likewise. - (add_session_to_hash): Likewise. - (remove_pgrp_from_hash): Call hurd_ihash_locp_remove instead - ihash_locp_remove, and provide hash table pointer. - (remove_proc_from_hash): Likewise. - (remove_session_from_hash): Likewise. - (prociterate): Use HURD_IHASH_ITERATE instead ihash_iterate. - -2003-08-17 Marcus Brinkmann <marcus@gnu.org> - - * mgt.c (S_proc_dostop): Revert last change. - -2003-06-16 Ognyan Kulev <ogi@fmi.uni-sofia.bg> - - * mgt.c (S_proc_dostop): Instead of suspending all threads except - CONTTHREAD, first suspend all threads, and then resume CONTTHREAD. - -2002-06-05 Roland McGrath <roland@frob.com> - - * info.c (S_proc_getprocinfo): If PI_FETCH_TASKEVENTS is set in *FLAGS, - fill in PI->taskevents using task_info with TASK_EVENTS_INFO. - -2002-05-07 Roland McGrath <roland@frob.com> - - * host.c (S_proc_setexecdata, S_proc_getexecdata): u_int -> size_t - (initialize_version_info): Likewise. Fix cast in host_info arg. - (get_string_array): Likewise. - * info.c (get_string, S_proc_getprocargs, S_proc_getprocenv): Likewise. - (S_proc_getprocinfo, S_proc_getloginpids): Likewise. - (S_proc_getprocinfo): int -> size_t; fix casts in *_info argument. - - * mgt.c (S_proc_reauthenticate, S_proc_getallpids): Likewise. - (add_tasks, S_proc_dostop): Likewise. - (S_proc_exception_raise): int -> integer_t - * pgrp.c (S_proc_getsessionpids, S_proc_getsessionpgids): Likewise. - (S_proc_getpgrppids): Likewise. - -2002-02-17 Roland McGrath <roland@frob.com> - - * info.c (S_proc_getprocinfo) [TASK_SCHED_TIMESHARE_INFO]: Do a second - task_info call to fill in PI->timeshare_base_info. - -2001-12-22 Roland McGrath <roland@frob.com> - - * proc.h (check_owner): Move this extern inline function ... - * info.c (check_owner): ... to here, made static inline. - -2001-08-14 Marcus Brinkmann <marcus@gnu.org> - - * mgt.c (S_proc_dostop): If task_threads fails, resume the - suspended task. - -2001-08-06 Roland McGrath <roland@frob.com> - - * wait.c (S_proc_wait: reap): Set *PID_STATUS to CHILD->p_pid. - Reported by Neal H Walfield <neal@cs.uml.edu>. - - * mgt.c (allocate_proc): Don't zero P->p_pi. - Reported by Neal H Walfield <neal@cs.uml.edu>. - -2001-08-05 Roland McGrath <roland@frob.com> - - * wait.c (sample_rusage): New function. - (S_proc_mark_exit): Call it. - -2001-08-04 Roland McGrath <roland@frob.com> - - * proc.h (struct proc): New members p_rusage, p_child_rusage. - * wait.c (rusage_add): New static function. - (alert_parent): Use it to add dead child's p_rusage into parent's - p_child_rusage. - (S_proc_wait): Fill *RU out param with CHILD->p_rusage, not just zeros. - Rewrote subfunction child_ready and its two callers into new - subfunction reap to reduce duplicated code. - - * mgt.c (process_has_exited): Call ports_interrupt_rpcs last thing. - - * mgt.c (S_proc_reauthenticate): Release global_lock while making RPC. - Don't mach_port_deallocate an argument port when returning an error, - because mig does it for us. - -2001-08-03 Roland McGrath <roland@frob.com> - - * mgt.c (allocate_proc): Use memset instead of lots of 0 initializers. - -2001-08-01 Roland McGrath <roland@frob.com> - - * mgt.c (genpid): Rewritten. - -2001-08-02 Marcus Brinkmann <marcus@gnu.org> - - * mgt.c (genpid): Before checking if NEXTPID is free, check if it - is greater than WRAP, and if yes, start over. - -2001-07-13 Marcus Brinkmann <marcus@gnu.org> - - * host.c (S_proc_getexecdata): New variable PORTS_ALLOCATED. - Set it if we allocated a new buffer for PORTS. If it is set, - and allocation of a new buffer for INTS fails, unmap the buffer - for PORTS. - - * host.c (S_proc_getexecdata): New variable I. Go over all - standard ports and increase the send right user reference by one. - Set *PORTSPOLY to MACH_MSG_TYPE_MOVE_SEND. - -2001-06-27 Marcus Brinkmann <marcus@gnu.org> - - * info.c (S_proc_getprocinfo): If we return because mmap failed - for *PIARRAY, be sure to munmap THDS if necessary. - -2001-05-12 Marcus Brinkmann <marcus@gnu.org> - - * host.c (initialize_version_info): Clear last byte of KV to make - sure that the string is null-terminated. - -2000-04-03 Neal H Walfield <neal@cs.uml.edu> - - * proc.h (struct ids): Drop gids and ngids, we never use - them. Turn uids into a zero length array. - * mgt.c (make_ids): Conform to new semantics. - (ids_free): Removed. Rendered obsolete by ids_rele. - (ids_rele): New function. Drop a reference to the given - ids. - (ids_ref): Add a reference to the given ids. - (S_proc_reauthenticate): Use ids_rele and new make_ids - semantics. - (S_proc_child): Use ids_rele and ids_ref. - (create_startup_proc): Conform to new make_ids semantics. - (complete_proc): Use ids_ref. - (process_has_exited): Use ids_rele. - - * host.c: Doc fix: ``Implement foo as described in <hurd/proc.defs>'' - => ``Implement foo as described in <hurd/process.defs>'' - * info.c: Likewise. - * mgt.c: Likewise. - * pgrp.c: Likewise. - * wait.c: Likewise. - - * mgt.c (S_proc_reauthenticate): Calculate the value of - NGEN_UIDS, NAUX_UIDS, NGEN_GIDS AND NAUX_GIDS; do not use - a constant. - (create_startup_proc): Add asserts. - - * host.c (S_proc_setexecdata): Check for memory allocation errors. - Use memcpy, not bcopy. - (S_proc_getexecdata): Likewise. - (S_proc_execdata_notify): Check return of malloc. - (S_proc_register_version): Likewise. - (initialize_version_info): Add asserts. - * info.c (S_proc_pid2task): Do not bother searching for the pid - if we do not have a valid caller. - (S_proc_pid2proc): Likewise. - Use memcpy, not bcopy. - (S_proc_getprocinfo): Doc fixes. Use MAP_FAILED not -1. Use - memcpy, not bcopy. - (S_proc_getloginpids): Check return value of malloc. Use realloc - correctly. - (S_proc_setlogin): Check return value of malloc. - * main.c (main): Assert allocate_proc. - * mgt.c (make_ids): Check return value of malloc and fail - accordingly. - (S_proc_reauthenticate): Check return value of make_ids and fail - accordingly. - (S_proc_child): Call task_find after we know that we were passed - a valid child. - (S_proc_reassign): Likewise. - (S_proc_handle_exceptions): Use memcpy, not bcopy. - (allocate_proc): Check return value of ports_create_port and fail - accordingly. - (create_startup_proc): Add asserts. - (complete_proc): Do not assume the length of "<none>". - * msg.c (S_proc_getmsgport): Call pid_find_allow_zombie after - we know we were passed a valid caller. - * pgrp.c: Include assert.h. - (new_pgrp): Check return value of malloc and fail accordingly. - (new_session): Likewise. - (boot_setsid): Assert sess. - (S_proc_getsessionpids): Use MAP_FAILED not -1. - (S_proc_getsessionppids): Likewise. - (S_proc_getpgrppids): Likewise. - * wait.c (S_proc_wait): Use memset, not bzero. - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (main): Use ports_get_send_right. - -2000-03-13 Roland McGrath <roland@baalperazim.frob.com> - - * mgt.c (S_proc_exception_raise): Check for - MACH_SEND_NOTIFY_IN_PROGRESS rather than MACH_SEND_INVALID_NOTIFY. - Don't deallocate THREAD and TASK ports before the switch, since the - successful case uses THREAD again and the failure case uses TASK - again. Instead, deallocate them at the end of the successful case. - At the end of the error case, use mach_port_destroy on THREAD only. - - * stubs.c (struct msg_sig_post_request): New type, broken out of - send_signal, where it was anonymous. - (struct msg_spec): Type removed. - (blocking_message_send): Change type to any_t -> any_t. - Don't call cthread_wire; it's a no-op in GNU anyway. - Just return instead of calling cthread_exit. - Argument is now a pointer to struct msg_sig_post_request. - Check mach_msg return value for sanity assert. - (send_signal): Make MESSAGE auto instead of static, use new type name. - This problem tracked down by Mark Kettenis <kettenis@gnu.org>. - -2000-03-12 Roland McGrath <roland@baalperazim.frob.com> - - * mgt.c (allocate_proc): Don't do mach_port_request_notification here. - (proc_death_notify): New function, do it here instead. - (complete_proc): Call proc_death_notify. - * main.c (main): Call proc_death_notify on STARTUP_PROC after - we have set its task port. - * proc.h: Declare proc_death_notify. - -2000-01-23 Roland McGrath <roland@baalperazim.frob.com> - - * info.c (get_string): New arg, pass back length of string. - (get_string_array): Use it, rather than repeating strlen. - When increasing NEWSIZE to fit, round it to page size. - Diddle a few casts to be prettier. - -2000-01-06 Roland McGrath <roland@baalperazim.frob.com> - - * primes.c: File removed (long obsolete). - * proc.h: Don't declare nextprime. - -1999-07-11 Roland McGrath <roland@baalperazim.frob.com> - - * proc.h: Add #include <sys/mman.h>. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * info.c: Add #include <sys/mman.h> for munmap decl. - * mgt.c: Likewise. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * info.c (get_string_array): Use mmap instead of vm_allocate. - (S_proc_getprocinfo): Likewise. - (S_proc_getloginpids): Likewise. - * mgt.c (S_proc_getallpids): Likewise. - * pgrp.c (S_proc_getsessionpids): Likewise. - (S_proc_getsessionpgids): Likewise. - (S_proc_getpgrppids): Likewise. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * info.c (get_string): Use munmap instead of vm_deallocate. - (get_vector): Likewise. - (get_string_array): Likewise. - (S_proc_getprocinfo): Likewise. - * mgt.c (S_proc_reauthenticate): Likewise. - (S_proc_dostop): Likewise. - (add_tasks): Likewise. - -1999-06-19 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (main): Remove commented-out wire_task_self call, #include. - -1999-06-05 Roland McGrath <roland@baalperazim.frob.com> - - * mgt.c (create_startup_proc): Don't call add_proc_to_hash here. - * main.c (main): Do it here instead, after we have the task port. - -1999-06-04 Roland McGrath <roland@baalperazim.frob.com> - - * proc.h (struct proc): Use unsigned int for flag bitfields. - - * mgt.c (allocate_proc, complete_proc): New functions, broken - out of new_proc. Remove magic handling of PIDs 0 and 1. - (new_proc): Now just call those two. Made static. - (create_startup_proc): New function, also broken out of old new_proc. - Do special setup for PID 1 (init) proc structure here. - * proc.h: Update decls. - * main.c (main): Use create_startup_proc for startup_proc, and - allocate_proc + complete_proc (with PID 0) for self_proc. - - * mgt.c (make_ids): Add const to arguments. - -1999-05-29 Roland McGrath <roland@baalperazim.frob.com> - - * mgt.c (add_tasks): Skip invalid (null) rights in tasks array. - * info.c (S_proc_pid2task): Add assert for p_task right validity. - - * main.c: Include <device/device.h>. - -1999-05-23 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (main): Set up console on stderr. - -1999-05-01 Mark Kettenis <kettenis@gnu.org> - - * msg.c (check_msgport_death): New function. - (S_proc_getmsgport): Use it. - * proc.h (check_msgport_death): Provide prototype. - * info.c (S_proc_getprocinfo): Call check_msgport_death to make - sure that our knowledge about P's message port is up to date. - -1999-05-02 Roland McGrath <roland@baalperazim.frob.com> - - * main.c: Include <error.h>. - -1999-05-01 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (main): Use assert_perror. Give diagnostic for lack of - bootstrap port. - -1999-03-14 Roland McGrath <roland@baalperazim.frob.com> - - * mgt.c (S_proc_reassign): Remove unused variable FOO. - -1999-03-11 Mark Kettenis <kettenis@gnu.org> - - * notify.c (do_mach_notify_dead_name): Remove unnecessary braces. - - * msg.c (S_proc_setmsgport): Remove unused variable FOO. - (S_proc_getmsgport): Only check if the message port is still alive - if it is not MACH_PORT_NULL. Use mach_port_type instead of - mach_port_get_refs to check if the port is dead. - - * mgt.c (S_proc_reassign): Use mach_port_destroy to release the - old task port. - -Tue Mar 9 13:11:43 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * notify.c (do_mach_notify_dead_name): Don't check against - P->p_msgport anymore. - * msg.c (message_port_dead): Delete function. - (S_proc_setmsgport): Don't request a dead-name notification - anymore. - (S_proc_getmsgport): Check to see if P->p_msgport is dead before - returning it. - * mgt.c (S_proc_reassign): Only use mach_port_deallocate to - release P->msgport. - (process_has_exited): Likewise. - * proc.h (message_port_dead): Delete prototype. - - * mgt.c (S_proc_reassign): It's not necessary to re-request the - task-death notification; we've moved both the task right and the - proc port that gets the notification, so delete that. - - * mgt.c (S_proc_reassign): Use mach_port_destroy instead of - mach_port_deallocate to release P->p_msgport, for the same reasons - as the changes below. - -Sun Mar 7 18:19:07 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * mgt.c (process_has_exited): Use mach_port_destroy instead of - mach_port_deallocate to release P->p_msgport. - (complete_exit): Likewise for P->p_task. - These changes eliminate a race; we are destroying the receiver of - the dead-name notifications on these ports, but if that means we - lose a notification, then the ref-count on the name will get - incremented and we can't re-decrement it since we never hear the - notification. - -1999-03-06 Mark Kettenis <kettenis@gnu.org> - - * notify.c (do_mach_notify_dead_name): Deallocate reference to - DEADPORT. - -Sat Feb 20 06:26:17 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * stubs.c (send_signal): Typo in comment. - -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * cpu-types.c: Test with #ifdef for CPU_TYPE_I486, CPU_TYPE_PENTIUM, - CPU_TYPE_PENTIUMPRO, CPU_TYPE_POWERPC, since not all <mach/machine.h> - versions have them. - -Tue Sep 16 15:26:04 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * host.c (hostid, hostname, hostnamelen): Delete variables. - (S_proc_sethostid, S_proc_gethostid, S_proc_sethostname, - S_proc_gethostname): Delete functions. - -Wed Aug 20 14:06:46 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * main.c (main): New args for - ports_manage_port_operations_multithread. - -1997-06-30 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Arg parsing added. HOLD variable removed. - (argp_program_version): New variable. - Include <argp.h> and <version.h>. - -Thu Jun 26 14:03:16 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * cpu-types.c (mach_cpu_types): Add entries for 486, 586, 686, - and powerpc. - (mach_cpu_subtypes): Add subtypes for new x86 subtypes. (None - added for powerpc yet.) - -Mon Feb 3 16:52:14 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * hash.c (pid_find, task_find, task_find_nocreate, reqport_find): - Don't dereference P if it's 0. - -Fri Oct 25 20:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * host.c: Include <version.h>. - -Thu Oct 24 16:13:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * host.c (initialize_version_info): Construct UNAME_INFO.machine - with a dash instead of a slash so that it can be used as a file - name component. - - * host.c (initialize_version_info): Copy our version into element - 0 of server_versions, not element 1. Use HURD_VERSION instead of - OUR_VERSION. Use literal "proc" instead of OUR_SERVER_NAME. - * proc.h (OUR_SERVER_NAME, OUR_VERSION): Delete macro. - -Thu Sep 12 16:33:49 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (proc): Delete special dependency. - -Thu Sep 5 10:43:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * host.c (struct server_version): Delete member `release'. - (kernel_name, kernel_version): New variables. - (rebuild_uname): Do the voting on versions, not releases. - (initialize_version_info): Store kernel information in kernel_name - and kernel_version, not as an entry in the server_versions array. - Don't fill in a release for ourselves. - (S_proc_register_version): Ignore RELEASE arg. - -Sun Jul 28 22:57:03 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * info.c (get_string_array): Correctly adjust NEWSIZE when - reallocating to add very long strings. - -Sat Jul 20 10:08:05 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * msg.c (S_proc_getmsgport): Deal with PID dying while we're waiting. - -Fri Jul 19 18:22:46 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * msg.c (S_proc_setmsgport): Bother to request DEAD_NAME - notification on new message port being installed. - -Thu Jul 18 13:23:51 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * msg.c (S_proc_setmsgport): Use MOVE_SEND, not COPY_SEND, to - return the old message port to the caller. - - * mgt.c (S_proc_handle_exceptions): Release newly created reference - on E when we are done with it. - (S_proc_child): Deallocate our ref on childt once we know we will - return success. - (S_proc_reassign): Likewise for NEWT. - - * main.c (main): Don't wire proc anymore. It's not necessary or - useful. - -Thu Jul 18 04:15:49 1996 Roland McGrath <roland@baalperazim.frob.com> - - * mgt.c (add_tasks): Fix vm_deallocate call to use mach_task_self () - instead of mach_host_self (). - -Tue Jul 16 11:34:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * wait.c (EWOULDBLOCK): Define to work around new libc bug. - -Sun Jul 7 21:04:03 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * mgt.c (S_proc_reauthenticate): Don't use unsafe MOVE_SEND in - user-side interruptible RPC. - -Wed Jul 3 14:44:00 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * mgt.c (process_has_exited): When reparenting children to init, - if one of them is dead, alert init. - -Fri Jun 28 11:54:21 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * proc.h (check_owner): Return true any time PROC1 has root. - -Thu May 30 19:11:31 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pgrp.c (S_proc_getsidport): MAKE_SEND_ONCE -> MAKE_SEND. - -Wed May 29 11:35:37 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * info.c (S_proc_getprocinfo): Get rid of temp hack for strnlen. - -Fri May 24 15:50:14 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * info.c (S_proc_getprocinfo): Set PI->exitstatus and PI->sigcode. - - * mgt.c (process_has_exited): Don't call alert_parent if P->p_task - is null (which happens only if this is the stub process in - proc_reassign). This because the parent is uninvolved in the - death of stubp. - -Wed May 22 17:47:15 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * stubs.c (send_signal): Send sigcode in message. - - * msg.c (S_proc_setmsgport): Add OLDMSGPORT_TYPE param. - -Tue May 14 22:50:49 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * proc.h (check_owner): New inline function. - * info.c (S_proc_pid2task, S_proc_pid2proc): Use check_owner. - -Sun May 12 13:22:04 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * info.c (PI_FETCH_THREAD_DETAILS): New macro. - (S_proc_getprocinfo): Only allocate thread detail storage if we're - actually returning thread details (a lone PI_FETCH_THREADS simply - means "number of threads"). React to errors somewhat more gracefully. - - * info.c (S_proc_getprocinfo): Add comment. - -Fri May 10 16:32:17 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * info.c (S_proc_get_tty): New function. - -Fri May 10 09:26:53 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * mgt.c (S_proc_exception_raise): Fetch sigcode from correctly - named member of HSD. - -Thu May 9 19:13:14 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * mgt.c (S_proc_reauthenticate): Use new authentication - interface. - - * mgt.c (S_proc_setowner): Expect and interpret new CLEAR parm. - - * info.c (S_proc_getprocinfo): FLAGS is now an in-out parameter. - - * proc.h (struct proc): Add p_sigcode. - * wait.c (S_proc_wait): New parm SIGCODE; return p_sigcode in it. - (S_proc_mark_stop): New parm SIGCODE; record it. - (S_proc_mark_exit): Likewise. - (alert_parent): Set P->p_sigcode if process is dying irregularly. - * mgt.c (S_proc_exception_raise): Set P->p_sigcode; use new - _hurd_exception2signal args. - -Mon May 6 14:23:11 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * proc.h (OUR_VERSION): Upgrade to 0.0. - -Tue Apr 30 16:48:49 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * info.c (S_proc_getprocinfo): Release GLOBAL_LOCK around time - consuming bits, and more importantly, potential calls to P's - msgport, which can block. - Fix test when appending to WAITS. - -Mon Apr 29 16:58:24 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * info.c (S_proc_getprocinfo): Install temporary hack so things at - least compile. Turned on thread_waits code. - -Mon Apr 15 13:51:41 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * mgt.c (process_has_exited): Clear p->p_waited. - -Fri Mar 29 09:38:28 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * wait.c (S_proc_wait): When looking for a specific pid, use - pid_find_allow_zombie, not ordinary pid_find. - - * mgt.c (S_proc_reassign): Use new ports_transfer_right call - instead of claim/install sequence; the latter has leaves the port - out of any hash table for a time, which produces a race with - incoming messages. - -Thu Mar 28 09:21:16 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * mgt.c (S_proc_reassign): Make send once right directly from - value in P->p_pi, don't use ports_get_right. - - * mgt.c (process_has_exited): Inhibit this call from happening - twice. - - * info.c (S_proc_pid2task): Return MACH_PORT_NULL for a zombie. - (S_proc_pid2proc): Likewise. - - * Makefile (mutated_ourmsg_U.h): New target. - * mgt.c: Include mutated_ourmsg_U.h instead of ourmsg_U.h. - * pgrp.c: Likewise. - - * wait.c: Don't include ourmsg_U.h or process_reply_U.h. - * msg.c: Don't include process_reply_U.h. - - * msg.c (S_proc_getmsgport): Allow call to be made for dead - processes; they'll return null. Thank you, Mr. Posix. - * mgt.c (process_has_exited): Null out P->p_msgport and drop - reference. - - * wait.c (S_proc_wait): Return EOPNOTSUPP if RPC destination is - not a valid process. - (S_proc_mark_stop): Likewise. - (S_proc_mark_exit): Likewise. - (S_proc_mark_cont): Likewise. - (S_proc_mark_traced): Likewise. - (S_proc_mod_stopchild): Likewise. - * msg.c (S_proc_setmsgport): Likewise. - (S_proc_getmsgport): Likewise. - * pgrp.c (S_proc_setsid): Likewise. - (S_proc_getsidport): Likewise. - (S_proc_setpgrp): Likewise. - (S_proc_mark_exec): Likewise. - * mgt.c (S_proc_reauthenticate): Likewise. - (S_proc_child): Likewise. - (S_proc_reassign): Likewise. - (S_proc_setowner): Likewise. - (S_proc_getpids): Likewise. - (S_proc_set_arg_locations): Likewise. - (S_proc_dostop): Likewise. - * info.c (S_proc_pid2task): Likewise. - (S_proc_proc2task): Likewise. - (S_proc_pid2proc): Likewise. - (S_proc_make_login_coll): Likewise. - (S_proc_setlogin): Likewise. - (S_proc_getlogin): Likewise. - * host.c (S_proc_sethostid): Likewise. - (S_proc_sethostname): Likewise. - (S_proc_getprivports): Likewise. - (S_proc_setexecdata): Likewise. - - * proc.h (process_drop): New (inline) function. - * hash.c (reqport_find): Only deallocate newly found reference - if process is dead. - * Makefile (MIGSTUBS): Delete process_replyUser.c. - (MIGSFLAGS): Provide new definition. - * msg.c (S_proc_setmsgport): Spawn thread to tickle init instead - of sending reply here. - (tickle_init): New function. - -Mon Mar 25 17:02:04 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (proc): Add libshouldbeinlibc.a. - * main.c: Include <wire.h>. - (main): Use wire_task_self instead of doing it ourselves. - -Thu Mar 21 11:59:29 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * wait.c (S_proc_wait) [child_ready]: Flip test of waited flag. - * mgt.c (new_proc): Oops, reinstall code to request dead name - notification on the task port. - -Wed Mar 20 10:41:01 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pgrp.c (S_proc_setpgrp): Delete bletcherous hack from July 22, - 1995. - - -- All these changes get rid of zombies and integrate them - into the regular process tables. -- - * proc.h (struct zombie): Delete type. - (zombie_list): Delete variable. - * hash.c (pid_find): Return 0 if process is dead. - (task_find): Likewise. - (task_find_nocreate): Likewise. - (pidfree): Don't call zombie_check_pid. Call - pid_find_allow_zombie instead of pid_find. - (pid_find_allow_zombie): New function. - (prociterate): Don't call FUN for dead processes. - * mgt.c (new_proc): Initialize P->p_dead. - (process_has_exited): Don't call reparent_zombies. Set P->p_dead. - Don't remove from hash tables here, delete ref to task port or - remove from parent's list of children (now in - complete_exit). Don't remove from pgrp here. - (complete_exit): New function. - * wait.c (alert_parent): Don't create zombie. - (reparent_zombies): Delete function. - (S_proc_wait): Don't scan zombie list; check dead children at the - same time as stopped children. When completing wait on a dead - child, call complete_exit after we've finished work. - (zombie_check_pid): Delete function. - * proc.h (complete_exit): Provide prototype. - - -- All these changes make proc multithreaded - and use the ports library in the usual fashion - (well, almost the usual fashion) -- - * Makefile (proc): Mention ../libports/libports.a. - * hash.c (porthash, exchash): Delete variables. - (reqport_find): Use ports library instead of porthash. - (add_proc_to_hash): Don't add to porthash. - (remove_proc_from_hash): Don't remove from porthash. - (exc_find, remove_exc_from_hash): Delete functions. - * mgt.c (new_proc): Allocate new proc structure with - ports_create_port. Don't frob P->p_reqport. - (process_has_exited): Don't frob P->p_reqport, cal - ports_destry_right instead. - * proc.h (proc_bucket, proc_class): New variables. - (request_portset): Delete variable. - * proc.h (struct proc): Delete members `p_reqport' and - p_porthashloc. Add member `p_pi'. - * Makefile (MIGSFLAGS): Delete variable. - * proc.h (global_lock): New variable. - * main.c (global_lock): Provide definition. - (message_demuxer): Lock global_lock around work. - (main): Initialize proc_bucket and proc_class instead of - request_portset. Initialize generic_port through ports - library calls. Fetch startup procserver port through ports - library instead of reading p_reqport. Initialize exc_class. - * mgt.c (S_proc_reauthenticate) Likewise. - - * proc.h: Include <hurd/ports.h> and <cthreads.h>. - * info.c (S_proc_task2proc): Use ports_get_right instead - of p_reqport. - (S_proc_pid2proc): Likewise. - * proc.h (exc_port_class): New variable. - (struct exc): Add member `pi'. Remove member `excport'. - * mgt.c (S_proc_handle_exceptions): Allocate using - ports library. - (S_proc_exception_raise): Use ports library to manage - structure. - (exc_clean): New function. - - -*** - - -- All these changes switch to using condition variables - for wakeup instead of explicit block code -- - * mgt.c (new_proc): Initialize P->p_wakeup. - * wait.c (waiting_parent_cares): Delete function. - * Makefile (MIGSTUBS): Delete interruptServer.o. - * main.c (message_demuxer): Remove call to interrupt_server. - Add call to ports_interrupt_server. - * wait.c: Don't include "interrupt_S.h". - (alent_parent): Unconditionally enqueue zombie. - (S_interrupt_operation): Delete function. - (abort_wait): Delete function. - * msg.c (abort_getmsgport): Delete function. - * wait.c (alert_parent): Use condition_broadcast instead of - continuation stuff. - (reparent_zombies): Likewise. - (S_proc_mark_stop): Likewise. - * msg.c (check_message_return): Likewise. - (check_message_dying): Likewise. - * wait.c (S_proc_wait): Use condition_wait instead of continuation - stuff; never return EBUSY. - * msg.c (S_proc_getmsgport): Likewise. - * proc.h (struct proc): New member `p_wakeup'. Delete member - `p_continuation'. - - - -Mon Feb 12 14:13:55 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * info.c (S_proc_getprocinfo): Fail reasonably for #ifdef'd-out - thread waits code. - -Fri Feb 9 15:45:07 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * info.c (S_proc_getprocinfo): Support returning wait strings. - -Fri Feb 9 15:19:14 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * mgt.c (S_proc_exception_raise): Rewritten. - (S_proc_handle_exceptions): Don't set E->replyport. - (S_proc_exception_raise_reply): Function removed. - * main.c (message_demuxer): Don't call proc_excrepl_server. - * proc_excrepl.defs: File removed. - * Makefile (DIST_FILES): Remove proc_excrepl.defs. - (MIGSTUBS): Remove its objects. - * proc_exc.defs: Add msgoption arg. - Use integer_t where appropriate. - * notify.c (do_mach_notify_no_senders): Don't use E->replyport. - * proc.h (struct exc): Removed useless members `replyport', - `replyporttype'. - -Wed Dec 20 17:29:13 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * mgt.c (S_proc_reassign): Have notifications sent to the correct - request port. - Once we've given STUBP's request port to P, don't leave it in - STUBP, so process_has_exited() doesn't dealloc it. - - * pgrp.c (S_proc_getsidport): Add and use new arg sessport_type. - -Wed Dec 20 13:31:01 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * mgt.c (new_proc): Don't set P->p_noowner for processes 0 and 1. - -Wed Dec 20 13:09:04 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * info.c (get_vector): Rewritten without arbitrary limits. - -Tue Dec 19 18:14:30 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * pgrp.c (free_session): Correctly get rid of the receive right - we're holding. - (S_proc_getsidport): Return errors. - -Tue Dec 19 13:58:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * info.c (get_string_array): Fix stupid bug in copying to newly - allocated space. - -Tue Dec 19 13:17:46 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * mgt.c (S_proc_reauthenticate): Reverse miles' last change. - -Mon Dec 18 19:56:03 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * mgt.c (S_proc_reauthenticate): Don't return 0 for the new port. - -Tue Nov 21 13:50:30 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * wait.c (S_interrupt_operation): Include new seqno parameter. - -Tue Nov 14 13:15:55 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * wait.c (S_proc_wait): `p->msgportwait' ==> `p->p_msgportwait' - typo fix. - -Thu Nov 9 13:01:28 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * msg.c (S_proc_setmsgport): Only do the RPC reply by hand for - init. Also, return the correct port in that by-hand reply. - - * msg.c (S_proc_getmsgport): Also return EBUSY if P->waiting, - because both share the same memory in the proc structure. - * wait.c (S_proc_wait): Likewise, mutatis mutandis. - -Wed Nov 8 13:10:27 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * info.c (S_proc_getprocinfo): Don't attempt msg_report_wait if - P->p_msgport is not valid. - - * info.c (S_proc_getprocinfo): Inhibit PI_FETCH_THREAD_WAITS for - now. - -Tue Nov 7 19:49:32 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * info.c (S_proc_getprocinfo): Calculate the size of the returned - structure correctly. - -Sun Nov 5 02:05:10 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * proc.h: Include <sys/resource.h>. - - * info.c (S_proc_getprocinfo): Add NOISE and NOISE_LEN args. - Fix various typos. Initialize ERR. - -Tue Oct 31 14:19:04 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * wait.c (struct zombie): Deleted; now in proc.h. - (zombie_list): Likewise. - * proc.h (struct zombie): New type. - (zombie_list): New variable. - - * info.c (S_proc_getprocinfo): Implement all the rest of the PI - flags except PI_ZOMBIE. - -Mon Oct 30 16:22:49 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * info.c (S_proc_getprocinfo): Support new FETCH flags; support - new msg_report_wait call; improve organization. - - * info.c (S_proc_getprocenv): Removed #ifdef notyet; fixed args to - get_string_array. - -Sat Sep 16 12:57:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * ourmsg.defs: New file. - * Makefile (DIST_FILES): Added ourmsg.defs. - (ourmsg_U.h ourmsgUser.c, ourmsg.defs): Targets removed. - -Thu Aug 24 10:38:58 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (MIGSTUBS): New variable. - (OBJS): Get the mig stubs from $(MIGSTUBS). - -Wed Aug 23 14:25:30 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (proc): Put all dependencies here. - (HURDLIBS, REMHDRS): Removed. - (OBJS): Calculate the appropiate bits from $(SRCS). - -Sat Jul 22 15:04:52 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * wait.c (zombie_check_pid): Examine Z->pgrp too. - - * pgrp.c (S_proc_setpgrp): Install bletcherous hack. - -Thu Jul 6 15:41:22 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * hash.c: "ihash.h" -> <hurd/ihash.h>. - - * Makefile (ourmsg_U.h ourmsgUser.c): Use local ourmsg.defs - instead of include file directly. - (ourmsg.defs): New target. - - * Makefile: Removed dependencies that are now automatically - generated. - -Tue Jun 27 12:02:47 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * mgt.c (S_proc_dostop): Remove assigments from inside if tests. - -Tue Jun 6 13:24:51 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (OBJS): Removed ihash.o and primes.o. - (CPPFLAGS): Deleted addition of -I../lib. - (vpath): Deleted spec. - (REMHDRS): Added ../libihash/ihash.h. - (HURDLIBS): Added libihash. - -Wed Apr 26 14:32:19 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * wait.c (S_proc_wait): Use `waiter_cares', not - `waiting_parent_cares' in zombie check. - -Tue Apr 18 09:30:13 1995 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * wait.c (reparent_zombies): Send SIGCHLD signal to init. - - * wait.c (S_proc_wait): Don't return ESRCH; return ECHILD. - -Wed Apr 12 14:36:30 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (SRCS): Omit primes.c (it's moved to the lib dir). - -Thu Apr 6 14:29:06 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * info.c (S_proc_getprocinfo): New var `tp'. Bother to set - PI->logincollection. - -Wed Apr 5 20:32:02 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * wait.c (waiter_cares, waiting_parent_cares): New functions. - (alert_parent, reparent_zombies, S_proc_wait, S_proc_mark_stop): - Use them. - -Tue Apr 4 14:36:36 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * main.c (main): Wire text and data segment on startup to avoid - failure mode during non-standalone pseudo-crash. - -Tue Mar 14 11:55:00 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * hash.c (addhash, findhash): Moved to ihash.c (which is has a more - generic interface) and renamed ihash_add & ihash_find; all callers - changed. Other changes: struct htable becomes struct ihash, and - all routines that previously deleted things explicitly use - ihash_locp_remove instead. - -Thu Jan 19 02:01:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * pgrp.c (S_proc_setpgrp): Use nowait_msg_proc_newids instead of - nowait_proc_newids. - * mgt.c (S_proc_child): Likewise. - -Tue Jan 17 17:48:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * mgt.c (check_uid): Return true if P has root. - - * proc.h (struct proc): Make `argv' and `envp' members - `vm_address_t'. - -Thu Nov 3 12:13:49 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * mgt.c (S_proc_getallpids): Don't dereference PIDS in call - to vm_allocate. - - * info.c (S_proc_getprocinfo): Don't take address of PIARRAY - in call to vm_allocate. Dereference PIARRAY in call to - vm_deallocate. - -Fri Oct 14 04:54:46 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * mgt.c (new_proc): Don't assume MACH_PORT_NULL is zero. - (genpid): Deal with all pids between STAR_OVER and WRAP_AROUND - being used. - -Mon Oct 10 14:23:00 1994 Jim Blandy <jimb@geech.gnu.ai.mit.edu> - - * primes.c (nextprime): Doc fix. - -Mon Oct 10 02:18:02 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * host.c (rebuild_uname): If all the server versions after [0] - (the microkernel) match, merge them all into one "Hurd-VERSION" - element in the uname version string. - -Sun Oct 2 20:36:57 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * host.c (S_proc_sethostname): Don't write off end of - uname_info.nodename. - (rebuild_uname): Rewritten. - (initialize_version_info): Write Mach version info as first - element of server_versions. - (machversion): Variable removed. - -Sat Sep 10 11:37:32 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * mgt.c (make_ids): Copy from UIDS and GIDS into newly allocated - space, not vice versa. - -Wed Aug 31 11:03:13 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * mgt.c (S_proc_reassign): Rather than getting a new request port, - preserve STUBP's request port. This is more convenient for - users (and equally good security), and it's what the protocol spec - says anyway. - -Tue Aug 30 12:44:37 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * primes.c: Replaced file with new version from Jim Blandy - (jimb@gnu.ai.mit.edu), David Carlton (carlton@math.mit.edu). - - * proc.h (check_dead_execdata_notify): Add prototype. - -Mon Aug 29 12:53:27 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * mgt.c (S_proc_reauthenticate): Use new authentication protocol. - -Tue Aug 23 11:41:26 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * pgrp.c (S_proc_setpgrp): If we don't actually change the pgrp, - still send proc_newids; the library depends on always getting it. - -Mon Aug 22 17:09:21 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * wait.c (S_proc_mark_stop): Removed now meaningless assert. - - * info.c (S_proc_getloginpids): Compute size in realloc correctly. - -Mon Aug 22 13:29:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * wait.c (S_proc_mod_stopchild): Negate VALUE; sense of - p_nostopcld flag is opposite of flag value described in process.defs. - -Fri Aug 19 10:21:57 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * pgrp.c (S_proc_getpgrppids): Understand PGID of zero as meaning - caller's pgrp. - - * mgt.c (S_proc_child): Check CHILDP->p_msgport against - MACH_PORT_NULL explicitly. - - * pgrp.c (join_pgrp): If pg->pg_orphcnt has significantly changed, - then notify all the processes in the pgrp. - (leave_pgrp): Only send newids message if ip->p_msgport is set. - * mgt.c (S_proc_child): Becase join_pgrp now always sends - newids; don't do it here if we called join_pgrp. - -Fri Aug 19 04:53:04 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * pgrp.c (leave_pgrp): Fix swapped args to nowait_proc_newids. - (join_pgrp): Call nowait_proc_newids to notify the process. - -Thu Aug 18 10:40:13 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * mgt.c (S_proc_reauthenticate): Use MACH_MSG_TYPE_MAKE_SEND - to create a send right from P->p_reqport. - - * main.c (main): Removed var `authhandle'. Use global - `authserver' instead. - -Wed Aug 17 14:02:31 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * host.c (init_stdarrays): Removed function. - (S_proc_execdata_notify): Never call init_stdarrays. - Only call exec_setexecdata if std_port_array is set. - (S_proc_getexecdata): Return error if there is no std_port_array. - -Mon Aug 15 16:12:22 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * host.c (check_dead_execdata_notify): New function. - * notify.c (do_mach_notify_dead_name): For notifications sent - to GENERIC_PORT, call check_dead_execdata_notify. - * main.c (main): Create GENERIC_PORT and put it in - REQUEST_PORTSET. - - * host.c (init_stdarrays): New function. - (S_proc_execdata_notify): Call init_stdarrays the first time. - (S_proc_getexecdata): Likewise. - - * host.c: Include <hurd.h> for various frobs. Include - <unistd.h> for getpid. - -Fri Jul 22 11:01:53 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile: Rewritten in accord with new scheme. - * wait.c: Include "ourmsg_U.h" instead of "msg.h". - Include "process_reply_U.h" instead of "process_reply.h". - Include "process_S.h" instead of "proc_S.h". - * mgt.c: Include "proc_exc_U.h" instead of "proc_exc.h". - Include "proc_excrepl_U.h" insted of "proc_excrepl.h". - Include "ourmsg_U.h" instead of "msg.h". - Include "process_S.h" instead of "proc_S.h". - * pgrp.c: Include "process_S.h" instead of "proc_S.h". - Include "ourmsg_U.h" instead of "msg.h". - * msg.c: Include "process_reply_U.h" instead of "process_reply.h". - * host.c: Include "process_S.h" instead of "proc_S.h". - * info.c: Likewise. - -Wed Jul 20 16:18:31 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * wait.c (alert_parent): Delete unused variable `err'. - -Tue Jul 19 12:45:43 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (proc): Don't use variable $(link) anymore. - -Mon Jul 11 14:32:17 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * pgrp.c (leave_pgrp): When pulling process off of pgrp list, - mutate *both* links. - (free_pgrp): When pulling pgrp off of session list, mutate - *both* links. - -Tue Jul 5 14:23:21 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (TAGSLIBS, TAGSHDRS): New variables. - -Fri Jul 1 10:57:07 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * stubs.c (send_signal): Rewrote to be machine independent - and cleaner. - -Thu Jun 30 14:05:21 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * stubs.c: New file. - * wait.c (alert_parent): Call send_signal instead of nowait_sig_post. - (S_proc_mark_stop): Likewise. - * pgrp.c (leave_pgrp): Likewise. - * proc.h (send_signal): New prototype. - * Makefile (OBJS): Added stubs.o. - (SRCS): Added stubs.c. - (LIBS): New var to get cthreads library. - - * wait.c (alert_parent): Eliminate pointless assert with confusingly - incorrect comment. - - * hash.c (findhash): If we find a slot with ID matching the - one we're looking for, but it has been deleted, then return - 0 rather than HASH_DEL. - - * wait.c (S_proc_wait, reparent_zombies, alert_parent): Use - macros WAIT_ANY and WAIT_MYPGRP instead of magic values -1 - and 0. - - * wait.c (S_proc_wait): Implement correct interpretation of PID - argument: -1 means any child; 0 means child in the same pgrp. - [Incorrect semantics were in loop to search zombies, and loop - looking for stopped children] - (reparent_zombies): Likewise. [Incorrect semantics were in - PID check before returning startup_proc's wait.] - (alert_parent): Likewise. [Incorrect semantics were in - PID check before returning P->p_parent's wait.] - - * wait.c (S_proc_wait): Only return wait on stopped child if - it passes the PID test. - - * pgrp.c (S_proc_setpgrp): Don't do process group change if we are - changing into our own process group. - * mgt.c (S_proc_child): Likewise. - - * pgrp.c (S_proc_setpgrp): When PID is zero, act on calling - process; when PGID is zero, use pid of affected process. - (S_proc_setpgrp): EPERM check should succeed if pgid is the - affected process's *pid*, not pgrp. - -Thu Jun 30 08:40:35 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * mgt.c (S_proc_dostop): Use the proper allocation for task_threads. - Check for errors. Deallocate the send right from CONTTHREAD too. - - * wait.c (alert_parent): Send SIGCHLD to the parent. - -Tue Jun 28 18:12:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * primes.c: Include <assert.h>. - (nextprime): Use calloc instead of alloca, bzero. P might be - bigger than will fit on the stack. Assert non-null return - from calloc and realloc. - -Tue Jun 28 13:57:08 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * main.c (main): Set priority of proc server to 2 so that we - get more CPU than ordinary programs. - -Fri Jun 24 17:29:55 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * hash.c (struct htable): New member `locps'. - (addhash): Store LOCP into hash table for use during rehash. - During rehash, then provide correct LOCP parm for old elements. - Allocate and free HT->locps as appropriate. - -Fri Jun 24 04:15:16 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * mgt.c (S_proc_setprocargs): Renamed to S_proc_set_arg_locations. - (S_proc_get_arg_locations): New function. - -Mon Jun 20 15:07:00 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (install): Use $(INSTALL_BIN) instead of cp. - -Fri Jun 17 13:00:27 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * mgt.c (S_proc_child): Reverse Roland's change of June 11. - -Sat Jun 11 11:20:16 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * mgt.c (S_proc_child): Inherit the argv and envp values from the - parent. - -Fri May 27 16:03:53 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * primes.c: Doc fix, with appreciation to Jim Blandy. - -Fri May 13 16:58:13 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * info.c (S_proc_getprocinfo): Only scan through the threads - if task_info succeeds. - - * info.c (S_proc_getprocinfo): Behave properly if one of the - threads has died in between the call to task_threads and the - calls to thread_info (just pretend it never existed). - - * info.c (get_string, get_vector, S_proc_getprocinfo): If the task - has died (there's a race between pending requests and processing - of dead-name notifications) then convert MACH_SEND_INVALID_DEST to - ESRCH. - -Thu May 12 00:59:03 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * main.c (main): Take three args. Store ARGV and ENVP in SELF_PROC. - - * info.c (S_proc_getprocargs): Remove `#ifdef notyet's. - (get_string, get_vector, get_string_array): Functions exposed. - (get_string_array): Set BP before the loop. Use a for loop that - iterates over elts in VECTOR. Fix check of LEN to reallocate buffer. - (S_proc_getprocargs): Cast BUF to vm_address_t * for get_string_array. - (get_vector): Fix pointer arithmetic; break out of loop when done. - Check for error from malloc. - (get_string): Use memchr for scanning. Check for error from - malloc. Pass READLEN correctly to vm_deallocate. - - * msg.c (S_proc_setmsgport): Take new reply port args. - Send reply before trying startup_essential_task. - Include <hurd/startup.h> to declare startup_essential_task. - - * cpu-types.c: New file. - * Makefile (SRCS, OBJS): Add it. - * host.c: Include <stdio.h> for sprintf. - (rebuild_uname): Removed unused variable J. - (S_proc_register_version): Fix arg types. - Use master_host_port, not host_priv. - Remove unused variable J. - (server_versions): Fix syntax errors in struct definition. - (S_proc_uname): Fixed type of first arg. - (rebuild_uname): Fix typo. - (initialize_version_info): Cast args to host_info. - (initialize_version_info): Allocate space for machversion. - -Mon May 9 14:32:37 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * mgt.c (new_proc): Regard init as having a dead message - port initially. - - * msg.c (S_proc_setmsgport): When init chimes in, tell it - we are essential. - - * proc.h (OUR_VERSION, OUR_SERVER_NAME): New macros. - * host.c (uname_info, machversion, server_versions, - nserver_versions, server_version_nalloc): New variables. - (S_proc_register_version, rebuild_uname, initialize_version_info, - S_proc_uname): New functions. - (S_proc_sethostname): Also set uname_info.nodename. - * main.c (main): Call initialize_version_info. - -Fri May 6 13:00:36 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * host.c (S_proc_gethostname): If HOSTNAME is null, return - an empty hostname instead of crashing. - (S_proc_gethostname): Test buffer length properly; allocate - space for the null too. - - * mgt.c (process_has_exited): delete unused variable LAST. - * msg.c (check_message_return): delete unused variables I, - MSGPORTS, and CP. Changed type of second arg to `void *' - so that the function type is appropriate for the first arg - to prociterate. - (check_message_dying): delete unused variable I. - - * wait.c, host.c, info.c, mgt.c, notify.c, pgrp.c: Changed MiG - server stubs' return types from error_t to kern_return_t; the - types are incompatible right now. - -Thu May 5 07:50:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile: Change uses of $(headers) to $(includedir). diff --git a/release/ChangeLog b/release/ChangeLog deleted file mode 100644 index 85ef38d3..00000000 --- a/release/ChangeLog +++ /dev/null @@ -1,302 +0,0 @@ -2007-08-01 Michael Banck <mbanck@debian.org> - - * servers.boot: Update to what is actually being used these days. - -1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> - - * SETUP: Also set /servers/password. - -1999-07-30 Roland McGrath <roland@baalperazim.frob.com> - - * mksmallso, mkemptyso: Files removed. The *.sh files are the source. - -1999-05-15 Roland McGrath <roland@baalperazim.frob.com> - - * servers.boot: Remove obsolete $(default-pager) tag. - -1997-07-22 Miles Bader <miles@gnu.ai.mit.edu> - - * rfloppy.copy: Remove hurd/devport. - -1997-07-21 Miles Bader <miles@gnu.ai.mit.edu> - - * bfloppy1.copy: Compress boot/serverboot again. - * bfloppy1.grub: Use it. - -1997-07-15 Miles Bader <miles@gnu.ai.mit.edu> - - * mkfsimage.sh: Let uncompressed images be smaller than the - maximum size. - -1997-07-14 Miles Bader <miles@gnu.ai.mit.edu> - - * rfloppy.copy: Add bin/rm. - -1997-07-09 Miles Bader <miles@gnu.ai.mit.edu> - - * bfloppy1.grub: Use /boot/serverboot uncompressed. - - * rfloppy.nss: New file. - * rfloppy-special.copy: etc/nsswitch.conf. - * rfloppy.copy: Add sbin/swapon, servers/socket/inet, servers/socket/local. - - * bfloppy2.boot: Specify a sync interval of two seconds to avoid - accumulating tons of memory when doing massive copies. - -1997-07-08 Miles Bader <miles@gnu.ai.mit.edu> - - * bfloppy2.boot: Renamed from bfloppy1.boot. - Use ext2fs.static rather than ufs.static. - * bfloppy2-special.copy: mkdir boot. - Use bfloppy2.boot rather than bfloppy1.boot. - * bfloppy1.copy: Don't compress boot/serverboot (grub can't handle it). - -1997-07-07 Miles Bader <miles@gnu.ai.mit.edu> - - * mkfsimage.sh: Add support for dependency generation. - * Makefile (floppy-copy, scripts): New variables. - (DIST_FILES): Use them. - (boot-floppies): New rule. - (%.ext2.gz, %.ext2): New rules. - [$(no_deps) != t]: Include boot floppy dependency files (.f_d). - (%.ext2.f_d %.ext2.gz.f_d): New rule for generating floppy dep files. - -1997-07-03 Miles Bader <miles@gnu.ai.mit.edu> - - * rfloppy.copy: Remove bin/ps, lib/libps.so, sbin/fsck.ufs, & sbin/libnss_db*. - -1997-06-30 Miles Bader <miles@gnu.ai.mit.edu> - - * rfloppy.copy: Add bin/ed, sbin/fdisk. - * Makefile: Make floppy targets depend on the appropriate .copy files. - - * bfloppy1.copy, bfloppy1-special.copy, bfloppy2.copy, - bfloppy2-special.copy, bfloppy1.grub, bfloppy1.boot: New files. - * Makefile (bfloppy1.ext2, bfloppy2.ext2): New targets. - -1997-06-27 Miles Bader <miles@gnu.ai.mit.edu> - - * rfloppy.group, rfloppy.passwd, rfloppy-special.copy: New files. - * rfloppy.copy: Add etc/protocols & etc/services. - Put dev & lib at end (since they're big & monotonous). - * Makefile (rfloppy.ext2.gz): Copy from $(srcdir) using - rfloppy-special.copy. - - * mkfsimage.sh: Get rid of debugging noise. - Use the tar --same-owner option work around a bug with tar - not preserving ownership when the current user isn't root. - Don't pre-touch `makedev's. - -1997-06-25 Miles Bader <miles@gnu.ai.mit.edu> - - * mkfsimage.sh: Correct parsing of delayed translator specs. - -1997-06-24 Miles Bader <miles@gnu.ai.mit.edu> - - * mkfsimage.sh: Set the owner of created files. Add --owner option. - Rename `settrans' copy-op to `copytrans', & implement `settrans'. - * rfloppy.copy: Add bin/fsysopts, bin/devprobe, bin/vmstat. - Explicitly specify a translator for servers/socket/1. - * Makefile (bfloppy.ext2, rfloppy.ext2.gz): Set owner to root.wheel. - Use $(bfloppy-src) as the source, rather than /. - (bfloppy-src): New variable. - - * mkfsimage.sh: New file. - * bfloppy.copy, rfloppy.copy, bfloppy-special.copy: New files. - * Makefile (tool-files): Variable removed. - (install-tools): Rule removed. - (bfloppy.ext2, rfloppy.ext2.gz): New rules. - (dist-files): Include mkfsimage.sh, bfloppy.copy, - bfloppy-special.copy, rfloppy.copy. - -1997-06-19 Miles Bader <miles@gnu.ai.mit.edu> - - * bfloppy.boot: New file. - * tool-Makefile: Trash everything but floppy production rules. - -Mon Jun 23 11:47:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * INSTALL-binary (STEP I): Tell to use e2os if the filesystem was - made with Linux. - -1997-06-17 Miles Bader <miles@gnu.ai.mit.edu> - - * mksmallso, mkemptyso: New files. - * Makefile (tool-files): add mksmallso & mkemptyso. - -Mon Jun 16 11:56:33 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (dist-links): Make $(dist-root)/boot/grub and - $(dist-root)/share/misc. Reported by Marcus G. Daniels - (marcus@cathcart.sysc.pdx.edu). - -Wed Jun 11 12:05:02 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (dist-links): Create /servers/exec node. - - * servers.boot: Dynamic linker is now `ld.so.1', not `ld.so'. - - * menu.lst: Kernel is now `gnumach', not `kernel'. - -Tue Jun 10 18:48:10 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * INSTALL-binary (Subroutine): Update location of NetBSD install - floppies. Also specify to use -P mount option on nfs mount. - - * menu.lst: Fix typo in floppy -> hd install. - - * Makefile (dist-files): Replace SOURCES.0.0 with SOURCES.0.2. - (install-dist): Install SOURCES.0.2 instead of SOURCES.0.0. - -Mon Jun 9 12:18:50 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * dist-README: Update version number. - * INSTALL-binary: Likewise. Also added some instructions to help - Linux users. - -Mon May 26 23:03:41 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * checklist: Add su, addauth, setauth, ids, & vminfo to list of - setuid programs. - -Wed May 7 15:07:48 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * INSTALL-binary (STEP VI): Suggest building a kernel. - -Fri Apr 11 14:21:29 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * SETUP: Comment out frobbing of BOOT_DEV; grub does that on it's - own now. - * INSTALL-GRUB-MBR: Delete file. - * Makefile (dist-files): Omit INSTALL-GRUB-MBR. - (install-dist): Likewise. - * menu.lst (title): Replace install entries with new versions. - * INSTALL-binary (STEP IV): Revised instructions to correspond to - new reality, with Grub 0.4. - -Tue Sep 24 16:47:04 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * servers.boot (/hurd/ufs.static): Change --machdev to -Tdevice. - -Tue Sep 17 14:36:39 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * SETUP: Don't prepend `r' to $BOOT_DEV when invoking INSTALL-GRUB-MBR. - -Fri Aug 16 10:50:01 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * SETUP: Set `PATH'. - -Wed Aug 14 16:23:11 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * tool-Makefile (INSTALL, IMAGE): New variables. - Change all rules &c to use these variables instead of - `../hurdinst' and `hurd-image'. - -Mon Aug 5 11:44:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * SETUP: Put `r' before BOOT_DEV in call to INSTALL-GRUB-MBR. - Repair syntax of test to see if BOOT_DEV is valid. - - * Makefile (dist-links): Use correct pathnames for `ln' commands; - use -f. Repair touch command to avoid {}. - -Wed Jul 31 13:15:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * install-stripped (copy/copyattrs): New function. - (copy/plaincopy, copy/objcopy, copy): Use copyattrs. - - * Makefile (install-tools): Copy from the right place. Make the - installed install-stripped executable. - -Tue Jul 30 12:05:54 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * INSTALL-binary: Don't make stupid claims about avoiding use of - cylinder zero. - -Mon Jul 29 14:47:53 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * checklist: Add cc to the list of symlinks to check. - -Thu Jul 25 23:22:47 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * checklist: Add vmstat to the list of setuid programs. - -Thu Jul 18 18:27:14 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * SETUP: Install grub with INSTALL-GRUB-MBR if desired. - - * INSTALL-GRUB-MBR: Fix quoting in last echo. - -Wed Jul 17 00:17:05 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * INSTALL-binary: Yet more changes. - -Tue Jul 16 23:41:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (dist-files): boot-menu.grub -> menu.lst. - (install-dist): Likewise; also put it in /boot/grub and don't - bother with link in /etc. - * menu.lst: Renamed from boot-menu.grub. - -Mon Jul 15 17:18:05 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * INSTALL-binary: Many changes. - - * boot-menu.grub: Rewritten; much nicer now. - -Mon Jul 15 15:58:46 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * INSTALL-GRUB-MBR: Only read first block of disk as mbr. - "in)" -> "in". - - (INSTALL-GRUB-MBR): New file. - * Makefile (dist-files): Add INSTALL-GRUB-MBR. - (install-dist): Install INSTALL-GRUB-MBR. - -Sun Jul 14 20:21:12 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * servers.boot: That's STATIC ufs. - -Sat Jul 13 18:06:03 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * SETUP: Make ptys too. - - * SETUP: Setup /servers/crash too. - - * COPYING.LIB: New file. - * Makefile (install-dist): Install COPYING.LIB and COPYING. - Fix commands to install most everything from $(srcdir). - - * boot-menu.grub: New file. - * servers.boot: New file. - * Makefile (dist-files): Add servers.boot and boot-menu.grub. - (install-dist): Install servers.boot and boot-menu.grub. - (dist-links): Create $(dist-root)/boot. - - * INSTALL-binary: Various changes. - -Fri Jul 12 15:18:25 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * install-stripped (makelocalhardlink): Only do cleverness if TO - already exists. If it's not there, just make the link. - -Tue Jul 9 20:10:21 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * INSTALL-binary: Changed. - -Tue Jul 9 18:03:45 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * INSTALL-binary: Various changes. - - * Makefile (install-dist): Depend on dist-links. - (dist-links): New target. - - * SETUP: Put pflocal on /servers/socket/local (which will be a - link to /servers/socket/1). - - * SETUP: Set root writable before doing anything else; offer to - reboot the system when through. - -Mon Jul 8 17:47:58 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * INSTALL-binary: Various changes. diff --git a/serverboot/ChangeLog b/serverboot/ChangeLog deleted file mode 100644 index 8dc836cc..00000000 --- a/serverboot/ChangeLog +++ /dev/null @@ -1,473 +0,0 @@ -2007-06-06 Thomas Schwinge <tschwinge@gnu.org> - - * default_pager.c (default_pager_object_create, default_pager_info) - (default_pager_objects, default_pager_object_pages) - (default_pager_object_set_size, default_pager_paging_file): Rename to - `S_default_pager_object_create', `S_default_pager_info', - `S_default_pager_objects', `S_default_pager_object_pages', - `S_default_pager_object_set_size' and `S_default_pager_paging_file'. - -2006-03-15 Alfred M. Szmidt <ams@gnu.org> - - * kalloc.c: #include <malloc.h>. - (init_hook, malloc_hook, free_hook): New functions. - (__malloc_initialize_hook): New variable. - (malloc, free): Functions removed. - -2003-05-07 Ognyan Kulev <ogi@fmi.uni-sofia.bg> - - * strfcns.c: #include <stdarg.h> instead of <varargs.h>. - (strbuild): Use <stdarg.h>-style for handling variable argument - list. - * load.c: Don't #include <varargs.h>. - -2002-07-03 Roland McGrath <roland@frob.com> - - * elf-load.c (exec_load): Fix e_machine checking. - - * elf-load.c (exec_load): Fix typos in last change. - -2002-06-22 Roland McGrath <roland@frob.com> - - * load.c (boot_script_exec_cmd): Twiddle decls of serverboot_bunzip2 - and serverboot_gunzip. - - * elf-load.c (exec_load) [__alpha__]: Grok Elf64_* headers and check - for EM_ALPHA. - * exec.c (set_regs) [__alpha__]: Alpha implementation snarfed from CMU - file bootstrap/alpha/exec.c in MK83a. - - * load.c (boot_script_exec_cmd): Cast int to intptr_t before char *. - -2002-06-14 Roland McGrath <roland@frob.com> - - * default_pager.c: #include "default_pager_S.h" - -2002-05-29 Roland McGrath <roland@frob.com> - - * bootstrap.c (main): int -> integer_t for boot_script values. - -2002-05-23 Marcus Brinkmann <marcus@gnu.org> - - * Makefile: Fix last change properly, by relaxing the rule again - and adding our source dir before the exec dir. - -2002-05-23 Marcus Brinkmann <marcus@gnu.org> - - * Makefile: Fix last change, constraining vpath even further. - -2002-05-20 Ognyan Kulev <ogi@fmi.uni-sofia.bg> - - * Makefile: Move inclusion of ../Makeconf before using $(srcdir) - and constrain vpath directives to avoid using ../exec/exec.o. - -2002-05-07 Roland McGrath <roland@frob.com> - - * default_pager.c (part_id): Add const to argument type. - -2002-03-23 Roland McGrath <roland@frob.com> - - Excised default pager functionality from serverboot. - * Makefile (SRCS): Move def_pager_setup.c default_pager.c kalloc.c to - (EXTRA_DIST): ... here. - (OBJS): Remove *Server.o from here. - (MIGSFLAGS): Variable removed. - * bootstrap.c (main): Replace paging-file boot-script functions with a - stub that prints an error. No longer call partition_init, - default_pager_initialize, or default_pager. - (default_pager_bootstrap_port): Variable removed. - (main): Don't use it. - (default_pager_exception_port): Declaration removed. - (main): Don't use it. - * default_pager.c (default_pager_bootstrap_port): Variable removed. - (default_pager_demux_default): Don't use it. - (default_pager_initialize): Likewise. - (default_pager): Likewise. - (do_bootstrap_privileged_ports, bootstrap_compat): Functions removed. - [mips] (set_ras_address): Likewise. - - * default_pager.c (pager_truncate): New function. - (struct dpager): New member `limit'. - (pager_alloc): Initialize it. - (default_pager_object_set_size): New function. - (seqnos_memory_object_lock_completed): Rewritten, no longer a stub. - (default_pager_demux_object): Try default_pager_server too. - -2001-11-24 Roland McGrath <roland@frob.com> - - * Makefile (installationdir): Use $(bootdir). - -2001-08-16 Roland McGrath <roland@frob.com> - - * Makefile (OBJS): Add userland-boot.o here. - Add a vpath to find userland-boot.c in boot/ too. - * bootstrap.c (parse_script): Pass new arg to boot_script_parse_line. - * load.c: Include <stddef.h> before "boot_script.h". - -2001-07-20 Roland McGrath <roland@frob.com> - - * panic.c: Fix obsolescent #endif syntax. - * ext2_file_io.c: Likewise. - * disk_inode_ffs.h: Likewise. - * ffs_file_io.c: Likewise. - -2001-03-31 Roland McGrath <roland@frob.com> - - * assert.h: Fix obsolescent #endif syntax. - * default_pager.c: Likewise. - * queue.h: Likewise. - * load.c: Likewise. - -2001-02-28 Roland McGrath <roland@frob.com> - - * default_pager.c: Use <file_io.h> instead of "file_io.h", - so mach-defpager gets its own version when it uses this source file. - (new_partition): If CHECK_LINUX_SIGNATURE arg is -3, don't print out. - -2001-01-11 Marcus Brinkmann <marcus@gnu.org> - - * def_pager_setup.c: Include <mach/mig_errors.h> and - <mach/default_pager_types.h>. - (default_pager_paging_storage): New stub. - -2000-04-03 Roland McGrath <roland@baalperazim.frob.com> - - * panic.c: Include <stdarg.h> instead of <varargs.h>. - (panic): Use stdarg style. - -2000-01-03 Roland McGrath <roland@baalperazim.frob.com> - - * file_io.h: Include "../ext2fs/ext2_fs.h" instead of "ext2_fs.h". - * ext2_file_io.c (search_directory): Use `struct ext2_dir_entry_2' in - place of `struct ext2_dir_entry', so as to grok newer dir formats. - * ext2_fs.h: File removed. - * Makefile (LCLHDRS): Remove it from the list. - * ffs_compat.c (EXT2_INODES_PER_BLOCK): New macro, no longer in - ext2_fs.h. - -1999-11-18 Roland McGrath <roland@baalperazim.frob.com> - - * default_pager.c (default_pager): Instead of suspending this thread, - just become the default_pager_default_thread thread ourselves. - - * wiring.c (wire_all_memory): Touch pages before wiring. - -1999-11-16 Roland McGrath <roland@baalperazim.frob.com> - - * default_pager.c (default_pager_initialize): Use MACH_PORT_VALID to - check old DMM port, rather than just checking for MACH_PORT_NULL. - - * strfcns.c (index): Function removed. - - * ffs_file_io.c (ffs_open_file): Use memmove instead of ovbcopy. - * ext2_file_io.c (ext2_open_file): Likewise. - * strfcns.c (ovbcopy): Function removed. - -1999-11-08 Roland McGrath <roland@baalperazim.frob.com> - - * bootstrap.c (main): Further spruce up prompting and error reporting - for root device and boot script. - -1999-10-28 Roland McGrath <roland@baalperazim.frob.com> - - * load.c, bootstrap.c: Back out some debugging printfs accidentally - included in the last commit. - * bootstrap.c (main): Increase size of NEW_ROOT buffer. - This change was included in the last commit, but not logged then. - - * file_io.h: Include <errno.h>. - (FS_* macros): Define these to equivalent errno codes. - * def_pager_setup.c (add_paging_file): Put strerror of result code in - error messages. - * bootstrap.c (parse_script): Likewise. - * load.c (boot_script_exec_cmd): Include NAMEBUF in error messages, - and use strerror to format result code. - * panic.c (panic): Use program_invocation_name in message. - -1999-10-08 Thomas Bushnell, BSG <tb@mit.edu> - - * bootstrap.c: (DEFAULT_ROOT): Remove macro. - (main): If no root device was specified, then prompt as if the - user had specified -a. Don't use strcpy to move NEW_ROOT into - ROOT_NAME; that's unsafe. - -1999-10-06 Roland McGrath <roland@baalperazim.frob.com> - - * bootstrap.c (DEFAULT_ROOT): Change to "hd0s1". - -1999-08-20 Roland McGrath <roland@baalperazim.frob.com> - - * bootstrap.c (parse_script): Add one to the buffer size so we can - null-terminate after the end of the file. - -1999-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * ext2_file_io.c, ffs_file_io.c, minix_file_io.c: Remove fs-specific - routines *_page_{read,write}_file_direct. Moved to ... - * file_io.c (page_read_file_direct, page_write_file_direct): Don't - call fs-specific routine, these are not fs-specific. Instead, - replaced with former fs-specific routines (which were all identical). - Read and write more than a fs block when disk blocks are contiguous. - - * default_pager.c (new_partition): When reading Linux signature page, - handle pager_read_file_direct returning sub-page blocks. - -1999-06-03 Mark Kettenis <kettenis@gnu.org> - - * default_pager.c (new_partition): Declare `waste' as `int' - instead of `unsigned int'. - -1999-06-02 Roland McGrath <roland@baalperazim.frob.com> - - * load.c (boot_script_exec_cmd): Copy environment from our `environ' - onto the new task's stack along with its arguments. - - * bootstrap.c (main): If we have a MULTIBOOT_CMDLINE environment - variable, set its value as ${kernel-command-line} for boot scripts. - -1999-05-29 Roland McGrath <roland@baalperazim.frob.com> - - * bootstrap.c (main): Define $(serverboot) function for "serverboot - controls", control command replacing the pathname. For command "die", - terminate ourselves after running the boot script, no default pager. - -1999-05-23 Roland McGrath <roland@baalperazim.frob.com> - - * default_pager.c (new_partition): Fix arg order in printf for - linux-2.2 signature page. - -1999-05-20 Roland McGrath <roland@baalperazim.frob.com> - - * default_pager.c (new_partition): Fix SWAP-SPACE page handling. - -1999-05-17 Roland McGrath <roland@baalperazim.frob.com> - - * default_pager.c (new_partition): Deallocate signature page when - rejecting it for wrong version. Fix typo in SWAPSPACE2 v1 bad block - bitmap handling. Free bitmap and partition structure if we reject the - partition signature. - Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>. - - * default_pager.c (new_partition): Print out for - CHECK_LINUX_SIGNATURE<0 case. - -1999-05-15 Roland McGrath <roland@baalperazim.frob.com> - - * default_pager.c (new_partition): Check if requested partition is - already in our list, and refuse it. - - * bootstrap.c (main): Remove vars HAD_A_PARITION, DOING_DEFAULT_PAGER. - Remove $(default-pager) boot script tag. We always stick around and - act as the default pager (this was already the case, just removed some - dead code). Don't print anything about having no swap partitions, - since that is a fine way to boot (just use swapon later). - - * default_pager.c (new_partition): Print out partition name and size - when no signature. - -1998-09-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> - - * bunzip2.c: New file. - * load.c (GZIP) (BZIP2): New cpp constants. - (boot_script_exec_cmd): If GZIP is defined, gunzip engine is enabled. - If BZIP2 is defined, bunzip2 engine is enabled. - * Makefile (SRCS): Add bunzip2.c. - (UNZIP_OBJS): Add do-bunzip2.o. - (CPPFLAGS): Add -DGZIP, -DBZIP2 and -DSMALL_BZIP2. - -1998-09-03 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> - - * gunzip.c: New file. - Copy libstore/gunzip.c and modify for use in serverboot. - * load.c (struct stuff): Add members, image_addr and image_size. - (mem_read) (mem_read_exec): New functions. - (boot_script_exec_cmd): Add gzexe feature. - * Makefile: Add unzip stuffs. - -1999-03-06 Roland McGrath <roland@baalperazim.frob.com> - - * def_pager_setup.c (default_pager_setup): #if 0 out unused function. - - * default_pager.c (default_pager_paging_file): Pass 0 for new - LINUX_SIGNATURE arg to add_paging_file. - - * bootstrap.c (main: scrript_paging_file): Pass LINUX_SIGNATURE arg - through to add_paging_file. - -1999-02-27 Roland McGrath <roland@baalperazim.frob.com> - - * def_pager_setup.c (add_paging_file): New arg CHECK_LINUX_SIGNATURE, - pass down to create_paging_partition. - * default_pager.c (create_paging_partition): New arg - CHECK_LINUX_SIGNATURE, pass down new_partition. - (new_partition): New arg CHECK_LINUX_SIGNATURE: if not < 0, - check first page of swap for Linux 2.0 or 2.2 signature page and obey - its bad-block map; if > 0, refuse the partition if no signature found. - * bootstrap.c (main): Add new boot script functions - `add-raw-paging-file', `add-linux-paging-file'. Make those - and `add-paging-file' all call add_paging_file with new - LINUX_SIGNATURE arg of -1, 1, and 0, respectively. - * default_pager.c (create_paging_partition): If new_partition returns - null, return and do nothing more. - -1998-07-25 Roland McGrath <roland@baalperazim.frob.com> - - * default_pager.c (pager_read_offset): Cast NO_BLOCK twice, to real - return type of this function. - -Tue May 12 12:11:36 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * bootstrap.c (parse_script): Free BUF before returning. Reported - by Katusya Tanaka (wyvern@pb3.so-net.ne.jp). - -1997-07-15 Miles Bader <miles@gnu.ai.mit.edu> - - * bootstrap.c (main): Rearrange default pager initialization. - - * bootstrap.c (safe_gets): Use strchr instead of index. - : Include <string.h> - - * bootstrap.c (main): Change "(bootstrap)" to "(serverboot)" in msgs. - * load.c (boot_script_exec_cmd): Likewise. - -1997-07-09 Miles Bader <miles@gnu.ai.mit.edu> - - * bootstrap.c (main): Don't exit when no paging partition. - -1997-07-08 Miles Bader <miles@gnu.ai.mit.edu> - - * bootstrap.c: Don't include "translate_root.h". - (main): Don't call translate_root. - Pass more than a single character to safe_gets. - (DEFAULT_ROOT): New macro. - (safe_gets): Make sure a newline exists before removing it. - Ensure that the cursor moves to the beginning of the next line. - * translate_root.c, translate_root.h: Files removed. - * Makefile (SRCS): Remove translate_root.c. - (LCLHDRS): Remove translate_root.h. - -Fri Jun 20 15:37:15 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * bootstrap.c (main/script_paging_file): Instead of returning an - error use new variable `had_a_partition' to record whether we - successfully opened a partition. - (main/script_default_pager): Only start pager if HAD_A_PARTITION; - otherwise print warning message. - -Mon Jun 16 11:52:40 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (installationdir): Use `=' to set this instead of :=; - $(prefix) is not yet available and `=' postpones the evaluation - properly. Reported by Marcus G. Daniels, - marcus@cathcart.sysc.pdx.edu. - -Tue Jun 10 21:54:52 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * disk_inode.h (struct icommon): Use short instead of uid_t/gid_t - in structure definition; those are now 32 bit types. - - * bootstrap.c (main): Support running from command line too; this - is useful at least for simple debugging. - -1997-06-09 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (LCLHDRS): Add mach-exec.h. - -Thu May 1 18:40:53 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * bootstrap.c (cthread_stack_size): Don't set special value here; - use the default. - -Wed Apr 30 12:01:53 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * default_pager.c (default_pager_default_thread): Now that this is - forked, rather than run directly by the first thread, we have to - gain kernel privileges to acquire reserved pages. - -Fri Apr 18 16:44:49 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * wiring.c (__vm_allocate): New function. - -Wed Apr 16 14:18:28 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * default_pager.c (debug): Turn off. - -Mon Apr 14 12:50:20 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * default_pager.c: Remove debugging printfs. - -Thu Apr 10 15:10:25 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (installationdir): Set variable. - -Wed Apr 9 13:57:44 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * default_pager.c (default_pager_default_thread): New function. - Delete old variable with this name, it was never used. - (default_pager): Fork default_pager_default_thread instead of - doing it here to avoid the possibility that we are on a tiny - stack. Current thread dies. - -Thu Apr 3 20:00:58 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * elf-load.c (exec_load): Include <elf.h> instead of - <mach/exec/elf.h>. Include "mach-exec.h" instead of - <mach/exec/elf.h>. - (exec_load) [i386]: Check for i386 types directly; abandon old - MY_EI_DATA and MY_E_MACHINE. - * load.c: Include "mach-exec.h" instead of <mach/exec/elf.h>. - * exec.c: Likewise. - * mach-exec.h: New file. - -Wed Mar 19 14:45:27 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * panic.c (panic): Clear possible errors on stdout before printing - panic string. - -Mon Mar 17 13:13:50 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * wiring.c (wire_all_memory): Don't attempt wire if PROTECTION is - VM_PROT_NONE. - - * panic.c (panic): Be more informative about where the error is - coming from. - - * default_pager.c (create_paging_partition): Don't print - gratuitous output noise. - * load.c (boot_script_exec_cmd): Likewise. - -Wed Mar 12 10:53:00 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ext2_file_io.c (ext2_open_file): Clear FP before beginning - work. - * ffs_file_io.c (ffs_open_file): Likewise. - * minix_file_io.c (minix_open_file): Likewise. - - * bootstrap.c (printf_init, safe_gets): New functions. - * console.c: Deleted file. - * Makefile (SRCS): Omit console.c and gets.c. - - * load.c (read_symtab_from_file): Comment out body of function. - We don't want this. - - * defs.h: Comment out redefinitions of common types. - - * default_pager.c: Include <cthreads.h> instead of - <mach/cthreads.h>. - * file_io.h: Likewise. - * kalloc.c: Likewise. - - * panic.c: Include <varargs.h> instead of <sys/varargs.h>. - - * default_pager.c (pager_read_offset): Cast return of NO_BLOCK - properly. - -Mon Mar 10 17:07:50 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * load.c: Find boot_script.h in ../boot. - * bootstrap.c: Likewise. - - * bootstrap.c (boot_panic): Repair syntax. - - * strfcns.c: Include <varargs.h> instead of <sys/varargs.h>. - * load.c: Likewise. diff --git a/storeio/ChangeLog b/storeio/ChangeLog deleted file mode 100644 index fbfc8aba..00000000 --- a/storeio/ChangeLog +++ /dev/null @@ -1,353 +0,0 @@ -2008-06-10 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * dev.c (dev_buf_rw, buffered_rw, dev_rw): Remove inline qualifier from - parameters `buf_rw'. - -2006-06-15 Thomas Schwinge <tschwinge@gnu.org> - - * open.c (open_seek): Seek into the correct direction for `SEEK_END'. - Return EINVAL if file pointer would become negative. - -2005-01-08 Marco Gerards <metgerards@student.han.nl> - - * storeio.c (trivfs_modify_stat): Don't initialize st_blocks. - -2002-06-22 Roland McGrath <roland@frob.com> - - * storeio.c (parse_opt): Fix fencepost error in -n arg parsing. - Reported by Nicola Girardi <nicola@g-n-u.de>. - -2002-06-13 Roland McGrath <roland@frob.com> - - * io.c (trivfs_S_io_read, trivfs_S_io_write): off_t -> loff_t. - Fix DATA argument type. - (trivfs_S_file_sync): Add missing last arg. - -2002-05-08 Roland McGrath <roland@frob.com> - - * pager.c (pager_read_page, pager_write_page): int -> size_t - -2002-03-10 Roland McGrath <roland@frob.com> - - * dev.c (dev_read): Return success with *LEN = 0 when reading - exactly at the end of the store. - -2001-12-28 Roland McGrath <roland@frob.com> - - * dev.h (struct dev): New member `no_fileio' (flag). - * storeio.c (options): Add --no-file-io/-F. - (parse_opt): Parse it to set PARAMS->dev->no_fileio. - (trivfs_append_args): Add --no-file-io if it's set. - * dev.c (dev_open): Pass STORE_NOFILEIO flag if DEV->no_fileio is set. - -2001-08-12 Neal H Walfield <neal@cs.uml.edu> - - * pager.c: Include <errno.h>. - (pager_read_page): Use memset, not bzero. - * storeio.c (check_open_hook): Typo fix in comment. - (trivfs_modify_stat): STORE->size is a store_offset_t. - It not a vm_size_t. - -2001-05-06 Marcus Brinkmann <marcus@gnu.org> - - * dev.c (dev_open): Do not create/open the store with - STORE_INACTIVE, as this doesn't work correctly. Inactivate the - store afterwards instead. - -2001-02-18 Marcus Brinkmann <marcus@gnu.org> - - * dev.h (struct dev): New member nperopens. - * storeio.c (open_hook): Hold device lock and check if this is the - first open. If yes, activate the store. - (close_hook): Hold global_lock and check if this was the last - open. If yes, inactivate the store. - * dev.c (dev_open): Open the store with STORE_INACTIVE - (in store_parsed_open as well as in store_create). - -2001-01-17 Roland McGrath <roland@frob.com> - - * dev.c (dev_buf_discard): Don't check AMOUNT if store_write failed. - -2001-01-16 Marcus Brinkmann <marcus@gnu.org> - - * dev.c (dev_open): Add missing argument `classes' to invocation - of store_create. - - * dev.h: Include <hurd/trivfs.h> for struct trivfs_control. - -2001-01-16 Roland McGrath <roland@frob.com> - - * storeio.c (parse_opt): Set PARAMS->store_params.store_optional. - (storeio_fsys): New global variable. - (main): Use it. - * dev.h: Declare it. - * dev.c (dev_open): If DEV->store_name is null, open the underlying - node using store_create. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile (HURDLIBS): Reorder libs such that the threads lib - comes before the ports lib. This makes sure the functions in - libthreads properly override the stubs in libports with the new - dynamic linker semantics in glibc 2.2. - -2000-03-19 Roland McGrath <roland@baalperazim.frob.com> - - * io.c: Comments. - - * dev.h (struct dev): New members store_name, readonly, rdev. - (dev_is_readonly): New inline function. - * dev.c (dev_open): Take just one arg, a struct dev whose store==0. - (dev_close): Shut down the store, but leave DEV intact with store==0. - * storeio.c (struct storeio_argp_params): New type. - (device, device_lock, store_name): Variables removed. - (readonly, inhibit_cache, enforce_store, rdev): Likewise. - These are all now members in struct storeio_argp_params or struct dev; - rdev now uses dev_t instead of int. - (parse_opt): Find a struct storeio_argp_params in STATE->input - and fill it in accordingly. Use makedev macro to construct rdev. - (trivfs_append_args): Find options in struct dev off control hook. - Use major, minor macros. - (main): Make DEVICE a local here, and point FSYS->hook at it. - Don't modify trivfs_allow_open. - (getroot_hook): New static function. - (trivfs_getroot_hook): New variable, initialized to that. - (check_open_hook): Find struct dev in CNTL->hook and - use new dev_open interface. Use dev_is_readonly. - (open_hook): Find struct dev in PEROPEN->cntl->hook and - check DEV->store. - (trivfs_modify_stat): Find struct dev in CRED->po->cntl->hook. - Use dev_is_readonly. - (trivfs_goaway): Find struct dev in FSYS->hook and use its lock. - (trivfs_S_fsys_syncfs): Find struct dev in CNTL->hook. - -1999-11-24 Roland McGrath <roland@baalperazim.frob.com> - - * storeio.c (trivfs_modify_stat): Clear writable bits if open store is - readonly, not just if we got the --readonly switch. - -1999-11-20 Roland McGrath <roland@baalperazim.frob.com> - - * dev.c (dev_read, dev_write): In DEV->inhibit_cache case, - handle zero (i.e. unknown) block_size by treating it as 1. - Use shift and bitwise-and rather than multiply and modulus - for block size arithmetic, since it's a known power of two. - -1999-11-14 Roland McGrath <roland@baalperazim.frob.com> - - * io.c (trivfs_S_file_get_storage_info): Fail with EOPNOTSUPP when - there is no store open. - - * storeio.c (check_open_hook): Don't check for D_NO_SUCH_DEVICE here. - Translation to ENXIO now done in libstore. - - * dev.h (struct dev): New member `enforced'. - * storeio.c (enforce_store): New variable. - (options, parse_opt, trivfs_append_args): Grok new option - --enforced/-e to set enforce_store. - (check_open_hook): Set DEVICE->enforced from enforce_store. - * io.c (trivfs_S_file_get_storage_info): If DEV->enforced is set - and the store flags lack STORE_ENFORCED, then return STORAGE_OTHER. - -1999-09-13 Roland McGrath <roland@baalperazim.frob.com> - - * io.c: Reverted changes related to io_map_segment. - -1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> - - * io.c (trivfs_S_io_map): Renamed to ... - (trivfs_S_io_map_segment): ... here, and accept parameter `index'. - -1999-07-11 Roland McGrath <roland@baalperazim.frob.com> - - * dev.c (dev_read: ensure_buf): Fix sloppy bugs in last change. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * dev.c (dev_open): Use mmap instead of vm_allocate. - (dev_read): Likewise. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * dev.c: Add #include <sys/mman.h> for munmap decl. - * pager.c: Likewise. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * dev.c (dev_buf_fill): Use munmap instead of vm_deallocate. - (dev_close): Likewise. - (dev_read): Likewise. - * pager.c (pager_write_page): Likewise. - -1999-05-23 Roland McGrath <roland@baalperazim.frob.com> - - * storeio.c (check_open_hook): Translate D_NO_SUCH_DEVICE to ENXIO. - -1999-05-09 Mark Kettenis <kettenis@gnu.org> - - * pager.c (dev_stop_paging): Do not try to count ports in - PAGER_PORT_BUCKET if it has not been created. - -1999-04-30 Mark Kettenis <kettenis@gnu.org> - - * storeio.c (trivfs_modify_stat): Do not assume that we have the - device open in the caculation of st_mode. If the device is not - open, only return S_IFCHR if inhibit_cache is set. - -1999-01-31 Roland McGrath <roland@baalperazim.frob.com> - - * storeio.c (trivfs_modify_stat): Return S_IFCHR if block size is 1. - - * storeio.c (trivfs_modify_stat): Return S_IFCHR iff inhibit_cache - set, otherwsie S_IFBLK. For a block-addressed device, S_IFCHR means - "must do whole-block i/o". - -1999-01-28 Roland McGrath <roland@baalperazim.frob.com> - - * io.c (trivfs_S_file_syncfs): Fix inverted test. - Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>. - -1999-01-27 Roland McGrath <roland@baalperazim.frob.com> - - * storeio.c (options): New option -c/--no-cache. - (inhibit_cache): New variable. - (parse_opt): Make -c set it. - (trivfs_append_args): Report --no-cache if set. - (check_open_hook): Pass inhibit_cache flag to dev_open. - * dev.h (struct dev): New member `inhibit_cache'. - (dev_open): Update decl. - * dev.c (dev_open): Take new arg inhibit_cache, store in new dev. - If set, don't initialize buf_offs, io_lock, pager, pager_lock. - (dev_read, dev_write): If DEV->inhibit_cache is set, allow only - whole-block i/o: EINVAL for non-whole-block attempts. - * pager.c (dev_get_memory_object): If DEV->inhibit_cache is set, don't - make our own pager; if store_map returns EOPNOTSUPP, so do we. - -1998-10-20 Roland McGrath <roland@baalperazim.frob.com> - - * dev.c (dev_buf_fill): Add braces to silence gcc warning. - -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * storeio.c (main): Fix return type to int, and use return. - -Wed Aug 20 14:07:05 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * pager.c (dev_get_memory_object): Deal with errors from - pager_create properly. - - * pager.c (service_paging_requests): New args for - ports_manage_port_operations_multithread. - * storeio.c (main): Likewise. - -1997-07-23 Miles Bader <miles@gnu.ai.mit.edu> - - * io.c (trivfs_S_io_readable, trivfs_S_io_read, trivfs_S_io_map): - Return EBADF instead of EINVAL. - (trivfs_S_io_select): Don't bother returning EBADF. - -1997-07-22 Miles Bader <miles@gnu.ai.mit.edu> - - * io.c (trivfs_S_io_read): Return EINVAL instead of EBADF. - (trivfs_S_io_map): Return EINVAL if CRED cannot be read or written. - -1997-07-21 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): Add iohelp. - -1997-07-17 Miles Bader <miles@gnu.ai.mit.edu> - - * io.c (trivfs_S_io_map): Pass PROT argument to dev_get_memory_object. - * pager.c (dev_get_memory_object): Add PROT arg. Use store_map. - * dev.h (dev_get_memory_object): Add PROT arg. - -1997-07-16 Miles Bader <miles@gnu.ai.mit.edu> - - * pager.c (pager_read_page): Initialize READ to 0. - - * pager.c (dev_get_memory_object): Implement correctly. - (dev_stop_paging): Work entirely by flushing user pagers; don't kill pager. - (pager_clear_user_data): Zero our pointer to the pager. - - * io.c (trivfs_S_io_map): Make sure there are enough references to - MEMOBJ for both read & write ports. - -Wed Feb 19 21:42:45 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * storeio.c (fsys_port_class, root_port_class, port_bucket, - trivfs_protid_portclasses, trivfs_protid_nportclasses, - trivfs_cntl_portclasses, trivfs_cntl_nportclasses): Variables removed. - (main): Don't set or use port class/bucket variables, let - trivfs_startup do it. - Add FSYS variable. - (doc): Make an initialized array. - (parse_opt): New function (was nested in main). - (argp, argp_kids): New variables (were nested in main). - (trivfs_goaway): Get ROOT_PORT_CLASS from FSYS. - -Fri Nov 15 17:54:10 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * storeio.c (trivfs_check_open_hook): New arg syntax. - (check_open_hook): Likewise. - -Thu Oct 24 16:24:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeio.c (main): Use elements of type `struct argp_child' for KIDS. - -Mon Oct 7 16:38:06 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * io.c (trivfs_S_file_get_storage_info): If necessary to enforce - security, make a copy of STORE and inactivate it before returning. - -Thu Sep 26 14:26:17 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeio.c (trivfs_S_file_check_access): Function removed (trivfs - default is now sufficient). - -Tue Sep 24 15:52:04 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeio.c (trivfs_S_file_check_access): New function. - (check_open_hook): Return EROFS if O_WRITE on a readonly device. - -Mon Sep 23 17:21:23 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeio.c (trivfs_append_args): Make ARGZ_LEN of type `size_t *'. - Narrow scope of BUF. - <argz.h>: New include. - -Thu Sep 19 18:12:48 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeio.c (trivfs_append_args): New function. - -Wed Sep 18 15:16:27 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * io.c (trivfs_S_io_read, trivfs_S_io_write): Use void * buffers. - * open.h (open_read, open_write): Likewise. - * open.c (open_read, open_write): Likewise. - * dev.h (struct dev, dev_read, dev_write): Likewise. - * dev.c (dev_buf_fill, dev_read, dev_write): Likewise. - * pager.c (pager_read_page): Cast BUF into void ** for dev_read. - - * storeio.c (main): Use STORE_PARAMS variable to get result from - parsing STORE_ARGP. - - * dev.c (dev_open): Remove CLASSES argument to store_parsed_open. - -Thu Sep 19 17:18:11 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (storeio): Deleted special dependencies. - -Fri Sep 13 11:05:06 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeio.c (argp_program_version): New variable. - <version.h>: New include. - -Tue Sep 10 17:13:55 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * dev.c (dev_rw): Return EINVAL instead of EIO for too-large offsets. - - * dev.c (dev_open, dev_close): Remove ifdef'd-out code for allocating - DEV's buffer with valloc; other things depend on it being vm_allocated. - - * io.c (trivfs_S_file_get_storage_info): Use store_return. diff --git a/sutils/ChangeLog b/sutils/ChangeLog deleted file mode 100644 index 71edeb8c..00000000 --- a/sutils/ChangeLog +++ /dev/null @@ -1,460 +0,0 @@ -2007-04-07 Thomas Schwinge <tschwinge@gnu.org> - - * swapon.c (main, doc) [!SWAPOFF]: Unless overridden, consider a - swap signature when deciding whether to add a paging device or not. - - * MAKEDEV.sh (mkdev): Specify the creation of `lpr[0-9]' devices. - -2002-09-17 Marcus Brinkmann <marcus@gnu.org> - - * MAKEDEV.sh (mkdev: vcs): New console device. - (mkdev: tty[0-9a-f]|tty[0-9][0-9a-f]): Replaced with new rules for - tty[1-9][0-9]. - -2002-06-26 Roland McGrath <roland@frob.com> - - * swapon.c (swaponoff): Fix last change. - -2002-06-14 Roland McGrath <roland@frob.com> - - * swapon.c (swaponoff): If get_privileged_ports fails with EPERM, try - to open /servers/default-pager instead. - -2002-05-07 Roland McGrath <roland@frob.com> - - * swapon.c (check_signature): Use %zu for size_t arg. - -2002-05-03 Roland McGrath <roland@frob.com> - - * reboot.c: Include <error.h>. - * halt.c: Likewise. - -2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca> - - * halt.c (main): Use error, not perror. - * reboot.c (main): Likewise. - * update.c (main): Use error, not perror and exit. - -2002-03-23 Roland McGrath <roland@frob.com> - - * MAKEDEV.sh (mkdev: shm): Change tmpfs size argument to 50%. - - * MAKEDEV.sh (mkdev: shm): Give the file mode 644 and pass - options to tmpfs: -m 1777 512M. - - * MAKEDEV.sh (mkdev: shm): New, uses /hurd/tmpfs filesystem. - (mkdev: std): Add shm to the standard list. - -2001-09-06 Roland McGrath <roland@frob.com> - - * MAKEDEV.sh (pty cases): Remove ptyT? from the set. Add pty?[g-v]. - -2001-02-27 Roland McGrath <roland@frob.com> - - Use a new, more flexible RPC interface to the default pager. - This allows swapon to do its own interpretation of Linux swap - signature pages, and to support partial-device stores such as - store_open will return for regular files on disk filesystems. - * swapon.c: Include <hurd/default_pager.h>, not <mach/default_pager.h>. - (ignore_signature, require_signature, quiet): New variables. - (options): Add --silent, --no-signature, --require-signature. - (main: parse_opt): Parse them. - (check_signature): New function. - (swaponoff): Use it unless --no-signature set, to get a remapped store - using the pages indicated by the Linux signature page. Try new - default_pager_paging_storage RPC first, using a possibly-remapped - device store. If the default pager does not support that, fall back - to the old protocol that only supports whole devices (and wherein the - default pager itself interprets a Linux signature page). - * Makefile (swapon, swapoff): Depend on default_pagerUser.o. - -2001-02-18 Marcus Brinkmann <marcus@gnu.org> - - * fstab.c (STORE): Only copy when field exists (is non-zero). - Reported by Alexey Dejeka <alexey@comail.ru>. - -2001-01-14 Marcus Brinkmann <marcus@gnu.org> - - * MAKEDEV.sh (mkdev: klog): New device, using /hurd/streamio kmsg. - (mkdev: std): Add klog to the standard list. - -2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> - - * clookup.c (file_name_lookup_carefully): Don't use MOVE_SEND in - Hurd RPC. - -1999-12-03 Roland McGrath <roland@baalperazim.frob.com> - - * MAKEDEV.sh (mkdev: full): New device, using /hurd/null --full. - (mkdev: std): Add full to the standard list. - -1999-11-19 Roland McGrath <roland@baalperazim.frob.com> - - * MAKEDEV.sh (mkdev: time): Use --no-cache flag. - (mkdev: mem): New storeio device. - (mkdev: std): Add mem to standard list. - - * Makefile (progs, scripts): New variables. - (targets, special-targets, SRCS, OBJS): Define in terms of those. - (libshouldbeinlibc dep rule): Replaced with static pattern rule - with $(progs) as target list, giving %.o dep as well. - -1999-11-16 Roland McGrath <roland@baalperazim.frob.com> - - * swapon.c (swaponoff): Check for a null default pager port. - -1999-10-01 Roland McGrath <roland@baalperazim.frob.com> - - * fstab.c (fstypes_get): Check strdup return for ENOMEM failure. - (fstypes_find_program): New function, #if 0'd out for now. - (fstab_argp, fstab_argp_create, options, parse_opt): New variables - and functions. - * fstab.h: Misc comment fixes. - (struct fstab_argp_params): New type. - (fstab_argp, fstab_argp_create): Declare them. - * fsck.c (options): Remove --fstab/-F, --search-fmts/-S, - --exclude-root/-R, --exclude/-X, --fstype/-t, --all/-A; - all of these are now factored out into fstab_argp. - (main): Remove parsing code for options now in fstab_argp. - Instead, use fstab_argp as an argp_child and use fstab_argp_create - to process the option-parsing results into a struct fstab * to process. - - * fstab.c (fstab_read): Undo change of 1999-09-17. - It should not be necessary at all, given 1999-05-23 change, and: - (fstab_find_mount): Do not consider name "ignore" to match any mount. - -1999-10-11 Roland McGrath <roland@baalperazim.frob.com> - - * MAKEDEV.sh (fd): Pass --directory to /hurd/magic translator. - -1999-09-17 Thomas Bushnell, BSG <tb@mit.edu> - - * fstab.c (fstab_read): Ignore filesystems with types of ignore, - nfs, or swap. - -1999-09-14 Thomas Bushnell, BSG <tb@mit.edu> - - * MAKEDEV.sh (mkdev): pty master and slave nodes should have mode - 666, not 640. Reported by Marcus Brinkmann - <Marcus.Brinkmann@ruhr-uni-bochum.de>. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * clookup.c: Add #include <sys/mman.h>. - - * Makefile (special-targets): Add losetup. - (SCRIPTS): Add losetup.sh. - * losetup.sh: New file. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * clookup.c (file_name_lookup_carefully): Use munmap instead of - vm_deallocate. - -1999-06-11 Roland McGrath <roland@baalperazim.frob.com> - - * fstab.c (fstypes_get): Don't free PROGRAM twice on ENOENT failure. - - * fsck.c (options): Add -t/--fstype option. - (main): Parse that option, and use it to constrain fstab list. - - * fsck.c (FSCK_F_DRYRUN): New macro. - (options, main): Add -N/--dry-run option to set it. - (fs_start_fsck): If FSCK_F_DRYRUN set, just print out and return zero. - * fsck.c (fscks_start_fsck): If FSCK_F_DRYRUN is set, don't try to - make read-only, just print a message that we would. - - * fsck.c (options, main): Change --fstab from -t to -F. - -1999-06-10 Roland McGrath <roland@baalperazim.frob.com> - - * fsck.c (options): Add -A/--all and -R/--exclude-root options for - compatibility with Linux, and --exclude=PATTERN as general form. - (main): Parse them. Constrain fstab list by exclude patterns. - - * fsck.c (fsck): Don't check for "noauto" mntopt. No other system - skips a filesystem because of it. - (fsck): Always start at pass 1, not 0. In every other system, - "pass 0" always means to skip that filesystem entirely. - -1999-05-23 Roland McGrath <roland@baalperazim.frob.com> - - * MAKEDEV.sh (ECHO, EXEC): Do not export. - (DEVDIR): Initialize to `pwd` before argument parsing. - (_CWD): Don't set this. - (lose): New function. Use it for all miscellaneous fatal errors. - (mkdev): Disallow directory names. Always use ${DEVDIR} for name to - embed in translator settings. - Rewrite syntax checking for disk device names. - - * fstab.c, fstab.h: Add numerous `const' qualifiers. - - * fstab.c (fstab_find_mount): Don't count "none" or "-" as matching - any other entry. - - * fsck.c (struct fsck): Don't use bitfield. - -1999-05-15 Roland McGrath <roland@baalperazim.frob.com> - - * swapon.c: Support -a (reading fstab). - -1999-05-13 Roland McGrath <roland@baalperazim.frob.com> - - * MAKEDEV.sh (case 'time'): Make /dev/time mode 644, not 666. - -Thu Feb 18 02:13:47 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * MAKEDEV.sh (mkdev): put `time' in single-quotes; it's a reserved - word in bash 2.02 and this protects it. Reported by OKUJI - Yoshinori <okuji@kuicr.kyoto-u.ac.jp>. - -Mon Feb 1 16:27:15 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * MAKEDEV.sh (PATH): Add /usr/bin out of deference to users - lacking the /usr symlink. Requested by Marcus Brinkmann - <Marcus.Brinkmann@ruhr-uni-bochum.de>. - -1998-11-29 Roland McGrath <roland@baalperazim.frob.com> - - * fsck.c (main): Add braces to silence gcc warning. - - * fstab.c: Rename fsys_remount -> fsys_update in extern decl. - -1998-11-28 Roland McGrath <roland@baalperazim.frob.com> - - * clookup.c (file_name_lookup_carefully): Change __getuids to geteuids. - Use hurd_file_name_lookup instead of __hurd_file_name_lookup. - -1998-10-24 Roland McGrath <roland@baalperazim.frob.com> - - * clookup.c (file_name_lookup_carefully): Use getdport instead of - __getdport, getumask () instead of _hurd_umask. - -1998-10-20 Roland McGrath <roland@baalperazim.frob.com> - - * fstab.c (fstab_add_mntent): Add braces to silence gcc warning. - (fs_readonly): Likewise. - -1998-07-19 Roland McGrath <roland@baalperazim.frob.com> - - * swapon.c (main): Fix return type to int, and use return. - -1997-10-28 Miles Bader <miles@gnu.ai.mit.edu> - - * MAKEDEV.sh (mkdev): Support 256 ptys. - -1997-08-20 Miles Bader <miles@gnu.ai.mit.edu> - - * fstab.c (_fs_check_mounted): file_get_translator_cntl can also - return ENXIO for an inactive translator. - -1997-08-19 Miles Bader <miles@gnu.ai.mit.edu> - - * MAKEDEV.sh (mkdev): Handle devices of the form "cd*". - -1997-07-22 Miles Bader <miles@gnu.ai.mit.edu> - - * MAKEDEV.sh (time): Use /hurd/storeio instead of /hurd/devport. - -1997-07-09 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (targets): Add swapon & swapoff. - (SRCS): Add swapon.c & swapoff.c. - Add dependencies on libstore. - (HURDLIBS): Add libstore. - -1997-06-25 Miles Bader <miles@gnu.ai.mit.edu> - - * MAKEDEV.sh (mkdev): Add missing `ln' to command for stderr. - -1997-06-24 Miles Bader <miles@gnu.ai.mit.edu> - - * MAKEDEV.sh: Use bash fancy variables instead of various programs. - Try to get the correct devdir even if it's not the cwd. - Add new options --verbose/-v and --dry-run/-n. - (cmd): New function. - (st, mkdir): Use cmd to execute any real commands. - -1997-06-23 Miles Bader <miles@gnu.ai.mit.edu> - - * MAKEDEV.sh: Add the --devdir/-D option. - Use the basename of $I instead of $I for various things. - Correctly put derived names in the same directory as the arg. - -1997-06-21 Miles Bader <miles@gnu.ai.mit.edu> - - * e2os.sh: Use conv=notrunc when writing the superblock back to - the filesystem device, in case it's a file and not a real device. - - * e2os.sh: If $OD & $AWK don't exist, try to get them from - /usr/bin, so that this script works under linux too. - -Fri Feb 28 21:27:20 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * fsck.c (fsck_cleanup): Correctly remove from fscks chain. - -Sun Feb 23 02:57:46 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * MAKEDEV.sh (mkdev): Make I local. - -Wed Feb 19 23:08:04 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * halt.c, reboot.c, fsck.c (argp_program_version): Make const. - -Wed Feb 5 11:50:19 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * fstab.c (fstypes_get): Improve error behavior a bit. - - * fsck.c (fsck): In non-automatic mode, print a warning if a - filesystem is of a type that can't be fscked. - -Tue Feb 4 17:09:39 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * fstab.c (fs_set_mntent): Avoid null deferences. - (fstypes_get): Fill in FSTYPE in the case where we added a new type. - -Thu Sep 26 15:36:55 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (targets, special-targets): Add MAKEDEV. - (SCRIPTS): Add MAKEDEV.sh. - (DIST_FILES): Variable removed. - (all): Target removed. - ($(prefix)/dev/MAKEDEV): Get rid of dependencies. - Implement with a symbolic link to /sbin/MAKEDEV. - (%: %.sh): Variable removed. - -Tue Sep 24 14:46:11 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * MAKEDEV.sh: Fix argument parsing. - (zero): Use `storeio -Tzero' instead of `null -z'. - -Thu Sep 19 17:48:59 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fstab.c (fs_remount): Use fsys_update instead of fsys_remount. - -Wed Sep 18 19:12:19 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * MAKEDEV.sh: Use a shell function `mkdev' for recursion, rather - than calling this script recursively. - -Thu Sep 12 18:53:42 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsck.c (fs_start_fsck): Print an error for filesystem types we - don't know how to fsck, instead of dying with an assertion failure. - -Thu Sep 19 16:58:18 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (install): Depend on installation directory directly; - don't make installed files depend on it. - -Tue Sep 17 12:36:09 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile ($(prefix)/dev/MAKEDEV): Depend on $(prefix)/dev. - ($(prefix)/dev): New target. - -Thu Sep 12 16:38:11 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - -Sun Sep 8 13:57:34 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * MAKEDEV.sh: New file. - * Makefile (DIST_FILES): New variable. - (install): Depend on $(prefix)/dev/MAKEDEV. - (all): Depend on MAKEDEV. - ($(prefix)/dev/MAKEDEV): New rule. - -Thu Sep 5 11:40:00 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile: Use $(top_srcdir)/sh-version.sed to make executables - from .sh files. - - * fsck.c: Include <version.h>. - (argp_program_version): Define with STANDARD_HURD_VERSION. - * halt.c: Likewise. - * reboot.c: Likewise. - -Tue Aug 27 12:06:55 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * reboot.c, halt.c (main): Add argument parsing. - (argp_program_version): New variable. - <argp.h>, <hurd.h>: New includes. - * Makefile (fsck): Remove dependency on libshouldbeinlibc.a. - (reboot halt fsck): Add dependency on libshouldbeinlibc.a. - -Mon Aug 19 15:17:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsck.c (doc): Supply a useful value. - -Wed Aug 14 13:32:12 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * e2os.sh: Add `;' before last commands inside { } pairs. - (OS_FREEBSD, OS_LITES): New variables. - Add symbolic names for freebsd & lites. - -Mon Aug 12 10:51:24 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * e2os.sh: New file. - * Makefile (targets): Add e2os. - (SRCS): Add $(SCRIPTS). - (special-targets, SCRIPTS, LCLHDRS): New variables. - -Thu Aug 1 16:29:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * clookup.c (file_name_lookup_carefully/lookup): When appending - TAIL to RETRY_NAME, use strcpy instead of strcat. - -Sat Jul 6 19:55:22 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsck.c: (argp_program_version): New variable. - -Wed Jul 3 14:22:03 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fstab.c (fstab_add_fs): Don't SEGV if COPY is 0. - -Thu Jun 27 00:01:04 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsck.c (fsck): Fsck pass 0 if not in automatic mode. Respect - `noauto' option in automatic mode. - (main): Set FSCK_F_AUTO flag if in automatic mode. - (FSCK_F_AUTO): New macro. - (fs_start_fsck): When deciding to use a flags arg, mask flags - against an explicit list of valid ones. - -Tue Jun 25 18:39:44 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsck.c (main, options): Add --writable/-w option. - (FSCK_F_WRITABLE): New macro. - (struct fsck): Rename WAS_READONLY field to MAKE_WRITABLE. - (fscks_start_fsck): Change to set make_writable field instead of - was_readonly. - (fsck_cleanup): Change RESTORE_WRITABLE to MAKE_WRITABLE. - (fscks_wait): Likewise. - -Thu Jun 20 14:08:12 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsck.c (fsck): Wait for fscks to finish. - * fstab.c (fstypes_create): Copy SEARCH_FMTS contents into NEW. - (fs_set_mntent): Don't keep old fsys fields if the mnt_dir is changed. - (fstab_add_mntent): Initialize fields in FS with non-zero values. - (_fs_check_mounted): The root is always mounted. - -Wed Jun 19 10:44:16 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fstab.c (fs_set_readonly, fs_remount): If fsys_set_options - returns EINVAL, return EOPNOTSUPP instead. - (fs_set_readonly): Use fsys_set_readonly. - (fs_remount): Use fsys_remount. - (fs_readonly): Use fsys_get_readonly. - (_fs_check_mounted): Use file_name_lookup_carefully. - * clookup.c: New file. - * fsck.c (_debug): New variable. - (debug, fs_debug): New macros. - (fs_start_fsck, fscks_start_fsck, fsck_cleanup, fscks_wait, fsck, main): - Add debugging noise. - (main): Use FSTAB_PATH instead of _PATH_MNTTAB. - (args_doc): Fix. - -Tue Jun 18 22:56:11 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsck.c (options): Rename `--max-parallel' to `--parallel'. diff --git a/term/ChangeLog b/term/ChangeLog deleted file mode 100644 index aa997d57..00000000 --- a/term/ChangeLog +++ /dev/null @@ -1,1023 +0,0 @@ -2004-03-05 Marcus Brinkmann <marcus@gnu.org> - - * term.h (QUEUE_LOWAT): Increase to 200. - (QUEUE_HIWAT): Increase to 8100. - -2003-04-25 Alfred M. Szmidt <ams@kemisten.nu> - - * term.h (rdev): Change type to dev_t. - -2002-11-20 Roland McGrath <roland@frob.com> - - * main.c (parse_opt: case ARGP_KEY_SUCCESS): After initializing a new - bottomhalf, call its assert_dtr hook if TTY_OPEN is set in termflags. - -2002-11-19 Roland McGrath <roland@frob.com> - - * main.c (parse_opt: case ARGP_KEY_SUCCESS): Set tty_arg along with - tty_type from new argument value. - Reported by David Walter <dwalter@syr.edu>. - -2002-09-10 Marcus Brinkmann <marcus@gnu.org> - - * hurdio.c (hurdio_writer_loop): Check output_stopped instead termflags. - Move the code that signals the underlying file to ... - (hurdio_start_output): ... here. - - * munge.c (input_character): Really toggle USER_OUTPUT_SUSP if - VSTART == VSTOP. - - * hurdio.c (hurdio_writer_loop): Desert the DTR on all errors, not - only EIO. - (hurdio_reader_loop): Likewise. - -2002-08-18 Roland McGrath <roland@frob.com> - - * main.c (main): Open with O_RDWR only for hurdio bottomhalf. - -2002-06-25 Roland McGrath <roland@frob.com> - - * term.h (struct bottomhalf): New member `fini'. - * hurdio.c (hurdio_fini): New function. - (hurdio_bottom): Use it. - * devio.c (devio_fini): New function. - (devio_bottom): Use it. - * ptyio.c (ptyio_bottom): Add 0 entry for `fini'. - - * main.c (trivfs_runtime_argp): New variable. - (options): Add --name/-N and --type/-T options. - (parse_opt): Collect parsed options in temporary storage and apply - them only at final success. For T_HURDIO, allow absent arg. - For non-startup parsing call, allow any missing args. - (tty_type_names): New const variable. - (trivfs_append_args): New function. - (main): Open underlying node with O_RDWR. - * hurdio.c (wait_for_dtr): If tty_arg is null, use termctl->underlying - instead of opening a node by name. - (hurdio_desert_dtr): If tty_arg is null, don't deallocate ioport. - -2002-06-25 Marcus Brinkmann <marcus@gnu.org> - - * term.h (struct bottomhalf): New member GWINSZ. - * devio.c (devio_bottom): Add new member. - * ptyio.c (ptyio_bottom): Likewise. - * hurdio.c (hurdio_bottom): Likewise. - (hurdio_gwinsz): New function. - (tioc_caps): Change type to unsigned int. - (TIOC_CAP_GWINSZ): New symbol. - * users.c (open_hook): Call GWINSZ of bottom layer after - establishing the carrier. - -2002-06-13 Roland McGrath <roland@frob.com> - - * ptyio.c (pty_io_readable): int -> size_t in argument type. - * term.h: Update decl. - * users.c (trivfs_S_io_write): int -> size_t in AMT argument type. - (trivfs_S_io_readable): Likewise. - (trivfs_S_io_read): Likewise. Also u_int -> size_t, off_t -> loff_t. - (trivfs_S_io_write): Likewise. - (trivfs_S_io_map): Add reply port args. - -2002-05-28 Roland McGrath <roland@frob.com> - - * devio.c (device_open_reply): int -> size_t - (devio_set_bits, devio_mdmctl, devio_mdmstate): Likewise. - -2002-05-08 Roland McGrath <roland@frob.com> - - * main.c (main): Add a return after `error' call to clue compiler in. - -2002-05-03 Roland McGrath <roland@frob.com> - - * hurdio.c (hurdio_reader_loop): Add a return stmt. - (hurdio_writer_loop): Likewise. - -2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca> - - * main.c: Include <error.h>. - (main): Use error, not fprintf and exit or perror and exit. Use - ERR, not errno. Use MACH_PORT_NULL explicitly. - * users.c: Include <error.h>. - (init_users): Use ERR, not errno. Use error, not perror and exit. - -2002-03-05 Marcus Brinkmann <marcus@gnu.org> - - * main.c (main): Use memset instead bzero. - Fix error message, and formatting of some comments. - * ptyio.c (pty_io_read): Use memcpy instead bcopy. - - * users.c (S_tioctl_tiocflush): Ignore error by bottom handler's - notice_input_flushed. - * users.c (set_state): Likewise. - If bottom handler's set_bits fails, don't adjust terminal state - but return success anyway. - -2002-02-10 Marcus Brinkmann <marcus@gnu.org> - - * term.h: Declare rdev. - * main.c (options): New variable. - (parse_opt): Handle case `n' to set rdev number. - Also return EINVAL if terminal type is invalid. - * users.c (trivfs_modify_stat): Set ST->st_rdev to global rdev. - -2002-02-10 Marcus Brinkmann <marcus@gnu.org> - - * hurdio.c: New file. - * Makefile (SRCS): Add hurdio.c. - * term.h: Add hurdio_bottom declaration. - * main.c: Add T_HURDIO to enum of tty_type. - (parse_opt): Add case for hurdio bottom handler. - (term_argp): Likewise. - (main): Likewise. - -2002-02-10 Marcus Brinkmann <marcus@gnu.org> - - * main.c: Include `argp.h' and `version.h'. - (argp_program_version): New global variable. - (tty_name, tty_type, tty_arg): Likewise. - (parse_opt): New function. - (term_argp): New global variable. - (main): Call argp_parse, use new global variables to parse the - options. Remove TYPE variable. Get the bootstrap port after - checking the argument line. - * term.h (pterm_name): Remove variable. - (tty_arg): Declare variable. - * devio.c (initial_open): Use tty_arg instead pterm_name. - (devio_assert_dtr): Likewise. - -2002-02-10 Marcus Brinkmann <marcus@gnu.org> - - * term.h: Include `hurd/hurd_types.h'. - (struct bottomhalf): Change the return types of the following - members from void to error_t: abandon_physical_output, - suspend_physical_output, notice_input_flushed, desert_dtr, - set_break, clear_break, start_output, set_bits (which now takes an - struct termios * as argument), mdmctl and mdmstate (which now - takes an int * as argument). Add new members init and type. - (bottom): Define as const. - (devio_bottom, ptyio_bottom): Declare as const. - (drop_output): Change return type from void to error_t. - (ptyio_init): Remove prototype. - * devio.c (devio_abandon_physical_output): Change return value to - error_t, and return 0. - (devio_suspend_physical_output): Likewise. - (devio_notice_input_flushed): Likewise. - (devio_desert_dtr): Likewise. - (devio_set_break): Likewise. - (devio_clear_break): Likewise. - (devio_start_output): Likewise. - (devio_set_bits): Likewise. - (devio_mdmctl): Likewise. - (devio_mdmstate): Likewise. - (init_devio): Rename to ... - (devio_init): ... this. Do not give constructor attribute. - Change return type to error_t, and return an error value, rather - than bailing out. Declare as static. - (devio_bottom): Add type TERM_ON_MACHDEV and init function - devio_init, and define as const. - (devio_set_bits): Accept new argument STATE and use that to work - out the terminal state, rather than changing the global termstate. - (devio_mdmstate): Accept new argument STATE and use that to return - the bits. - * ptyio.c: Do not include `hurd/hurd_types.h'. - (ptyio_suspend_physical_output): Change return value to error_t, - and return 0. Likewise. - (ptyio_notice_input_flushed): Likewise. - (ptyio_desert_dtr): Likewise. - (ptyio_set_bits): Likewise. - (ptyio_set_break): Likewise. - (ptyio_clear_break): Likewise. - (ptyio_mdmctl): Likewise. - (ptyio_start_output): Likewise. - (ptyio_abandon_physical_output): Likewise. - (ptyio_mdmstate): Likewise, and accept new argument STATE. - (ptyio_init): Declare as static and change return type to error_t. - (ptyio_bottom): Add type TERM_ON_MASTERPTY and init function - ptyio_init, and define as const. - (ptyio_set_bits): Accept new argument STATE and use that to work - out the terminal state, rather than changing the global termstate. - (ptyio_mdmstate): Accept new argument STATE and use that to return - the bits. - * munge.c (drop_output): Change return value to error_t. Only - clear queue if there was no error. - * users.c (S_term_get_bottom_type): Just return bottom->type. - (set_state): Rework logic to take possible errors into account, - and to delay changing the termstate until we know that we won't - fail. - (S_tioctl_tiocflush): Return errors properly, and clear queue only - if notice_input_flushed succeeded. - (open_hook): Save error value of set_bits. Save old termflags and - restore them if if set_bits failed. Call set_bits with correct - arguments. - (S_tioctl_tiocmods): Set err to result of mdmctl. - (S_tioctl_tiocmset): Likewise. - (S_tioctl_tiocmbic): Likewise. - (S_tioctl_tiocmbis): Likewise. - (S_tioctl_tioccdtr): Likewise. - (S_tioctl_tiocsdtr): Likewise. - (S_tioctl_tioccbrk): Likewise for clear_break. - (S_tioctl_tiocsbrk): Likewise for set_break. - (S_tioctl_tiocstart): Likewise for start_output. Save old - termflags and restore them if if start_output failed. - (S_tioctl_tiocstop): Likewise for stop_output. - (S_trivfs_io_write): Abort the operation if start_output fails. - Do not call start_output if it just failed, or if there was no - data to be written. - * main.c (main): Initialize bottom handler (rather than special - casing this for ptyio). - - * users.c (open_hook): Use memcpy instead bcopy and memset instead - bzero. - (S_tioctl_tiocgeta): Likewise. - (set_state): Likewise. - (open_hook): Likewise. - * munge.c (rescan_inputq): Likewise. - -2002-01-30 Marcus Brinkmann <marcus@gnu.org> - - * users.c (trivfs_S_io_select): Remove IDTAG argument. - Also in invocation of pty_io_select. - * ptyio.c (pty_io_select): Likewise. - * term.h (pty_io_select): Likewise. - -2002-01-04 Marcus Brinkmann <marcus@gnu.org> - - * devio.c (bogus_speed_to_real_speed): Handle B57600, B115200 if - they are defined. Reported by Diego Roversi <diegor@tiscalinet.it>. - -2001-12-17 Roland McGrath <roland@frob.com> - - * munge.c (input_character): Fix DISCARD character handling - so it doesn't process the character as plain input. - -2001-10-14 Roland McGrath <roland@frob.com> - - * devio.c (real_speed_to_bogus_speed): Handle B57600, B115200 if they - are defined. Reported by Diego Roversi <diegor@tiscalinet.it>. - -2001-04-01 Neal H Walfield <neal@cs.uml.edu> - - * users.c (S_termctty_open_terminal): Use iohelp_create_empty_iouser. - -2001-06-01 Roland McGrath <roland@frob.com> - - * users.c (trivfs_S_io_select): Fix typo in last change. - -2001-05-30 Roland McGrath <roland@frob.com> - - * users.c (trivfs_S_io_select): Mask out SELECT_READ and/or - SELECT_WRITE if those accesses are not allowed by the peropen. - Don't keep old bits in AVAILABLE across waits, return only - what is true at the moment we return. - -2001-05-27 Roland McGrath <roland@frob.com> - - * users.c (trivfs_S_io_select): Don't mask out SELECT_URG bit. - Just let it never be set in the eventual result. Yes, this - can mean blocking forever when SELECT_URG is the only bit set. - -2001-05-26 Roland McGrath <roland@frob.com> - - * users.c (trivfs_S_io_select): Don't diagnose an error for *TYPE - containing irrelevant bits (i.e. SELECT_URG). It's always ok to - ask even when the answer is always no. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile (HURDLIBS): Reorder libs such that the threads lib - comes before the ports lib. This makes sure the functions in - libthreads properly override the stubs in libports with the new - dynamic linker semantics in glibc 2.2. - -2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> - - * main.c (main): Don't use MAKE_SEND in Hurd RPC. - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * devio.c (devio_abandon_physical_output): Use ports_get_send_right. - (initial_open): Use ports_get_send_right. - (device_open_reply): Use ports_get_send_right. - - * users.c (send_signal): Use ports_get_send_right. - -1999-10-04 Thomas Bushnell, BSG <tb@mit.edu> - - * term.h, devio.c, users.c: Revert previous change. Do it this - way instead: - * users.c (report_carrier_error): New function. - (carrier_error): New static global variable. - (open_hook): Deal with errors from carrier open. - * devio.c (device_open_reply): Move the !RETURNCODE case out of - the "initial open" case and use report_carrier_error. - * term.h (report_carrier_error): Declare new function. - -1999-10-01 Roland McGrath <roland@baalperazim.frob.com> - - * term.h (NO_DEVICE): New macro, bit for termflags. - (termflags): Change type to uint_fast32_t. - * devio.c (device_open_reply): For D_NO_SUCH_DEVICE error reply, set - NO_DEVICE flag in termflags. - * users.c (open_hook): If NO_DEVICE flag set, return ENXIO immediately. - If we put out an open request, check for that bit as well as - NO_CARRIER changing in termflags and diagnose with ENXIO. - - * Makefile (device_replyServer-CPPFLAGS): New variable, turn off - TypeCheck for this stub. This is necessary for error replies to get - through to our server-side functions in devio.c. - -1999-09-13 Roland McGrath <roland@baalperazim.frob.com> - - * users.c: Reverted changes related to io_map_segment. - -1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> - - * users.c (trivfs_S_io_map): Renamed to ... - (trivfs_S_io_map_segment): ... here. - -1999-07-23 Roland McGrath <roland@baalperazim.frob.com> - - * term.h (ILCASE, OLCASE): Use IUCLC, OLCUC if defined. - -1999-07-11 Roland McGrath <roland@baalperazim.frob.com> - - * term.h: Add #include <sys/mman.h>. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * ptyio.c (pty_io_read): Use mmap instead of vm_allocate. - * users.c (trivfs_S_io_read): Likewise. - -1999-05-24 Mark Kettenis <kettenis@gnu.org> - - * devio.c: Include <assert.h>, <errno.h> and <error.h>. Do - not include <stdio.h> and <sys/types.h>. - Reorganize the order of inclusion of the header files a bit and - document the baud-rate hackery. Include <termios.h> explicitely. - (init_devio): Use new local variable ERR instead of ERRNO. Use - error instead of perror and exit to report failure. - (devio_desert_dtr): Declare BITS as `int' instead of - `dev_status_t'. - -1999-05-13 Roland McGrath <roland@baalperazim.frob.com> - - * users.c (trivfs_S_file_chown): Either arg being -1 means don't - change that id. - -1999-03-22 Roland McGrath <roland@baalperazim.frob.com> - - * devio.c (initial_open): Fix typos. - -Wed Mar 17 16:32:05 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * users.c (S_term_get_peername): Compare BOTTOM against the - correct value, and call ports_port_deref with the proper name. - Reported by Yamashita TAKAO (az207@epa.go.jp). - - * devio.c (devio_desert_dtr): Cast &BITS correctly in call to - device_set_status. - (device_open_reply): Alwas clean open_pending no matter what. Use - ERR instead of ERRNO. On fake opens, close the device before - deallocating the port. - Reported by Mark Kettenis (kettenis@gnu.org). - -Tue Mar 16 01:04:06 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * devio.c (open_pending): Make an enum. - (devio_desert_dtr): Don't close the device, just set the TM_HUP - modem bit, which should cause a hangup to occur. - (devio_assert_dtr): Don't always open the device, instead use - initial_open the first time, and schedule a fake open the other - times. - (initial_open): New function, guts from old device_assert_dtr. - (device_open_reply): Distinguish replies from initial and fake - opens appropriately. - (ports_do_mach_notify_send_once): Test and set open_pending using - new enum values. - -Mon Mar 15 14:58:33 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * users.c (S_term_get_peername): Implement new RPC. - - * users.c (S_term_get_nodename): Return ENOENT if the name is not - set. - -1999-03-13 Mark Kettenis <kettenis@gnu.org> - - * users.c (po_destroy_hook): Only reset state and hardware if - TTY_OPEN bit is set in TERMFLAGS. - -Mon Mar 1 09:11:06 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * munge.c (output_width): If C is a tab, then the width is the - offset from LOC, not the total final position of the tab. - Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi). - -1999-02-28 Roland McGrath <roland@baalperazim.frob.com> - - * users.c (trivfs_S_io_revoke): Use ports_class_iterate. - -Mon Feb 22 04:34:55 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * users.c (trivfs_S_io_revoke): Protect the revocation by blocking - all other rpcs. - -Sat Feb 20 04:59:15 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * users.c (trivfs_S_io_revoke): Release global_lock before - beginning the iteration. - - * users.c (trivfs_S_io_revoke): Add reply, reply_type args. - -1999-02-06 Mark Kettenis <kettenis@gnu.org> - - * main.c (main): Initialize status from underlying node. - * users.c (check_access_hook): New function. Correctly implement - access permission checking. - (trivfs_check_access_hook): Initialize with check_access_hook. - (trivfs_S_file_check_access): Removed. - -Thu Feb 18 00:57:30 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * devio.c (devio_assert_dtr): Bother to set open_pending. - Reported by OKUJI Yoshinori (okuji@kuicr.kyoto-u.ac.jp). - -1999-02-16 Roland McGrath <roland@baalperazim.frob.com> - - * users.c (trivfs_S_io_revoke): Fix typos. - -Tue Feb 16 06:10:08 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * users.c (trivfs_S_io_revoke): New function. - -1999-02-05 Mark Kettenis <kettenis@gnu.org> - - * users.c (trivfs_S_file_chmod): Clear S_ISVTX bit instead of - clearing all other bits. - -Sat Jan 30 00:27:14 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * munge.c (create_queue): Make sure that malloc succeeds. - Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>. - -1998-10-24 Roland McGrath <roland@baalperazim.frob.com> - - * users.c (open_hook): Assert DTR if NO_CARRIER, even for CLOCAL. - This is the only thing that tells it to open the device. - -Mon Oct 26 16:47:18 1998 Thomas Bushnell, BSG <tb@mit.edu> - - * devio.c (char_size_mask_xxx): New variable. - (devio_set_bits): Don't munge c_cflag here. Instead, - set char_size_mask_xxx. - (device_read_reply_inband): Mask off high bits from the input to - simulate less than 8-bit channels. - -1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - - * devio.c: Add #undef's for B19200, B38400, B57600, B115200, in case - they are defined in <device/tty_status.h> too. - -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * users.c: Include <hurd/fshelp.h> for fshelp_isowner decl. - - * term.h (clear_queue): Change return type to void. - -Wed Aug 20 14:07:35 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * main.c (main): New args for - ports_manage_port_operations_multithread. - -Mon Jun 9 12:19:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * users.c (trivfs_S_file_chmod): Fix typo. - -Tue May 27 12:04:00 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * users.c (trivfs_S_file_chmod): Turn off S_ISPARE too. - -Fri Feb 21 13:17:48 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * users.c (open_hook): Add OPEN_COUNT hack to try and detect lossage. - -Thu Feb 20 02:25:29 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Initialize TTY_CLASS & PTY_CLASS too instead of - doing TTY_CNTL_CLASS & PTY_CNTL_CLASS twice. - -Wed Feb 19 13:10:47 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (trivfs_protid_portclasses, trivfs_protid_nportclasses, - trivfs_cntl_portclasses, trivfs_cntl_nportclasses): Variables removed. - (main): Don't set port class/bucket variables, use - trivfs_add_{protid,control}_port_class instead. - - * Makefile (HURDLIBS): Add iohelp & shouldbeinlibc. - -Thu Dec 12 18:33:52 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Add S_IROOT to TERM_MODE. - * users.c (trivfs_S_file_chmod): Turn off S_ITRANS bits, and turn - on S_IROOT in TERM_MODE. - -Sat Nov 23 16:28:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * users.c: Include <hurd/iohelp.h>. - (trivfs_S_file_chmod): Bother to fill in ST. - -Mon Nov 18 18:16:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * users.c (trivfs_modify_stat): Omit pointless assignment. - -Fri Nov 15 17:37:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * users.c (open_hook): New arg syntax. - (trivfs_check_open_hook): Likewise. - * ptyio.c (pty_open_hook): Likewise. - * term.h (pty_open_hook): Likewise. - - * users.c (S_termctty_open_terminal): New syntax of trivfs_open. - - * users.c (trivfs_S_file_chown): Rewrite using idvecs. - (trivfs_S_file_chmod): Likewise. - -Thu Oct 24 14:44:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * users.c (open_hook): Always assert DTR (even if O_NONBLOCK). - Don't return any errors if O_NONBLOCK and we don't have carrier. - -Tue Oct 8 22:46:09 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * users.c (open_hook): Zero WINDOW_SIZE during initialization. - -Fri Oct 4 12:30:22 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * users.c (S_tioctl_tiocswinsz): Correct test for a changed winsize. - - * ptyio.c (pty_open_hook): Reinitialize pty variables. - - * ptyio.c (pty_io_select): Return SELECT_READ if the slave isn't open. - (pty_io_read): If the slave isn't open, return EOF. - - * users.c (set_state, open_hook): Call (*BOTTOM)->set_bits - unconditionally. - * devio.c (devio_set_bits): Only execute guts if CIGNORE isn't set. - - * ptyio.c (pty_io_read, pty_io_write): Honor O_NONBLOCK. - -Wed Oct 2 10:49:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ptyio.c (S_tioctl_tiocsig, S_tioctl_tiocucntl, S_tioctl_tiocpkt): - Hold GLOBAL_LOCK while frobbing (especially around send_signal). - - * ptyio.c (ptyio_set_bits): We need only be in packet mode to send - TIOCPKT_NOSTOP & TIOCPKT_DOSTOP, regardless of the value of - EXTERNAL_PROCESSING. - -Thu Sep 26 14:24:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ptyio.c: Include "tioctl_S.h". - -Thu Sep 12 16:34:37 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (OBJS): Don't list libraries here. - -Thu Aug 29 17:26:37 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * devio.c (device_open_reply): After error from ports_create_port, - unlock global_lock before returning. - * users.c (trivfs_S_io_readable): Likewise before returning - EBADF. - -Thu Aug 15 16:07:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * users.c (trivfs_S_io_pathconf): Implement function. - - * term.h (QUEUE_HIWAT, QUEUE_LOWAT): New macros. - * main.c (main): Use these new macros to create inputq, rawq, and - outputq. - -Thu Aug 15 15:32:47 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * users.c (trivfs_S_file_check_access): Renamed from - `trivfs_S_file_access'. - -Mon Aug 12 11:04:28 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * term.h (CTRL_BIT): Correct value is 0x40, not 0x20. - - * munge.c (poutput): Compute tab width using the same loop - strategy as output_character and output_width. - -Thu Aug 8 17:16:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * munge.c (echo_char): Compute non-ctrl version of control - character correctly. - * term.h (CHAR_SOH): Delete macro. - (CTRL_BIT): New macro. - -Mon Jul 29 02:46:12 1996 Roland McGrath <roland@baalperazim.frob.com> - - * munge.c (input_character): In LAST_LNEXT case, jump to `alldone' - after putting the char on the queue. - -Fri Jul 19 23:46:39 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * users.c (trivfs_S_file_access): Implement locally always - returning all access. Eventually, this needs to do the right - thing when trivfs wises up wrt modes. - -Tue Jul 16 20:49:29 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * users.c (trivfs_S_io_read): Bother to set atime when - appropriate. - - * users.c (trivfs_modify_stat): Fill in st->st_mode, st->st_uid, - and st->st_gid ourselves. - (trivfs_S_file_chown): New routine, to override trivfs default. - (trivfs_S_file_chmod): Likewise. - * main.c (main): Initialize term_owner, term_group, and term_mode. - * term.h (term_owner, term_group, term_mode): New variables. - -Thu Jun 20 16:45:57 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * devio.c (devio_abandon_physical_output): Don't do anything if - carrier is off. - -Thu Jun 20 16:26:07 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (OBJS): Add ../libfshelp/libfshelp.a. - -Sat May 11 01:18:41 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * iomux.c (parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL. - -Fri May 10 09:27:46 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * users.c: Include <stdio.h>. - - * users.c (init_users): Order args correctly in call to - ports_create_port. - -Thu May 9 19:32:50 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * users.c (call_asyncs): Provide sigcode arg in call to - nowait_msg_sig_post. - - * users.c (init_users): Use new ports_create_port. - * devio.c (device_open_reply): Likewise. - -Thu Apr 25 16:04:17 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ptyio.c (pty_open_hook): Don't do increment of nptyperopens - here. - (pty_po_create_hook): Increment nptyperopens here, but only if this is - for O_READ or O_WRITE. - (pty_po_destroy_hook): Only do decrement if this was for O_READ or - O_WRITE. - * users.c (open_hook): Don't circumvent pty_open_hook, not even - when FLAGS is clear. - -Wed Apr 24 09:24:29 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * users.c (call_asyncs): Add DIR argument; all callers changed. - * term.h: Include <fcntl.h>. - - * users.c (call_asyncs): Remove FORCE argument; all callers changed. - * term.h (enqueue_internal): Go back to only using call_asyncs - when inputq becomes non-empty. - (SUPPRESS_ASYNC): Flag removed. - -Tue Apr 23 17:44:25 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * term.h (enqueue_internal): Use call_asyncs on every character. - (SUPPRESS_ASYNC): New flag. - * users.c (po_create_hook, trivfs_S_io_set_some_openmodes, - trivfs_S_io_set_all_openmodes): If setting ICKY_ASYNC, then use - call_asyncs. - (call_asyncs): New argument, FORCE, which use. All callers changed. - (init_users): Give our self send rights to the async id ports, since - hurd_sig_post uses COPY_SEND. - (trivfs_S_io_get_icky_async_id): Renamed from ..._get_async_icky. - (trivfs_S_file_set_size, trivfs_S_io_seek, - trivfs_S_io_get_icky_async_id, trivfs_S_io_async): Add reply port args. - - * users.c (num_icky_async_peropens): New variable. - (po_create_hook, po_destroy_hook, trivfs_S_io_set_all_openmodes, - trivfs_S_io_set_some_openmodes, trivfs_S_io_clear_some_openmodes): Use - it to enable ICKY_ASYNC to be turned off. - -Tue Apr 23 14:26:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * users.c (call_asyncs): Delete local decl; no longer static. - * term.h (dequeue_quote): If this is the outputq, send SIGIO as - appropriate with call_asyncs. - (enqueue_internal): If this is the inputq, send SIGIO as appropriate - with call_asyncs. - (call_asyncs): Add decl. - -Mon Apr 22 14:55:20 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * devio.c (real_speed_to_bogus_speed): EXTB should be 38400, not - 24800. - -Tue Apr 2 16:18:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ptyio.c (pty_po_create_hook): Don't do anything here. - (pty_open_hook): Increment nptyperopens here. - -Wed Mar 27 11:51:43 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * users.c (trivfs_S_io_read): Call call_asyncs *before* we release - GLOBAL_LOCK. - (pi_destroy_hook): Leak the hook for now, to try and catch a bug. XXX - - * ptyio.c (pty_io_read): Block using hurd_condition_wait instead - of condition_wait. - -Sat Feb 24 13:56:46 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ptyio.c (ptyio_init): This can't be a constructor because it - frobs INPUTQ, which is assigned in main. - * main.c (main): Call ptyio_init if appropriate. - * term.h: Declare ptyio_init. - -Wed Feb 14 14:02:54 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * users.c (trivfs_S_io_set_all_openmodes, - trivfs_S_io_set_some_openmodes): Set ICKY_ASYNC in TERMFLAGS if - O_ASYNC is set in BITS. - -Thu Jan 25 22:54:04 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Use trivfs_startup & trivfs_create_port instead - of trivfs_handle_port. - * devio.c (devio_assert_dtr): Use ports_create_port instead of - ports_allocate_port. - -Thu Jan 18 11:50:29 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * users.c (report_carrier_off): Flush queues when carrier turns - off. - -Tue Dec 26 16:58:55 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * users.c (trivfs_S_io_select): Ask for notification if our reply - port dies. Pass REPLY to pty_io_select(). - * ptyio.c (pty_io_select): Add new reply port parameter, and ask - for notification if it dies. - * term.h (pty_io_select): Add new reply port parameter. - -Fri Dec 22 14:34:38 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Set PEERCNTL to &PTYCTL if we're a slave, not 0. - -Wed Dec 20 13:56:09 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * users.c (S_term_get_nodename, S_term_set_nodename): Get the node - name from our cred->po->cntl->hook rather than NODENAME. - * main.c (main): Put the nodename on ourcntl->hook rather than - NODENAME, and also put our peer's nodname on peercntl->hook. - * term.h (nodename): Variable removed. - - * ptyio.c (ptyopen, nptyperopens, pktnostop, output_stopped): - Initialize to 0. - -Tue Dec 19 19:57:53 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * users.c (trivfs_S_io_read): After a block on the input queue, - don't go back and check the input queue if there is a signal in - progress; wait for the signal to complete first. - (send_signal): Release global_lock around signal RPC. Call - report_sig_start and report_sig_end around signal RPC. - (call_asyncs): Likewise. - (report_sig_start, report_sig_end): New functions. - (sigs_in_progress, input_sig_wait, input_sig_wakeup): New variables. - -Thu Dec 14 12:48:08 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ptyio.c (pty_io_read): When copying TIOCPKT_DATA; account for - size correctly. - - * ptyio.c (pty_io_write): Always tell the user everything was - written. - -Wed Dec 13 19:32:52 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ptyio.c (pty_io_write): Keep track of how mount we wrote. - -Tue Dec 12 13:53:40 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * ptyio.c (ptyio_init): Make this a constructor function. - - * ptyio.c (pty_open_hook, pty_po_create_hook, - pty_po_destroy_hook): New functions. - (ptyopen, nptyperopens): New variables. - * term.h (pty_open_hook, pty_po_create_hook, pty_po_destroy_hook): - New declarations. - * users.c (open_hook): If this is the pty, then call pty specific - function. - (po_create_hook): Likewise. - (po_destroy_hook): Likewise. - (pi_create_hook): Don't do anything for pty. - (pi_destroy_hook): Likewise. - - * users.c (open_hook): Don't require carrier for opens that don't - want to read or write. - - * users.c (S_tioctl_tiocgpgrp): Omit bogus extra attempt to lock - global_lock. - - * users.c (S_term_get_bottom_type): Return TERM_ON_MASTERPTY when - appropriate. - - * main.c (main): Set BOTTOM. - -Tue Dec 5 15:30:36 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * main.c (main): Totally rework arg parsing and translator - linkage. No longer support being started s a shell program. Now - support pty's, though no attempt is made to deal nicely with the - node collision problem. - -Mon Dec 4 20:09:21 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * term.h (pty_cntl_class, ptyctl): New variables. - * main.c (main): Initialize pty_class, pty_cntl_class, - trivfs_protid_portclasses[1], and trivfs_cntl_portclasses[1]. - (trivfs_protid_portclasses): Increase size to 2. - (trivfs_cntl_portclasses): Likewise. - (trivfs_protid_nportclasses): Increase initialization to 2. - (trivfs_cntl_nportclasses): Likewise. - - * ptyio.c: Include <unistd.h>. - (ptyio_set_bits): If the stop char state has changed, dinkle the - stop bits in the control_byte accordingly. - - * term.h: Include <hurd/trivfs.h> and <sys/types.h>. - (pty_io_write, pty_io_read, pty_io_readable, pty_io_select): New - declarations. - * ptyio.c: Include <fcntl.h>. - (pty_io_read): Add CRED arg. - (pty_io_write): Likewise. - (pty_io_select): Likewise. - * users.c (trivfs_S_io_write): If this is a pty master, call pty - routine to do the work. - (trivfs_S_io_read): Likewise. - (trivfs_S_io_readable): Likewise. - (trivfs_S_io_select): Likewise. - (S_tioctl_tiocmodg): Accept both pty and tty ports. - (S_tioctl_tiocmods): Likewise. - (S_tioctl_tiocexcl): Likewise. - (S_tioctl_tiocnxcl): Likewise. - (S_tioctl_tiocflush): Likewise. - (S_tioctl_tiocgeta): Likewise. - (set_state): Likewise. - (S_tioctl_tiocgetd): Likewise. - (S_tioctl_tiocsetd): Likewise. - (S_tioctl_tiocdrain): Likewise. - (S_tioctl_tiocswinsz): Likewise. - (S_tioctl_tiocgwinsz): Likewise. - (S_tioctl_tiocmget): Likewise. - (S_tioctl_tiocmset): Likewise. - (S_tioctl_tiocmbic): Likewise. - (S_tioctl_tiocmbis): Likewise. - (S_tioctl_tiocstart): Likewise. - (S_tioctl_tiocstop): Likewise. - (S_tioctl_tiocsti): Likewise. - (S_tioctl_tiocoutq): Likewise. - (S_tioctl_tiocspgrp): Likewise. - (S_tioctl_tiocgpgrp): Likewise. - (S_tioctl_tioccdtr): Likewise. - (S_tioctl_tiocsdtr): Likewise. - (S_tioctl_tioccbrk): Likewise. - (S_tioctl_tiocsbrk): Likewise. - (set_state): If this op is being done on the pty master, then - flush output before beginning work. - -Fri Dec 1 14:08:44 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * users.c (trivfs_S_interrupt_operation): Delete function. - - * users.c (S_tioctl_tiocdrain): Free reference on CRED before - returning. - - * munge.c (input_character): Skip much processing if - external_processing is on. - (output_character): Don't do tab expansion of external_processing - is on. - (echo_p): Never echo if external_processing is on. - * users.c (set_state): Make EXTPROC bit read only. When - external_processing, call set_bits even if CIGNORE. - (S_tioctl_tiocext): Deleted function. - * term.h (external_processing): New variable. - - * users.c (trivfs_S_io_readable): If remote_input_mode, then don't - include extra final character as input. - trivfs_S_io_read): If remote_input_mode, copy characters without - interpretation; treat last character left in queue as junk. - (S_tioctl_tiocremote): Deleted function. - * term.h (remote_input_mode): New variable. - - * users.c (S_tioctl_tiocsig, S_tioctl_tiocpkt, - S_tioctl_tiocucntl): Deleted functions. - - * term.h (ptyio_bottom, pty_class): New variables. - * Makefile (SRCS): Added ptyio.c. - * ptyio.c: New file. - - * term.h (struct bottomhalf): New member `notice_input_flushed'. - * devio.c (devio_notice_input_flushed): New function. - (devio_bottom): Add devio_notice_input_flushed. - * users.c (po_destroy_hook): Call notice_input_flushed after - flushing input queues. - (S_tioctl_tiocflush): Likewise. - (set_state): Likewise. - - * munge.c (input_character) [VSTOP]: Suspend physical output after - setting flag. - * term.h (struct bottomhalf): New member `suspend_physical_output'. - * users.c (S_tioctl_tiocstart): Start output after clearing - USER_OUTPUT_SUSP. - (S_tioctl_tiocstop): Suspend physical output after setting flag. - * devio.c (devio_start_output): Honor USER_OUTPUT_SUSP flag. - Restart output if USER_OUTPUT_SUSP flag off and output_stopped true. - (output_stopped): New variable. - (devio_suspend_physical_output): New function. - (devio_bottom): Add devio_suspend_physical_output. - - * users.c (trivfs_S_io_select): Return EINTR if we are cancelled. - - * munge.c (reprint_line): C-r is CHAR_DC2, not DC3. - * term.h (CHAR_DC3): Correct value is '\023'. - (CHAR_DC1, CHAR_DC2): New macros. - -Thu Nov 30 15:50:01 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * devio.c (start_output): Add devio_ prefix; declare static. - All callers changed. - (set_break): Likewise. - (clear_break): Likewise. - (abandon_physical_output): Likewise. - (pending_output_size): Likewise. - (assert_dtr): Likewise. - (desert_dtr): Likewise. - (set_bits): Likewise. - (mdmctl): Likewise. - (mdmstate): Likewise. - (devio_bottom): New variable. - * term.h (struct bottomhalf): New type. - (bottom, devio_bottom): New variables. - (start_output, set_break, clear_break, abandon_physical_output, - pending_output_size, assert_dtr, desert_dtr, set_bits, mdmctl, - mdmstate): Deleted declarations. - - * devio.c (ports_do_mach_notify_send_once): New function. - -Sun Nov 5 02:07:56 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Add flags arg to fsys_startup call. - -Sat Sep 23 00:48:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * term.h: Include errno.h. - -Mon Sep 18 14:51:40 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * users.c (trivfs_S_file_set_size): Renamed from - trivfs_S_file_truncate. - -Sat Sep 16 13:03:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Added ourmsg.defs. - (ourmsg_U.h ourmsgUser.c, ourmsg.defs): Targets removed. - -Thu Sep 7 13:08:55 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * users.c (trivfs_S_io_write): Start pending output before - blocking. - -Fri Sep 1 09:51:11 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * munge.c (input_character): Clear input queues correctly for - VINTR/VQUIT, VSUSP, and input queue full. - - * users.c (init_users): New function. - * main.c (main): Call init_users. - * term.h (init_users): New decl. - - * users.c (open_hook): Turn on NO_OWNER for fresh opens. - * main.c (main): Assert NO_OWNER in initial state. - - * term.h (output_psize): Delete decl. - (write_character): New decl. - * munge.c (output_character): Don't set echo_qsize or echo_pstart - here. - (write_character): New function. - (echo_char): Use write_character for closing '/' of hderase. - (output_psize): New decl. - * users.c (trivfs_S_io_write): Use write_character instead of - output_character. - * main.c (main): Don't initialize output_psize. diff --git a/tmpfs/ChangeLog b/tmpfs/ChangeLog deleted file mode 100644 index ca44e3d2..00000000 --- a/tmpfs/ChangeLog +++ /dev/null @@ -1,182 +0,0 @@ -2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * tmpfs.h (struct disknode): Make atime, mtime and ctime members - struct timespec instead of time_t. - * tmpfs.c (main): Copy st_atim/st_mtim/st_ctim members from st to - diskfs_root_node->dn_stat instead of st_atime/st_mtime/st_ctime. - * node.c (diskfs_node_norefs): Copy st_atime/st_mtime/st_ctime - members from np->dn_stat to atime/mtime/ctime members of np->dn - (diskfs_cached_lookup): Conversely. - -2005-03-20 Marcus Brinkmann <marcus@gnu.org> - - * tmpfs.c (parse_opt): Use the right argument for parsing the - mode. - -2002-06-14 Roland McGrath <roland@frob.com> - - * tmpfs.c (main): If get_privileged_ports fails with EPERM, try to - open /servers/default-pager instead. - -2002-06-13 Roland McGrath <roland@frob.com> - - * dir.c (diskfs_lookup_hard): Cast int to intptr_t before ino_t. - - * dir.c (diskfs_lookup_hard): int -> ino_t - -2002-06-08 Roland McGrath <roland@frob.com> - - * node.c (diskfs_cached_lookup): Use ino_t for argument. - * node.c (diskfs_alloc_node): Case to uintptr_t before ino_t. - (diskfs_cached_lookup): Likewise, and vice versa. - * dir.c (diskfs_get_directs, diskfs_lookup_hard): Likewise. - - * tmpfs.c (diskfs_append_args): Use %Ld format for off_t value. - -2002-05-29 Roland McGrath <roland@frob.com> - - * node.c (diskfs_S_file_get_storage_info): Return a null port when the - peropen is not open for read/write. Set STORE_READONLY if O_WRITE set. - -2002-05-28 Roland McGrath <roland@frob.com> - - * dir.c (diskfs_get_directs): u_int -> size_t - * tmpfs.c (diskfs_append_args): unsigned -> size_t - -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * tmpfs.c (diskfs_extra_version): New variable. - -2002-05-03 Roland McGrath <roland@frob.com> - - * tmpfs.c (startup_argp): Use OPTIONS array in initializer. - -2002-03-23 Roland McGrath <roland@frob.com> - - * tmpfs.c (parse_opt): Grok % suffix on number to mean percentage - of the machine's RAM. - - * tmpfs.c (options): New static const variable. Add --mode/-m. - (struct option_values): New type. - (parse_opt): Use that for VALUES. Grok -m to set VALUES->mode. - Grok ARGP_KEY_FINI and free our data structure. - (tmpfs_root_mode): New variable, set by -m. - (main): If -m was given, use that instead of underlying node's - permissions. - - * tmpfs.c (main): Don't release REALNODE. - - * node.c: Include "default_pager_U.h", not <mach/default_pager.h>. - (diskfs_truncate): Return early if page-rounded size is unchanged. - Call default_pager_object_set_size on the memory object. - (diskfs_grow): Likewise. - - * Makefile (OBJS): Add default_pagerUser.o here. - -2001-09-30 Roland McGrath <roland@frob.com> - - * node.c (diskfs_S_file_get_storage_info): Implement it to return - the memory object port with STORAGE_MEMORY. - -2001-04-23 Neal H Walfield <neal@cs.uml.edu> - - * tmpfs.c (main): Pass diskfs_demuxer to - diskfs_spawn_first_thread to conform to new libdiskfs semantics. - -2001-05-05 Roland McGrath <roland@frob.com> - - * node.c (diskfs_truncate): Set st_size before rounding it up, - and do set it when there is a memory object. - -2001-05-01 Neal H Walfield <neal@cs.uml.edu> - - * tmpfs.c (main): Set diskfs_root_node->dn_stat.st_nlink to 2. - -2001-04-15 Neal H Walfield <neal@cs.uml.edu> - - * dir.c (diskfs_get_directs): Total rewrite. - (diskfs_lookup_hard): Likewise. - (diskfs_enter_hard): Count node size in the size of the dirent so - diskfs_get_directs does not have to guess; this is only a few - bytes different. Check the amount of space correctly, i.e. - we cannot compare bytes and pages. - * node.c: (diskfs_free_node): We already hold - diskfs_node_refcnt_lock; do not try to lock it again. - (diskfs_cached_lookup): Use diskfs_nref, that is why we have it. - Link the nodes correctly. - (diskfs_set_translator): Add or remove S_IPTRANS from - np->dn_stat.st_mode as appropriate. - (diskfs_truncate): Set the new np->dn_stat.st_size. - (diskfs_grow): Move the assert up. - -2001-04-10 Neal H Walfield <neal@cs.uml.edu> - - * tmpfs.c (diskfs_shortcurt_chrdev): Rename to diskfs_shortcut_chrdev. - (diskfs_shortcurt_blkdev): Rename to diskfs_shortcut_blkdev. - (diskfs_shortcurt_fifo): Rename to diskfs_shortcut_fifo. - (diskfs_shortcurt_ifsock): Rename to diskfs_shortcut_ifsock. - -2001-02-26 Roland McGrath <roland@frob.com> - - * node.c (diskfs_free_node): Reset hnext's hprevp. - (diskfs_node_norefs): Likewise. - (diskfs_cached_lookup): Fix insane code for finding existing node ptr. - (diskfs_get_filemap_pager_struct): Remove spurious assert. - (diskfs_get_filemap): Always add a reference to the send right. - - * dir.c (diskfs_get_directs): When using st_size, calculate additional - space for . and .. entries. Skip . and .. entries when ENTRY says to. - Set d_fileno=2 for .. entry when it is the parent of the filesystem. - - * tmpfs.c (main): Don't lock diskfs_root_node after alloc, - which already locks it. In root node's mode, clear S_ITRANS bits - and set S_IROOT bit. - -2001-02-25 Roland McGrath <roland@frob.com> - - * pager-stubs.c: New file. - * Makefile (SRCS): Add it. - - * node.c (diskfs_S_file_get_storage_info): New function. - * tmpfs.c (diskfs_synchronous): New variable. - - * dir.c (diskfs_lookup_hard): Look up .. disknode's in-core node. - - * node.c: #include <mach/default_pager.h>. - -2000-12-30 Marcus Brinkmann <marcus@gnu.org> - - * dir.c: Include <stddef.h>, <unistd.h>, <sys/mman.h> - (diskfs_get_directs): Cast *data to struct dirent *. - - * node.c: Include <stddef.h>. - (diskfs_alloc_node): Remove unused variables err, st, np. - (diskfs_free_node): Use *np->dn, not *dn to calculate used space. - (recompute_blocks): Replace DT_DEV with DT_BLK. - (diskfs_node_norefs): Likewise. - (recompute_blocks): Take address of np->dn_stat for pointer st. - (diskfs_cached_lookup): New variable st. - (diskfs_cached_lookup): Set st to &np->dn_stat, not &dn->dn_stat. - (create_symlink_hook): Fix malloc call and return code check. - (read_symlink_hook): Return 0. - - * tmpfs.c: Include <argp.h>, <string.h>, <inttypes.h>, <argz.h>, - <error.h>. - (parse_opt): Reverse second and third argument of strtoimax call. - - * tmpfs.h (struct disknode): Remove blind passenger (unnamed copy - of anonymous struct {} reg). - - Some of the above were also reported by Alexey Dejneka - <adejneka@comail.ru>. - -2000-12-28 Roland McGrath <roland@frob.com> - - * node.c (recompute_blocks): New function, broken out of ... - (diskfs_cached_lookup): here. Now use call that. - (diskfs_set_translator): Likewise. - (create_symlink_hook): Likewise. Do nothing for zero-length target. - -2000-12-26 Roland McGrath <roland@frob.com> - - * Makefile, tmpfs.c, tmpfs.h, node.c, dir.c: New files. diff --git a/trans/ChangeLog b/trans/ChangeLog deleted file mode 100644 index 08f06c67..00000000 --- a/trans/ChangeLog +++ /dev/null @@ -1,1006 +0,0 @@ -2008-12-08 Thomas Schwinge <tschwinge@gnu.org> - - * Makefile (HURDLIBS): Add iohelp. - -2008-06-10 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * fakeroot.c (netfs_attempt_utimes): Use a union to avoid an improper - cast. - -2007-06-06 Thomas Schwinge <tschwinge@gnu.org> - - * Makefile (default_pager-MIGCOMSFLAGS): Remove variable. - * proxy-defpager.c (proxy_defpager_demuxer): Invoke - `default_pager_server' instead of `S_default_pager_server'. - -2007-05-01 Thomas Schwinge <tschwinge@gnu.org> - - * crash.c (S_msg_startup_dosync): Remove function. - -2006-11-27 Ben Asselstine <benasselstine@canada.com> - Thomas Schwinge <tschwinge@gnu.org> - - * crash.c (trivfs_append_args): Handle CRASH_ORPHANS_HOW. - -2006-11-27 Thomas Schwinge <tschwinge@gnu.org> - - * crash.c: Correct the usage of the argp documentation string. - - * Makefile (HURDLIBS): Add `netfs'. - -2006-06-15 Thomas Schwinge <tschwinge@gnu.org> - - * hello-mt.c (trivfs_S_io_seek): Seek into the correct direction for - `SEEK_END'. Return EINVAL if file pointer would become negative. - * hello.c (trivfs_S_io_seek): Likewise. - -2006-03-25 Thomas Schwinge <tschwinge@gnu.org> - - [bug #15808] - * ifsock.c: Include <argp.h>, <sys/cdefs.h> and <version.h>. - (__XSTRING): New macro. - (argp_program_version, doc, argp): New variables. - (main): Call argp_parse(). - Based on a patch by Ben Asselstine <benasselstine@gmail.com>. - -2005-07-12 Marcus Brinkmann <marcus@gnu.org> - - * magic.c (magic_getroot): Deallocate DOTDOT if processing here. - (magic_open): Do not allocate and deallocate DOTDOT, just consume - the reference given to us. - (magic_peropen_destroy): New function. - (main): If in directory mode, install magic_peropen_destroy hook. - -2003-08-17 Marcus Brinkmann <marcus@gnu.org> - - * fakeroot.c: Include <stddef.h>. - (struct netnode): Change type of member idport_locp - to hurd_ihash_locp_t. - (idport_ihash): Change type to struct hurd_ihash and initialize - with HURD_IHASH_INITIALIZER. - (new_node): Call hurd_ihash_add instead of ihash_add. - (netfs_node_norefs): Call hrd_ihash_locp_remove instead - ihash_locp_remove. - (netfs_S_dir_lookup): Call hurd_ihash_find instead ihash_find. - -2003-09-05 Greg Buchholz <greg@sleepingsquirrel.org> - - * fifo.c, new-fifo.c, null.c (trivfs_S_io_map): Change return value to - EOPNOTSUPP (was EINVAL). - -2003-03-05 Roland McGrath <roland@frob.com> - - Make /hurd/magic support translator delegation via /servers/magic. - * magic.c (struct magic): New structure. - (magic, directory, dirbuf, dirbufsize): Variables removed, - not members of struct magic. - (trivfs_modify_stat, magic_getroot, trivfs_S_dir_readdir): Use a - struct magic hanging off CNTL->hook rather than global variables. - (trivfs_append_args): Likewise. - (trivfs_S_dir_lookup): Likewise. Let magic string be null to indicate - prepending nothing in --directory mode. - (parse_opt): Use struct magic in STATE->input instead of globals. - If no argument, turn on --directory and leave M->magic null. - (argp): New static variable, instead of auto in main. - (main): Set both trivfs hook functions unconditionally. - Use a struct magic, pass it to argp_parse and store it in FSYS->hook. - Move directory buffer setup to ... - (parse_opt): ... here, do it on ARGP_KEY_SUCCESS. - (magic_open): Track users with a count. - (magic_protid_destroy): New function to track users. - (main): Set trivfs_protid_destroy_hook to that. - (trivfs_goaway): Call ports_destroy_right if FSYS has no users. - (all_fsys): New variable, list of all filesystems. - (trivfs_clean_cntl): New function, exit if no filesystems left. - (main): Put FSYS on that list. On timeout with no RPCs, try - trivfs_goaway on each filesystem on the list. - (trivfs_S_fsys_forward): New function. - (delegate): New variable. - (options): New option -U/--use-server to set it. - -2002-12-08 Roland McGrath <roland@frob.com> - - * pump.c: File removed. - -2002-08-16 Marcus Brinkmann <marcus@gnu.org> - - * proxy-defpager.c (S_default_pager_object_pages): New function. - (proxy_defpager_demuxer): Use S_default_pager_server (ie add the - prefix). - -2002-08-14 Marcus Brinkmann <marcus@gnu.org> - - * Makefile: Revert undocumented changes related to devpts that - were checked in unintentionally with the last change. - -2002-08-06 Roland McGrath <roland@frob.com> - - * proxy-defpager.c: Rename all the server functions with S_ prefix. - Include "default_pager_U.h" for client stub prototypes. - * Makefile (default_pager-MIGCOMSFLAGS): New variable, give -prefix S_. - (OBJS): Add default_pagerUser.o here. - (proxy-defpager): Depend on it. - -2002-08-05 Marcus Brinkmann <marcus@gnu.org> - - * proxy-defpager.c (allowed): Check CRED, not PORT. - (default_pager_info): Use real_defpager, not DEFAULT_PAGER. - (proxy_defpager_demuxer): New demuxer. - (main): Use it. - -2002-06-14 Roland McGrath <roland@frob.com> - - * proxy-defpager.c: New file. - * Makefile (targets, SRCS): Add it. - (proxy-defpager): New target. - (OBJS): Add default_pagerServer.o here. - -2002-06-21 Roland McGrath <roland@frob.com> - - * streamio.c (parse_opt): Fix fencepost error in -n arg parsing. - Reported by Nicola Girardi <nicola@g-n-u.de>. - -2002-06-20 Roland McGrath <roland@frob.com> - - * firmlink.c (trivfs_S_io_read): Fix pointer arithmetic. - Reported by Nicola Girardi <nicola@g-n-u.de>. - -2002-06-15 Roland McGrath <roland@frob.com> - - * magic.c (trivfs_S_dir_readdir): u_int -> size_t - -2002-06-13 Roland McGrath <roland@frob.com> - - * firmlink.c (trivfs_S_io_read): Fix type of DATA argument. - * streamio.c (trivfs_S_io_read): Likewise. - (trivfs_S_io_write): Likewise. - * hello.c (trivfs_S_io_read): Likewise. - * hello-mt.c (trivfs_S_io_read): Likewise. - * null.c (trivfs_S_io_read): Likewise. - (trivfs_S_io_write): Likewise. - (trivfs_S_file_set_size): Add reply port args. - - * hello.c (trivfs_S_io_read): off_t -> loff_t - * hello-mt.c (trivfs_S_io_read): Likewise. - * streamio.c (trivfs_S_io_read, trivfs_S_io_write): Likewise. - (trivfs_S_file_sync): Add missing arg. - - * new-fifo.c (trivfs_S_io_map): Add reply port args. - (trivfs_S_io_select): Remove bogus last arg. - - * fifo.c (trivfs_S_io_map): Add reply port args. - (trivfs_S_io_select): Remove bogus last arg. - - * null.c (trivfs_S_io_map): Add reply port args. - (trivfs_S_io_read, trivfs_S_io_write): off_t -> loff_t - (trivfs_S_file_set_size): Likewise. - (trivfs_S_io_select): Remove bogus last arg. - - * firmlink.c (trivfs_S_io_read): off_t -> loff_t - (trivfs_S_io_select): Remove bogus last arg. - -2002-06-09 Roland McGrath <roland@frob.com> - - * fakeroot.c (new_node): Use ino_t for io_identity argument. - (netfs_S_dir_lookup): Likewise. - -2002-06-07 Roland McGrath <roland@frob.com> - - * firmlink.c (trivfs_S_io_readable): Use intptr_t, not off_t. - (trivfs_S_io_read): Likewise. - -2002-05-28 Roland McGrath <roland@frob.com> - - * symlink.c (S_fsys_getroot, S_fsys_getfile): u_int -> size_t - * streamio.c (device_open_reply): size_t -> int for dev_status_t - * crash.c (S_msg_report_wait): int -> mach_msg_id_t - (S_crash_dump_task): int -> integer_t - -2002-05-26 Marcus Brinkmann <marcus@gnu.org> - - * magic.c (trivfs_S_dir_readdir): Increment I after comparing it - with ENTRY, to fix off-by-one error. - -2002-05-23 Roland McGrath <roland@frob.com> - - * fakeroot.c (netfs_report_access): Always report O_RDWR|O_EXEC. - -2002-05-23 Marcus Brinkmann <marcus@gnu.org> - - * fakeroot.c (check_openmodes): Remove spurious if clause. - (netfs_attempt_mksymlink): Don't evaluate stat information to get - the length of the name, but use the string length of NAME and - store it in the new variable NAMELEN. - (netfs_S_dir_lookup): Don't always add O_NOLINK to FLAGS, but add - it to the mask instead. - -2002-05-18 Roland McGrath <roland@frob.com> - - * fakeroot.c (netfs_S_file_exec): Call check_openmodes and extract a - ref to the send right with the node locked. - - * fakeroot.c (new_node): Get a reference on NP to return to the caller. - (netfs_attempt_mkfile): Unlock before new_node call. - (new_node): Take new arg LOCKED, says idport_ihash_lock already held. - (netfs_S_dir_lookup, netfs_attempt_mkfile, main): Update callers. - - * fakeroot.c (fakeroot_auth_port): New variable. - (main): Initialize it. - (check_openmodes): New static function. - (netfs_check_open_permissions): Rewritten using it. - (netfs_S_dir_lookup): New function. - (netfs_attempt_lookup, netfs_attempt_create_file): Replaced with stubs. - -2002-05-13 Roland McGrath <roland@frob.com> - - * fakeroot.c (netfs_validate_stat): Set NP->nn_translated. - - * fakeroot.c (netfs_S_file_exec): Don't lock the node (no need). - Don't use MACH_MSG_TYPE_MOVE_SEND. - - * fakeroot.c (netfs_attempt_chmod): Handle a MODE argument with no - S_IFMT bits set. - -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * fakeroot.c (netfs_server_name, netfs_server_version): New - variables. - -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * symlink.c: Include <argp.h> and <version.h>. - (argp_program_version, options, args_doc, doc, argp): New - variables. - (parse_opt): New function. - (main): Replace argument count check and usage output by - argp_parse invocation. - -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * fakeroot.c (netfs_S_file_exec): New function. - (netfs_S_io_prenotify): Fix last change. - (netfs_S_io_postnotify): Likewise. - -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * fakeroot.c (NETFS_S_SIMPLE): New macro. - (netfs_S_io_get_conch): New function. - (netfs_S_io_release_conch): New function. - (netfs_S_io_eofnotify): New function. - (netfs_S_io_prenotify): New function. - (netfs_S_io_postnotify): New function. - (netfs_S_io_readnotify): New function. - (netfs_S_io_readsleep): New function. - (netfs_S_io_sigio): New function. - (netfs_S_io_map_cntl): New function. - -2002-05-12 Roland McGrath <roland@frob.com> - - * fakeroot.c (netfs_attempt_lookup): Treat EOPNOTSUPP like EACCES. - When all modes fail, try opening the node with zero openmodes. - - * fakeroot.c (netfs_demuxer): New function. Reflect unrecognized - messages to the underlying node port. - -2002-05-11 Roland McGrath <roland@frob.com> - - * fakeroot.c (main): Stat the root node and fake its st_mode - immediately to remove translator bits. - -2002-05-06 Marcus Brinkmann <marcus@gnu.org> - - * fakeroot.c (netfs_attempt_lookup): Really check for EROFS or - EISDIR error from O_RDWR lookup (the last change checked for - O_RDWR | O_EXEC look ups, which is also necessary). - (netfs_attempt_mkfile): Unlock DIR. - (netfs_attempt_create_file): Likewise. - (netfs_S_io_map): New function. - -2002-05-05 Roland McGrath <roland@frob.com> - - * fakeroot.c (netfs_attempt_lookup): Check for EROFS or EISDIR error - from O_RDWR lookup. - - * fakeroot.c (netfs_attempt_lookup): Check io_identity result for our - own fsys identity port; on match, look up the existing node for the - port to ourselves. - - * fakeroot.c (netfs_attempt_lookup): Unlock DIR before doing RPCs. - -2002-05-03 Marcus Brinkmann <marcus@gnu.org> - - * fakeroot.c (netfs_node_norefs): Unlock node after not dropping - it at all. - -2002-05-03 Roland McGrath <roland@frob.com> - - * Makefile (fakeroot): New target. - (targets): Add it. - (SRCS): Add fakeroot.c. - * fakeroot.c: New file. - -2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca> - - * ifsock.c (main): Use ERR, not errno. - * symlink.c: Include <error.h> and <errno.h>. - (main): Use err, not fprintf and exit. Use error, not perror and - exit. Use err, not error. Check for MACH_PORT_NULL - explicitly. Check for proper usage of symlink before checking if - symlink is started as a translator. - -2002-03-11 Roland McGrath <roland@frob.com> - - * crash.c: Add `corelimit' parameter to `dump_core' forward decl. - (S_crash_dump_task): Change caller, pass (off_t)-1 for now. - (struct crasher): New member `core_limit'. - (dead_crasher): Pass C->core_limit to dump_core. - (S_crash_dump_task): Set C->core_limit, to (off_t) -1 for now. - (dump_core): Function removed; now ../exec/elfcore.c defines it. - * Makefile (OBJS, crash): Add elfcore.o. - (elfcore.c): vpath decl to find this in $(top_srcdir)/exec. - -2001-12-22 Roland McGrath <roland@frob.com> - - * streamio.c (create_buffer): extern inline -> static inline - (buffer_size, buffer_readable, buffer_writable): Likewise. - (clear_buffer, buffer_read): Likewise. - -2001-12-11 Marcus Brinkmann <marcus@gnu.org> - - * streamio.c (device_open_reply): In the D_INVALID_OPERATION case, - clear ERR, which is a global variable. - -2001-04-01 Neal H Walfield <neal@cs.uml.edu> - - * magic.c (trivfs_S_dir_lookup): Use iohelp_dup_iouser - as per the new semantics. - -2001-02-28 Roland McGrath <roland@frob.com> - - * streamio.c (trivfs_modify_stat): Fix inverted sense of tests - for O_READ, O_WRITE bits. - -2001-02-25 Roland McGrath <roland@frob.com> - - * symlink.c: Include <string.h> for decls of built-ins. - * firmlink.c: Include <stdlib.h> for exit decl. - * ifsock.c: Likewise. - * null.c: Likewise. - * magic.c: Likewise. - * fifo.c: Likewise. - * hello.c: Likewise. - * hello-mt.c: Likewise. - -2001-02-12 Marcus Brinkmann <marcus@gnu.org> - - * fifo.c: Make version string say `fifo', not `null'. - Add period to doc text in ARGP. - * firmlink.c: Add period to doc text in ARGP_DOC, convert - semi-colon to colon. - * magic.c (options): Add period to DOC. - * new-fifo.c (fifo_trans_parse_args): Add doc string to ARGP. - Include <version.h>, new global variable ARGP_PROGRAM_VERSION. - * crash.c: Include <version.h>, add global variable - ARGP_PROGRAM_VERSION. - * hello.c: Include <version.h>, add global variable - ARGP_PROGRAM_VERSION. - (hello_argp): Add doc string. - * hello-mt.c: Likewise. - * streamio.c: Add period to DOC. Change streamdev to streamio in - version string. - * password.c (main): Add period to doc string in ARGP. - -2001-01-17 Neal H Walfield <neal@cs.uml.edu> - - * pump.c (start_pfinet): Conform to new fshelp_start_translator - semantics. - -2001-01-20 Roland McGrath <roland@frob.com> - - * streamio.c (options): Add aliases --rdonly, --ro for -r. - Add aliases --rdwr, -rw for -w. - Add new option --writeonly/--wronly/-W. - (readonly): Variable removed. - (parse_opt): Set trivfs_allow_open for -r/-w/-W. - (main): Don't set trivfs_allow_open here. Instead, use it to decide - whether to set up input_buffer/output_buffer or not. - (open_hook): Use trivfs_allow_open instead of readonly. - Check whether read is allowed too. - (trivfs_modify_stat): Likewise. - (clear_buffer): Do nothing if argument is null. - - * streamio.c (stream_name, readonly, rdev, nperopens): Remove - superfluous zero initializers. - -2001-01-13 Marcus Brinkmann <marcus@gnu.org> - - * Makefile (SRCS): Add streamio.c - (streamio): Add dependency on device_replyServer.o. - Other dependencies identical to those for crash and password. - - (OBJS): Add missing object files to list (crashServer.o - crash_replyUser.o msgServer.o device_replyServer.o). - - * streamio.c: New file by OKUJI Yoshinori. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile: Reorder libs such that the threads lib comes before - the ports lib. This makes sure the functions in libthreads - properly override the stubs in libports with the new dynamic - linker semantics in glibc 2.2. - -2000-03-19 Roland McGrath <roland@baalperazim.frob.com> - - * new-fifo.c (trivfs_protid_portclasses, trivfs_protid_nportclasses): - Fix to size 2. - -2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> - - * symlink.c (main): Don't use MAKE_SEND in Hurd RPC. - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * crash.c (S_crash_dump_task): Use ports_get_send_right. - -2000-01-28 Roland McGrath <roland@baalperazim.frob.com> - - * crash.c (enum crash_action): New alternative crash_unspecified (0). - (crash_orphans_how): New variable. - (S_crash_dump_task): If crash_how != crash_orphans_how, ascertain if - the task is an orphan before deciding what to do. - (options): New options --action, --orphan-action. - Old options now compatability aliases for --action=foo. - (parse_opt): Parse them. - (doc): New variable. - (crash_argp): Use DOC. - -1999-12-03 Roland McGrath <roland@baalperazim.frob.com> - - * null.c: Support --full/-f option to be /dev/full (ENOSPC writes). - (write_error_code): New variable. - (options, argp): New static const variables. - (parse_opt): New function. - (main): Move local ARGP out to static. - (trivfs_S_io_write): Return write_error_code instead of zero. - -1999-11-08 Roland McGrath <roland@baalperazim.frob.com> - - * hello-mt.c: New file, modified from hello.c to be multithreaded. - * Makefile (targets, SRCS): Add hello-mt, hello-mt.c. - (hello-mt): Add appropriate deps. - - * Makefile (hello): Don't depend on libthreads. - - * hello.c (trivfs_modify_stat): Set st_size from contents_len, not - sizeof (hello) - 1. - - * hello.c: New file. From Gord with some cleanups and hacks from me. - * Makefile (targets, SRCS): Add hello, hello.c. - (hello): Add appropriate deps. - -1999-10-11 Roland McGrath <roland@baalperazim.frob.com> - - * magic.c: Rewritten using libtrivfs. - With new flag --directory/-d, present an empty directory that - has . and .. as normal and lists no other contents, but - looking up anything else within it does the magical retry. - * Makefile (magic): Update library deps accordingly. - -1999-09-13 Roland McGrath <roland@baalperazim.frob.com> - - * fifo.c, null.c, new-fifo.c: Reverted changes related to - io_map_segment. - -1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> - - * null.c (trivfs_S_io_map): Renamed to ... - (trivfs_S_io_map_segment): ... here, with new parameter `index'. - * new-fifo.c (trivfs_S_io_map): Renamed to ... - (trivfs_S_io_map_segment): ... here, with new parameter `index'. - * fifo.c (trivfs_S_io_map): Renamed to ... - (trivfs_S_io_map_segment): ... here, with new parameter `index'. - -1999-08-31 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> - - * crash.c (trivfs_modify_stat): Remove redundant fstype setting. - * password.c (trivfs_modify_stat): Likewise. - - * bogus-fifo.c (main): Deallocate bootstrap port after using it. - * fifo.c (main): Likewise. - * firmlink.c (main): Likewise. - * ifsock.c (main): Likewise. - * magic.c (main): Likewise. - * null.c (main): Likewise. - * symlink.c (main): Likewise. - -1999-07-11 Roland McGrath <roland@baalperazim.frob.com> - - * firmlink.c: Add #include <sys/mman.h>. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * firmlink.c (trivfs_S_io_read): Use mmap instead of vm_allocate. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * crash.c: Add #include <sys/mman.h> for munmap decl. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * crash.c (stop_pgrp): Use munmap instead of vm_deallocate. - -1999-06-01 Roland McGrath <roland@baalperazim.frob.com> - - * crash.c (options): Add --dump-core as alias for --core-file. - - * crash.c: Support three modes of operation, selected by command line - switches: - -s/--suspend suspend crashing process (old behavior) - -k/--kill kill crashing process, no core dump - -c/--core-file dump core file - (enum crash_action): New type. - (crash_how): New variable. - (options, crash_argp, trivfs_runtime_argp): New variables. - (parse_opt, trivfs_append_args): New functions. - (main): Call argp_parse. - -1999-05-19 Roland McGrath <roland@baalperazim.frob.com> - - * null.c (trivfs_S_io_read): Fix return value. - Reported by Steinar Hamre <steinarh@fim.ntnu.no>. - -1999-05-01 Roland McGrath <roland@baalperazim.frob.com> - - * fwd.c (main): Add missing newline in usage msg. - From Marcus Brinkmann. - -1999-02-20 Mark Kettenis <kettenis@gnu.org> - - * password.c: New file. - * Makefile (targets): Add password. - (SRCS): Add password.c. - (OBJS): Add passwordServer.o. - (password-LDLIBS): New variable. - Use dependencies identical to those for crash. - -1998-10-20 Roland McGrath <roland@baalperazim.frob.com> - - * fifo.c (open_hook: WAIT): Add braces to silence gcc warning. - (trivfs_S_io_select): Likewise. - * new-fifo.c (fifo_trans_open): Likewise. - (trivfs_S_io_select): Likewise. - -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * firmlink.c (main): Fix return type to int, and use return. - * fwd.c (main): Likewise. - * new-fifo.c (main): Likewise. - * magic.c (main): Likewise. - * fifo.c (main): Likewise. - * null.c (main): Likewise. - -1997-09-04 Miles Bader <miles@gnu.ai.mit.edu> - - * null.c (main): Fix typo. - -Wed Aug 20 14:07:56 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * 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. - -1997-07-22 Miles Bader <miles@gnu.ai.mit.edu> - - * devport.c: File removed. - * Makefile (targets): Remove devport. - (SRCS): Remove devport.c. - -1997-07-15 Miles Bader <miles@gnu.ai.mit.edu> - - * magic.c (main): Actually parse the arg. - -1997-07-14 Miles Bader <miles@gnu.ai.mit.edu> - - * magic.c (argp_program_version, args_doc, doc): New variables. - (main): Use argp to parse args. - Add new includes <argp.h> & <version.h>. - -Fri Feb 28 20:00:14 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (fwd null ifsock fifo new-fifo devport firmlink): - Add firmlink to targets depending on libthreads. - - * null.c (main): Make multithreaded. - -Tue Feb 25 15:42:40 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * firmlink.c (main): Make multithreaded. - -Sun Feb 23 00:23:49 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * firmlink.c (argp): Use OPTIONS. - (getroot): If firmlink returns ENOENT, act like an unresolvable link. - Don't support visible mode. - (options, parse_opt): Remove -i. - -Wed Feb 19 21:34:01 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * null.c (argp_program_version): Make const. - - * fifo.c (argp_program_version, argp): New variables. - (parse_opt): New function. - (options): Use argp structures instead of getopt ones. - (main): Use argp instead of getopt. - <argp.h>: New include. - <getopt.h>: Include removed. - (trivfs_protid_port_class, trivfs_cntl_portclasses, - trivfs_protid_nportclasses, trivfs_cntl_nportclasses): - Variables removed. - (main): Don't use them. - Don't create our own port classes/bucket, let trivfs_startup do it. - -Tue Feb 18 12:55:50 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * fifo.c <version.h>: New include. - (parse_opt): Use KEY, not OPT. - -Fri Feb 14 03:05:59 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * null.c (control_class, node_class, port_bucket, - trivfs_protid_port_class, trivfs_cntl_portclasses, - trivfs_protid_nportclasses, trivfs_cntl_nportclasses): - Variables removed. - (main): Don't use them. - -Thu Feb 13 19:42:38 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * firmlink.c: New file. - * Makefile (targets): Add firmlink. - (SRCS): Add firmlink.c. - (firmlink): New target. - -Thu Sep 26 14:27:02 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * null.c (trivfs_S_file_check_access): Function removed (trivfs - default is now sufficient). - -Tue Sep 24 15:39:36 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * null.c (provide_zeros): Variable removed. - (trivfs_S_io_read): Don't return zeros anymore. - (trivfs_S_io_readable): Always return 0. - (argp_program_version): New variable. - (main): Use argp for argument parsing. - (trivfs_S_file_check_access): New function. - -Thu Sep 12 16:39:47 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - -Fri Jul 12 23:02:36 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * crash.c (stop_pgrp): Fetch pgrp using correct call. - -Mon Jul 8 13:52:36 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * crash.c (stop_pgrp): Don't do anything if ORPHANED. - -Mon Jul 8 08:54:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - - * crash.c (stop_pgrp): Take second arg CTTYID. Fetch each pgrp - member's msgpor and send msg_sig_post with that as refport instead of - calling POSIX.1 kill function like a bonehead. - (S_crash_dump_task): Pass CTTY_ID arg through to stop_pgrp. - -Sun Jul 7 22:43:23 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * crash.c (stop_pgrp): New function. - (S_crash_dump_task): Call stop_pgrp. - - * Makefile (fwd): Depend on libports. - -Mon Jul 1 16:09:10 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (crash): New target. - * Makefile (SRCS): Added crash.c. - * crash.c: Moved here from ../exec. - (S_crash_dump_task): New args EXC, CODE, SUBCODE, CTTY_ID. - Supply SIGCODE arg to proc_mark_stop. - (signal_crasher): New arg SIGCODE, supply to proc_mark_exit. All - callers changed. - (S_msg_sig_post_untraced): Supply C->sigcode to proc_mark_stop. - (S_crash_dump_task): Drop arg TARGET. - (dump_core): Likewise; all callers changed. - (struct crasher): Delete member `target'. - (S_msg_describe_ports): New function. - -Thu Jun 20 16:28:33 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (null ifsock fifo new-fifo devport): Depend on - ../libfshelp/libfshelp.a. - -Wed May 29 10:31:16 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * devport.c (trivfs_S_file_get_storage_info): Implement new interface. - -Sat May 11 01:19:21 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * new-fifo.c (fifo_trans_parse_args): Use ARGP_ERR_UNKNOWN instead - of EINVAL. - -Tue Apr 30 09:58:47 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (all): Delete target. - (include ../Makeconf): *Before* all dependences. - ($(targets)): Each program depends on its associated .o. - -Mon Apr 15 12:50:37 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * new-fifo.c (fifo_trans_parse_args): Supply missing arg to - argp_parse. - -Sun Mar 31 13:26:48 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (targets): Add devport. - (SRCS): Add devport.c. - Add devport as a target to various dependency rules. - -Wed Feb 7 17:51:49 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fifo.c (trivfs_S_file_set_size): Add #!$@&* reply port args. - * new-fifo.c (trivfs_S_file_set_size): Likewise. - -Mon Jan 29 09:53:01 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fifo.c (close_hook): Also disconnect ACTIVE_FIFO if the laster - writer is going away and there were no readers. - (open_hook): Unbreak a new read pipe even if not waiting for writers. - - * new-fifo.c (fifo_trans_open): Typo. - -Sun Jan 28 21:52:00 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fifo.c (open_hook): Only bother to do anything if O_READ | O_WRITE. - * new-fifo.c (fifo_trans_open): Likewise. - When O_NONBLOCK is set, just don't block if possible, instead of - of returning EWOULDBLOCK. - (trivfs_S_io_select): The pipe is on CRED->po->hook, not CRED->hook. - (trivfs_modify_stat): Zero the returned size if there's no pipe. - -Sat Jan 27 19:30:25 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fifo.c (open_hook): When O_NONBLOCK is set, just don't block if - possible, instead of of returning EWOULDBLOCK. - Only set PO->hook if O_READ or O_WRITE is set. - (trivfs_S_io_select): The pipe is on CRED->po->hook, not CRED->hook. - (trivfs_modify_stat): Zero the returned size if there's no pipe. - -Thu Jan 25 18:34:26 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fifo.c (trivfs_goaway): Handle errors from ports_inhibit_bucket_rpcs. - * new-fifo.c (trivfs_goaway): Likewise. - Call ports_interrupt_rpcs instead of ports_interrupt_rpc. - -Tue Jan 16 14:18:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * new-fifo.c (trivfs_S_io_select): Request interruption if the - reply-port dies. - Don't block if there's an error immediately available. - * fifo.c (trivfs_S_io_select): Ditto. - -Mon Nov 6 12:39:32 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * magic.c (S_fsys_get_options): New function. - * symlink.c (S_fsys_get_options): New function. - -Sun Nov 5 01:56:20 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ifsock.c (main): Add flags argument to trivfs_startup call. - * null.c (main): Ditto. - * fifo.c (main): Ditto. - * new-fifo.c (fifo_trans_start): Ditto. - * symlink.c (main): Add flags argument to fsys_startup call. - (S_fsys_startup): Add FLAGS arg. - * magic.c (main): Add flags argument to fsys_startup call. - (S_fsys_startup): Add FLAGS arg. - -Sat Oct 7 23:41:02 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * symlink.c (S_fsys_getpriv): Add new extra args. - * magic.c (S_fsys_getpriv): Ditto. - -Mon Sep 18 14:54:55 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * fifo.c (trivfs_S_file_set_size): Renamed from trivfs_S_file_truncate; - Return EINVAL if the new size isn't 0. - * new-fifo.c (trivfs_S_file_truncate): Ditto. - * null.c (trivfs_S_file_set_size): Renamed from trivfs_S_file_truncate. - -Fri Sep 8 12:27:35 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * fifo.c, new-fifo.c (open_hook): Block for read only when there's - really someone reading already, or until there's a writer. - (open_hook): Use the WAIT macro to block. - * fifo.c (wait_for_writer): New variable. - (main): Set WAIT_FOR_WRITER with WAIT_FOR_READER. - * new-fifo.c (struct fifo_trans): Added wait_for_writer field. - Delete standalone field. Add some comments. - (fifo_trans_create): Propagate and set the wait_for_writer field. - (fifo_trans_parse_args): Set the wait_for_writer field. - - * fifo.c (trivfs_modify_stat): Only return pipe info if there's a pipe. - (close_hook): Don't die if there's no pipe. - * new-fifo.c (trivfs_modify_stat): Only return pipe info if - there's a pipe. - (fifo_trans_close): Don't die if there's no pipe. - -Thu Aug 31 19:16:25 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * fifo.c (trivfs_S_io_select): Use pipe_pair_select. - (trivfs_S_io_write): Pass in the NOBLOCK parameter to pipe_write. - -Wed Aug 30 12:14:58 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * fifo.c (trivfs_goaway): Implement correctly. - (main): When we time out, don't exit unless there are no opens. - (main): Add timeouts. - (port_bucket): Now a local variable in main. - (trivfs_S_io_select): Implement correctly. - -Tue Aug 29 17:31:45 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * fifo.c (open_hook): Use hurd_condition_wait to detect interrupts. - -Thu Aug 24 10:41:31 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (all): New target. - (symlink, magic, ifsock, fifo, null): Put all dependencies in - these targets. - (null-HURDLIBS, ifsock-HURDLIBS, fifo-HURDLIBS): Removed. - Get rid of rules dealing with error.o - -Wed Aug 23 13:11:18 1995 Miles Bader <miles@duality.gnu.ai.mit.edu> - - * magic.c (S_fsys_forward): New function. - * symlink.c (S_fsys_forward): New function. - * bogus-fifo.c (S_fsys_forward): New function. - -Tue Aug 22 10:48:47 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (HURDLIBS): Add libshouldbeinlibc (everyone uses it). - (symlink, magic, fifo, null, ifsock): Remove error.o. - Get rid of rules dealing with error.o. - - * fifo.c (trivfs_goaway, trivfs_modify_stat): Update arguments. - (trivfs_modify_stat): Give the size of the fifo now that we've got - a handle on it. - -Mon Aug 21 14:43:46 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * null.c (trivfs_goaway, trivfs_modify_stat): Update arguments. - * ifsock.c (trivfs_goaway, trivfs_modify_stat): Update arguments. - - * fifo.c (open_hook): Use condition_broadcast instead of - condition_signal on active_fifo_changed, as all waiters need be - notified of changes. - -Tue Jul 25 13:53:30 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * fifo.c: New file. - (main): Don't pass in the MACH_RCV_TIMEOUT flag with a zero timeout. - * Makefile (SRCS): Add fifo.c. - (targets): Add fifo. - (fifo): New target. - -Thu Jul 6 15:42:25 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (OBJS): New var. - - * Makefile: Removed dependencies that are now automatically - generated. - -Wed Jul 5 21:17:34 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (ifsock-HURDLIBS, null-HURDLIBS): New vars. - (null, ifsock): Fix dependencies. - -Wed Jun 28 15:07:25 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * null.c (PT_CTL, PT_NODE): Deleted macros. - (trivfs_protid_porttypes, trivfs_cntl_porttypes, - trivfs_protid_nporttypes, trivfs_cntl_nporttypes): Deleted vars. - (trivfs_protid_portclasses, trivfs_cntl_portclasses, - trivfs_protid_nportclasses, trivfs_cntl_nportclasses): New vars. - (control_class, node_class, port_bucket): New vars. - (main): Initialize control_class, node_class, port_bucket, - trivfs_protid_portclasses, and trivfs_cntl_portclasses. - (ports_cleanroutines): Delete initialization. - (main): Convert to new trivfs interface. - (trivfs_goaway): Likewise. - (main): Convert to new ports interface. - (ports_demuxer, ports_notice_idle, ports_no_live_ports, - ports_no_hard_ports): Deleted functions. - - * Makefile (ifsock): Add dependency on libihash. - (null): Likewise. - - * ifsock.c (PT_CTL, PT_NODE): Deleted macros. - (ports_cleanroutines): Deleted var. - (ports_notice_idle, ports_no_live_ports, ports_no_hard_ports): - Deleted functions. - (control_class, node_class, port_bucket): New vars. - (trivfs_protid_porttypes, trivfs_cntl_porttypes, - trivfs_protid_nporttypes, trivfs_cntl_nporttypes): Deleted vars. - (trivfs_protid_portclasses, trivfs_cntl_portclasses, - trivfs_protid_nportclasses, trivfs_cntl_nportclasses): New vars. - (main): Initialize control_class, node_class, port_bucket, - trivfs-protid_portclasses, and trivfs_cntl_portclasses. - (main): Use new trivfs interface. - (trivfs_goaway): Likewise. - (main): Use new ports interface. - (S_ifsock_getsockaddr): Likewise. - (demuxer): Renamed from ports_demuxer. - (demuxer): Declare ifsock_server. - -Fri May 12 19:07:54 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * magic.c (S_fsys_set_options, S_fsys_mod_readonly): Change from - mod_readonly to set_options. - * symlink.c (S_fsys_set_options, S_fsys_mod_readonly): Ditto. - -Thu May 11 13:36:28 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * null.c (trivfs_modify_stat): Make st_blksize really large. - -Mon Apr 10 20:38:49 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * null.c (trivfs_S_file_truncate): Always return 0, so O_TRUNC works. - -Sun Apr 9 00:26:07 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * null.c (main): Use trivfs_startup() instead of doing things manually. - Get rid of _libports_initialize() [it gets called automatically]. - * ifsock.c (main): Ditto; also, use error() to print error messages. - -Mon Apr 3 16:39:33 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * null.c (trivfs_modify_stat): Return more useful values for the - st_blksize and st_fstype fields. - -Fri Mar 31 12:20:48 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * null.c (main): Move the check for the bootstrap port after the - args check, so that users can run it from the shell to get a usage - message. - - * magic.c (main): Don't deallocate our right to the underlying - disk node, so we don't get garbage collected prematurely. Also - move the check for the bootstrap port after the args check, so - that users can run it from the shell to get a usage message. - -Wed Mar 29 19:30:33 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * magic.c: New file: Translator to return F_RETRY_MAGIC strings. - * null.c: New file: Translator for /dev/null & /dev/zero. - * Makefile: Add support for the magic and null servers. - -Wed Aug 31 11:08:10 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * symlink.c (S_fsys_mod_readonly, S_fsys_syncfs): New functions. - -Tue Aug 30 16:42:29 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * ifsock.c (main): Call file_name_lookup instead af path_lookup. - -Tue Aug 16 11:38:26 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (symlink, symlink.o): New targets. - Change to be type `servers.'. - -Fri Jul 22 15:15:49 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile: Rewritten in accord with new scheme. diff --git a/ufs-fsck/ChangeLog b/ufs-fsck/ChangeLog deleted file mode 100644 index c050a94e..00000000 --- a/ufs-fsck/ChangeLog +++ /dev/null @@ -1,326 +0,0 @@ -2003-07-29 Marcus Brinkmann <marcus@g10code.de> - - * fsck.h (num_files): Change type to long. - -2002-06-13 Roland McGrath <roland@frob.com> - - * fsck.h (struct dirinfo): Revert i_isize to using u_int. - -2002-06-08 Roland McGrath <roland@frob.com> - - * dir.c, pass1.c, pass1b.c, pass2.c: Use %Ld for ino_t values. - * utilities.c: Likewise. - - * fsck.h: Use ino_t for lfdir. - * setup.c: Likewise. - - * fsck.h (struct dirinfo): Use size_t for i_isize. - -2001-09-30 Roland McGrath <roland@frob.com> - - * pass5.c (pass5): A little manual CSE makes buggy gcc not to crash. - -2001-02-25 Roland McGrath <roland@frob.com> - - * utilities.c: Include <time.h> for decl. - -Thu May 6 10:25:27 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * utilities.c (pextend): Free MORE before returning. - * dir.c (linkup): Don't free tempname until after we're done using - it in the call to warning. - Reported by Katsuya Tanaka (tanaka@boarderz.com). - -1999-03-25 Roland McGrath <roland@baalperazim.frob.com> - - * setup.c (setup): Don't complain if the device is a block device. - -Wed Feb 19 23:10:39 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (argp_program_version): Make const. - -Thu Sep 12 16:40:10 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - ($(target)): Delete special depedency. - - * Makefile (vpath tables.c): Put after Makeconf inclusion to catch - setting of $(top_srcdir). - -Fri Sep 6 16:44:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * main.c (argp_program_version): Fix typo. - -Thu Sep 5 11:42:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * main.c: Include <version.h>. - (argp_program_version): Define with STANDARD_HURD_VERSION. - -Fri Aug 16 10:25:37 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * dir.c (record_directory): Maximum number of block pointers to - record is NDADDR + NIADDR, not NDADDR * NIADDR. - * pass2.c: Include <assert.h>. - (pass2): Before copying block addresses to DINO in basic - integrity check, assert that DNP->i_numblks isn't too big. - -Mon Aug 12 11:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (dir): Now ufs-fsck. - -Tue Jul 23 19:32:09 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (allocino): `struct timespec' now uses a field prefix - of `tv_'. - * utilities.c (pinode): Likewise. - -Thu Jul 18 14:55:14 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pass2.c (pass2): If an entire directory block is null, allow - preen to patch it into a normal empty directory entry. - -Sat Jul 6 19:59:27 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (argp_program_version): New variable. - <hurd.h>: New include. - -Mon Jul 1 12:55:48 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pass2.c (pass2): Don't skip empty directories in `.' and `..' - correctness check; we don't clear them the way BSD does, so we - want `.' and `..' to get created for us. Also handle `.' before - `..' so that they get created in the usual order for empty - directories. - - * dir.c (makeentry): After successful directory expansion, write - out modified directory inode. - - * pass4.c (pass4): If a reconnect fails while we are preening, - give up. - -Mon Jun 24 10:19:39 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * utilities.c (errexit, punt): Exit with status 8 for catastrophic - failures. - -Thu May 23 14:12:21 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pass2.c (pass2): Don't clear all node types in directories, just - clear those that are wrong. - -Tue May 14 16:49:46 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * pass2.c (pass2): Fix up test in preen case. - -Tue May 14 15:29:36 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pass2.c (pass2): Handle directory entry type fields better for - Hurd. - -Sat May 11 01:07:49 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL. - -Thu May 9 20:12:51 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pass1b.c (pass1b): Bother to initialize NUMBER. - -Fri May 3 00:48:39 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (nice_size, show_stats): New functions. - (main): Use show_stats. - -Wed May 1 13:59:06 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Shorten summary message so that it fits on one line. - * utilities.c (no_preen): New function. - (problem, warning, pinode): Use it. - (warning): Don't flush all pending problems, just our own. - * dir.c (linkup): Consistently put quotes around filenames. - - * main.c (preen, num_files): New variables. - (main): Implement clean-bit checking in preen mode, and print - summary statistics. - (main, options): Add --force & --silent options. - * pass1.c (pass1): Increment NUM_FILES. - When clearing inode due to bad blocks, continue. - * inode.c (allocino, freeino): Frob NUM_FILES. - * fsck.h (force): New declaration. - * pass5.c (pass5): Vary clean msg depending on whether FSMODIFIED. - * setup.c (setup): Use error to print error msgs. - <error.h>, <errno.h>: New includes. - - * utilities.c (problem, warning, pextend, pfail): New functions. - (pinode, pfix, reply): Use new problem recording stuff. - (push_problem, resolve_problem, flush_problems): New functions. - (struct problem): New type. - (problems, free_problems): New variables. - (retch, punt): New functions. - * fsck.h (problem, warning, pextend, pfail): New declarations. - (pinode): Update declaration. - * dir.c (validdir, makeentry, linkup): Use new printing functions. - * pass1.c (pass1): Likewise. - * pass1b.c (pass1b): Likewise. - * pass2.c (pass2): Likewise. - * pass3.c (pass3): Likewise. - * pass4.c (pass4): Likewise. - * pass5.c (pass5): Likewise. - * setup.c (setup): Likewise. - -Tue Apr 30 19:06:42 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * pass5.c (pass5): Be sure to call pwarn before pfix. - * main.c (main): Don't print large obnoxious banner if PREEN. - -Fri Apr 26 16:20:37 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * inode.c (allocino): Parenthesize test correctly. - - * fsck.h (swab_disk): Define as constant zero. - - * pass5.c (pass5): If not marked clean, but now it is, then offer - to mark it clean. - * utilities.c (reply): Set fix_denied anytime we return 0. - * fsck.h (fix_denied): New variable. - -Wed Apr 24 13:32:39 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pass1.c (pass1): Don't print block numbers as we go anymore. - -Tue Apr 23 10:11:49 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pass5.c (pass5): Correctly track contig summaries even though - they aren't used by the filesystem; we still need to preserve the - format. - -Mon Apr 15 12:51:41 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (vpath tables.c): Find ufs directory in $(top_srcdir). - -Tue Apr 2 09:00:53 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pass1.c (pass1): Print mode correctly in unknown file type case. - Recognize inode type IFSOCK too. - -Mon Mar 18 19:48:39 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Pass new arg to argp_parse. Use argp_usage correctly. - -Thu Oct 19 17:45:12 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Exit with a non-zero status if we fixed anything. - Use argp to parse options. - (options): Converted to argp format. - (args_doc): New variable. - (USAGE, usage, SHORT_OPTIONS): Removed. - Include <argp.h> instead of <getopt.h>. - * Makefile ($(target)): Depend on libshouldbeinlibc.a. - -Fri Sep 22 16:55:03 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * utilities.c (pfix): New function. - (pfatal, pwarn, errexit): Print DEVICE_NAME too if in preen mode. - * fsck.h: Declare DEVICE_NAME. - * setup.c (setup): Set DEVICE_NAME. - * pass1.c, pass2.c, pass3.c, pass4.c, pass5.c (pass1, pass2, - pass3, pass4, pass5): Call pfix instead of printf. - * pass1.c (pass1): Only print progress report if not in preen mode. - * main.c (main): Only print section headers if not in preen mode. - -Wed Sep 20 09:11:59 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * utilities.c (pinode): Take a message & args to print as well. - * fsck.h: Change declaration of pinode. - * pass2.c (pass2): Use changed pinode. - * pass3.c (pass3): Use changed pinode. - * pass4.c (pass4): Use changed pinode. - -Tue Sep 19 15:37:02 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * pass1.c (pass1): Change the extent of DBWARN & IBWARN so that - they actually work. - * pass2.c (pass2): Adjust our record of link counts when we - add/change dir entries; also print error messages when we can't. - * pass4.c (pass4): If an unlinked file can't be reconnected, offer - to clear it. Once a reconnect attempt fails, don't try again. - * dir.c (linkup): Print the value of LFNAME rather than `lost+found'. - (searchdir, changeino): Fix backward compare. - (linkup): Don't fail when makeentry succeeds. - (searchdir): Make searchdir return zero if there's an error - during the search. - (linkup): Print appropiate error messages if searchdir fails. - (validdir): Get rid of extra newlines in error messages -- - everyone who calls this routine prints extra information if it - fails, which should immediately follow. - * main.c (main): Use getopt to parse command line options. - (usage): New function. - (options): New variable. - (lfname, lfmode): Variables moved here from setup.c. - (lfname): Made into a char* so that we can change it. - (lfmode): Get rid of IFDIR; it's added when necessary. - * fsck.h: Change LFNAME to char*. - * setup.c (lfname, lfmode): Variables moved to main.c. - -Sat Sep 9 12:12:59 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (target): Changed to `fsck.ufs'. - (installationdir): New variable, install into $(sbindir). - -Thu Jul 6 15:33:46 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * fsck.h (lookup_directory): New decl. - - * pass1.c (pass1): Remove assignment from if test. - * utilities.c (pinode): Likewise. - - * Makefile (tables.o): Delete rule. - (vpath tables.c): Tell where to find tables.c. - - * Makefile: Removed dependencies that are now automatically - generated. - -Thu Nov 3 17:19:03 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (dir): Changed to fsck. - (target): Changed to fsck. - -Wed Nov 2 14:39:13 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * pass2.c (pass2): Use DIRECT_NAMLEN instead of d_namlen - throughout. - * dir.c (searchdir): Likewise. - (changeino): Likewise. - (makeentry): Likewise. - -Mon Oct 17 16:07:56 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * inode.c (inode_iterate): FN takes new third arg. - Keep track of new var `offset' and pass it to FN. - * pass2.c (pass2/checkdirblock): New third arg. - Only scan DIRBLKSIZ chunks to the total size of the file. - * dir.c (searchdir/checkdirblock): Likewise. - (changeino/checkdirblock): Likewise. - (makeentry/checkdirblock): Likewise. - * pass1.c (pass1/checkblock): New third arg (ignored). - * pass1b.c (pass1b/checkblock): Likewise. - - * inode.c (inode_iterate): Compute MAXB correctly. - - * utilities.c (getinode): Multiple ino_to_fsbo by - sizeof (struct dinode). - (write_inode): Likewise. - (getinode): Inode buffer needs to be a full block, not a - fragment. - -Fri Oct 14 21:07:09 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * utilities.c (lastifrag): New variable. - (getinode): Use lastifrag instead of buf; Only I/O new block - if lastifrag isn't what we want. - (write_inode): Likewise. - -Fri Oct 14 17:44:59 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * setup.c (setup): Test ISCHR, not ISDIR. - Fix NCYL against NCG * CPG test. - Bother to set MAXFSBLOCK, MAXINO, and DIRECT_SYMLINK_EXTENSION. diff --git a/ufs-utils/ChangeLog b/ufs-utils/ChangeLog deleted file mode 100644 index d5a8bc8f..00000000 --- a/ufs-utils/ChangeLog +++ /dev/null @@ -1,167 +0,0 @@ -2008-12-08 Thomas Schwinge <tschwinge@gnu.org> - - * Makefile (HURDLIBS): New variable. - -2006-03-15 Thomas Schwinge <tschwinge@gnu.org> - - * mkfs.c (parse_opt): Move UP's functionality into UP_INT in order to - fix invalid lvalues. - -2002-06-08 Roland McGrath <roland@frob.com> - - * mkfs.c (iput): Use %Ld format for ino_t values. - -2001-12-06 Roland McGrath <roland@frob.com> - - * dlabel.c (fd_get_device): Only deallocate NODE if store_create fails. - Found by Michael Teichgraeber <gnubert@web.de>. - -2001-12-02 Roland McGrath <roland@frob.com> - - * mkfs.c (fsinit): Set the root directory's owner/group to the user's. - Suggested by Michael Teichgraeber <gnubert@web.de>. - -2001-02-25 Roland McGrath <roland@frob.com> - - * mkfs.c [!STANDALONE]: Include <time.h> for decl. - * stati.c: Likewise. - -1999-11-20 Roland McGrath <roland@baalperazim.frob.com> - - * dlabel.c (fd_get_device): Check STORE->class->id, not STORE->class. - -1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - - * mkfs.c (main): Fix return type to int, use return. - -Fri Jun 20 13:39:02 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * mkfs.c (mkfs): Set SBLOCK.fs_clean. New file systems are always - clean. - -Thu Apr 10 13:54:31 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * dlabel.c: Don't include <mach/sa/sys/ioctl.h>. - (_IOR, _IOC, IOC_OUT, IOCPARM_MASK): New macros. - -Wed Feb 19 23:10:54 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * mkfs.c (argp_program_version): Make const. - -Thu Sep 5 11:44:38 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * mkfs.c: Include <version.h>. - (argp_program_version): Define with STANDARD_HURD_VERSION. - -Mon Aug 19 15:18:30 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * mkfs.c (doc): Supply a useful value. - -Tue Jul 23 19:34:58 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * mkfs.c (fsinit): `struct timespec' now uses a field prefix of `tv_'. - * stati.c (timespec_rep): Likewise. - -Fri Jun 21 02:12:16 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * dlabel.c (fd_get_device): Supply new args to store_create. - -Sat May 11 01:20:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * mkfs.c (parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL. - -Fri May 10 15:50:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * dlabel.c (fd_get_device): Update to use libstore. - <hurd/store.h>: New include. - * Makefile (mkfs.ufs): Depend on ../libstore/libstore.a. - -Tue Apr 30 10:06:21 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (include ../Makeconf): BEFORE dependencies. - (all): Delete target. - ($(targets)): Each target depends on its associated .o. - -Wed Apr 3 16:31:13 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * mkfs.c (main): In `Can't get disklabel' error message, specify - which flag the user can use to supply the needed information. - (mkfs): Fiddle with info message. - -Sun Mar 31 14:34:28 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * stati.c (mode_rep): Prefix octal number with `0'. - -Fri Mar 29 11:56:52 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * stati.c (main): Print mode & {in,}direct blocks too. - (mode_rep): New function. - (timespec_rep): P shouldn't be static. - - * mkfs.c (main): Argp interface changes. - -Wed Mar 13 18:30:55 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * mkfs.c (options, args_doc, doc): New variables for option parsing. - (struct amark): New type. - (amarks_add, amarks_contains): New functions. - (default_disklabel): New variable. - (main): Most arguments are now options (and optional). Allow many - more parameters to be specified. Consult the disk label for some - defaults. - (most functions): Add explicit return type declarations. Fix - printf format specifications. Get rid of #ifdefs for MFS. - (started, malloc, realloc, calloc, free): Functions removed. - (mfs, membase): Variables removed. - <stddef.h>, <stdlib.h>, <argp.h>, <assert.h>, <error.h>, - <string.h>: New includes - * dlabel.c: New file. - * Makefile (SRCS): Add dlabel.c. - (mkfs.ufs): New target. - -Tue Feb 27 14:52:00 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * clri.c: Move here from ../utils. - - [Entire directory renamed to `ufs-utils' from `newfs'] - -Sat Sep 9 12:17:11 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (target): Changed to `mkfs.ufs'. - (installationdir): New variable, install into $(sbindir). - -Thu Nov 24 18:39:30 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * mkfs.c: Protect all mfs code with #ifdef MFS. - -Wed Oct 12 12:59:01 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * mkfs.c (main): MAXCONTIG should be zero because we don't - do clustering. - -Fri Sep 9 09:45:23 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * mkfs.c: Include <sys/stat.h> and <fcntl.h>. - (main): New function. Punt newfs.c for now. - * Makefile (SRCS, OBJS): Comment out uses of newfs.c. - (target): Build mkfs, not newfs. - - * newfs.c (mopts): Comment out. - (mntflags): Comment out. - (main): Omit check for `mfs'. Omit var `partition'. - (main) [case 'o']: Comment out mfs specific code. - (main): Comment out check for already-mounted partition. - (main): Comment out MFS specific open of FSI. - - * mkfs.c (fsinit): Use DI_MODE to read mode from NODE, and - set di_model and di_modeh instead of di_mode. - (mkfs): Don't set fields in *PP. - - * newfs.c: Include ufs header files with "../ufs/foo.h" instead of - <ufs/ufs/foo.h>. Don't include <sys/disklabel.h>, <sys/mount.h>, - or "mntopts.h". - -Thu Sep 8 15:52:05 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * mkfs.c: Include ufs header files with "../ufs/foo.h" instead of - <ufs/ufs/foo.h>. Don't include <sys/disklabel.h>. diff --git a/ufs/ChangeLog b/ufs/ChangeLog deleted file mode 100644 index 14fb86bd..00000000 --- a/ufs/ChangeLog +++ /dev/null @@ -1,2012 +0,0 @@ -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * inode.c (read_disknode, write_node): Adapt to ``struct stat'' - changes. - -2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * dir.c (diskfs_lookup_hard, diskfs_dirempty): Call - diskfs_set_node_atime instead of setting dp->dn_set_atime. - * inode.c (read_symlink_hook): Likewise. - -2006-03-15 Thomas Schwinge <tschwinge@gnu.org> - - * dir.h (DIRECT_NAMELEN): Don't use ?: as a lvalue. - -2002-10-03 Roland McGrath <roland@frob.com> - - * dir.h (MAXNAMLEN): #undef before defining. - -2002-07-31 Roland McGrath <roland@frob.com> - - * dir.c (diskfs_direnter_hard): Fix test in last change. - -2002-06-08 Roland McGrath <roland@frob.com> - - * inode.c (diskfs_cached_lookup): Use ino_t for argument. - - * dir.c (diskfs_direnter_hard): Use size_t for OLDSIZE. - Fail with EOVERFLOW when it would exceed that width. - - * alloc.c, dir.c: Use %Ld format for ino_t values. - * alloc.c (diskfs_alloc_node): Use %Ld format for blkcnt_t values. - -2002-05-08 Roland McGrath <roland@frob.com> - - * main.c (diskfs_append_args): Fix argument type. - (main): Use %z format modifier for size_t arg. - * dir.c (dirscanblock): Use %z format modifier for vm_address_t arg. - (diskfs_dirempty): int -> vm_address_t - (count_dirents): int -> size_t - (diskfs_get_directs): u_int -> size_t - -2002-03-11 Roland McGrath <roland@frob.com> - - * Makefile (ufs.static): Depend on - $(boot-store-types:%=../libstore/libstore_%.a). - -2001-11-21 Roland McGrath <roland@frob.com> - - * inode.c (read_disknode): Just always call getpid for the fsid value. - -2001-10-01 Marcus Brinkmann <marcus@gnu.org> - - * ufs.h (swab_long_long): Use LL, not lL, for constant. - Submitted by Maurizio Boriani <baux@debian.org>. - -2001-08-09 Roland McGrath <roland@frob.com> - - * inode.c (diskfs_get_translator): Fail with EFTYPE if the length - field stored on disk is unreasonable. Don't crash on ENOMEM. - Use memcpy instead of bcopy. - -2001-06-09 Mark Kettenis <kettenis@gnu.org> - - * inode.c (diskfs_set_statfs): If number of free blocks is less - than the number of reserved blocks, set the number of available - blocks to 0. - -2001-01-08 Marcus Brinkmann <marcus@gnu.org> - - * main.c (main): Use %Ld instead %ld to print store->size. - * hyper.c (get_hypermetadata): Likewise. - * inode.c (diskfs_S_file_get_storage_info): Change type of variables - start and length from off_t to store_offset_t. - -2001-01-07 Marcus Brinkmann <marcus@gnu.org> - - * dir.c: Make diskfs_dirstat_size const. - -2000-12-02 Roland McGrath <roland@frob.com> - - * inode.c (write_node): Remove assert that dn_set_mtime et al are - clear. It is ok if they are set in parallel, because the latter - setting will be carried out eventually. - -2000-11-30 Marcus Brinkmann <marcus@gnu.org> - - * dir.c (diskfs_lookup_hard): If name is too long, clear - DS before returning ENAMETOOLONG. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile (HURDLIBS): Reorder libs such that the threads lib - comes before the ports lib. This makes sure the functions in - libthreads properly override the stubs in libports with the new - dynamic linker semantics in glibc 2.2. - -2000-03-03 Roland McGrath <roland@baalperazim.frob.com> - - * dir.c (diskfs_get_directs): Don't allocate buffer for *DATA until - after scanning for ENTRY and possibly returning EOF. - -1999-10-13 Roland McGrath <roland@baalperazim.frob.com> - - * consts.c (diskfs_name_max): New variable. - -1999-09-13 Roland McGrath <roland@baalperazim.frob.com> - - * dir.c, sizes.c, pager.c: Reverted changes related to io_map_segment. - -1999-09-09 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (makemode): servers -> server. - (targets): Replaced with target; remove ufs.static. - (ufs.static-LDFLAGS): Variable removed. - (ufs.static, ufs): Remove deps. - -1999-09-08 Thomas Bushnell, BSG <tb@mit.edu> - - * dir.c (diskfs_get_directs): Initialize `err' to shut gcc up. - -1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> - - * dir.c (diskfs_lookup_hard): Pass additional parameter to - diskfs_get_filemap. - (diskfs_dirempty): Likewise. - * sizes.c (diskfs_truncate): Likewise. - (block_extended): Likewise. - (diskfs_grow): Likewise. - * pager.c (diskfs_get_filemap): Accept additional parameter. - -1999-09-04 Thomas Bushnell, BSG <tb@mit.edu> - - * pager.c (find_address): If !ISREAD, then don't return errors for - access past NP->allocsize, and clear *ADDR and *DISKSIZE. These - can happen through harmless races against truncate. - (pager_write_page): Don't print annoying messages for writes to - unallocated disk. These can happen through harmless races against - truncate, and so we should not pester the console with them. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * ufs.h: Add #include <sys/mman.h> for munmap decl. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * dir.c (diskfs_get_directs): Use mmap instead of vm_allocate. - * hyper.c (get_hypermetadata): Likewise. - * pager.c (pager_read_page): Likewise. - -1999-07-06 Thomas Bushnell, BSG <tb@mit.edu> - - * hyper.c (diskfs_readonly_changed): Use mprotect instead of - vm_protect. - -Mon Jul 5 20:04:58 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * dir.c (diskfs_lookup_hard): Repair typo. Reported by Yamashita - TAKAO <jargon@lares.dti.ne.jp>. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * dir.c (diskfs_lookup_hard): Use munmap instead of - vm_deallocate. - (diskfs_direnter_hard): Likewise. - (diskfs_dirremove_hard): Likewise. - (diskfs_dirrewrite_hard): Likewise. - (diskfs_dirempty): Likewise. - (diskfs_drop_dirstat): Likewise. - (diskfs_get_directs): Likewise. - * sizes.c (block_extended): Likewise. - (poke_pages): Likewise. - * hyper.c (get_hypermetadata): Likewise. - (diskfs_set_hypermetadata): Likewise. - -1999-06-29 Thomas Bushnell, BSG <tb@mit.edu> - - * hyper.c (diskfs_readonly_changed): Adjust whether the store - should permit writes too. - -1999-05-02 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (main): Remove bogus uninitialized variable ERR. - -1999-01-23 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (main): Use diskfs_init_main. - -1998-12-27 Roland McGrath <roland@baalperazim.frob.com> - - * inode.c (diskfs_set_statfs): Remove __ from struct members. - -1998-12-21 Mark Kettenis <kettenis@phys.uva.nl> - - * inode.c (diskfs_set_statfs): Fill in statfs members that are - used to implement statvfs. - -1998-12-27 Roland McGrath <roland@baalperazim.frob.com> - - * main.c (main): Pass ARGP_IN_ORDER flag to argp_parse because - diskfs options need it. - -1998-12-20 Roland McGrath <roland@baalperazim.frob.com> - - * alloc.c (diskfs_alloc_node): Fix printf format to silence warning. - * hyper.c (get_hypermetadata): Likewise. - -1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - - * dir.c (diskfs_lookup_hard): Fix defn with `const'. - (diskfs_direnter_hard): Likewise. - (dirscanblock): Likewise. - * inode.c (diskfs_create_symlink_hook, create_symlink_hook): Likewise. - (diskfs_set_translator): Likewise. - -Wed Aug 20 14:34:24 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * 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. - -Mon Jun 30 17:38:57 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * main.c (main): If the store cannot be made writable, then set - diskfs_hard_readonly and diskfs_readonly. - -1997-06-20 Miles Bader <miles@gnu.ai.mit.edu> - - * hyper.c (diskfs_set_hypermetadata): Adjust device addresses for - possible differences between DEV_BSIZE & device block size. - * inode.c (diskfs_S_file_get_storage_info): Likewise. - * pager.c (pager_read_page, pager_write_page, pager_unlock_page): - Likewise. - * ufs.h (log2_dev_blocks_per_bsize): New declaration. - * main.c (main): Only require device-block-size to be <= DEV_BSIZE. - Get rid of device-block-size-is-power-of-2 check. - Set LOG2_DEV_BLOCKS_PER_BSIZE. - Exit with an error if the disk is too small rather than assert failing. - (log2_dev_blocks_per_bsize): New variable. - -Thu Feb 6 01:56:27 1997 Miles Bader <miles@gnu.ai.mit.edu> - - (diskfs_S_file_getfh, diskfs_S_fsys_getfile): Functions removed. - -Tue Nov 19 18:28:26 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (read_disknode): If SBLOCK->fs_inodefmt < FS_44INODEFMT, - set ST->st_author to st->st_uid, and NP->author_tracks_uid to true. - (diskfs_validate_author_change): New function. - -Mon Nov 18 17:10:00 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (read_disknode): When setting ST->st_mode, Clear - S_ITRANS bits, and set S_IPTRANS if necessary. Don't set - NP->istranslated anymore. - (diskfs_set_translator): Frob S_IPTRANS bit in mode bits instead - of NP->istranslated. - (write_node): Don't write any bits in S_ITRANS to disk. - * alloc.c (ffs_alloc): Use S_IPTRANS in NP->dn_stat.st_mode - instead of NP->istranslated. - -Sat Nov 16 17:21:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * inode.c (diskfs_S_fsys_getfile): Delete var `fakecred'. - diskfs_access -> fshelp_access. - * alloc.c (ffs_alloc): diskfs_isuid -> idvec_contains. - (ffs_realloccg): Likewise. - -Thu Nov 14 16:43:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * inode.c (diskfs_S_file_getfh): diskfs_isuid -> idvec_contains. - (diskfs_S_fsys_getfile): Use idvecs and iousers. - -Thu Oct 24 16:07:17 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (startup_children, runtime_children): New variables. - (startup_parents, runtime_parents): Variables removed. - (startup_argp, runtime_argp): Use new *_CHILDREN variables instead of - corresponding *_PARENT ones. - -Thu Sep 19 18:02:40 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): Add store. - -Wed Sep 18 15:30:00 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (diskfs_S_file_get_storage_info): Narrow scope of RUN. - - * consts.c (diskfs_extra_version): New variable. - - * main.c (main): Remove CLASSES argument to store_parsed_open. - Use STORE_PARAMS variable to get result from parsing STORE_ARGP. - Don't force COMPAT_GNU on bootstrap filesystems (it's the default - anyway). - -Mon Sep 16 13:27:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (ufs.static ufs): Add ../libstore/libstore.a. - - * hyper.c (zeroblock): Change type to `void *'. - (get_hypermetadata): Cast ZEROBLOCK when vm_{de,}allocating. - * ufs.h (zeroblock): Change type to `void *'. - * sizes.c (diskfs_truncate): Don't cast ZEROBLOCK to diskfs_node_rw. - (block_extended, diskfs_grow): Do cast it to offer_data. - - * main.c (main): Don't set DISKFS_USE_MACH_DEVICE (which is no longer). - - * inode.c (diskfs_S_file_get_storage_info): Coalesce adjacent - blocks when constructing RUNS. - Set *PORTS_TYPE, not *STORAGE_PORT_TYPE. - * inode.c (diskfs_S_file_getfh): Variable ERR removed. - - * sizes.c (indir_release): Use DISKFS_DISK_PAGER instead of DISK_PAGER. - * ufs.h (sync_disk_blocks): Likewise. - * pokeloc.c (sync_disk): Likewise. - * main.c (diskfs_reload_global_state): Likewise. - * pager.c (create_disk_pager, diskfs_shutdown_pager, - diskfs_sync_everything): Likewise. - * main.c <argp.h>, <hurd/store.h>: New includes. - * hyper.c, pager.c, inode.c <hurd/store.h>: New include. - (get_hypermetadata): Use %Zd for printfing size_t. - (diskfs_set_hypermetadata): Return EIO for incomplete writes. - Cast BUF when calling vm_deallocate. - - * dir.c (diskfs_direnter_hard): Initialize OLDSIZE to shut up gcc. - -Sat Sep 14 20:38:47 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ufs.h (store, store_parsed, disk_image): New declarations. - - * pager.c (thread_function): Function removed. - (create_disk_pager): Create PAGER_BUCKET. - Use diskfs_start_disk_pager instead of disk_pager_setup. - (disk_image): New variable. - - * main.c (store, store_parsed, diskfs_disk_name): New variables. - (parse_opt): Propagate our input to the first child parser. - (diskfs_append_args): New function. - (diskfs_get_options): Function removed. - (startup_parents): Use DISKFS_STORE_STARTUP_ARGP instead of - DISKFS_STD_DEVICE_STARTUP_ARGP. - - * hyper.c (get_hypermetadata): Use DISKFS_DISK_NAME instead of - DISKFS_DEVICE_ARG. - * main.c (main): Likewise. - - * hyper.c (get_hypermetadata, diskfs_readonly_changed): Use - fields in STORE instead of DISKFS_DEVICE_* variables. - * inode.c (diskfs_S_file_get_storage_info): Likewise. - * pager.c (pager_report_extent): Likewise. - * main.c (main): Likewise. - * pager.c (pager_read_page, pager_write_page, pager_unlock_page): - Use store_{read,write} instead of diskfs_device_{read,write}_sync. - * hyper.c (diskfs_set_hypermetadata): Likewise. - * inode.c (diskfs_S_file_get_storage_info): Rewrite to use - libstore functions (still has NDADDR block limit, though). - -Thu Sep 12 16:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - (ufs.static ufs): Depend on $(library_deps) instead of long list - of libraries. - -Fri Sep 6 16:00:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * consts.c: Include <version.h>. - (diskfs_major_version, diskfs_minor_version, diskfs_edit_version): - Deleted variables. - (diskfs_server_version): New variable. - -Thu Aug 29 16:07:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * dir.c (diskfs_lookup_hard): When setting ds->stat to EXTEND, set - ds->idx by looking at the size of the file. (IDX itself is no - longer at the end because of the change on Aug 16 1996.) - -Wed Aug 28 12:15:15 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * dir.c (dirscanblock): Size dirents correctly when mallocing it. - (diskfs_direnter_hard): Be more careful when sizing or resizing - dirents. Correctly set to -1 all the new entries we create after - realloc call. - -Fri Aug 16 18:51:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * ufs.h (struct disknode): New member `dir_idx'. - * inode.c (diskfs_cached_lookup): Initialize DN->dir_idx. - * dir.c (diskfs_lookup_hard): After successful dirscanblock, - record index where we finished in DP->dn->dir_idx. Start searches - at that index. - -Mon Aug 12 13:43:46 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * hyper.c (diskfs_set_hypermetadata): Bother to return 0 at end of - function. - -Wed Aug 7 13:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * inode.c (diskfs_set_statfs): Compute st->f_blocks correctly; set - bsize to be fs_fsize, not fs_bsize. - - * hyper.c (diskfs_set_hypermetadata): Return an error as - appropriate. - - * inode.c (struct ufs_fhandle): Layout filehandle more like Unixy - NFSD. - (diskfs_S_file_getfh): Bother to clear unused parts of a - file handle so that they always compare equal. - -Tue Aug 6 12:19:38 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * inode.c: Include <fcntl.h>. - (struct ufs_fhandle): New type. - (diskfs_S_fsys_getfile, diskfs_S_file_getfh): New functions. - -Tue Jul 23 15:58:28 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (write_node, read_disknode): `struct timespec' now uses - a field prefix of `tv_'. - -Sat Jul 6 16:14:10 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (ufs_version): Variable removed. - -Sat Jul 6 12:45:36 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * inode.c (read_disknode): Don't set allocsize based on st->size - for kludged symlinks. - - * sizes.c (diskfs_truncate): Call record_poke after truncating a - kludged symlink. - -Wed Jul 3 13:27:04 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * main.c: Include <argz.h>. - (startup_parents, runtime_parents): Declare const. - -Tue Jun 25 14:02:02 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (diskfs_get_options): Include `--compat=' in options. - -Mon Jun 24 16:59:12 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * dir.c (diskfs_lookup_hard): Use diskfs_check_readonly instead of - diskfs_readonly. - (diskfs_dirempty): Likewise. - - * dir.c (diskfs_lookup_hard): Use diskfs_check_readonly instead of - diskfs_readonly. - (diskfs_dirempty): Likewise. - * inode.c (diskfs_cached_lookup): Likewise. - (read_symlink_hook): Likewise. - * sizes.c (diskfs_truncate): Call diskfs_check_readonly. - (diskfs_grow): Likewise. - * hyper.c (diskfs_set_hypermetadata): If CLEAN is not set, make - sure we clear the clean bit on disk. Always call sync_disk (with - appropriate WAIT). - (diskfs_readonly_changed): Don't do set_hypermetadata here. - (copy_sblock): Don't track clean state here. - - * pager.c (diskfs_shutdown_pager): Don't shutdown DISKPAGER ever, - just sync it instead. - -Sat Jun 22 17:45:34 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (diskfs_get_options): New function. - (options): Make const. - -Fri Jun 21 01:32:09 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (parse_opt): Handle runtime invalid selection of 4.2 mode. - Save select mode until we're done to correctly deal with external - errors at runtime. - (startup_parents, startup_argp, runtime_parents, runtime_argp): - New variables. - (main): Argp vars made global. - (argp_parents): diskfs_device_startup_argp --> - &diskfs_std_device_startup_argp. - -Sat Jun 15 13:57:27 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (options): New variable. - (parse_opt): New function. - (main): Parse ufs-specific options too. - <string.h>: New include. - -Fri May 10 09:29:03 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * inode.c (diskfs_set_statfs): Fix one reference to old name of ST - member. - -Thu May 9 11:54:13 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (ufs.static ufs): s/ioserver/iohelp/g - * ufs.h: ioserver.h -> iohelp.h. - - * inode.c (diskfs_set_statfs): Use and fill in new statfs - structure. - -Mon May 6 14:23:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * main.c (ufs_version): Upgrade to 0.0. - -Fri May 3 09:15:33 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * sizes.c (block_extended): Rewrite code that moves pages - to be more efficient, and not deadlock too, using unlocked - pagein permission feature (read "hack"). Return value - now indicates whether we expect a sync. - (diskfs_grow): If a call to block_extended returns nonzero, - then sync the file before returning. - * pager.c (diskfs_get_filemap): Initialize - UPI->allow_unlocked_pagein and UPI->unlocked_pagein_length. - (unlocked_pagein_lock): New variable. - (find_address): New parameter `isread'; all callers changed. - If ISREAD and we are in the unlocked pagein region, don't - attempt to acquire NP->dn->allocptrlock. - * ufs.h (struct user_pager_info): New members - `allow_unlocked_pagein' and `unlocked_pagein_length'. - (unlocked_pagein_lock): New variable. - -Thu May 2 10:56:10 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * sizes.c (offer_data): Offer pages at ADDR each time through the - loop, not the same page over and over. - (block_extended): When moving data, sync in-core pager both before - reading from disk and after providing data to kernel. - (diskfs_grow): Always call block_extended or offer_data before - adjusting block pointer. - -Tue Apr 30 13:38:42 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * sizes.c (diskfs_grow): In last offer_data, don't offer a block - number as an address. - -Fri Apr 26 15:35:53 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (makemode): Now `servers'. - (targets): Renamed from `target'; now include ufs.static. - (ufs.static-LDFLAGS): Renamed from `LDFLAGS'. - (ufs.static): Depend on same things as `ufs'. - (include ../Makeconf): Must come before dependency information. - -Wed Apr 24 14:05:48 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * dir.h (DIRECT_NAMLEN) [! LITTLE_ENDIAN]: Deal correctly with the - case where it was written on a little endian machine without the - extension. - (DIRECT_NAMLEN) [LITTLE_ENDIAN]: Deal with case correctly where it - was written without the extension on a big endian machine. - * dir.c (dirscanblock): Use read/write_disk_entry when reading or - writing fields from directory entries. - (diskfs_direnter_hard): Likewise. - (diskfs_dirremove_hard): Likewise. - (diskfs_dirrewrite_hard): Likewise. - (diskfs_get_directs): Likewise. - (diskfs_dirempty): Likewise. - (count_dirents): Likewise. - -Tue Apr 23 11:28:42 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * dir.c (diskfs_dirempty): node_update -> diskfs_node_update. - - * hyper.c (swab_sblock, swab_csums): New functions. - (get_hypermetadata): If this is a swapped filesystem, set swab_disk. - Also swap csum and sblock after reading them. - (diskfs_set_hypermetadata): If swab_disk, swap the csums back before - writing them. - (copy_sblock): If swab_disk, swap the sblock before writing it. - * ufs.h (swab_disk): New variable. - (swab_short, swab_long, swab_long_long): New functions. - (read_disk_entry, write_disk_entry): New macros. - * alloc.c (ffs_realloccg): Use read/write_disk_entry when - reading/writing on-disk inode fields. - * bmap.c (fetch_indir_spec): Likewise. - * inode.c (read_disknode): Likewise. - (write_node): Likewise. - (diskfs_set_translator): Likewise. - (diskfs_get_translator): Likewise. - (diskfs_S_file_get_storage_info): Likewise. - * sizes.c (diskfs_truncate): Likewise. - (diskfs_grow): Likewise. - * pager.c (pager_unlock_page): Likewise. - * bmap.c (fetch_indir_spec): Use read/write_disk_entry when - reading/writing on-disk indirect blocks. - * sizes.c (diskfs_truncate): Likewise. - (indir_release): Likewise. - (diskfs_grow): Likewise. - * pager.c (pager_unlock_page): Likewise. - * alloc.c: Include <string.h> - (ffs_blkpref): Use read_disk_entry when reading from BAP array. - (swab_cg, read_cg, release_cg): New functions. - (ffs_fragextend, ffs_alloccg, ffs_nodealloccg, ffs_blkfree, - diskfs_free_node): Use new cg access functions. - -Thu Apr 18 14:50:30 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * sizes.c (diskfs_grow): New variable `pagerpt'. - (offer_zeroes, block_extended): New functions. - (diskfs_grow): In initializing newly allocated data disk blocks with - zeroes, use less aggressive offer_zeroes instead of immediate - synchronous writes. After ffs_realloccg succeeds, use - block_extended to handle the magic. Get rid of old poke calls. - * alloc.c (ffs_realloccg): If we are allocating a new block, don't - actually free the old one here. - * sizes.c (diskfs_grow): New variable `pagerpt'. - (offer_zeroes, block_extended): New functions. - (diskfs_grow): In initializing newly allocated data disk blocks - with zeroes, use less aggressive offer_zeroes instead of immediate - synchronous writes. After ffs_realloccg succeeds, use - block_extended to handle the magic. Get rid of old poke calls. - -Tue Apr 16 15:20:07 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * dir.c (diskfs_lookup_hard): Set atime appropriately, and sync - the new atime if we are running synchronously (!). - (diskfs_dirempty): Likewise. - (diskfs_direnter_hard): Set mtime appropriately. - (diskfs_dirremove_hard): Likewise. - (diskfs_dirrewrite_hard): Likewise. - - * inode.c (diskfs_write_disknode): Only do sync if WAIT is set. - -Thu Apr 4 16:39:22 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (diskfs_cached_lookup): Intialize NP->cache_id *after* - NP exists. - -Wed Apr 3 16:03:51 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * inode.c (diskfs_cached_lookup): Renamed from `iget'. All - callers changed. Initialize NP->cache_id. - -Fri Mar 29 16:52:31 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * sizes.c (diskfs_truncate): Cast DI->di_shortlink to correct type - before adding a character count to it. - -Mon Mar 25 13:08:10 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * dir.c (diskfs_null_dirstat): New function. - -Fri Mar 22 23:43:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (read_symlink_hook): Only set NP's atime if !readonly. - -Wed Mar 20 14:36:31 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * dir.c (diskfs_lookup_hard): Don't do initial or final permission - checking here. - * dir.c (diskfs_dirrewrite_hard): Renamed from diskfs_dirrewrite. - No longer call modification tracking routines. - (diskfs_dirremove_hard): Renamed from diskfs_dirremove. No longer call - modification tracking routines. - (diskfs_direnter_hard): Renamed from diskfs_direnter. No longer call - modification tracking routines. - (diskfs_lookup_hard): Renamed from diskfs_lookup. - -Mon Mar 18 19:50:41 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Pass new arg to argp_parse. - -Mon Mar 18 12:33:06 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pager.c (diskfs_max_user_pager_prot) [add_pager_max_prot]: - (a == b) ? 1 : 0 ====> (a == b). - -Fri Feb 23 15:27:05 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - - * hyper.c (get_hypermetadata): Use diskfs_device_arg in unclean msgs. - -Wed Feb 21 05:57:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - - * hyper.c: Implement proper handling of the filesystem `clean bit'. - (ufs_clean): New variable. - (get_hypermetadata): Set it from the fs_clean flag. If not clean, - complain and force read-only. Complain when ignoring COMPAT_BSD42. - (diskfs_set_hypermetadata): Set the clean flag in the superblock - when CLEAN and fs was clean to start with. - (copy_sblock): Remove bogus clean flag frobnication. - -Fri Feb 16 17:05:36 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Check error return from diskfs_init_diskfs. - -Sat Jan 6 11:50:14 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * ufs.h (diskpager, diskpagerport, disk_image): Variables removed. - Include <hurd/diskfs-pager.h> instead. - (sync_disk_blocks): Use `disk_pager' in place of `diskpager->p'. - * pager.c (diskfs_shutdown_pager, diskfs_sync_everything): Use - `disk_pager' in place of `diskpager->p'. - (create_disk_pager): Rewritten using disk_pager_setup. - * pokeloc.c (sync_disk): Use `disk_pager' in place of `diskpager->p'. - * sizes.c (indir_release): Likewise. - * main.c (diskfs_reload_global_state): Likewise. - -Thu Jan 4 19:10:11 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * main.c (main): Don't map disk image here; create_disk_pager now - does it. - - * hyper.c (get_hypermetadata, copy_sblock): Don't put - diskfs_catch_exception () inside assert, bonehead! Use - assert_perror on a variable of its result. - -Mon Jan 1 16:38:14 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * pager.c (pager_unlock_page): When allocating block in direct - array, clear it synchronously just like we do when it goes in the - indirect array. - -Thu Nov 9 14:01:30 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * dir.c (struct dirstat): New member `nbytes'. - (dirscanblock): If DS->type is COMPRESS, still look - for TAKE/SHRINK possibilities. Also, if it's COMPRESS, - still look to see if the current block can be compressed - with fewer byte copies. - -Sun Nov 5 02:08:38 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Add flags arg to diskfs_startup_diskfs call. - -Sat Nov 4 20:01:58 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (diskfs_S_file_get_storage_info): Add FLAGS argument. - -Thu Oct 19 12:50:11 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * pager.c (diskfs_max_user_pager_prot): Return what we discovered, - instead of 1. - - * dir.c (diskfs_lookup, diskfs_dirempty): Give diskfs_get_filemap - a protection arg. - * sizes.c (diskfs_truncate, diskfs_grow): Ditto. - - * hyper.c (diskfs_readonly_changed): Give the 2nd arg to - vm_protect an appropiate type. - - * pager.c (diskfs_max_user_pager_prot): Stop iterating early if poss. - -Wed Oct 18 16:28:42 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ufs.h (struct user_pager_info): Add max_prot field. - * pager.c (diskfs_get_filemap): Add PROT parameter, & use it. - (diskfs_pager_users): Split out block_caching & enable_caching. - (block_caching, enable_caching): New function. - (diskfs_max_user_pager_prot): New function. - - * main.c (main): Always include VM_PROT_WRITE in max prot. - * hyper.c (diskfs_readonly_changed): Change the protection of - DISK_IMAGE to reflect the new state. Clear SBLOCK_DIRTY if readonly. - - * inode.c (read_disknode): Bother to set the allocsize field. - - * ufs.h (struct rwlock): Structure deleted. - (rwlock_init, rwlock_reader_unlock, rwlock_reader_lock, - rwlock_writer_lock, rwlock_writer_unlock): Functions deleted. - - -Tue Oct 17 14:49:43 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (diskfs_node_reload): New function. - (iget): Move allocsize setting into read_disknode. - * pager.c (flush_node_pager): New function. - * ufs.h (zeroblock, sblock, csum): Declare extern. - (flush_node_pager, flush_pokes): New declarations. - * pokeloc.c (flush_pokes): New function. - * hyper.c (diskfs_readonly_changed): New function. - (get_hypermetadata): Move compat_mode futzing & disk size - validation here from main. - (zeroblock, sblock, csum): Define (were common). - (get_hypermetadata): Only allocate SBLOCK if not already done. - Deallocate any old ZEROBLOCK and CSUM storage. - (diskfs_readonly_changed): New function. - * main.c (main): Move stuff into get_hypermetadata. - Writable init code moved to diskfs_readonly_changed. - (diskfs_reload_global_state): New function. - -Fri Oct 13 15:03:37 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (main): Use new handy diskfs routines and get rid of - tons of junk. Main should be almost all ufs-specific now. - (USAGE, usage, SHORT_OPTS, long_opts, parse_opt, trans_parse_arg): RIP. - (printf_lock): Initialize. - -Thu Oct 12 18:48:04 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * pager.c (pager_unlock_page, pager_write_page, pager_read_page): - Use diskfs_device_{read,write}_sync instead of dev_{read,write}_sync. - * hyper.c (diskfs_set_hypermetadata): Ditto. - * sizes.c (diskfs_grow): Ditto. - * pager.c (pager_report_extent): Calculate the pager size. - * ufs.h (dev_read_sync, dev_write_sync, dev_write, diskpagersize): - Decls removed. - - * Makefile (SRCS): Remove devio.c. - * ufs.h (ufs_device, ufs_device_name): Variables removed. - * inode.c (diskfs_S_file_get_storage_info): Use DISKFS_DEVICE - instead of UFS_DEVICE, and DISKFS_DEVICE_NAME instead of - UFS_DEVICE_NAME. - -Sat Oct 7 20:47:56 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * main.c (diskfs_init_completed): Function deleted (now in libdiskfs). - (thread_cancel): Function deleted. - -Fri Oct 6 17:30:23 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (diskfs_S_file_get_storage_info): Change type of - ADDRESSES to off_t **, and add the BLOCK_SIZE parameter. - -Wed Oct 4 17:21:33 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * inode.c (diskfs_set_statfs): fsys_stb_bsize -> fsys_stb_iosize. - fsys_stb_fsize -> fsys_stb_bsize. - - * main.c (parse_opt): Rearrange slightly. - -Tue Sep 26 11:54:35 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * inode.c: Include <netinet/in.h>. - (diskfs_S_file_get_storage_info): New function. - * main.c (main): Delete var `devname'. Use `ufs_device_name' - throughout instead. - * ufs.h (ufs_device_name): New var. - -Fri Sep 22 13:22:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * hyper.c (get_hypermetadata): Use %Zd format for result of sizeof. - -Tue Sep 19 13:41:46 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (LDFLAGS): New variable. - -Wed Sep 13 12:30:23 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * dir.c (diskfs_lookup): Don't attempt to lock NP if NPP is not - set. Don't even set NP if NPP is not set; use INUM as "lookup - succeeded flag" instead. Lookups for REMOVE and RENAME now *must* - set NPP. - -Wed Sep 6 11:01:50 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * pager.c (diskfs_pager_users): Ignore the disk pager when seeing - if there are any active pagers. - -Mon Aug 28 17:07:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (ufs): Depend on ../libshouldbeinlibc/libshouldbeinlibc.a. - -Fri Aug 25 17:14:09 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> - - * sizes.c (diskfs_truncate): When freeing direct blocks mentioned - in a single indirect block, or single indirect blocks mentioned in - a double, only call the free routine (ffs_blkfree or - indir_release, respectively) if the block is actually allocated. - -Wed Aug 23 12:24:07 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (ufs): Add explicit dependencies. - (HURDLIBS, LDFLAGS, REMHDRS): Removed. - Rules associated with ../lib removed. - -Fri Jul 21 17:48:12 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * pager.c (diskfs_get_filemap): Drop initial reference created by - pager_create. - - * pager.c (diskfs_get_filemap): Avoid race with simultaneous - termination by looping until we win. - (pager_clear_user_data): Only clear UPI->np->dn->fileinfo if it - still points to us. - -Mon Jul 17 14:35:25 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * pager.c (thread_function): Don't have any global timeout here; - we don't use it anyhow. - -Thu Jul 6 15:42:52 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile: Removed dependencies that are now automatically - generated. - -Mon Jun 26 20:17:42 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * pager.c: Include <unistd.h>. - (diskfs_pager_users): New function. - -Thu Jun 22 11:41:04 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * pager.c (thread_function): Move thread_function to be non-local, - of course, because it needs to live even after create_disk_pager - returns. - - * main.c (thread_cancel): New function (HACK). - - * Makefile (HURDLIBS): Add libihash. - - * main.c (main): Have main thread exit when done instead of - calling a diskfs function. - -Wed Jun 21 12:20:01 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * ufs.h (user_pager_info): Removed members next and prevp. - * pager.c (pager_clear_user_data): Don't maintain pager linked - list. - (diskfs_get_filemap): Don't maintain pager linked list. - (pager_dropweak): New function. - (pager_traverse): Delete function. - (diskfs_shutdown_pager): Use ports_bucket_iterate instead of - pager_traverse. - (diskfs_sync_everything): Likewise. - - * pager.c (pager_bucket): New variable. - (create_disk_pager): Provide pager_bucket in call to pager_create. - (diskfs_get_filemap): Likewise. - (diskfs_file_update): Use ports reference calls directly instead - of pager wrappers. - (drop_pager_softrefs): Likewise. - (allow_pager_softrefs): Likewise. - (pager_traverse): Likewise. - (create_disk_pager): Initialize pager_bucket here and fork off - service thread for pager ports. - - * sizes.c (diskfs_truncate): Likewise. - - * dir.c (diskfs_lookup): Provide initialization for BUFLEN. - (diskfs_direnter): Move assignment out of if test. - -Tue Jun 20 11:48:06 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * sizes.c (diskfs_grow): Provide initialization of POKE_OFF. - * alloc.c (ffs_realloccg): Remove assignment from if tests. - * sizes.c (diskfs_truncate): Likewise. - * bmap.c (fetch_indir_spec): Likewise. - -Mon Jun 19 21:17:21 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * inode.c (diskfs_node_iterate): New function. - (write_all_disknodes): Use it. - -Wed Jun 14 16:18:55 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * inode.c (diskfs_get_translator): Conform to new memory usage - semantic. - -Sat May 20 00:17:30 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * main.c (trans_parse_args): Use options_parse & - diskfs_standard_startup_options to parse our translator options. - (usage): New function. - (parse_opt): New function. - - * Makefile (CPPFLAGS): Add -I../lib, to get include lib include files, - and $(CPPFLAGS-$(notdir $<)) to get file-specific cpp options. - Add a vpath for %.c to ../lib, so we can use source files from there. - -Mon May 15 13:14:48 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * pager.c (pager_clear_user_data): Doc fix. - -Sat May 13 05:04:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (OBJS): Remove exec_server_image.o. - (exec_server_image.o): Rule removed. - -Mon May 8 08:43:43 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * dir.c (diskfs_lookup): When looping back to try_again: because - we're looking up "..", be sure and trash the mapping we made of - the directory's pager -- otherwise the reference to the pager - never gets dropped and we can never free the node. - - * dir.c (diskfs_lookup): ds->type was being compared to LOOKING, which - value it can never have. Compare ds->stat against LOOKING instead. - - * pager.c (pager_clear_user_data): Don't die when called on the - disk pager. - - * inode.c (write_all_disknodes): Fix typo `alloc' --> `alloca'. - -Tue May 2 11:59:09 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * pager.c (pager_clear_user_data): Acquire pagerlistlock around - modifications to UPI->next/prevp list structure. - -Fri Apr 28 19:02:05 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * inode.c (write_all_disknodes): We have to really lock the nodes - around the calls to diskfs_set_node_times and write_node; this in - turn forces us to have real refereces. - -Thu Apr 13 16:36:57 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * main.c (main): Don't abort if a std file descriptor is already open. - -Tue Apr 4 20:08:25 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * inode.c (diskfs_set_translator): When freeing passive - translator, account for blocks freed in NP->dn_stat.st_blocks. - -Fri Mar 31 13:43:27 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * sizes.c (diskfs_truncate): Don't acquire writer lock on - NP->dn->allocptrlock until after forcing delayed copies through; - otherwise the pageins will deadlock attempting to get a reader - lock to service them. This is safe, because we only need - NP->allocsize here, and that can't change as long as we hold - NP->lock. - -Mon Mar 20 13:58:44 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * consts.c (diskfs_synchronous): New variable. - -Fri Mar 17 14:31:04 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * alloc.c (ffs_clusteracct): Make static. - (alloc_sync): New function. - (ffs_alloc): Call alloc_sync. - (ffs_realloccg): Likewise. - (diskfs_alloc_node): Likewise. - (ffs_blkfree): Likewise. - (diskfs_free_node): Likewise. - -Sat Jan 28 14:59:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * Makefile (OBJS): Remove reference to libc's devstream.o. - -Fri Nov 11 11:45:38 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * hyper.c (diskfs_set_hypermetadata): Always use dev_write_sync to - avoid device_write bug that says you can't modify the buffer until - device_write returns. Also remember to deallocate BUF. - -Thu Nov 10 13:27:09 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * main.c (main): Issue decent prompt. - - * hyper.c (diskfs_set_hypermetadata): Copy CSUM into a - page-aligned page-sized buffer for disk write to avoid inane - kernel bug. - -Wed Nov 9 05:43:14 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * main.c (main): Behave more reasonably if we can't open DEVNAME. - -Tue Nov 8 00:03:20 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * pager.c (pager_write_page): Use %p for printing PAGER. - - * ufs.h: Declare copy_sblock. - -Wed Nov 2 16:06:10 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * hyper.c (copy_sblock): Don't copy csum here. - (diskfs_set_hypermetadata): Write csum directly to disk here. - -Thu Oct 27 20:58:08 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * dir.c (diskfs_lookup): diskfs_get_filemap returns a send right, - so don't create an additional one here. - (diskfs_dirempty): Likewise. - * sizes.c (diskfs_truncate): Likewise. - (diskfs_grow): Likewise. - -Tue Oct 25 12:49:41 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * hyper.c (copy_sblock): Call record_poke for csum and superblock - after modifying them. - - * pager.c (diskfs_shutdown_pager): Call copy_sblock. - (diskfs_sync_everything): Likewise. - - * alloc.c (ffs_fragextend): Call record_poke for CG after - modifying it. Also set CSUM_DIRTY and SBLOCK_DIRTY. - (ffs_alloccg): Likewise. - (ffs_alloccgblk): Likewise. - (ffs_nodealloccg): Likewise. - (ffs_blkfree): Likewise. - (diskfs_free_node): Likewise. - -Fri Oct 7 01:32:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * main.c (diskfs_init_completed): Don't call _hurd_proc_init. - (saved_argv): Variable removed. - (main): Don't set saved_argv. Pass ARGV to diskfs_start_bootstrap. - -Wed Oct 5 22:18:46 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * inode.c (read_disknode): If we are the bootstrap filesystem, - then getpid changes once proc starts up. So only call getpid - once, thus not allowing st_dev values to mysteriously change. - -Wed Oct 5 12:56:53 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * alloc.c (diskfs_alloc_node): Abort if free inode has - translator attached. - -Tue Oct 4 18:33:35 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * pager.c (pager_unlock_page): Call diskfs_catch_exception. - -Tue Oct 4 00:16:04 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * inode.c (diskfs_lost_hardrefs): Comment out body. - * ufs.h (node2pagelock): New variable. - * pager.c (node2pagelock): Initialize. - (diskfs_get_filemap): Don't let node hold a reference to the pager. - (pager_clear_user_data): Acquire node2pagelock and clear - the node's reference to the pager. - (diskfs_file_update): Hold node2pagelock for reference - of NP->dn->fileinfo. - (drop_pager_softrefs): Likewise. - (allow_pager_softrefs): Likewise. - (diskfs_get_filemap): Likewise. - * sizes.c (diskfs_truncate): Likewise. - - * Makefile (SRCS): Added pokeloc.c. - -Mon Oct 3 15:03:38 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * sizes.c (diskfs_truncate): Rewritten. - - * bmap.c (fetch_indir_spec): Initialize OFFSET values to -2, - meaning that the entry is not needed. If LBN is negative, - then don't set values for the data block. - - * inode.c (write_node): Call record_poke after writing - dinode. - (create_symlink_hook): Likewise. - (diskfs_set_translator): Likewise. - * pager.c (pager_unlock_page): Likewise. - * sizes.c (diskfs_truncate): Likewise. - * pager.c (pager_unlock_page): Call record_poke after writing - indirect block. - * sizes.c (diskfs_grow): Likewise. - (diskfs_grow): Likewise. - * pager.c (diskfs_sync_everything) [sync_one]: If this is the - disk pager, call sync_disk instead. - * pokeloc.c: New file. - -Fri Sep 30 11:25:36 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * dir.h: Delete DT_* definitions; they are now in <dirent.h>. - * dir.c (diskfs_get_directs): Set USERP->d_type as DT_UNKNOWN. - When the bugs in the type fields are fixed (dealing with - multiple links and mode changes) then this can actually return - the value. - -Thu Sep 29 17:16:58 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * main.c (main): Test getpid()>0 to decide we are a normal - translator instead of the boot fs. Fetch bootstrap port after - possibly calling diskfs_parse_bootargs, not before. - -Tue Sep 27 15:24:58 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * sizes.c (diskfs_grow) [computation of newallocsize]: Last block - number is one less than the total number of blocks. - -Tue Sep 27 11:58:44 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * bmap.c (fetch_indir_spec): Single indirect block pointer is - in the INDIR_SINGLE slot, not the INDIR_DOUBLE slot. - -Mon Sep 26 20:47:30 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (SRCS): Added bmap.c. - - * main.c (main): Don't call pager_init. - - * inode.c (diskfs_get_translator): Repair to read translator - correctly. - - * sizes.c (diskfs_grow): Compute block numbers in a more clean - (and confidently correct) fashion. - (diskfs_truncate): Set NP->allocsize from a properly rounded - value. - -Mon Sep 26 12:50:38 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * inode.c (diskfs_lost_hardrefs): "Know" that a pager starts - with a portinfo; we don't actually have access to the pager - struct here. - -Fri Sep 23 14:21:55 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - [ Continuing yesterday's changes. ] - * ufs.h (struct dirty_indir): New type. - (struct disknode): New member `dirty'. - * inode.c (iget): Initialize DN->dirty. - * bmap.c (mark_indir_dirty): New function. - * pager.c (pager_unlock_page): Call mark_indir_dirty before - writing into indirect blocks. - (diskfs_file_update): Sync indirect blocks here. - (pager_traverse): Simplify; do FILE_DATA and diskpager. - (pager_init): Removed function. - (create_disk_pager): New function. - * sizes.c: Completely rewritten. - * main.c (main): Spawn first thread sooner so we can - map and look at the disk image. - * hyper.c (get_hypermetadata): Moved firewall asserts - here from pager_init. - -Thu Sep 22 11:28:46 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - [This long series of changes deletes the DINODE, CG, SINDIR, - and DINDIR pagers and adds a new pager type DISK.] - * ufs.h (struct disknode) Removed DINLOCK, SINLOCK, and - SININFO members. New member ALLOCPTRLOCK renamed from DATALOCK. - Removed SINLOC, DINLOC, SINLOCLEN, and DINLOCLEN. - (struct user_pager_info) [enum pager_type]: Removed types - DINODE, CG, SINDIR and DINDIR; added type DISK. - (dinpager, dinodepager, cgpager): Deleted vars. - (diskpager): New var. - (dinmaplock, sinmaplock, pagernplock): Deleted vars. - (sblock_dirty, csum_dirty, cgs, dinodes): Deleted vars. - (fsaddr): New macro. - (dino, indir_block, cg_locate): New inline functions. - (sync_disk_blocks, sync_dinode): New inline functions. - (struct iblock_spec): New type. - * pager.c (dinport, dinodeport, cgport, sinlist): Deleted vars. - (filepagerlist): Renamed from filelist. - (pagernplock): Deleted variable. - (find_address): Removed switch; support only DISK and FILE_DATA. - (pager_report_extent): Likewise. - (pager_unlock_page): Removed switch. Return without comment for - DISK; allocate indirect blocks as necessary right here for - FILE_DATA. - (sin_map, sin_remap, sin_unmap, din_map, din_unmap): Deleted - functions. - (indir_alloc, sync_dinode): Deleted functions. - (enqueue_pager, dequeue_pager): Deleted functions. - (diskfs_file_update): No longer lock pagernplock; nothing - to do with sininfo. - (drop_pager_softrefs): Likewise. - (allow_pager_softrefs): Likewise. - (diskfs_get_filemap): Put pager on filepagerlist right here - instead of through pager_enqueue. - (pager_clear_user_data): Likewise, mutatis mutandis. - * main.c (main): Call create_disk_pager and then map the - entire disk into disk_image. - * hyper.c (get_hypermetadata): Use bcopy instead of dev_read_sync. - (diskfs_set_hypermetadata): NOP out function. - (copy_sblock): New function, substance of code is from old - diskfs_set_hypermetadata. - * inode.c (iget): Don't initialize deleted disknode fields. - (diskfs_node_norefs): Don't verify that deleted disknode - fields are not set. - (read_disknode): Get dinode from DINO, not DINODES array. - (write_node): Likewise. - (create_symlink_hook): Likewise. - (read_symlink_hook): Likewise. - (diskfs_set_translator): Likewise. - (diskfs_get_translator): Likewise. - (diskfs_node_translated): Likewise. - * alloc.c (ffs_realloccg): Likewise. - (ffs_fragextend): Use cg_locate instead of cgs array. - (ffs_alloccg): Likewise. - (ffs_nodealloccg): Likewise. - (ffs_blkfree): Likewise. - (diskfs_free_node): Likewise. - * inode.c (diskfs_set_translator): Use bcopy and sync_disk_blocks - instead of dev_write_sync. - (diskfs_get_translator): Likewise, mutatis mutandis. - (read_disknode): Initialize NP->istranslated. - (diskfs_set_translator): Set/clear NP->istranslated as appropriate. - (diskfs_node_translated): Removed function. - * bmap.c: New file. - - [This improves the RWLOCK mechanism and makes it more - orthogonal. It should probably be moved into a library.] - * ufs.h (struct rwlock): Added MASTER and WAKEUP members. - (struct disknode): Removed RWLOCK_MASTER and RWLOCK_WAKEUP - fields. - (rwlock_reader_lock): Ommitted arg DN; use new MASTER and WAKEUP - members inside LOCK instead. - (rwlock_writer_lock): Likewise. - (rwlock_reader_unlock): Likewise. - (rwlock_init): Initialize new MASTER and WAKEUP fields. - * inode.c (iget): Don't deal with RWLOCK_MASTER and RWLOCK_WAKEUP. - * pager.c (find_address): Deleted arg DNP. Only pass one - arg to rwlock functions. - (pager_read_page): Deleted var DN; only pass one arg to rwlock - functions. - (pager_write_page): Likewise. - -Wed Sep 21 00:26:25 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * pager.c (allow_pager_softrefs): Unlock PAGERNPLOCK when - we're done with it. - (sin_map): Hold PAGERNPLOCK all the way until we're done - with the sininfo pointer. - (pagernplock): No longer static. - * ufs.h (pagernplock): Declare here. - - * sizes.c (diskfs_grow): Don't call diskfs_file_update here. - This was done to prevent too much dirty data from accumulating - and then overwhelming the pager later. But that's really the - pager's responsibility. - - * ufs.h (struct disknode): New members `dinloclen' and `sinloclen'. - * inode.c (iget): Initialize DN->dinloclen and DN->sinloclen. - (diskfs_node_norefs): Verify that DN->dinloclen and DN->sinloclen - are both zero. - * pager.c (find_address) [SINDIR]: Verify that reference is - within bounds of NP->dn->dinloc. - (pager_unlock_page) [SINDIR]: Likewise. - (din_map): Set NP->dn->dinloclen. - (din_unmap): Clear NP->dn->dinloclen. - (find_address) [FILE_DATA]: Verify that reference is within - bounds of NP->dn->sinloc. - (pager_unlock_page) [FILE_DATE]: Likewise. - (sin_map): Set NP->dn->sinloclen. - (sin_remap): Reset NP->dn->sinloclen. - (sin_unmap): Clean NP->dn->sinloclen. - - * pager.c (pager_write_page): Flush stdout after printf. - (pager_unlock_page) [FILE_DATA]: Likewise. - - * sizes.c (diskfs_truncate): In all references to sinloc and - dinloc arrays, verify that references are within allocated bounds. - (diskfs_grow): Likewise. - (sindir_drop): Likewise. - - * pager.c: Create new mapping with extent NEWSIZE, not SIZE (which - was the old size of the mapping). - -Tue Sep 20 15:51:35 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * pager.c (pager_report_extent) [SINDIR]: Remove erroneous extra - division by block size. - (sin_remap): Likewise. - -Mon Sep 19 17:34:11 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * inode.c (create_symlink_hook): Write assert test correctly. - - * dir.c (diskfs_direnter) [EXTEND]: Reference file size only - *once*; don't rely on the behavior if diskfs_grow vis a vis - file size. - -Fri Sep 16 10:29:42 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * dir.c (dirscanblock): Compute offset correctly for mangled - entry notice. - - * dir.c (diskfs_direnter) [EXTEND]: Reference file size only - once before calling diskfs_grow in case diskfs_grow actually - increases the size. - - * inode.c (diskfs_set_statfs): Set fsid from getpid. - (read_disknode): Likewise. - - * dir.h (struct directory_entry): Renamed from struct direct. - * dir.c: All uses of struct direct changed to use - struct directory_entry. - (diskfs_get_directs): New var `userp'. Copy from *ENTRYP into - it (set at DATAP) more cleanly. - -Mon Sep 12 11:30:48 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * hyper.c (diskfs_set_hypermetadata): Don't frob clean and dirty - bits if we are readonly. - -Sat Sep 10 11:41:06 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * main.c (main): When started up as a passive translator, - open fds 0, 1, and 2 on /dev/console for debugging messages. - Call diskfs_init_diskfs with no args; after warp_root, call - diskfs_startup_diskfs on BOOTSTRAP. Compare BOOTSTRAP to - MACH_PORT_NULL instead of zero. - -Fri Sep 9 13:02:33 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * main.c (trans_parse_args): Fix and enable. - -Tue Sep 6 11:29:55 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * inode.c (iget): Remove old assert test that checked for bad - inode block allocations. - -Thu Sep 1 11:39:12 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * tables.c: Don't include "ufs.h"; include <sys/types.h>. Then - this file can be used unmodified by fsck. - -Tue Aug 30 13:36:37 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * inode.c (diskfs_set_translator): ffs_blkfree doesn't have - a return value. - -Mon Aug 29 12:49:17 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * inode.c (diskfs_set_translator): If NAMELEN is zero, then - make the node have no translator. - -Fri Aug 26 12:28:20 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * inode.c (read_disknode): 4.4 fsck sometimes sets the author - field to -1 to mean "ignore old uid location"; take that to mean - "author == uid". - (diskfs_set_translator): If we are allocating a new block for - the translator, then account for it in st_blocks. - -Thu Aug 18 12:41:12 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (HURDLIBS): Use short version. - - * alloc.c (diskfs_alloc_node): Bother to set *NPP before - returning. - -Tue Aug 16 10:48:04 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (LDFLAGS): New variable. - -Fri Aug 5 15:51:09 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * dir.c (diskfs_direnter) [EXTEND]: Crash if the entry won't - fit in the new block. - (diskfs_lookup): Return ENAMETOOLONG if the name is bigger than - MAXNAMLEN. - - * dir.c (diskfs_get_directs): Set USERD->d_reclen correctly. - -Fri Jul 22 15:12:35 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile: Rewritten in accord with new scheme. - -Wed Jul 20 13:28:38 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * main.c (main): Don't set diskfs_dotdot_file. - -Tue Jul 19 21:51:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * ufs.h: Removed defns of u_quad_t, quad_t; now in <sys/types.h>. - Removed defn of struct timespec; now in <sys/time.h>. - -Tue Jul 19 12:47:31 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * main.c (main): Deleted var `diskfs_dotdot_file'. - (trans_parse_args): Don't set diskfs_dotdot_file; don't expect - dotdot from fsys_getroot. - - * Makefile (LDFLAGS): Moved to rule for `ufs' and commented out. - (ufs): Don't use variable $(link) anymore. - -Mon Jul 18 14:55:17 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir.c (diskfs_get_directs): Return data to user in old format. - Add new code for new format, maintaining compatibility correctly, - but comment it out until the library is ready. - - * hyper.c (diskfs_set_hypermetadata): If we presumed to - set new values of fs_maxfilesize, fs_qbmask, and fs_qfmask, - then restore the originals before writing out the superblock. - - * pager.c (diskfs_get_filemap): Test should be S_ISLNK, not - S_ISSOCK. - - * hyper.c (get_hypermetadata): Set new constants in filesystems - which don't have them yet. - (get_hypermetadata): Cast MAXSYMLINKLEN to long to avoid - converting sblock->fs_maxsymlinklen into an unsigned. - - * subr.c (scanc, skipc): New functions. - (ffs_setblock): Use assert instead of panic. - - * inode.c (read_disknode): Set old stat structure until the header - file gets changed. - -Fri Jul 15 12:07:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * sizes.c: Include <string.h> for bzero. - * fs.h (blksize): Comment out dblksize macro. In blksize - macro, use NP->allocsize instead of IP->i_size. - - * dinode.h (INDIR_SINGLE, INDIR_DOUBLE, INDIR_TRIPLE): New macros. - - * inode.c (read_disknode, write_node): Use new stat and dinode - fields for times. - - * ufs.h: Change `nextgennumber' to be `u_long' instead of int. - Change prototypes of some alloc.c functions. - * alloc.c (ffs_alloc): Declare to return error_t. - (ffs_realloccg): Likewise. - (ffs_hashalloc, ffs_alloccg, ffs_fragextend, ffs_alloccg, - ffs_dirpref, ffs_nodealloccg, ffs_allccgblk, ffs_mapsearch, - ffs_clusteracct): Provide forward declarations. - (ffs_realloccg): Use printf instead of log. - Make BPREF volatile for setjmp safety. - (diskfs_alloc_node): Use diskfs global variable instead of TIME. - (ffs_nodealloccg): Likewise. - (ffs_blkfree): Likewise. - (diskfs_free_node): Likewise. - (ffs_blkfree, ffs_clusteracct): Declare as void. - (ffs_alloccg, ffs_nodealloccg): Declare as u_long. - - * ufs.h: Change prototypes of some subr.c functions. - * subr.c (ffs_isblock): Use assert instead of panic. - (ffs_clrblock): Likewise. - - * hyper.c: Include "dinode.h". - - * dinode.h (LINK_MAX): New macro, from BSD sys/sys/syslimits.h. - * fs.h (MAXBSIZE, MAXFRAG): New macros, from BSD sys/sys/param.h. - - * hyper.c (get_hypermetadata): Provide first arg in call to - fsbtodb. - (diskfs_set_hypermetadata): Likewise. - * inode.c (diskfs_set_translator): Likewise. - (diskfs_get_translator): Likewise. - * pager.c (find_address): Likewise. - (indir_alloc): Likewise. - * inode.c (iget): Provide first arg in call to lblkno. - * sizes.c (diskfs_truncate): Likewise. - * pager.c (find_address): Likewise. - * sizes.c (diskfs_grow): Likewise. - * inode.c (iget): Provide first arg in call to fragroundup. - * sizes.c (diskfs_trucate): Likewise. - * sizes.c (diskfs_grow): Likewise. - * inode.c (iget): Provide first arg in call to blkroundup. - * pager.c (pager_unlock_page): Likewise. - * sizes.c (diskfs_truncate): Likewise. - * sizes.c (diskfs_grow): Likewise. - * pager.c (find_address): Provide first arg in call to cgtod. - * pager.c (find_address): Provide first arg in call to cgimin. - * pager.c (find_address): Provide first arg in call to blktofrags. - * pager.c (find_address): Provide first arg in call to blkoff. - * sizes.c (diskfs_truncate): Likewise. - * sizes.c (diskfs_grow): Likewise. - * sizes.c (diskfs_truncate): Provide first arg in call to blksize. - * sizes.c (diskfs_grow): Likewise. - * sizes.c (diskfs_truncate): Provide first arg in call to numfrags. - - * ufs.h: Added temporary declarations of `u_quad_t', `quad_t', and - `struct timespec'. - - * pager.c (diskfs_get_filemap): Make sure that this is - a kind of node that can be validly read. - - * inode.c (create_symlink_hook): Renamed from symlink_hook. - (read_symlink_hook): New function. - (diskfs_read_symlink_hook): Initialize. - -Thu Jul 14 12:23:45 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * alloc.c: New from 4.4 BSD; BSD version `8.8 2/21/94'. - Remove old includes; include "ufs.h", "fs.h", "dinode.h", - and <stdio.h>. Replace panics with asserts and comment out - uprintfs. Use prototypes throughout. Replace calls - to ffs_fserr with printf. - (alloclock): New variable. - (ffs_alloc): Variable struct inode *IP is now struct node *NP; - refer to it appropriately. Initialize FS to sblock. - Lock alloclock around actual allocation steps. Reverse order - of BNP and CRED arguments; declare CRED as a protid and use - accordingly. Permit CRED to be null. - (ffs_realloccg): Variable struct inode *IP is now struct node *NP; - refer to it accordingly. Comment out U*x buffer management code. - Lock alloclock around actual allocation steps. Initialize FS - from sblock. Declare CRED as a protid and use it accordingly. - Change BUF arg to PBN (physical block number); return new block - there. - (ffs_reallocblks): Comment out. - (diskfs_alloc_node): Renamed from ialloc. Initialize FS from - sblock. Use calling sequence from <hurd/diskfs.h>. Acquire - alloclock aroud actual allocation steps. Deleted vars - `pip', `pvp' (use dir instead). Use iget instead of VFS_VGET. - Var struct inode *IP now struct node *NP. Lock gennumberlock - around frobbing of nextgennumber. - (ffs_blkpref): Arg struct inode *ip is now struct node *np; - refer to it accordingly. Initialize FS to sblock. Lock - alloclock during actual work. Use csum instead of fs_cs macro. - (ffs_hashalloc): Arg struct inode *IP is now struct node *NP; - use it accordingly. Initialize FS from sblock. - (ffs_fragextend): Arg struct inode *IP is now struct node *NP; - use it accordingly. Initialize FS from sblock. Initialize - CGP from cgs array; don't use bread. Comment out calls to brelse - and bdwrite. Set CGP->time from diskfs global var. Use csum - instead of fs_cs macro. - (ffs_alloccg): Arg struct inode *IP is now struct node *NP. - Initialize FS from sblock. Initialize CGP from cgs array; - don't use bread. Comment out calls to brelse and bdwrite. - Set CGP->time from diskfs global var. Use csum instead of - fs_cs macro. - (ffs_nodealloccg): Arg struct inode *IP is now struct node *NP. - Initialize FS from sblock. Initialize CGP from cgs array; - don't use bread. Comment out calls to brelse and bdwrite. Use - csum instead of fs_cs macro. - (ffs_blkfree): Arg struct inode *IP is now struct node *NP. - Initialize FS from sblock. Initialize CGP from cgs array; - don't use bread. Comment out calls to brelse and bdwrite. Use - csum instead of fs_cs macro. - (diskfs_free_node): Renamed from ffs_vfree. Use calling - sequence from <hurd/diskfs.h>. Initialize FS from sblock. - Deleted vars pip,pvp (use NP instead). Initialize CGP from - cgs array; don't use bread. Comment out calls to brelse and - bdwrite. Use csum instead of fs_cs macro. - (ffs_fserr): Commented out. - (ffs_dirpref): Use csum instead of fs_cs macro. - - * ufs.h (ffs_alloc): Renamed from alloc; all callers changed. - (ffs_blkfree): New arg NP; renamed from blkfree; all callers changed. - (ffs_blkpref): Renamed from blkpref; all callers changed. - (ffs_realloocg): Rename from realloccg; all callers changed. - - * fs.h: New from 4.4 BSD; BSD version `8.7 4/19/94'. - (fs_cs): Don't use fs_csp; use global csum instead. - - * subr.c: New from 4.4 BSD; BSD version `8.2 9/21/93'. - Remove old includes. Include "ufs.h" and "fs.h". - (ffs_blkatoff, ffs_checkoverlap): Comment out. - - * tables.c: New from 4.4 BSD; BSD version `8.1 6/11/93'. - Don't include <param.h>; do include "ufs.h" and "fs.h". - - * dinode.h: New from 4.4 BSD; BSD version `8.3 1/21/94'. - Remove oldids/inum union; replace with author. - Renamed di_mode to be di_model; allocated di_modeh from spare. - Allocate di_trans from spare. - (di_inumber): Remove macro. - * inode.c (read_disknode): Fetch uid and gid from new (long) - fields in dinode unless we are the old inode format, in which - case fetch them from the old fields. - (write_node): Only set new uid and gid fields if we are not - COMPAT_BSD4. Set old fields if the superblock says to. - (symlink_hook): New function. - (diskfs_create_symlink_hook): Initialize. - * sizes.c (diskfs_truncate): Deal with truncation of short - symlink properly. - - * dir.h: New from 4.4 BSD; BSD version `8.2 1/21/94'. - Substitute our version of DIRSIZ which uses the namelen. - Comment out declarations of struct dirtemplate and struct - odirtemplate. - (DIRECT_TYPE, DIRECT_NAMLEN): New macros. - * ufs.h (direct_symlink_extension): New variable. - * hyper.c (get_hypermetadata): Set direct_symlink_extension. - * dir.c (dirscanblock): Use DIRECT_NAMLEN instead of d_namlen. - (diskfs_direnter): Likewise. - (diskfs_dirempty): Likewise. - (diskfs_get_directs): Likewise. - (diskfs_direnter): Set d_type field of new slot if - direct_symlink_extension is set. - (diskfs_dirrewrite): Likewise. - - * ufs.h (compat_mode): New variable. - * main.c (main): Set compat_mode to zero if we are the bootstrap - filesystem. - * inode.c (diskfs_set_translator): Return error if compat_mode - is set. - (write_node): Don't set GNU dinode field extensions unless - compat_mode is COMPAT_GNU. - -Mon Jul 11 18:14:26 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir.c (diskfs_get_directs): When copying entries into DATAP, - set the d_reclen parameter of the copy to the minimum length - (because that's all we use) rather than the size that it had - in the directory itself. - -Wed Jul 6 14:41:48 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir.c (dirscanblock): In main loop, initialize PREVOFF - to zero, not BLOCKADDR. Otherwise, the wrong value is - stored into DS->prevoff and then diskfs_dirremove crashes. - -Tue Jul 5 14:07:38 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dinode.h: Include <endian.h> before test of BYTE_ORDER. - - * Makefile (TAGSLIBS): New variable. - -Tue Jun 21 13:45:04 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir.c (diskfs_direnter): Update dirents of DP, not NP. - -Mon Jun 20 16:43:48 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * dir.c (diskfs_direnter) [case SHRINK]: NEW should be set to - OLDNEEDED past DS->entry, not to the start of the next entry. - - * dir.c (diskfs_direnter) [case EXTEND]: Cast in assignment - to NEW needs proper scope. - - * inode.c (diskfs_node_norefs): Free dirents list of structure - being deallocated. Also add assert checks to make sure other - state is already clean. - -Thu Jun 16 11:38:17 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * dir.c (diskfs_dirempty): Map directory contents ourselves - instead of using diskfs_node_rdwr. - (struct dirstat): New structure to cache mapping between - lookup and commit operation and avoid use of diskfs_node_rdwr. - (diskfs_lookup): Map directory ourselves. Keep mapping in - DS if DS is nonzero and we might use it in direnter, dirremove, - or dirrewrite. Deallocate mapped buffer if we return some - error (other than ENOENT), or if DS is zero, or if there is - no possible commit operation to follow. When setting DS->stat - to EXTEND, do it the new way. - (dirscanblock): Changed BLKOFF to be virtual address of mapped - block and renamed it BLKADDR. New arg IDX. Use mapped block - instead of calling diskfs_node_rdwr. Set DS according to the new - rules. - (diskfs_direnter): Interpret new dirstat format. - (diskfs_dirremove): Likewise. - (diskfs_dirrewrite): Likewise. - (diskfs_drop_dirstat): Deallocate cached mapping here. - - * dir.c (dirscanblock): When we find the node for type CREATE, - invalidate DS by setting type to LOOKUP, not LOOKING. - - * dir.c (diskfs_direnter, diskfs_dirremove, diskfs_dirrewrite): - Call diskfs_notice_dirchange when appropriate. - - * dir.c (diskfs_get_directs): Deal properly with case where - BUFSIZ==0 and where NENTRIES==-1. - -Wed Jun 15 16:40:12 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * main.c (main): Check device sector size and media size - on startup. - -Tue Jun 14 14:41:17 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * ufs.h (struct disknode) [dirents]: New member. - * inode.c (iget): Initialize DN->dirents. - * dir.c (diskfs_direnter, diskfs_dirremove): Keep track - of dirents member. - (dirscanblock): New var `nentries'; use it to count the - number of directory entries in this block and set it if - we end up scanning the entire block. - (count_dirents): New function. - (diskfs_get_directs): New function. - -Mon Jun 13 13:50:00 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * ufs.h (sinmaplock, dinmaplock): New global vars. - * inode.c (inode_init): Initialize sinmaplock and dinmaplock. - * pager.c (find_address, pager_unlock_page): Protect use - if dinloc array with dinmaplock. - (din_map, din_unmap): Doc fix. - (find_address, pager_unlock_page): Protect use of sinloc array - with sinmaplock. - (sin_map, sin_remap, sin_unmap): Doc fix. - (pager_clear_user_data): Acquire sinmaplock and dinmaplock - instead of NP->dn->datalock and NP->dn->sinlock respectively. - - * sizes.c (diskfs_truncate, diskfs_grow): Protect use of sinloc - and sindir mapping functions with sinmaplock. - (sindir_drop): Protect use of dinloc and dindir mapping functions - with dinmaplock. - - * ufs.h (struct rwlock): New type. - (struct disknode) [dinlock, sinlock, datalock]: Use read-write lock. - Change comments so that these don't lock dinloc and sinloc anymore. - [rwlock_master, rwlock_wakeup]: New members. - (rwlock_reader_lock, rwlock_writer_lock, rwlock_reader_unlock, - rwlock_writer_unlock, rwlock_init): New functions. - * inode.c (iget): Initialize DN->rwlock_master and - DN->rwlock_wakeup. Change initialization of DN->dinlock, - DN->sinlock, and DN->datalock to use rwlock_init. - * pager.c (find_address): Lock NP->dn->dinlock, NP->dn->sinlock, - and NP->dn->datalock with rwlock_reader_lock. Change type of - parameter NPLOCK to be a read-write lock. New parm DNP. Callers - changed. - (pager_read_page, pager_write_page): Change type of NPLOCK to be - read-write lock; call rwlock_reader_unlock instead of - mutex_unlock. New variable DN. - (pager_unlock_page): Use rwlock_writer_lock to lock - NP->dn->dinlock, NP->dn->sinlock, and NP->dn->datalock. - * sizes.c (diskfs_truncate, diskfs_grow): Change locks of DATALOCK - field to use rwlock_writer_{un,}lock. - (sindir_drop): Ditto for SINLOCK field. - (dindir_drop): Ditto for DINLOCK field. - -Mon Jun 6 19:23:26 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * sizes.c (diskfs_grow): After realloccg, zero new data (which I'm - not sure is really necessary, but until I figure it out, this is - safest). Also poke old data (the latter only if the block has - moved)--otherwise the kernel won't know to page it out to the new - location. - (poke_pages): When poking, be careful not to actually change the data. - LEN should be end - start, not start - end. - -Fri Jun 3 12:37:27 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * inode.c (iget): When we find the node in the table, acquire the - mutex *after* incrementing NP->references and unlocking - diskfs_node_refcnt_lock; otherwise we can deadlock against - diskfs_nput. - -Thu Jun 2 12:16:09 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * ufs.h (sblock_dirty, csum_dirty, alloclock): New global variables. - * alloc.c (alloclock): Remove static keyword.. - * alloc.c (realloccg): Set sblock_dirty after changing sblock. - (blkpref): Likewise. - (fragextend): Likewise. - (alloccg): Likewise. - (alloccgblk): Likewise. - (ialloccg): Likewise. - (blkfree): Likewise. - (diskfs_free_node): Likewise. - * hyper.c (diskfs_set_hypermetadata): Likewise. - * alloc.c (fragextend): Set csum_dirty after changi csum. - (alloccg): Likewise. - (alloccgblk): Likewise. - (ialloccg): Likewise. - (blkfree): Likewise. - (diskfs_free_node): Likewise. - * hyper.c (diskfs_set_hypermetadata): Acquire alloclock while - writing hypermetadata. Only write csum and sblock if - csum_dirty or sblock_dirty, respectively, is set, and then - clear it after starting the write. - - * main.c (main): Likewise. - - * sizes.c (diskfs_truncate): Don't turn off caching; the new - light reference system takes care of this. - * pager.c (diskfs_get_filemap): No longer necessary to turn - on caching here, because truncate no longer turns it off. - - * inode.c (diskfs_lost_hardrefs, diskfs_new_hardrefs): New functions. - * pager.c (drop_pager_softrefs, allow_pager_softrefs): New functions. - (sin_map): Use diskfs_nref_light, not diskfs_nref. - (diskfs_get_filemap): Use diskfs_nref_light, not diskfs_nref. - (pager_clear_user_data): Use diskfs_nrele_light, not diskfs_nrele. - * ufs.h (drop_pager_softrefs, allow_pager_softrefs): New - declarations. - -Wed Jun 1 13:35:11 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * sizes.c (diskfs_truncate): After calling sin_unmap, turn - off caching on the sininfo pager so that it gets freed promptly - (there's generally no value in keeping it around because there - is no live fileinfo pager). - * pager.c (diskfs_get_filemap): Make sure we turn caching back on - here, however, if we start using the file pager. - - * pager.c (sin_map): When np->dn->sininfo is set, we have - to insert a valid send right after fetching the receive name. - - * pager.c (sin_unmap, din_unmap): New functions. - (pager_clear_user_data): Call sin_unmap and din_unmap - instead of doing it right here. - - * sizes.c (diskfs_truncate): Call sin_unmap instead of - doing it right here. - (sindir_drop): Call din_unmap instead of doing it right - here. Also, call it always, not just when wo do dindir_drop. - - * sizes.c (diskfs_grow): After alloc into sindir area, - unmap it if we don't have an active data pager. - * ufs.h (sin_unmap, din_unmap): New declarations. - - * sizes.c (diskfs_grow): In computing OSIZE in the realloc - case of lbn < NDADDR, deal correctly with the case where - np->allocsize is already an integral number of blocks. - - * sizes.c (diskfs_grow): Compute SIZE correctly. - - * alloc.c (alloc, realloccg, blkfree): When checking validity - of size arguments, also make sure the size isn't zero. - - * alloc.c (diskfs_alloc_node): Lock ALLOCLOCK before checking - sblock->fs_cstotal.cs_nifree. - -Tue May 31 18:47:42 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) - - * ufs.h (DONT_CACHE_MEMORY_OBJECTS): Define it. - - * dir.c (diskfs_direnter: case TAKE): Assert that OLD->d_reclen >= - NEEDED, not that it is strictly >. - -Tue May 31 11:10:28 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * sizes.c (diskfs_grow): Call diskfs_node_update (but don't wait) - after successful completion to prevent old data from hanging around - too long and getting flushed all at once from the kernel. - - * sizes.c (diskfs_grow): Change SIZE to be the size of the last - block allocated. Delete variable NSIZE; use SIZE instead. - -Fri May 27 13:15:26 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * sizes.c (diskfs_truncate): Set NP->dn_stat_dirty after each - modification of NP->dn_stat. - - * sizes.c (diskfs_truncate): Compute new value of NP->allocsize - correctly. - - * inode.c (iget): Set NP->allocsize to be the *actual* allocsize. - -Thu May 26 11:51:45 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * sizes.c (diskfs_truncate): In blkfree loop of blocks past - NDADDR, subtract NDADDR from idx to index correctly into - sinloc array. Start this loop with idx not less than NDADDR. - (diskfs_truncate): If olastblock == NDADDR, then we also - need to truncate blocks (one) mapped by single indirect blocks. - (diskfs_truncate): New variable `first2free'. Use in place - of older losing calculations involving lastblock. - (sindir_drop): Rename parameters to be FIRST and LAST. Change - interpretation of FIRST by one to correspond with changed call - in diskfs_truncate. - - * pager.c (sin_remap): When computing NEWSIZE, round up to - a page boundary, thus mimicing the SINDIR computation in - pager_report_extent properly. - - * pager.c (pager_unlock_page) [case SINDIR; vblkno == 0]: Read - from ....di_ib[INDIR_SINGLE] rather than invalid data before - NP->dn->dinloc. - - * alloc.c (alloc) [nospace]: Unlock alloclock. - (realloccg): Unlock alloclock before jumping to nospace. - (blkpref) [!(lbn < NDADDR)]: Unlock alloclock before returning - success. - - * sizes.c (diskfs_grow): When allocing a block past NDADDR, the - tbl arg to blkpref is the table of direct block pointers - NP->dn->sinloc, not the table of indirect block pointers - ...->di_ib. - - * sizes.c (diskfs_grow): When writing into the SINDIR area, call - sin_map instead of sin_remap if the sindir isn't already mapped. - Also set np->allocsize *before* calling sin_map, but *after* - calling sin_remap, to meet the requirements of those separate - routines. - - * sizes.c (diskfs_grow): If END isn't bigger than NP->allocsize, - then don't try and do anything. In computation of LBN and the - first use of NB, round up to block boundary correctly. Don't - attempt to realloc an old block if the size is 0 (in which case - NB is -1 and unsigned comparison rules might foul things up). - -Mon May 23 13:18:33 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * Makefile (ufs): Give -n in the proper order to rsh. - - * main.c: Include <hurd/startup.h>. - - * ufs.h (DONT_CACHE_MEMORY_OBJECTS): New compilation flag. - * pager.c (pager_report_attributes): Deleted function. - (MAY_CACHE): New macro; more useful form for using - DONT_CACHE_MEMORY_OBJECTS. - (sin_map, pager_init, diskfs_get_filemap): Provide new - args in calls to pager_create. - * sizes.c (MAY_CACHE): New macro; more useful form for - using DONT_CACHE_MEMORY_OBJECTS. - (diskfs_truncate): Use MAY_CACHE in calls to pager_change_attributes. - -Fri May 20 18:52:41 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * sizes.c (diskfs_truncate): Force any delayed copies of the - vanishing region to be taken immediately before stopping, and - prevent any new delayed copies from being made until we are done - manipulating things. - (poke_pages): New function. - * pager.c (pager_report_attributes): New function. - -Wed May 18 15:51:40 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * alloc.c (alloc, realloccg, diskfs_alloc_node, alloccgblk, - blkfree, diskfs_free_node, mapsearch): Added helpful strings to - asserts. - (realloccg): Split up assert. - -Tue May 17 13:26:22 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * main.c (main): Delete unused variable PROC. - -Mon May 16 15:32:07 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) - - * alloc.c (realloccg): When fragextend succeeds, bother to set - *PBN. - - * sizes.c (diskfs_grow): In fragment growth case, NSIZE should - not be the amount to hold SIZE (SIZE is the amount the file is - growing by), but rather the old size of the fragment plus the - SIZE. - - * dir.c (diskfs_direnter case COMPRESS): Rewrite loop to deal - properly with the case where from and to overlap. - -Mon May 9 16:51:44 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * main.c (ufs_version): New variable. - (save_argv): New variable. - (main): Set save_argv. - (diskfs_init_completed): New function. - -Thu May 5 19:06:54 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) - - * Makefile (exec_server_image.o): Use -n when calling rsh. - -Thu May 5 07:39:38 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile ($(OBJS)): Use $(includedir) instead of $(headers) in deps. diff --git a/usermux/ChangeLog b/usermux/ChangeLog deleted file mode 100644 index e6572e0e..00000000 --- a/usermux/ChangeLog +++ /dev/null @@ -1,71 +0,0 @@ -2008-04-24 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * mux.c (lookup_user): Check null condition for struct passwd returnd - by getpwnam_r. - Reported by Marc-Olivier Mercier <mercier.m@sympatico.ca>. - -2007-11-13 Thomas Schwinge <tschwinge@gnu.org> - - * node.c (netfs_attempt_utimes): Adapt to ``struct stat'' changes. - -2004-10-23 Marcus Brinkmann <marcus@gnu.org> - - * usermux-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing. - -2002-05-13 Roland McGrath <roland@frob.com> - - * mux.c (netfs_attempt_chmod): Handle MODE arg with no S_IFMT bits set. - - * leaf.c (create_user_node): Set NEW->nn_translated appropriately. - * usermux.c (main): Set netfs_root_node->nn_translated to zero. - -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * usermux.c (netfs_server_name, netfs_server_version): New - variables. - -2001-02-12 Marcus Brinkmann <marcus@gnu.org> - - * usermux.c (options): Include <version.h>. Add global variable - ARGP_PROGRAM_VERSION. Add period to DOC. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile (HURDLIBS): Reorder libs such that the threads lib - comes before the ports lib. This makes sure the functions in - libthreads properly override the stubs in libports with the new - dynamic linker semantics in glibc 2.2. - -2000-07-18 Thomas Bushnell, BSG <tb@mit.edu> - - * mux.c (free_name): Fix typo in comment. - * usermux.c: Likewise. - * usermux.h: Likewise - (struct usermux): Likewise. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * mux.c: Add #include <sys/mman.h> for munmap decl. - -1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> - - * mux.c (get_dirents): Use mmap instead of vm_allocate. - (netfs_get_dirents): Likewise. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * mux.c (get_dirents): Use munmap instead of vm_deallocate. - (netfs_get_dirents): Likewise. - -1999-02-28 Roland McGrath <roland@baalperazim.frob.com> - - * node.c (netfs_attempt_utimes): Fix typo in last change. - -Sun Jan 31 18:41:17 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * node.c (netfs_attempt_utimes): Handle new possibility that ATIME - or MTIME might be null. - -1998-10-20 Roland McGrath <roland@baalperazim.frob.com> - - * mux.c (get_dirents): Add braces to silence gcc warning. diff --git a/utils/ChangeLog b/utils/ChangeLog deleted file mode 100644 index 86883d70..00000000 --- a/utils/ChangeLog +++ /dev/null @@ -1,2180 +0,0 @@ -2006-11-27 Ben Asselstine <benasselstine@canada.com> - Thomas Schwinge <tschwinge@gnu.org> - - [task #5994 --- ``rpctrace: Consider PREFIX/shared/msgids/*.msgids by - default''] - * rpctrace.c: Include <stdbool.h> and <argz.h>. - (scan_msgids_dir): New function, factored out of the <case 'I'> code, - with the change of not directly parsing the files, but instead adding - them to an argz vector. - (STD_MSGIDS_DIR): New definition. - (options): Add new `--nostdinc' option. - (main): Handle that new option. Utilize an argz vector. Include the - files in STD_MSGIDS_DIR unless prohibited by the new option. - * Makefile (rpctrace-CPPFLAGS): New variable. - -2006-07-24 Ben Asselstine <benasselstine@canada.com> - - [bug #17135] - * psout.c (psout): Exit returning `1' if there aren't any applicable - processes. - -2006-03-15 Thomas Schwinge <tschwinge@gnu.org> - - * ps.c (current_tty_name): Don't declare as static. - * rpctrace.c (print_contents): Don't use ?: as a lvalue. - (msgids_file_p): Don't declare as static. - -2005-07-26 Alfred M. Szmidt <ams@gnu.org> - - * rpctrace.c: Include <fnmatch.h>, <sys/stat.h>, and <dirent.h>. - (main, options): Renamed the option `-I' to `-i', and - reimplemented `-I' to search a given directory for message ID - files. - (main): Variable `err' removed. - -2004-09-21 Alfred M. Szmidt <ams@kemisten.nu> - - * fsysopts.c (doc): Changed `--remount' to `--update'. - - * mount.c (argp_opts): Enabled never-enabled options and added - long versions: --verbose/-v, --remount/--update/-u, - --writable/-w, --readonly/-r and --options/-o. Reported by - Ben Asselstine. - - * mount.c (parse_opt): For -u, use "update" instead of the deprecated - "remount" argument. - -2004-03-09 Marcus Brinkmann <marcus@gnu.org> - - * login.c (main): Remove extern declaration and invocation of - _argp_unlock_xxx. - -2004-03-14 Marcus Brinkmann <marcus@gnu.org> - - * storeread.c (main): Call argp_usage if store is not set at - ARGP_KEY_END. - -2003-08-17 Marcus Brinkmann <marcus@gnu.org> - - * rpctrace.c: Include <stddef.h>. - (struct traced_info): Change type of LOCP to hurd_ihash_locp_t. - (msgid_ihash): Change type to struct hurd_ihash, and initialize - with HURD_IHASH_INITIALIZER, don't set cleanup here. - (traced_names): Likewise. - (main): Call hurd_ihash_set_cleanup for msgid_ihash. Don't create - traced_names. - (parse_msgid_list): Call hurd_ihash_add instead ihash_add. - (new_send_wrapper): Likewise. - (msgid_info): Likewise. Call hurd_ihash_find instead ihash_find. - (rewrite_right): Likewise. - (traced_dropweak): Call hurd_ihash_locp_remove instead - ihash_locp_remove. - -2003-10-26 Roland McGrath <roland@frob.com> - - * storeread.c (doc, arg_doc): Make arrays, not pointers; make const. - (doc): Add leading short description line before \v. - - * rpctrace.c (docs, args_doc): Make arrays, not pointers. - (doc): Remove "\v.". Reported by Alfred M. Szmidt <ams@kemisten.nu>. - -2002-06-16 James A. Morrison <ja2morri@uwaterloo.ca> - - * vmstat.c (vm_state_refresh): Use memset instead of bzero. - (main): Likewise. - -2002-09-17 Marcus Brinkmann <marcus@gnu.org> - - * console-ncurses.c: File removed (the ncursesw console client is - now a driver in the console-client). - * Makefile: Revert 2002-08-22 change: - Do not include`../config.make'. - (targets) [LIBNCURSES]: Removed. - (SRCS) [LIBNCURSES]: Likewise. - (HURDLIBS) [LIBNCURSES]: Likewise. - (console-ncurses): Target removed. - (console-ncurses-CPPFLAGS): Removed. - (console-ncurses-LDLIBS): Likewise. - -2002-09-09 Marcus Brinkmann <marcus@gnu.org> - - * console-ncurses.c (cons_vcons_set_scroll_lock): New function. - - * console-ncurses.c (console_switch): Keep a reference to the port - instead refering to it by number. - - * console-ncurses.c: New global variable global_lock. - (main): Initialize global_lock. - (cons_vcons_activate): Removed. - (console_switch): New function. - (cons_vcons_add): New function. - (input_loop): Call console_switch, not cons_switch. Do not take - active_vcons lock but global_lock. - (cons_vcons_update): Take global lock. - (cons_vcons_set_cursor_pos): Likewise. - (cons_vcons_set_cursor_status): Likewise. - (cons_vcons_scroll): Likewise. - (cons_vcons_write): Likewise. - (cons_vcons_beep): Likewise. - (cons_vcons_flash): Likewise. - -2002-08-29 Marcus Brinkmann <marcus@gnu.org> - - * console-ncurses.c (main): Call endwin () before bailing out - because of an error. - (cons_vcons_write): Use getyx and wmove on stdscr instead getsyx - and setsyx (which operate on newscr, and mess up the cursor - anyway, probably because we don't commit the change immediately). - Submitted by David Walter <dwalter@syr.edu>. - -2002-08-22 Marcus Brinkmann <marcus@gnu.org> - - * Makefile: Include `../config.make' early on to get LIBNCURSESW - variable from configure before including Makeconf. - (targets) [LIBNCURSES]: Add console-ncurses. - (SRCS) [LIBNCURSES]: Add console-ncurses.c. - (HURDLIBS) [LIBNCURSES]: Add cons. - (console-ncurses): New target. - (console-ncurses-CPPFLAGS): New variable. - (console-ncurses-LDLIBS): Likewise. - -2002-08-18 Roland McGrath <roland@frob.com> - - * fakeroot.sh: Dont use "exec" command, since the original script - does not and some users use sh syntax here and not just commands. - -2002-06-25 Roland McGrath <roland@frob.com> - - * ping.c: File removed. - * Makefile (targets, SRCS): Remove it. - (ping-CPPFLAGS, INSTALL-ping-ops, ping): And all its little friends. - -2002-06-14 Roland McGrath <roland@frob.com> - - * Makefile (INSTALL-vminfo-ops): Variable removed (no setuid). - - * vmstat.c (ensure_def_pager_info): If get_privileged_ports fails with - EPERM, try to open /servers/default-pager instead. - * Makefile (INSTALL-vmstat-ops): Variable removed (no setuid). - -2002-06-13 Roland McGrath <roland@frob.com> - - * vminfo.c: Use `z' modifier format modifier for address/size values. - -2002-06-08 Roland McGrath <roland@frob.com> - - * ftpdir.c (pdirent): Use %lld format for off_t value. - -2002-05-28 Roland McGrath <roland@frob.com> - - * fakeauth.c (idvec_copyout): Fix argument type. - - * rpctrace.c (print_data): Use if instead of switch to handle FP type - sizes, in case double == long double. - - * storeinfo.c (print_store): Use %z format. - - * pids.c (add_fn_pids): unsigned -> size_t - * w.c (add_utmp_procs): Likewise. - * login.c (add_canonical_host): Likewise. - * ps.c (main): Likewise. - * login.c (add_entry, main): Likewise. - * settrans.c (main): int -> size_t - * showtrans.c (main): Likewise. - * fsysopts.c (main): Likewise. - * vmstat.c (main): Use int for FWIDTHS. - * ping.c (main): size_t -> socklen_t - * fakeauth.c (S_auth_getids, S_auth_makeauth, - S_auth_server_authenticate): u_int -> size_t - * showtrans.c (main): Cast field width/precision args to int. - -2002-05-20 Ognyan Kulev <ogi@fmi.uni-sofia.bg> - - * rpctrace.c (parse_msgid_list): Fixed the check that tests if we - read exactly 3 fields from each line. - -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * fakeauth.c (main): Register NEWTASK as a child with the proc - server. - -2002-05-13 Marcus Brinkmann <marcus@gnu.org> - - * devprobe.c: Include <version.h>. - (argp_program_version): New variable. - * storecat.c: Include <version.h>. - (argp_program_version): New variable. - * storeread.c: Include <version.h>. - (argp_program_version): New variable. - * gcore.c: Include <version.h>. - (argp_program_version): New variable. - -2002-05-12 Roland McGrath <roland@frob.com> - - * fakeroot.sh: Inside the chroot'd fakeauth environment, - run a shell that chdir's to what was our original current - directory (by name) before exec'ing the user's command. - - * fakeauth.c (main): Don't use posix_spawnp. Use _hurd_exec instead. - -2002-05-06 Marcus Brinkmann <marcus@gnu.org> - - * settrans.c (main): Return 0 instead of using break (which only - gets us out of the while loop). - -2002-05-05 Marcus Brinkmann <marcus@gnu.org> - - * fakeauth.c (main): Add ARGP_IN_ORDER to argp_parse invocation. - (main: parse_opt): New function. - (main): Set parser in ARGP to parse_opt. - -2002-05-04 Roland McGrath <roland@frob.com> - - * fakeauth.c (main): Update doc strings, clean up argp_parse call. - - * fakeroot.sh: New file. - * Makefile (targets, special-targets, SRCS): Add it. - - * settrans.c (options): Add --chroot/-C option. - (main_opt): Parse that option, take following args until "--" - as a command to exec chroot'd to the translated node. - -2002-05-03 Roland McGrath <roland@frob.com> - - * msgport.c (str2flags): Add break after default: label. - - * vmstat.c (print_val): Use %lld printf format for val_t. - - * fakeauth.c: New file. - * Makefile (fakeauth): New target. - (targets): Add it. - (SRCS): Add fakeauth.c. - (auth-MIGSFLAGS, fakeauth-CPPFLAGS, authServer-CPPFLAGS, - auth_requestUser-CPPFLAGS): New variables. - - * shd.c: Include <error.h> for `error' decl. - - * Makefile (rpctrace): Put libthreads before libports. - -2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca> - - * rpctrace.c (parse_msgid_list): Use ERR, not errno. - * shd.c (reap): Use error, not perror. - (command): Likewise. - (main): Likewise. - (run): Use error, not perror. Use ERR, not errno. - -2002-01-30 Roland McGrath <roland@frob.com> - - * rpctrace.c (struct msgid_info): New type. - (msgid_ihash_cleanup): Updated to use it. - (parse_msgid_list): Use it to also record subsystem name in table. - (msgid_info): New function, guts of msgid_name. - (msgid_name): Use that. - (msgid_display, msgid_trace_replies): New stub functions. - (trace_and_forward): Use them to conditionalize tracing and printing. - -2002-01-29 Roland McGrath <roland@frob.com> - - * rpctrace.c (options): Add -I/--rpc-list. - (msgid_ihash): New static variable. - (msgid_ihash_cleanup): New function. - (parse_msgid_list, magid_name): New functions. - (main: parse_opt): Grok -I using parse_msgid_list. - (trace_and_forward, print_request_header, print_reply_header): - Look up msgh_id values using msgid_name and print strings if possible. - -2002-01-04 Roland McGrath <roland@frob.com> - - * msgport.c (str2flags): Use const in argument type; make static. - Set O_CREAT for "w" mode. Grok "a" to set O_APPEND. - (cmd_setfd): Always call str2flags, giving it a default string. - (cmd_stdin, cmd_stdout, cmd_stderr): Likewise. - (cmd_options): Update doc strings. - -2002-01-02 Roland McGrath <roland@frob.com> - - * rpctrace.c (traced_spawn) [KERN_INVALID_LEDGER]: - Pass extra arguments to task_create for OSF variant. - * shd.c (run): Likewise. - -2001-12-30 Roland McGrath <roland@frob.com> - - * storeread.c (main): Fix argument order in `error' call. - -2001-12-28 Roland McGrath <roland@frob.com> - - * storeinfo.c (main): Pass STORE_NO_FILEIO to store_create. - -2001-11-23 Roland McGrath <roland@frob.com> - - * gcore.c: New file (previously ../exec/gcore.c). Update the code. - * Makefile (targets): Add gcore. - -2001-10-14 Roland McGrath <roland@frob.com> - - * rpctrace.c (trace_and_forward): Move assert on expected port type to - after check for notifications (which always use fake send-once rights). - -2001-08-10 Roland McGrath <roland@frob.com> - - * showtrans.c (main): Use %.*s formats to be robust in the - face of an unterminated argz in a translator setting. - -2001-06-15 Neal H Walfield <neal@cs.uml.edu> - - * settrans.c (options): New option `--orphan'. - Fix other comments to avoid confusion. - (main): Add FS_TRANS_ORPHAN to ACTIVE_FLAGS if `--orphan' is - specified. - -2001-06-06 Roland McGrath <roland@frob.com> - - * rpctrace.c (trace_and_forward): Assert that INFO has the same port - right type as the right we looked up. Don't consider a message a - reply unless its receiver is a send-once right. - - * rpctrace.c (print_reply_header): Don't call unfinished_line if - expected_reply_port is null, indicating the last line was finished as - a simpleroutine. - -2001-03-31 Roland McGrath <roland@frob.com> - - * pids.h: Fix obsolescent #endif syntax. - -2001-02-27 Roland McGrath <roland@frob.com> - - * rpctrace.c: Overhaul output handling. - -2001-02-25 Roland McGrath <roland@frob.com> - - * storecat.c: Include <stdlib.h> for decls. - * w.c: Include <time.h> for decls. - -2001-01-17 Neal H Walfield <neal@cs.uml.edu> - - * mount.c (do_mount): Conform to new fshelp_start_translator - semantics. - - * settrans.c (main): Conform to new fshelp_start_translator - semantics therby allowing us to print the pid of the an - active translator. - -2001-01-08 Marcus Brinkmann <marcus@gnu.org> - - * storeread.c (main): Change type of addr to store_offset_t, - also for first argument of local function dump. - Add comment about store->size as len parameter for store_read. - Use atoll instead atoi for addr argument. - - * storeinfo.c (print_store): Remove local function pint, add two - similar functions psiz and poff, accepting and printing a size_t - or store_offset_t respectively. - Use psiz to print block_size, poff to print blocks and size of - store. - Use %Ld instead %ld to print runs. - - * storecat.c (main): Change type of addr and left to store_offset_t. - -2000-10-18 Marcus Brinkmann <marcus@gnu.org> - - * devprobe.c (main): Call device_close before freeing the device - port. - -2000-07-27 Thomas Bushnell, BSG <tb@mit.edu> - - * portinfo.c: Comment out unimplemented argument - `--show-targets'. Reported by - Marcus.Brinkmann@ruhr-uni-bochum.de. - -2000-07-26 Mark Kettenis <kettenis@gnu.org> - - * Makefile (HURDLIBS): Reorder libs such that the threads lib - comes before the ports lib. This makes sure the functions in - libthreads properly override the stubs in libports with the new - dynamic linker semantics in glibc 2.2. - -2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> - - * frobauth-mod.c (frobauth_modify): Don't use MOVE_SEND in Hurd RPC. - * msgport.c (do_setfd, cmd_chcwdir, cmd_cdroot, cmd_chcrdir): - Likewise. - -2000-02-08 Roland McGrath <roland@baalperazim.frob.com> - - Remove the su utility, which is incompatible with traditional su - as provided by sh-utils and used by some portable shell scripts. - The Hurdish su functionality is available as `setauth --save'. - * su.c: File removed. - * Makefile (targets): Remove su. - (SRCS): Remove su.c. - (su): Target removed from various dependency rules. - (su-LDLIBS): Variable removed. - * unsu.c (doc): Refer to setauth --save rather than su. - -2000-01-22 Roland McGrath <roland@baalperazim.frob.com> - - * nonsugid.c (get_nonsugid_ids): Remove saved set IDs from available - sets before merging effective sets. - -1999-11-20 Roland McGrath <roland@baalperazim.frob.com> - - * storeinfo.c (print_store: pstr): Add const to parameter type. - -1999-11-19 Roland McGrath <roland@baalperazim.frob.com> - - * mount.c: New file. - * mount.sh: File removed. - * Makefile (special-targets): Remove mount. - (SRCS): mount.sh -> mount.c - (mount): Add deps on ../sutils/fstab.o, ../sutils/clookup.o, - libfshelp and libports. - (../sutils/fstab.o ../sutils/clookup.o): Rule to build in ../sutils. - -1999-11-18 Roland McGrath <roland@baalperazim.frob.com> - - * vmstat.c (BADVAL): New macro. - (SWAP_FIELD): New macro. This properly takes care of exciting C - type promotion rules to properly indicate errors. - (get_swap_size, get_swap_free, get_swap_active): Replace definitions - with ones using SWAP_FIELD macro. - (ensure_def_pager_info): Give an error message for lack of a default - pager; check only once. - -1999-09-23 Mark Kettenis <kettenis@gnu.org> - - * login.c (main): Pass controlling terminal ID port to the child. - -1999-09-19 Roland McGrath <roland@baalperazim.frob.com> - - * w.c (add_utmp_procs): Ignore entries whose ut_type is not - LOGIN_PROCESS or USER_PROCESS, or whose ut_line is empty. - -1999-08-10 Thomas Bushnell, BSG <tb@mit.edu> - - * portinfo.c: Correct documentation for (currently implemented) - --target-send and --target-send-once options. Reported by Marcus - Brinkmann (Marcus.Brinkmann@ruhr-uni-bochum.de). - -1999-07-23 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (targets): Remove freeauth, added accidentally. - -1999-07-17 Roland McGrath <roland@baalperazim.frob.com> - - * rpctrace.c (rewrite_right): If we see our own wrapper right, - unwrap and replace it with the original send right. - (trace_and_forward): Remove vm_map special case. - - * rpctrace.c: Mostly rewritten. Now mostly working with skeletal - functionality. - -1999-07-15 Roland McGrath <roland@baalperazim.frob.com> - - * rpctrace.c: New file, from josem and gord. Not yet functional. - * Makefile (rpctrace): New target. - (targets): Add rpctrace. - (SRCS): Add rpctrace.c. - -1999-07-10 Roland McGrath <roland@baalperazim.frob.com> - - * pids.c: Add #include <sys/mman.h> for munmap decl. - * showtrans.c: Likewise. - * login.c: Likewise. - * storeread.c: Likewise. - * msgport.c: Likewise. - -1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> - - * login.c (cat): Use munmap instead of vm_deallocate. - (check_owned): Likewise. - (kill_login): Likewise. - * storeread.c (main): Likewise. - * showtrans.c (main): Likewise. - * pids.c (add_fn_pids): Likewise. - * msgport.c (cmd_getenv): Likewise. - -1999-07-01 Mark Kettenis <kettenis@gnu.org> - - * Makefile (INSTALL-addauth-ops, INSTALL-setauth-ops, - INSTALL-su-ops): Removed. These programs don't have to be - installed suid-root anymore. - * frobauth-mod.c (frobauth_modify): Do not try to set the owner of - the processes we're frobbing. The process set their owner - themselves when we pass them their new authentication. - -1999-06-21 Roland McGrath <roland@baalperazim.frob.com> - - * login.c (main): For no-uids shell, default SH_ARG0 to informative - value. Use asprintf to construct it. - -1999-06-20 Roland McGrath <roland@baalperazim.frob.com> - - * ps.c (options): Doc fix. - -1999-05-29 Roland McGrath <roland@baalperazim.frob.com> - - * w.c (fetch_boot_time): New function. Use libps to get - task_basic_info for PID 1 (init); its creation_time is "boot time". - (uptime): Use it, instead of stat'ing /var/run/uptime. - - * ps.c (output_fmts): Add %start and %time specs before %command - in "user" (ps -u) format. - -1999-05-16 Roland McGrath <roland@baalperazim.frob.com> - - * portinfo.c (parse_task): Fail with appropriate error message if the - fetched task is MACH_PORT_NULL. - -1999-04-25 Roland McGrath <roland@baalperazim.frob.com> - - * shd.c (run): Print child's PID when pausing before exec. - -Fri Mar 12 15:22:02 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * login.c (add_utmp_entry): Properly call setutent and endutent - around the getutline call. - -1999-03-11 Roland McGrath <roland@baalperazim.frob.com> - - * portinfo.c (main): Grok -E and inhibit error msg for - print_xlated_port_info if set. - (options): #if 0 -q option until we implement it. - -1999-02-17 Roland McGrath <roland@baalperazim.frob.com> - - * mount.sh: Use `awk' instead of `gawk'. - -Fri Feb 19 02:43:11 1999 Thomas Bushnell, BSG <tb@mit.edu> - - * login.c (main): Correctly implement -f instead of always - acting as if it were set. - - * login.c (main): When transitioning from no UID's to having UID's - create a new session like normal. Reported by Mark M. Kettenis - <kettenis@wins.uva.nl>. - -1999-02-06 Mark Kettenis <kettenis@gnu.org> - - * login.c (main): If no effective uid, really use first auxiliary - uid to use as password entry to get parameters from. - -1999-01-03 Roland McGrath <roland@baalperazim.frob.com> - - * syncfs.c: Replace -a/--asynchronous with -s/--synchronous. - Default is now asynchronous. - -1998-12-31 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (SRCS, targets, targets rule): Rename sync to syncfs. - * syncfs.c: Renamed from sync.c. - Take flags -a/--asynchronous and -c/--no-children, - and optional file arguments. Diagnose errors. - -1998-10-20 Roland McGrath <roland@baalperazim.frob.com> - - * Makefile (OBJS): Use % pattern instead of explicit list. - - * parse.c (parse_enum): Add braces to silence gcc warning. - * psout.c (psout): Likewise. - * settrans.c (main): Likewise. - * showtrans.c (main): Likewise. - * w.c (w_fetch): Likewise. - * vminfo.c (main): Likewise. - -1998-09-05 Roland McGrath <roland@baalperazim.frob.com> - - * ping.c: <linux/icmp.h> -> <netinet/ip_icmp.h>; - struct icmphdr -> struct icmp; - Remove macro hacks to cope with old headers. - (pinger_wrapper): Take and return void *, so we're a cthread_fn_t. - -1998-09-04 Roland McGrath <roland@baalperazim.frob.com> - - * portinfo.c (hold): Declare explicit `int' to silence warning. - - * Makefile (OBJS): Use pattern %.sh instead of explicit list. - -Fri Aug 21 19:25:12 1998 Jose M. Moya <josem@gnu.org> - - * msgport.c: Comments added. - (add_cmd): cmd_add renamed to add_cmd. - (parse_cmd_opt): cmd_parse_opt renamed to parse_cmd_opt. - -Mon Aug 3 17:10:05 1998 Joel N. Weber II <devnull@theobromine.ai.mit.edu> - - * Makefile (msgport): Add dependency on libshouldbeinlibc. - -1998-07-25 Jose M. Moya <josem@gnu.org> - - * msgport.c: Fixed to deallocate ports. - -1998-07-24 Jose M. Moya <josem@gnu.org> - - * msgport.c: New file. - * Makefile (targets): Add `msgport'. - (SRCS): Add `msgport.c'. - (msgport): Add dependencies on parse.o and pids.o. - -1998-07-20 Roland McGrath <roland@baalperazim.frob.com> - - * ps.c (main): Fix return type to int, and use return. - * ids.c (main): Likewise. - * w.c (main): Likewise. - * login.c (main): Likewise. - * settrans.c (main): Likewise. - * showtrans.c (main): Likewise. - * fsysopts.c (main): Likewise. - * storeinfo.c (main): Likewise. - * unsu.c (main): Likewise. - * setauth.c (main): Likewise. - * rmauth.c (main): Likewise. - * addauth.c (main): Likewise. - - * w.c (main): Avoid warning from `while (a = b)'. - -Wed Apr 22 16:38:59 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * ping.c (MAXHOSTNAMELEN): Don't define. - (main): Delete variable `hnamebuf'. Store directly into properly - malloced `hostname' variable. - -Wed Apr 22 16:29:18 1998 Thomas Bushnell, n/BSG <tb@mit.edu> - - * ping.c: New file. Originally P.D. from US Army; then modified - by BSD, then added to Linux. Taken from Linux ping and adapted - for Hurd and submitted for inclusion by Kunihiro Ishiguro - (kunihiro@zebra.org). - * Makefile (targets): Add `ping'. - (SRCS): Add `ping.c'. - (ping-CPPFLAGS): New variable, to find <linux/icmp.h> in the - pfinet sources. - (INSTALL-ping-ops): Install ping suid root. - (ping): Depend on `../libthreads/libthreads.a'. - -1997-09-29 Miles Bader <miles@gnu.ai.mit.edu> - - * unsu.c (argp_program_version): Use correct program name. - -1997-09-26 Miles Bader <miles@gnu.ai.mit.edu> - - * frobauth-mod.c (frobauth_modify): Add AUTHS & NUM_AUTHS parameters. - * frobauth.h (frobauth_modify): Add AUTHS & NUM_AUTHS parameters. - * rmauth.c (main): Supply new args to frobauth_modify. - * unsu.c (main): Likewise. - * setauth.c (main): Likewise. - * login.c (main): Use ugids_verify_make_auth instead of - ugids_verify and ugids_make_auth. - * addauth.c (main): Likewise. - * setauth.c (main): Likewise. - - * w.c (main): Remove DEFAULT_OUTPUT variable. - -1997-08-08 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpcp.c (eappend, ebasename): New functions. - (append_basename): New function. - (main): Move target directory handling to append_basename. - Use it also with remote transfers. - - * ftpcp.c (cntl_debug): Print CONN->hook as a string before any output. - (main): Set the connection hooks to appropriate strings. - (econnect): Add NAME parameter, & set connection hook from it. - -1997-07-29 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpcp.c (main): When mungeing the destination to copy into a - directory, do the name used to print error messages too. - -1997-07-15 Miles Bader <miles@gnu.ai.mit.edu> - - * vmstat.c (ensure_def_pager_info): Don't report any errors if - there's no default pager. - -1997-07-10 Miles Bader <miles@gnu.ai.mit.edu> - - * vmstat.c (main): Don't print fields we cannot get. - -1997-07-03 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpdir.c (main): Flush stdout after printing prefix/separator. - -1997-06-19 Miles Bader <miles@gnu.ai.mit.edu> - - * storecat.c, storeread.c: Moved here from ../libstore. - * Makefile (SRCS): Add storecat.c & storeread.c. - (targets): Add storecat & storeread. - Add storecat & storeread to appropriate dependency rules. - -1997-06-13 Miles Bader <miles@gnu.ai.mit.edu> - - * settrans.c (main): Print the translated-node name instead of the - translator name if the translator startup error is due to opening it. - -1997-06-10 Miles Bader <miles@gnu.ai.mit.edu> - - * ids.c (argp_program_version): Change name to `ids'. - -Mon Jun 9 12:45:24 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (SRCS): Add setauth.c, pids.c, unsu.c, and nonsugid.c. - -Wed Jun 4 14:26:53 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * ftpcp.c, ftpdir.c: Files moved from ../libftpconn. - * Makefile (HURDLIBS): Add ftpconn. - (ftpcp ftpdir): Add dependency on ../liftpconn/libftpconn.a. - (SRCS): Add ftpcp.c & ftpdir.c. - (targets): Add ftpcp & ftpdir. - -Tue May 27 14:55:30 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (args_doc): Variable removed. - (main): Don't use ARGS_DOC. - Correct filtering of process-owners when processes are explicitly - specified. - -Mon May 26 02:21:19 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * su.c, addauth.c: Totally rewritten. - * rmauth.c, setauth.c, unsu.c, frobauth.h, frobauth.c, - frobauth-mod.c, nonsugid.c, pids.c, pids.h: New files. - * Makefile: Add appropriate dependencies on parse.o, pids.o, - frobauth.o, & frobauth-mod.o. - (addauth-LDLIBS, setauth-LDLIBS, su-LDLIBS): New variables. - - * ids.c: Renamed from hurdids.c. - * Makefile (targets): hurdids renamed to ids. - (SRCS): hurdids.c renamed to ids.c. - (INSTALL-ids-ops): Renamed from INSTALL-hurdids-ops. - - * login.c (child_argps): New variable. - (options): Remove uid/gid args. - (main): Use ugids operations instead of doing [ug]id frobbing - ourselves. - <ugids.h>: New include. - - * ps.c (options): Rearranged to group similar options. - Process-selection options removed. - (current_lid, current_sid): Functions removed. - (lookup_user): Take new STATE argument. - (main): Use PIDS_ARGP to select processes. - Use new forms of parse_ functions. - "pids.h": New include. - -Tue May 20 14:38:22 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * parse.c (parse_enum, parse_numlist, parse_strlist, _parse_strlist): - Change void * HOOK parameters to struct argp_state *STATE. - * parse.h (parse_enum, parse_numlist, parse_strlist): Likewise. - -Mon May 19 23:04:54 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * parse.c (parse_enum, parse_numlist, parse_strlist, _parse_strlist): - Add HOOK argument, and pass it to callback functions. - * parse.h (parse_enum, parse_numlist, parse_strlist): Likewise. - -Thu May 15 14:04:29 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (procset_names, fmt_sortkeys, fmt_names, fmts): Variables - removed. - (enum procsets): Type removed. - (struct output_fmt): New type. - (output_fmt): New variable. - (parse_enum): Function removed. - (main): Use new version of parse_enum & output_fmts variable. - - * login.c, addauth.c (main: verify_passwd): Make - user-in-group-0-can-use-his-own-password-to-su work. - - * parse.c, parse.h: New files. - * addauth.c: Replace include of "psout.h" with one of "parse.h". - (_parse_strlist, parse_numlist): Functions removed. - * ps.c: Include "parse.h". - (_parse_strlist, parse_strlist, parse_numlist): Functions removed. - * Makefile (SRCS): Add parse.c. - (LCLHDRS): Add parse.h. - Add dependencies on parse.o. - - * addauth.c: Renamed from addu.c. - * Makefile: Change references to addu into ones to addauth. - -Fri Apr 25 13:06:29 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * hurdids.c (main): Use the parent process's auth port instead of - the hurdids process's, because hurdids is usually installed setuid. - - * login.c, addu.c (main: verify_passwd): Add - user-in-group-0-can-use-his-own-password-to-su hack. - -Wed Apr 16 15:59:41 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * login.c (add_utmp_entry): Revert change of December 10, 1996. - -Fri Mar 7 11:53:02 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * addu.c: New file. - * Makefile: Add addu to dependents of libshouldbeinlibc & libps. - (INSTALL-hurdids-ops, INSTALL-addu-ops): New variables. - (SRCS): Add addu.c. - (targets): Add addu. - - * hurdids.c (args_doc): Initialize with "[PID]". - (main): Get the ids from the auth port instead of using libc grot. - Support getting ids from other processes. - -Sat Mar 1 21:27:03 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * w.c (add_utmp_procs): Ignore unused utmp entries. - (main): Support USER... args. - -Wed Feb 26 17:47:04 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * devprobe.c (main): Fetch DEVICE_MASTER *before* we use it. - Use argp_failure instead of error. - Open device read-only. - -Wed Feb 19 22:16:40 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * fsysopts.c, hurdids.c, login.c, portinfo.c, ps.c, settrans.c, - showtrans.c, storeinfo.c, sync.c, vminfo.c, vmstat.c, w.c - (argp_program_version): Make const. - - * devprobe.c (main): Parse arguments before getting device master port. - -Tue Feb 11 20:51:51 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * settrans.c (options): Update to reflect some minor changes in - the way argp works. - -Thu Feb 6 01:40:19 1997 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (main): Look for NOBODY in ARGS_DEFS too, and use a last - ditch default if we can't find it anywhere. - Deal with crypt failing. - - * w.c (w_get_host): Don't use strlen on it if *HOST is 0. - -Mon Dec 16 20:52:19 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * psout.c (psout): Use last N processes if TOP is negative. - * ps.c (options): Update doc for --top. - Add --head and --bottom/--tail/-b options. - (main): Implement --bottom/--tail/-b. - -Tue Dec 10 11:40:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * login.c (add_utmp_entry): ut_addr has changed to be an array; - stash the IP address in the first slot. - -Sat Nov 23 16:30:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * psout.c (psout): Delete var REMOVE. - -Fri Nov 15 19:05:46 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * w.c (read_utmp_procs): Function removed. - (main): Use utmp.h functions for reading utmp. - -Thu Oct 24 15:00:49 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * vmstat.c (options): Remove header for run-time supplied fields. - (main): And add it back here as a child header. - -Wed Oct 23 14:04:47 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * vmstat.c (main): Replace PARENTS with CHILDREN, which uses the - new argp_child structure. - -Thu Oct 10 13:53:23 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (options, main): Add --top/-h option. - * psout.c (psout): Add TOP parameter. - * psout.h (psout): Add TOP parameter. - * w.c (main): Supply new TOP arg to psout. - -Wed Oct 9 14:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * w.c (w_fetch): Use tty st_atime for idle time. - - * w.c (_w_specs): Use ps_cmp_unames for `Name'. - Use ps_nominal_string for `Name' and `From'. - (ps_cmp_unames, ps_nominal_string): New declarations. - (DEFAULT_FMT_STRING): Add %pid. - -Tue Oct 8 14:44:04 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (print_store): Properly ignore STORE_INACTIVE. - - * w.c (w_fetch): Set HAVE bits even if the values are `nominal'. - Correctly propagate PS->inapp bits. - (_w_specs): Add PS_FMT_FIELD_COLON_MOD to Idle's flags. - (main): Initialize dependencies field of USER_HOOKS to w_deps. - (w_deps): New function. - - * storeinfo.c (print_store): Correctly print unknown flags. - Don't ever print STORE_INACTIVE flag. - -Mon Oct 7 15:48:23 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (main): Use STORE_INACTIVE flag to store_create. - -Thu Oct 3 16:08:21 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * vmstat.c (name_to_option): Correct test for malloc failure. - (get_memobj_hit_ratio): Renamed from get_cache_hit_ratio. - (fields): Add `max' field. - Rename `cache *' fields to `memobj *', and reword doc strings. - (val_width): New function. - (main): Calculate verbose output widths differently. - (main: FWIDTH): New macro. - (VAL_MAX_MEM, VAL_MAX_SWAP, K, M, G): New macros. - -Wed Oct 2 10:24:04 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * vmstat.c (struct field): Remove desc field, add doc field. - (fields): Initialize doc field, and not desc. - (name_to_option): New function. - (main): Rearrange use of name, doc, and desc fields in struct field. - - * sush.sh: Handle `-' and `--' args properly. - -Fri Sep 27 13:01:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (options, main): Change --runs/-r to --block-list/-l. - (print_store): Print runs in grub block-list format. - -Fri Sep 27 01:07:20 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (options, main): Change --kind/-k to --type/-t. - Add --flags/-f option. - (W_TYPE): Renamed from W_KIND; all uses changed. - (W_FLAGS): New macro. - (print_store): Print flags separately from type. - (doc): Updated. - -Thu Sep 26 16:10:03 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (%: %.sh): Rule removed. - -Tue Sep 24 17:05:08 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (main: verify_passwd): Only declare reference to crypt - weak if HAVE_CRYPT isn't defined. - - * sush.sh: Fix option parsing. - -Mon Sep 23 00:19:05 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * sush.sh, uptime.sh: Add option parsing, version number, &c. - Add copyright notice. - - * Makefile (login-LDLIBS): Add $(LIBCRYPT). - -Thu Sep 12 16:37:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile (HURDLIBS): New variable. - -Thu Sep 5 11:45:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * Makefile: Use $(top_srcdir)/sh-version.h to make executables - from .sh files. - - * fsysopts.c: Include <version.h>. - (argp_program_version): Define with STANDARD_HURD_VERSION. - * w.c: Likewise. - * vmstat.c: Likewise. - * vminfo.c: Likewise. - * sync.c: Likewise. - * storeinfo.c: Likewise. - * showtrans.c: Likewise. - * settrans.c: Likewise. - * ps.c: Likewise. - * portinfo.c: Likewise. - * login.c: Likewise. - * hurdids.c: Likewise. - -Sun Sep 1 14:15:46 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * sync.c (argp_program_version): New variable. - (main): Call argp_parse with just a doc string. - <argp.h>: New include. - * Makefile (sync): Depend on libshouldbeinlibc.a. - -Fri Aug 30 16:54:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * vminfo.c: New file. - * Makefile (targets): Add vminfo. - (SRCS): Add vminfo.c. - (INSTALL-vminfo-ops): New variable. - -Mon Aug 19 15:19:20 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * devprobe.c, fsysopts.c, hurdids.c, login.c, portinfo.c, ps.c, - settrans.c, showtrans.c, storeinfo.c, vmstat.c, w.c, x.c (doc): - Add program description. - -Wed Aug 14 10:18:41 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (login-LDLIBS): New variable. - (login): Dependency on -lutil removed. - (libutil-libsubst): Variable removed. - -Sat Aug 10 10:03:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (options): Whoops, short option for --sort is -s. - - * Makefile (LCLHDRS): New variable. - -Wed Jul 31 14:23:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (main/verify_passwd): Use #pragma weak instead of - __attribute__ ((weak)). - * su.c (check_password): Likewise. - - * login.c (options): Change --inherit-environ to --preserve-environment. - Change --no-environ to --no-environment-args. - Change --environ to --envvar and --environ-default to --envvar-default. - * ps.c (options, main): Change --fmt to --format/-F. - Change --posix-fmt/-o to --posix-format/-o. - Change --sort to --sort/-s. - Change --pgrp to --pgrp/-G. - Change --login to --login/-L. - Change --threads/-s to --threads/-T. - Change --session to --session/-S. - (OPT_FMT, OPT_SORT, OPT_PGRP, OPT_LOGIN, OPT_SESS): Macros removed. - * w.c (options, main): Change --fmt to --format/-F. - Change --sort to --sort/-s. - (OPT_FMT, OPT_SORT): Macros removed. - -Wed Jul 31 14:24:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * login.c (main/verify_passwd): Declare crypt weak in a portable - way. - * su.c (check_password): Likewise. - -Tue Jul 30 14:49:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> - - * login.c (main/verify_passwd): If government is broken, don't use - crypt. - * su.c (check_password): Likewise. - - * login.c (main/verify_passwd): Provide correct prototype for - crypt. - * su.c (check_password): Likewise. - -Mon Jul 29 03:22:07 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * vmstat.c (val_t): Make `long long'. - -Sun Jul 28 21:13:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * w.c (main): Correctly parse the -w/--width option. - -Fri Jul 26 12:34:00 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * vmstat.c (enum val_display_type): Add `PAGESZ'. - `SIZES' -> `SIZE'; all uses updated. Remove BYTES, PAGES, and KBYTES. - (fields): disp_type of "pagesize" and "swap-pagesize" changed to PAGESZ. - (val_display_type_is_size): Function removed. - (struct field): `disp_type' field -> `type'; all used updated. - (print_val): Add TYPE & SIZE_UNITS arguments; remove HOW & PSIZE. - (main): Variable user_disp_type removed. Variable size_units added. - Add SIZE_UNITS macro, remove FDISPTYPE macro. - Calls to print_val now use new PVAL macro. - (get_vmstats_field): Just test against a type of SIZE, instead of - using val_display_type_is_size. - -Thu Jul 25 22:36:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (INSTALL-vmstat-ops): New variable. - - * vmstat.c (options, main): -k/--kilobytes, -v/--pages, and - -b/--bytes options added. - (fields): New struct members initialized. `size', - `cache-hit-ratio', `swap-size', `swap-active', `swap-free', and - `swap-pagesize' added. - (val_t, enum val_display_type, enum field_change_type): New types. - (val_display_type_is_size, print_val, vm_state_refresh, - vm_state_get_field, get_vmstats_field, get_size, - ensure_def_pager_info, get_swap_size, get_swap_free, - get_swap_page_size, get_swap_active): New functions. - (struct field): CHANGE_TYPE, DISP_TYPE, STANDARD, and COMPUTE - fields added. CUM field removed. - (struct vm_state): New type. - (main): Changed greatly to use vm_state type & functions, use - print_val, and support CONST display types nicely. - (argp_program_version): Version changed to 1.1. - -Sun Jul 21 03:00:10 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * fsysopts.c (main): Print an error for no args. - * portinfo.c (main): For no args, use argp_usage. - (options): Minor fixes. - -Sat Jul 20 15:54:10 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Deleted var (which was `shd.ChangeLog'). - (shd.ChangeLog): Deleted file. - -Fri Jul 19 21:09:57 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * settrans.c (options): Rearrange slightly. - -Tue Jul 16 21:38:01 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * login.c (main): If chown fails, print error message using errno, - not -1. - -Fri Jul 12 15:49:09 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (dog): Get rid of `Beware of dog' -- it can't ever happen. - Rename watch_login calls to check_login; don't use return value. - (check_login): Renamed from watch_login. Change type to void. - Exit if there's no such process. - - * login.c (main): Only start a watchdog timer if in a new login coll. - - * login.c (watch_login): New function. - (dog): Use watch_login. Get rid of wierd rules for root-gone-away. - - * Makefile (INSTALL-ps-ops, INSTALL-w-ops): New variables. - -Fri Jul 12 14:20:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (INSTALL-login-ops): New variable. - -Sun Jul 7 21:31:36 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * settrans.c (main): Don't use unsafe MOVE_SEND in call to - file_set_translator. - -Sat Jul 6 18:06:52 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * portinfo.c, vmstat.c, hurdids.c, fsysopts.c, settrans.c, - showtrans.c, storeinfo.c, login.c, w.c, ps.c - (argp_program_version): New variable. - * vmstat.c <hurd.h>: New include. - -Fri Jul 5 22:28:11 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (add_utmp_entry): Pass the the basename of TTY to getutline. - -Wed Jul 3 14:00:08 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (add_utmp_entry): Don't fill in ut_line or ut_type - fields in UTMP. - Fill in the ut_addr field. - - * Makefile (settrans): Depend on ../libports/libports.a. - -Tue Jul 2 14:54:43 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (dog): Include all args in the asprintf. - Put the ARGV message in parens. - -Mon Jul 1 13:05:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (kill_login): Don't kill dog. - (dog): Take new ARGV argument, and record status in it for ps. - (main): Pass ARGV to dog. - - * w.c (_w_specs): Don't use utmp buffer sizes for field widths, as - they can be very large. - - * login.c (add_utmp_entry): Always fill in UTMP.ut_line. - Set UTMP.ut_type. - -Fri Jun 28 15:44:15 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (add_utmp_entry): Increment TTY_FD while searching for a - TTY. - -Mon Jun 24 16:02:04 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (main): Fix heuristic to decide whether native booted. - -Thu Jun 20 14:41:25 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * login.c (main): No need for EXEC_NEWTASK or EXEC_SECURE. - - * Makefile (getty): Remove rule. - (targets): Remove `getty'. - (SRCS): Remove getty.c. - * getty.c: Removed file to daemons directory. - -Wed Jun 19 14:11:14 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (hurd_file_name_path_lookup): Declaration removed. - (main: child_lookup): Pass 0 for new LOOKUP arg to - hurd_file_name_path_lookup. - -Mon Jun 17 18:06:03 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (targets): Add `getty'. - (SRCS): Add `getty.c'. - (getty): Depend on -lutil. - -Mon Jun 17 10:41:28 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (targets): Remove reboot & halt. - (SRCS): Remove reboot.c & halt.c. - (login): Depend on -lutil instead of grot. - -Tue Jun 11 13:43:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (get_utmp_host): Function removed. - (add_utmp_entry): Get rid of TTY_FD parameter. Don't search for - the tty unless we need it to get the old host, since login does it - for us. - Also use the `existing host' in the case that a new one isn't specified. - (main): Update call to add_utmp_entry. - - * login.c (dog): Don't print stupid message if login session is empty. - (add_utmp_entry): Use gettimeofday instead of time to get the time. - -Wed May 29 11:01:18 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * sush.sh: Don't use -z flag to login. - -Tue May 28 17:48:12 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (main): Fetch the parent uids before checking their number. - (dog): Don't kill session if the user logged in! - Print newline before message. - (check_owned): Return OWNED, not NOTOWNED. - - * ps.c (fmts): Use %sz for vmem format, not %size. - (spec_abbrevs): Still use `NTH' for field name, just `TH' for title. - (fmts): Use %nth. - -Tue May 21 12:18:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (print_store): Get rid of class-name printing code, - and use store->class->name. Print all flags. - -Tue May 14 09:50:21 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (dog): Use error to print messages. Use pretty time fmting. - (main): Fork login timeout watchdog before clearing the process owner. - - * login.c (main): Only allow real users to make new login collections. - -Mon May 13 18:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (options, main): Remove -z/--no-utmp option. - (main): Only add utmp entry for session leader. - Clear process owner if no uids. - Fork self-destruct timer when appropiate. - (default_args): Add NOAUTH_TIMEOUT entry. - (check_owned, kill_login, dog): New functions. - -Sun May 12 13:38:34 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * psout.c (psout): When printing result of ps_fmt_creation_error, - don't pass ERR to error (it should already be in PROBLEM if necessary). - -Sat May 11 01:00:39 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (_parse_strlist, parse_strlist, parse_numlist, lookup_user, - main): Slather on consts, in a misguided attempt to shut up the - compiler. - -Fri May 10 13:53:30 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * devprobe.c (parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL. - * showtrans.c (parse_opt): Likewise. - * portinfo.c (parse_opt): Likewise. - * ps.c (parse_opt): Likewise. - * settrans.c (parse_opt): Likewise. - * login.c (parse_opt): Likewise. - * hurdids.c (parse_opt): Likewise. - * fsysopts.c (parse_opt): Likewise. - - * showtrans.c (parse_opt): Print a usage msg with no args. - (options, main): Add --translated/-t option. - - * Makefile (storeinfo): Depend on ../libstore/libstore.a. - - * settrans.c (main): Remove const cast from first arg to argz_create. - * fsysopts.c (main): Likewise. - * login.c (main): Likewise. - (main): Remove const from decl of USER & ARG. - (fail): Remove const from decl of VIA. - - * ps.c (parse_strlist): Make DEFAULT_FN return a const char *. - - * storeinfo.c (print_store): New function. - (info): Use store_create to make a store and print_store to print it. - (parse_opt): Print a usage message for no args. - (options, parse_opt): Add --children option. - -Thu May 9 19:46:14 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * w.c (uptime): Cast arg to localtime appropriately. - - * login.c (add_utmp_entry): Declare HOST `char const *'. - (main) [fail]: Declare VIA `char const *'. - (main): Declare USER `char const *'. - Declare ARG `char const *'. - - * login.c (main): Provide new third arg to proc_setowner. - - * fsysopts.c (main) [parse_opt]: Cast first arg of argz_create - appropriately. - * settrans.c (main) [parse_opt]: Likewise. - * login.c (main) [parse_opt] [case ARGP_KEY_ARG]: Likewise. - (main): Likewise. - - * ps.c (main) [current_tty_name]: Remove `const' keyword to avoid - type clash. - - * ps.c (main) [proc_stat_has_ctty]: Add parentheses around - assignment used as truth value. - -Mon May 6 17:36:22 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * psout.c (psout): Take a field, not a spec. Honor PS_FMT_FIELD_KEEP. - - * w.c (w_user_getter): New function. - (w_get_user): New function. - (w_fetch): Implement W_PSTAT_USER. - (struct w_hook): Add user field. - (_w_specs): Add "Name" entry. - (w_get_uname): Renamed from w_get_user. - (w_uname_getter): Renamed from w_user_getter. - * ps.c (fmts): Upcase most format strings. - -Sun May 5 01:05:54 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * psout.h: New file. - * ps.c (fmts): Use new field syntax. - (options): Add -o/--posix-fmt option. -A is an alias. - "psout.h": New include. - * w.c (_w_specs): Add precision & keep fields. - (DEFAULT_FMT_STRING): Use new field syntax. - "psout.h": New include. - (main): Update call to psout. - * psout.c (psout): Add posix_fmt arg. - -Thu May 2 00:10:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * psout.c (psout): Use ps_fmt_creation_error to find out in detail - why ps_fmt_create fails. - -Wed May 1 19:53:51 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * settrans.c (main): Default KILL_ACTIVE to 0. - -Tue Apr 30 19:04:01 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * w.c (_w_specs): Use ps_emit_past_time to show login times. - -Tue Apr 30 09:47:03 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> - - * Makefile (all): Remove target. - (include ../Makeconf): Place before all dependencies. - ($(targets)): Each separate target should depend on its own .o. - -Tue Apr 23 13:49:36 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (main): Try to intuit whether this is a native-booted hurd - system, and if so, don't filtered out non-parented processes. - -Wed Apr 10 19:47:45 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * devprobe.c: New file. - * Makefile (targets): Add devprobe. - (SRCS): Add devprobe.c. - -Mon Apr 8 17:09:55 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * portinfo.c (options, doc): Change meaning of --translate's - argument, in preparation for other changes. - (options, main): Add, but don't really implement, --search option. - -Fri Mar 29 14:37:49 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * settrans.c (options): Add --exclusive option, change descriptions. - (main): Rearrange meanings of arguments somewhat. - -Thu Mar 28 13:58:36 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * portinfo.c (main): Use new names for functions, and pass stdout. - (port_info, ports_info, xlated_port_info, xlated_ports_info, - name_xlator_create, name_xlator_free, name_xlator_xlate): - Functions removed (renamed and put in libshouldbeinlibc). - - * portinfo.c (parse_task): Use strtoul instead of atoi so pid 0 works. - -Mon Mar 25 14:19:40 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * w.c (uptime): Correctly calculate uptime. - (...various...): Use real types instead of old ps typedefs. - * ps.c (spec_abbrevs): Make const. - (ps_specs): Make non-const. - (...various...): Use real types instead of old ps typedefs. - * psout.c (psout): Use real types instead of old ps typedefs. - -Sat Mar 23 01:02:37 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * w.c (uptime): Add a temporary hack to pretend to show uptime. - -Mon Mar 18 18:34:51 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (main): Pass new arg to argp_parse. - * w.c (main): Likewise. - * storeinfo.c (main): Likewise. - * fsysopts.c (main): Likewise. - * hurdids.c (main): Likewise. - * login.c (main): Likewise. - * vmstat.c (main): Likewise. - * showtrans.c (main): Likewise. - * settrans.c (main): Likewise. Also use argp_usage correctly. - * portinfo.c (main): Likewise. - -Tue Mar 5 14:17:22 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * portinfo.c (main): Fix arg order to name_xlator_create. - (name_xlator_create): Return X in XLATOR. - (name_xlator_free): Deallocate all ports in X too. - (main): Use xlated_port_info / xlated_ports_info. - (xlated_port_info, xlated_ports_info): New functions. - (struct name_xlator, name_xlator_create, name_xlator_xlate): Don't - depend on a specified receive/send type for the source being specified. - (name_xlator_xlate): Take FROM_TYPE arg, & return TO_TYPE. - (options, main): Get rid of -R/-S options, and add --translate/-t - option. - -Mon Mar 4 15:25:41 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * portinfo.c (struct name_xlator): New structure. - (name_xlator_create, name_xlator_free, name_xlator_xlate): New funcs. - (options, main): Add --translate-{receive,send}/-R/-S options. - -Fri Mar 1 18:55:07 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (targets, SRCS): Add portinfo & portinfo.c. - -Tue Feb 27 14:51:16 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (targets, SRCS): Remove clri & clri.c. - -Mon Feb 26 13:50:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * settrans.c (main): Don't print a newline after `Pausing...' msg. - - * ps.c: Include <error.h> instead of "error.h". - "common.h": Don't include this anymore. - -Wed Feb 21 11:47:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> - - * w.c (uptime): Use %.2f format for load average numbers. - -Mon Feb 19 15:49:46 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * settrans.c (STRINGIFY): Make work. Is this in a header somewhere? - (_STRINGIFY): New macro. Ick. - - * fsysopts.c (main): Use ARGP_IN_ORDER. - -Sat Feb 17 23:47:36 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * uptime.sh: New file. - * Makefile (targets, special-targets): Add uptime. - (SRCS): Add uptime.sh. - -Thu Feb 15 15:47:45 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (main): Don't make -a imply -g. - - * sush.sh: Change -aBACKUP_SHELL to -aBACKUP_SHELLS. - - * login.c (child_lookup): Pass last arg to hurd_file_name_path_lookup. - -Wed Feb 14 17:38:31 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * w.c (add_utmp_procs): Correctly add terminal processes using new - libps functionality. - (read_utmp_procs): Emit all utmp entries, even the last one. - - * ps.c (main): Get rid of totally dead processes/threads. - (add_pid): Complain about non-existant processes. - (psout): New declaration. - - * ps.c (parse_numlist): Correctly handle NULL hook functions. - (parse_opt): Deref STATE correctly. - (main): Update calls to changed proc_stat_list_add_* functions. - - * login.c (main): Don't set old SAW_USER_ARG variable. - -Tue Feb 13 13:54:03 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * sush.sh: Exec login. - - * login.c (main): Deal with the shell args reasonably. - - * ps.c (parse_opt): Don't turn quoted args into options. - -Mon Feb 12 14:54:38 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * settrans.c (options, main): Add --timeout/-t option. - (main): Pass ARGP_IN_ORDER to argp_parse (it's no longer the - default), and deal with the fallout. - -Wed Feb 7 23:11:10 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (main): Allow switches in the login args naturally. - -Mon Feb 5 14:18:03 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * vmstat.c (main, args_doc, doc): Add repeat mode. - (FVAL): New macro. - - * vmstat.c (main): Slightly decrease the space for numbers in the - verbose output format. - Twiddle the widths of the terse fields to make sure there's room - for typical numbers. - -Sat Feb 3 01:28:20 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * vmstat.c (fields, options): Make const. - - * vmstat.c: New file. - * Makefile (targets): Add vmstat. - (SRCS): Add vmstat.c - - * login.c (main): Correctly add gids. - Avoid duplicating the old real id when keeping the old ids. - Don't ask for a password unnecessarily. - -Thu Feb 1 19:15:53 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * sush.sh: Don't save the parent ids. - - * login.c (main): When the user is specified as the first - argument, always add it as both effective, real, and saved ids, - even if there are others already. - - * login.c (main): Get the ttyname to chown. - Only do the chown if NO_LOGIN isn't set. - - * settrans.c (options, main): Add --pause option. - -Thu Feb 1 16:27:24 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * login.c (main): Chown the terminal. - -Tue Jan 30 15:25:23 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (main): Put LOGNAME in the environ even if it was already. - (copied_args): Add "USER". - -Mon Jan 29 09:52:08 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (add_utmp_entry): Get rid of declaration for login(). - (main, default_args): Replace the BACKUP_SHELL param with - BACKUP_SHELLS, which is a list of things to try. The default - includes both bash and the /bin/sh. - (main): Try to set the default path using confstr(). - -Mon Jan 15 12:29:49 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * settrans.c (options, main): Make -g/--goaway only apply to - active translators. - (options): Rearrange a bit. - -Sun Jan 14 12:45:40 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (main): Call setlogin(). - -Thu Jan 11 19:30:27 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (options, main): Change the -R/--retry option so that - the optional argument is an argument to add to those passed to - login when retrying, and remove all the hardwired arguments - (except propagating -h/--via). - (default_args, options, main): Get rid of the -n/--nobody option - and variables, making it an additional login parameter. - - * login.c (default_args): Make the default shell /bin/bash instead of - _PATH_BSHELL. - (default_args, default_env): Make the default path just /bin. - - * loginpr.sh (user): Pass the appropiate -R options to login. - -Wed Jan 10 15:32:19 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (main): Turn on RETRY when the -h option is specified. - -Fri Jan 5 15:21:36 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (add_canonical_host): Try harder to get the actual host name. - -Thu Jan 4 22:37:46 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (add_canonical_host): New function. - (add_utmp_entry): Use VIA_ADDR instead of VIA in the utmp entry if - it fits better. - (add_entry): Function moved out of main. - (main): Use add_canonical_host() to implement the -h option. Only - let root specify the login host. - - * login.c (main): child_lookup() now takes an additional PATH arg, - and calls hurd_file_name_path_lookup() instead. Pass a path when - looking up the shell executable. - -Tue Jan 2 01:15:13 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * sush.sh: Instead of giving --su to login, use all the component - options it stood for. Also use --program-name for nice errors. - - * login.c (main): Do all file-name lookups using the target - authentication, so that login isn't a security hole. - Rework how password-checking is done somewhat (only ask when necess). - Call exec_reauth() with SECURE==0 so that it reauths all the ports. - If setting the real [ug]id, also add it as the `saved id'. - (cat): Take an io_t port instead of a file descriptor. - (options, main): Get rid of the -s/--su option, and add -S/--shell-arg. - (FAILURE_SHELL): Macro deleted. - (default_args): Add BACKUP_SHELL param. - (main): Use BACKUP_SHELL instead of FAILURE_SHELL define. - -Mon Jan 1 20:51:41 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (main): Use exec_reauth() instead of our own. - (options, main): Add -k/--keep & -s/--su options. - (options, main): Remove -m/--umask option; use UMASK param instead. - (main): Get rid of various string vars only used once. - -Fri Dec 29 12:16:13 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * loginpr.sh: New program. - * login.c (main): Add optional shell argument for --retry. - Add --paranoid/-P option. - - * login.c (main): Don't ask for password by name if only one user. - -Thu Dec 28 17:41:11 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c (main, options): Add --retry/-R option. - - * login.c (main): If -f/--no-passwd is specified, get rid of the - effect of the login executable being setuid/gid. - Only set the shell proc's owner to an effective uid. - -Sun Dec 24 14:26:18 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (main): Move a bunch of stuff into psout() in psout.c. - * psout.c: New file. - -Sat Dec 23 20:49:26 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (main): Allow user to use `-' prefix to invert sort as well. - (main): Use ps_fmt_set_output_width() to set the output width. - - * login.c (add_utmp_entry): Only remove a prefix from the tty name - if it's _PATH_DEV. - -Thu Dec 21 11:15:42 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (spec_abbrevs, ps_specs): New variables. - (fmts): Get rid of redundant header specifications. - (fmt_sortrevs): Variable removed. - (main): Don't allow sorting on field names any more, just spec - names (prob ok, since most things ps prints are now spec names). - (main, options): Rename -o flag to -U for posix compat (ick). - - * login.c (options): Add --no-utmp/-z option. - (add_utmp_entry): New function. - (main): Call add_utmp_entry(). - (main): Ivec routines are now idvec routines. - Include <idvec.h> instead of <ivec.h>. - (options): --host/-h is now --via/-h. - (main): Store the host were logged in from via in VIA, in the - login parameters instead of the child environment; optionally copy - it into the environment too. - (main): Enable EXEC_SECURE. - * Makefile (libutil-libsubst): New hack. - (login): Depend on -lutil. - - * ps.c (main): Ivec routines are now idvec routines. - Include <idvec.h> instead of <ivec.h>. - Use argz functions to store tty_names instead of our own. - -Sun Dec 17 00:24:26 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (main, options): If the specified sort field begins with - `-', reverse the sort. - - * ps.c (main): If there is no current uid, don't try to filter with it. - (FILTER_NOT_LEADER): Renamed from FILTER_NSESSLDR. - (main): Rename ps_not_leader_filter from ps_not_sess_leader_filter. - - * ps.c (main): Use ivec routines instead of ids. - (make_ids, ids_add, ids_contains): Routines deleted. - Include <ivec.h>. - -Sat Dec 16 22:13:32 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (options): Reformat doc string for --tty option. - - * ps.c (options): Add argument and doc for 'w' option. - (main): Implement 'w' option. - - * login.c: Zillions of changes. - -Tue Dec 12 20:16:22 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * login.c: New file. - * Makefile (SRCS): Add login.c - (targets): Add login. - (login): Depends on ../libshouldbelibc/libshouldbelibc. - -Wed Dec 6 15:12:15 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * fsysopts.c (main): Supply the new SEP argument to argz_stringify. - * showtrans.c (main): Ditto. - - * fsysopts.c (main): Change uses of the INDEX field in argp_state - structures to use NEXT instead. - * ps.c (main): Ditto. - * settrans.c (main): Ditto. - * showtrans.c (main): Ditto. Fix default prefix-printing test. - * storeinfo.c (main): Ditto. - -Mon Dec 4 15:41:06 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (main): Correctly whether to print prefix by default. - (options): Fix help strings. - -Wed Nov 15 19:56:21 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (main): Use new libps stream type. - -Tue Nov 14 18:28:20 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (main): Grow TTY_NAMES properly even when it's empty. - -Mon Nov 6 12:41:21 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (ids_add): Increase the size of IDS even when 0. - - * fsysopts.c (main): Use file_get_fs_options, not fsys_get_options. - (doc): `filesystem' --> `FILESYS'. - -Sat Nov 4 19:56:38 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (print_info): Use the new FLAGS argument to - file_get_storage_info. Add new storage types. - -Wed Nov 1 19:30:42 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * settrans.c (main): Change to use the new wierd callback - interface to fshelp_start_translator. - - * ps.c (options): Add --not-owner/-O option. - (id_t, struct ids): New type. - (make_ids, ids_add, ids_contains): New functions. - (main): Use a struct ids instead of multiple variables to hold the - wanted uids list, which renamed to ONLY_UIDS. Add the NOT_UIDS - list to contain the opposite sense, and use it. - - * ps.c (main): Use proc_stat_proc_info instead of proc_stat_info and - PSTAT_PROC_INFO instead of PSTAT_INFO. - -Tue Oct 31 17:57:25 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * fsysopts.c (doc, args_doc): Mention usage without any options. - (main): If no options are supplied, print existing options. - - * ps.c (fmts): Add RPC field to the -l format. - -Mon Oct 30 16:24:37 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (options): --all is -e, not -a. - -Mon Oct 23 15:17:42 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * settrans.c (options): Change --force/-f to --goaway/-g. Add - flags for killing translators: --recurse/-r, --force/-f, --nosync/-S. - (doc): New variable. - (main): Support new flags. Have some of the options update flag - words instead of setting variables. - - * storeinfo.c (print_info): Calculate total size/blocks correctly. - -Fri Oct 20 15:44:45 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * settrans.c (args_doc): New variable. - (main): Set ARGZ inside of parse_opt. - - * fsysopts.c (options): FILE --> FILESYS in help msg. - (args_doc): OPTION --> FS_OPTION, since the usage message already - uses OPTION to mean those to fsysopts. - (doc): New variable; give some common choices for FS_OPTION. - -Thu Oct 19 19:07:26 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (parse_enum): Use argp_error. - -Thu Oct 12 15:22:24 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (parse_enum): Use ARGP_HELP_STD_ERR. - -Wed Oct 11 19:03:19 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * ps.c (main): Use realloc on a variable in main instead of - alloca, since the storage gets used after parse_opt returns. - - * fsysopts.c (main): Use argp_help instead of argp_usage. - -Tue Oct 10 15:02:17 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * showtrans.c (options): Converted to argp format. - (main): Use argp, not getopt. - (usage, USAGE, SHORT_OPTIONS): Deleted. - (arg_doc, doc): New variables. - Include <argp.h> not <getopt.h>. - * fsysopts.c (options): Converted to argp format. - (main): Use argp, not getopt. - (usage, USAGE, SHORT_OPTIONS): Deleted. - (arg_doc): New variable. - Include <argp.h> not <getopt.h>. - * settrans.c (options): Converted to argp format. - (main): Use argp, not getopt. - (usage, USAGE, SHORT_OPTIONS): Deleted. - Include <argp.h> not <getopt.h>. - * ps.c (options): Converted to argp format. - (main): Use argp, not getopt. - (usage, USAGE, SHORT_OPTIONS): Deleted. - (arg_doc, doc): New variables. - Include <argp.h> not <getopt.h>. - -Fri Oct 6 17:33:01 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * storeinfo.c (print_info): Use the new block_size value returned - from file_get_storage_info. - -Wed Oct 4 18:15:59 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * showtrans.c (usage, options, main): Change -h/--no-header options to - -p/--prefix and -P/--no-prefix. - (main): Unless overridden by -p/-P, only print a FILE: prefix when - there are multiple files on the command line. - -Mon Oct 2 19:00:27 1995 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile (targets): Add storeinfo. - (SRCS): Add storeinfo.c. - -Fri Sep 1 11:35:12 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * settrans.c (main): Use fshelp_start_translator instead of - start_translator from ../lib. - * Makefile: Get rid of rules related to ../lib. - (settrans): Depend on libfshelp.a instead of starttrans.o. - -Thu Aug 24 10:44:17 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (all): New target. - (ps, settrans, showtrans, fsysopts): Put all dependencies in these - targets. - (settrans-HURDLIBS, showtrans-HURDLIBS, ps-HURDLIBS): Removed. - -Tue Aug 22 17:56:09 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (settrans-HURDLIBS, showtrans-HURDLIBS, ps-HURDLIBS): - Add libshouldbeinlibc. - (settrans, showtrans, fsysopts, ps): Get rid of things that are - now in libshouldbeinlibc. - Get rid of rules dealing with error.o. - -Sun Jul 23 15:58:06 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (DIST_FILES): sh.ChangeLog -> shd.ChangeLog. - -Fri Jul 7 19:20:21 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * clri.c (copyright, sccsid): Correct syntax. - -Fri Jul 7 18:56:45 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * settrans.c (SHORT_OPTIONS): Remove '?' as getopt usurps it. - (options, main): Use '&' instead of '?' to mean help. - -Thu Jul 6 21:04:04 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * su.c (main, apply_auth_to_loginid, apply_auth_to_pgrp): Remove - assignments from inside if tests. - - * sync.c (main): Declare return type. - - * clri.c (copyright, sccsid): Declare unused. - (main): Correct format for fourth arg in printf call. - - * ps.c (lookup_user): Declare return to be `int' to avoid type - clash in use as 4th parameter to parse_numlist. - - * shd.c (run): Remove assignments from inside if tests. - (command): Likewise. - - * Makefile (special-targets): New var. - (mount): Provide command. - (OBJS): New var. - (shd, su, clri, sync, reboot, halt): List object files here. - -Thu Jul 6 16:12:22 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * settrans.c (main): Give an error message instead of dying when - no filename argument is given. - -Thu Jul 6 15:43:15 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile: Removed dependencies that are now automatically - generated. - -Wed Jul 5 21:18:42 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (ps-HURDLIBS): Renamed from HURDLIBS. - (ps): Fix dependencies. - -Mon Jun 26 16:13:47 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (CPPFLAGS): Put -I../lib back in. - Put back the vpath for %.c to ../lib. - -Tue Jun 6 13:22:52 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (HURDLIBS): Added libihash. - (CPPFLAGS): Deleted addition of -I../lib. - (vpath): Deleted spec. - (ps): Deleted ihash.o and primes.o. - -Thu Jun 1 11:33:47 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile (ps.o, fsysopts.o, showtrans.o, settrans.o): Add - dependencies on header files. - (REMHDRS): Define this variable. - -Tue May 30 12:17:33 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (SCRS): Removed update.c. - (targets): Removed update. - -Sat May 20 00:51:50 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * fsysopts.c (main): Check for a missing filesystem name. - (main): Tweak the error msgs a bit. - - * fsysopts.c (options, main): Don't use '?' as the --help key. - -Mon May 15 20:31:31 1995 Miles Bader <miles@duality.gnu.ai.mit.edu> - - * Makefile (SRCS, targets): Add fsysopts. - -Wed May 3 11:37:39 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ps.c (main, usage, SHORT_OPTIONS, options): Add the -n flag - (--nominal-fields), which prevents elision of uninteresting fields. - Also add elision of uninteresting fields... - -Tue May 2 17:22:11 1995 Miles Bader <miles@geech.gnu.ai.mit.edu> - - * ps.c (fmts): Add the SC (suspend count) field to various output fmts. - (usage, main, SHORT_OPTIONS): Add the (ignored) -w flag for BSD compat. - (main): Use the new name for ps_fmt_squash: ps_fmt_squash_flags. - -Tue May 2 14:37:07 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * shd.c (reap): Check for ECHILD, not ESRCH. - -Wed Apr 26 21:40:57 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * settrans.c (main): Allow options before and immediately after - the node name to be rearranged by getopt without affecting those - following the translator name. - -Fri Apr 14 10:18:34 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * mount.sh: Move the test for a valid translator to just before we - use it. Gratuitously change the "unknown" value for type to "". - Don't use `--' when invoking settrans, as getopt doesn't seem to - be handling it correctly. Use `usage' not `USAGE'. - -Wed Apr 12 14:38:25 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (DIST_FILES): Omit ps.ChangeLog. - -Tue Apr 11 15:21:46 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (targets): Changed `sh' to `shd'. - (SRCS): Changed `sh.c' to `shd.c'. - * shd.c: Renamed from `sh.c'. - -Mon Apr 10 20:01:20 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ps.c (main): Tweak things so that the -t flag works correctly - for processes whose tty we can't figure out. - -Sun Apr 9 14:00:09 1995 Miles Bader <miles@duality.gnu.ai.mit.edu> - - * su.c (main): Getopt now returns '\001' for non-switch options - instead of '\0', no doubt to work around an obscure bug in some - brain-dead system only used by 2 people twice a decade. - -Fri Apr 7 11:55:25 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ps.c (parse_enum): Renamed from enum_name. - (main, usage): Add lots of sysvish options, and generalize some - existing ones to deal with sysvish usage. Make -t & -o work. - -Thu Apr 6 11:56:23 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ps.c (main): Add the `jobc' (-j) output format from netbsd. - -Wed Apr 5 22:10:50 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * ps.c (main): When processes are specified on the command line by PID, - turn off all filtering so that they don't disappear later. Also - minor changes in some spec names. - -Tue Apr 4 11:32:53 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * Makefile: Add showtrans & mount, and uncomment-out su. - - * settrans.c (main): Get rid of the `show passive translator' - functionality, as this is now done by showtrans. - - * ps.c (main): Make -a imply -g as well, to be compatible with bsd. - Add the -M (--no-msg-port) switch, which disables all fields that - would use any process's message port. - - * showtrans.c: New file: Show passive translators. - - * su.c (apply_auth): Use msg_add_auth & msg_del_auth instead of - add_auth & del_auth. - (apply_auth_to_pids, apply_auth_to_loginid, apply_auth_to_pgrp): - Don't use the IDS variable, it's no longer around; I think AUTH is - the right thing to replace it with. - -Tue Apr 4 01:47:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * ps.c (main): Treat argument without leading - as if it had one, - unless it's a number. - -Mon Mar 20 20:17:04 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> - - * Makefile (ps): Link in ihash.o, error.o, and primes.o too. - * Makefile (vpath %.c): New decl. - - * ps.c: Include <hurd/ps.h> instead of "ps.h". - Include <unistd.h>. - (enum_name): Avoid warning. - (program_name): New variable. - (main): Don't set program_invocation_short_name (the library does it - for us). Do set program_name. - - * ps.c: Replace with new version by Miles Bader. See ps.ChangeLog - for some changes made to the new version before the replacement. - Old ps.c and ps.ChangeLog are now ps.c.old and ps.ChangeLog.old. - * Makefile (HURDLIBS): Define, for ps. - (CPPFLAGS): Define, for ps. - (ps): Add rule to get library. - -Sat Jan 28 15:02:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sh.c (main): Only open /dev/tty if stdin is unreadable. - -Wed Nov 16 20:28:40 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * reboot.c: Include unistd.h, stdio.h, not hurd/anything. - (main): If reboot returns, give error message and return 1. - * halt.c: Likewise. - -Sat Nov 12 21:20:07 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * reboot.c (main): Just use the reboot function. - * halt.c (main): Likewise. - -Fri Nov 11 12:05:38 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * Makefile (targets): Added reboot and halt. - (SRCS): Added reboot.c and halt.c. - * reboot.c: New file - * halt.c: New file. - - * ps.c (main): Print in shorter format by default; take -v flag to - print in longer format. - -Wed Nov 9 04:43:54 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * ps.c (time_str): Specify format for decimals correctly. - -Wed Nov 9 00:20:09 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * ps.c (time_str): Use %.2d instead of %2d to get 0 pads. - -Mon Nov 7 14:15:10 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * ps.c (time_str): Don't use floating point conversion; - it's buggy. - -Wed Nov 2 13:34:56 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * sync.c: New file. - * Makefile (targets): Added sync. - (SRCS): Added sync.c. - -Thu Oct 27 22:19:29 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * ps.c (main): Also print out a field with the number of threads. - -Tue Oct 4 19:40:22 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * clri.c: New file. - * Makefile (targets): Added clri. - (SRCS): Added clri.c. - -Sat Oct 1 03:44:55 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * update.c: Take optional arg to specify sleep time. - Use daemon instead of doing its work by hand. - -Fri Sep 30 11:53:53 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu> - - * update.c: New file. - * Makefile (SRCS): Added update.c. - (targets): Added update. - -Sat Sep 10 08:22:34 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * settrans.c (main): Give usage message when given no args. - Use O_NOTRANS in file name lookup. - Don't use FS_TRANS_EXCL in file_set_translator. - If given args "FILE -show", get translator and print it out. - -Thu Sep 1 11:50:51 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * settrans.c: New file. - * Makefile (SRCS): Added settrans.c. - (targets): Added settrans. - -Tue Aug 30 16:40:54 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * sh.c (run): Use file_name_lookup instead of path_lookup. - -Tue Aug 23 10:44:16 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile (targets): Comment out `su' until Roland gets it back - into a usable state. - -Mon Aug 22 12:18:09 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * sh.c (main): Open /dev/tty with O_IGNORE_CTTY and fdopen that - onto stdin/out/err. - -Fri Jul 22 12:26:27 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> - - * Makefile: Rewritten to use new scheme. |