2013-09-27  Thomas Schwinge  <thomas@codesourcery.com>

	GNU Hurd 0.5.
	* configure.ac (AC_INIT): Set version to 0.5.
	(AC_REVISION): Remove.
	* NEWS: Finalize changes for 0.5.
	* INSTALL: Update.
	* INSTALL-cross: Likewise.
	* README.CVS: Delete, but move some content...
	* README: ... here.  Update.

	Decouple the Hurd version from the package version.
	* config.make.in (package-version): New variable.
	(hurd-version): Set to 0.3.
	* Makeconf (%: %.sh): Use package-version instead of hurd-version.
	* Makefile (stamp-version): Likewise.
	* doc/Makefile (stamp-version): Likewise.

	Generate ChangeLog files for distributions.
	* gitlog-to-changelog: New file; import from gnulib's
	9fc81090f6c5590bd1b0e0fa5087577a2ee43a3e:build-aux/gitlog-to-changelog.
	* Makefile (ChangeLog.tar, gen-ChangeLog): New targets.
	($(dist-version).tar): Depend on and use the former.
	(clean-misc): Clean up the generated files.

2013-09-27  Thomas Schwinge  <thomas@codesourcery.com>

	UFS is no more.
	* ChangeLog: Don't refer to bsdfsck/ChangeLog, ufs/ChangeLog,
	ufs-fsck/ChangeLog, ufs-utils/ChangeLog.

	Fixup for commit 84cf9c0f312637b670cc87224ff7e7c4da659e36.

2013-09-27  Thomas Schwinge  <thomas@codesourcery.com>

	* ChangeLog: Don't refer to serverboot/ChangeLog; it is no more.
	Fixup for commit a8744157214a302d84c8959b1ae99abe3ae2d7d2.

2013-09-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Update mailing lists
	* README: Update mailing lists.

2013-09-24  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Drop dead links
	* doc/hurd.texi (BSD Unix FS): Remove link to dropped section.

	Fix missing renames
	* pflocal/sock.c (sock_connect, sock_shutdown): Rename SOCK_CONNECTED to
	PFLOCAL_SOCK_CONNECTED.

	Add --without-daemon option to configure
	* configure.ac (--without-daemon): Add option to disable libdaemon pkgconfig
	test.

2013-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix spurious port deallocation
	* utils/storeinfo.c (parse_opt): Do not deallocate `file` port, `store_free`
	does it already.

2013-09-21  Justus Winter  <4winter@informatik.uni-hamburg.de>

	include: make /hurd/proc PID 3
	Using PID 0 is problematic for various reasons. Make /hurd/proc run as
	PID 3 instead.

	* include/pids.h: Make /hurd/proc PID 3.

2013-09-21  Justus Winter  <4winter@informatik.uni-hamburg.de>

	proc: do not hand out PID 0
	Using PID 0 causes various problems. This makes genpid skip PID 0.

	* proc/mgt.c (genpid): Start PIDs at 1.

2013-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix sscanf format for c99
	* utils/rpctrace.c (parse_msgid_list): Use %ms instead of %as in sscanf
	format.

	Fix gcc warning
	* console-client/pc-mouse.c (input_loop): Return NULL.

	Fix gcc warning
	* console-client/xkb/kstoucs.c (find_ucs): Return 0 by default.

	Fix gcc warning
	* console-client/pc-kbd.c (gnumach_v1_input_next) [XKB_SUPPORT]: Do not
	define `up` and `sc` variables.

2013-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Rename SOCK_* into PFLOCAL_SOCK_*
	To avoid conflicting with glibc's SOCK_*

	* pflocal/io.c, pflocal/sock.c, pflocal/sock.h, pflocal/socket.c: Rename
	SOCK_CONNECTED into PFLOCAL_SOCK_CONNECTED,
	SOCK_NONBLOCK into PFLOCAL_SOCK_NONBLOCK,
	SOCK_SHUTDOWN_READ into PFLOCAL_SOCK_SHUTDOWN_READ,
	SOCK_SHUTDOWN_WRITE into PFLOCAL_SOCK_SHUTDOWN_WRITE.

2013-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix gcc warning
	* pflocal/io.c (copy_time): Make `to_nsec` parameter a long * instead of an
	unsigned long *.

	Properly return error
	* isofs/pager.c (pager_read_page): Return error returned by `store_read`, if
	any.

	Fix gcc warning
	* isofs/lookup.c (dirscanblock): Cast entry->name into const char * before
	passing to isonamematch.

	Fix gcc warning
	* isofs/inode.c (read_disknode): Cast dr->date into char* before calling
	`isodate_915`.

	Fix test for block compression
	* ext2fs/dir.c (dirscanblock): Test ds->stat against LOOKING and COMPRESS,
	instead of ds->type.

	Fix gcc warning
	* ext2fs/dir.c (dirscanblock): Test ds->type against LOOKUP instead of
	LOOKING.  They happened to have the same value.

	Fix setting modem control lines
	* term/hurdio.c (hurdio_mdmctl): Pass `newbits` intead of `oldbits` to
	`tioctl_tiocmods`.

	Fix gcc warning
	* term/users.c (trivfs_S_io_read): Add parentheses to make expression
	evaluation priority clear.

	Fix S_tioctl_tiocsetd returning errors
	* term/users.c (S_tioctl_tiocsetd): Properly return `err`.

	Fix test for term open mode
	* term/users.c (S_term_open_ctty): Properly test for `openmodes` containing
	at least O_READ or O_WRITE.

	Fix gcc warning
	* exec/hostarch.c (elf_machine_matches_host): Cast `&hostinfo` into
	host_info_t instead of natural_t *.

	Fix gcc warning
	* libfshelp/fshelp.h (fshelp_set_options): Make `argp` pointer const.
	* libfshelp/set-options.c (fshelp_set_options): Likewise.
	* doc/hurd.texi (fshelp_set_options): Likewise.

	Fix gcc warning
	* libpipe/pipe.c: Include <stdlib.h>

	Fix ENOMEM handling in *_make_peropen
	* libdiskfs/peropen-make.c (diskfs_make_peropen): Move `strdup` before port
	reference modifications, to fix abortion.
	* libnetfs/make-peropen.c (netfs_make_peropen): Check for `malloc` failure.
	Move `strdup` before port reference modifications, to fix abortion.

	Fix gcc warning:
	* libps/write.c (noise_write): Make `t` parameter a char * instead of
	unsigned char *.

	Fix gcc warning
	* libtrivfs/io-restrict-auth.c (listmember): Use uid_t type instead of int.
	(trivfs_S_io_restrict_auth): Make `i` variable an unsigned int, like the `num`
	field it is compared with

2013-09-19  Justus Winter  <4winter@informatik.uni-hamburg.de>

	hurd: add _reply suffix to the routines in fsys_reply.defs
	* hurd/fsys_reply.defs: Add _reply suffix.

	hurd: add _reply suffix to the routines in process_reply.defs
	* hurd/process_reply.defs: Add _reply suffix.

2013-09-19  Justus Winter  <4winter@informatik.uni-hamburg.de>

	sutils: set up /dev/null using /bin/nullpriv in MAKEDEV.sh
	This patch makes MAKEDEV.sh use the /bin/nullpriv wrapper so that the
	storeio translator serving /dev/zero is started without any unix
	privileges.

	* sutils/MAKEDEV.sh (mkdev): Use /bin/nullpriv for /dev/zero.

2013-09-19  Justus Winter  <4winter@informatik.uni-hamburg.de>

	daemons: make sure / is writable before setting up pflocal
	runsystem.sh checks whether /servers/socket/1 exists and creates it
	using settrans -c if it does not. But at this point in the boot the
	root filesystem is normally not writable. This patch fixes this.

	* daemons/runsystem.sh: Make sure / is writable before attempting to
	  set up pflocal.

2013-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix cursor size
	The VGA card might have a bogus cursor end value, so better always write a
	value in there.

	* console-client/vga-dynafont.c (dynafont_set_cursor): Always pass height -
	1 as end parameter for vga_set_cursor_size.

2013-09-17  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Remove UFS support
	It has been unused/untested/unmaintained for a decade now, and its
	4-clause BSD licence poses problem.

	* configure.ac (default_static): Remove ufs.
	* Makefile (prog-subdirs): Remove ufs, ufs-fsck and ufs-utils.
	* NEWS, TODO: doc/hurd.texi, doc/navigating: Remove UFS notes.
	* ufs: Remove directory
	* ufs-fsck: Remove directory
	* ufs-utils: Remove directory
	* bsdfsck: Remove directory

2013-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>

	Add match-options to utils sources
	* utils/Makefile (SRCS): Add match-options.c

2013-09-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Use fsys_get_children from libc
	* trans/Makefile (OBJS): Remove fsysUser.o.

	Add missing include
	* libfshelp/translator-list.c: Include <libgen.h> to get `dirname' prototype.

2013-09-16  Richard Braun  <rbraun@sceen.net>

	Large store support for ext2fs
	This is a revised version of the large store patch for ext2fs, written
	by Ognyan Kulev. It provides support for stores larger than 2 GiB.

	* ext2fs/balloc.c: Use the new disk_cache_block_ref and disk_cache_block_deref
	functions to access blocks from the disk cache.
	* ext2fs/ext2fs.c (main): Update initialization call to pokel_init, and
	call map_hypermetadata instead of get_hypermetadata.
	* ext2fs/ext2fs.h: Include <hurd/store.h> and <hurd/ihash.h>.
	(DISK_CACHE_BLOCKS): New macro.
	(DC_INCORE): Likewise.
	(DC_UNTOUCHED): Likewise.
	(DC_FIXED): Likewise.
	(DC_DONT_REUSE): Likewise.
	(DC_NO_BLOCK): Likewise.
	(DISK_CACHE_LAST_READ_XOR) [!NDEBUG]: Likewise.
	(struct disk_cache_info): New structure.
	(disk_cache): New external variable.
	(disk_cache_size): Likewise.
	(disk_cache_blocks): Likewise.
	(disk_cache_bptr): Likewise.
	(disk_cache_info): Likewise.
	(disk_cache_lock): Likewise.
	(disk_cache_reassociation): Likewise.
	(disk_cache_block_ref): New declaration.
	(disk_cache_block_ref_ptr): Likewise.
	(disk_cache_block_deref): Likewise.
	(disk_cache_block_is_ref): Likewise.
	(map_hypermetadata): Likewise.
	(trunc_block): Cast to off_t.
	(round_block): Likewise.
	(boffs): Likewise.
	(bptr_index): New macro.
	(boffs_ptr): Rewrite as an inline function to make it look up a block from
	the disk cache.
	(bptr_offs): Likewise.
	(dino): Remove function, replaced with ...
	(dino_ref): ... this one, which adds a reference to the inode block.
	(dino_deref): New inline function.
	(record_global_poke): Make sure block is referenced.
	(record_indir_poke): Likewise.
	(sync_global_ptr): Remove block reference, and adjust call to
	pager_sync_some.
	(sync_global): Add debug call to print wait parameter.
	* ext2fs/getblk.c: Use the new disk_cache_block_ref and disk_cache_block_deref
	functions to access blocks from the disk cache.
	* ext2fs/hyper.c (get_hypermetadata): Read the superblock from the store
	now that it's not directly mapped in memory. Move the initialization of
	zeroblock here from ...
	(map_hypermetadata): ... here. Also, set the superblock pointer.
	(diskfs_set_hypermetadata): Add a reference to the superblock.
	(diskfs_readonly_changed): Update call to mprotect.
	* ext2fs/ialloc.c: Use the new disk_cache_block_ref, disk_cache_block_ref_ptr
	and disk_cache_block_deref functions to access blocks from the disk cache.
	* ext2fs/inode.c: Update calls that used the disk image to use the disk cache,
	and use the new reference handling functions where appropriate.
	* ext2fs/pager.c: Include <unistd.h> and "../libpager/priv.h".
	(disk_image): Remove global variable.
	(disk_pager_read_page): Update cache information.
	(disk_pager_write_page): Likewise.
	(disk_pager_notify_evict): New function.
	(pager_notify_evict): Call disk_pager_notify_evict appropriately.
	(disk_cache): New global variable.
	(disk_cache_size): Likewise.
	(disk_cache_blocks): Likewise.
	(disk_cache_bptr): Likewise.
	(disk_cache_info): Likewise.
	(disk_cache_hint): Likewise.
	(disk_cache_lock): Likewise.
	(disk_cache_reassociation): Likewise.
	(disk_cache_init): New function.
	(disk_cache_return_unused): Likewise.
	(disk_cache_block_ref): Likewise.
	(disk_cache_block_ref_ptr): Likewise.
	(disk_cache_block_deref): Likewise.
	(disk_cache_block_is_ref): Likewise.
	(create_disk_pager): Update initialization of the disk pager.
	* ext2fs/pokel.c (pokel_add): Drop block references with disk_cache_block_deref.
	(_pokel_exec): Likewise.
	* ext2fs/truncate.c (trunc_indirect): Use the new disk_cache_block_ref and
	disk_cache_block_deref functions to access blocks from the disk cache.

2013-09-16  Richard Braun  <rbraun@sceen.net>

	Handle notification on page eviction
	If requested by the user, make libpager call pager_notify_evict when a page
	is flushed out by the kernel. Based on work by Ognyan Kulev.

	* console/pager.c (pager_notify_evict): New function.
	(user_pager_create): Update call to pager_create.
	* ext2fs/pager.c: (pager_notify_evict): New function.
	(create_disk_pager): Update call to diskfs_start_disk_pager.
	(diskfs_get_filemap): Update call to pager_create.
	* fatfs/pager.c: (pager_notify_evict): New function.
	(create_fat_pager): Update call to diskfs_start_disk_pager.
	(diskfs_get_filemap): Update call to pager_create.
	* isofs/pager.c: (pager_notify_evict): New function.
	(create_disk_pager): Update call to diskfs_start_disk_pager.
	(diskfs_get_filemap): Update call to pager_create.
	* libdiskfs/disk-pager.c (diskfs_start_disk_pager): Update definition and call
	to pager_create.
	* libdiskfs/diskfs-pager.h (diskfs_start_disk_pager): Update declaration.
	* libpager/data-request.c (_pager_seqnos_memory_object_data_request): Take
	pager's `notify_on_evict' member into account when calling
	memory_object_data_supply.
	* libpager/data-return.c (_pager_do_write_request): Handle user notification
	on page flush.
	* libpager/pager-create.c (pager_create): Update definition and set pager's
	`notify_on_evict' member.
	* libpager/pager.h (pager_create): Update declaration.
	(pager_notify_evict): New declaration.
	* libpager/priv.h (struct pager): New `notify_on_evict' member.
	* storeio/pager.c: (pager_notify_evict): New function.
	(dev_get_memory_object): Update call to pager_create.
	* tmpfs/pager-stubs.c (pager_notify_evict): New function.
	* ufs/pager.c (pager_notify_evict): New function.
	(create_disk_pager): Update call to diskfs_start_disk_pager.
	(diskfs_get_filemap): Update call to pager_create.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	exec: remove support for transparently ungziping executables
	Remove support for transparently ungziping executables from the exec
	server. The code in question makes the exec server unnecessarily
	complex and since the exec server is an essential process, crashing it
	makes /hurd/init crash the whole system.

	Since the gzip code is not thread-safe, all access to it is
	serialized, so there is a trivial way for one user to delay another
	users gzipped executables for some unspecified time.

	This can be accomplished by padding any program with easily compressed
	data, zipping it and executing it. Using such a program as an passive
	translator and then triggering its execution by the filesystem
	translator also stalls any requests to that filesystem (observed using
	the libdiskfs-based ext2fs).

	Since compressed executables cannot be mapped into the memory, they
	have to be uncompressed into allocated memory first. This is slower
	and any user with access to the exec server can make it allocate
	arbitrary amounts of memory. If the Hurd had proper memory accounting,
	this would probably be a way around it.

	So the compression support in exec seemingly creates various issues
	for little value, at least with the abundance of nonvolatile memory
	available today.

	* exec/Makefile: Remove gzip related files.
	* exec/exec.c: Remove anything #ifdef GZIPped.
	* exec/unzip.c: Move to libstore.
	* exec/crypt.h: Likewise.
	* exec/gzip.h: Likewise.
	* exec/inflate.c: Likewise.
	* exec/tailor.h: Likewise.
	* exec/util.c: Likewise.
	* libstore/Makefile: Remove the vpath magic for looking up the zip
	  stuff.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	exec: remove support for transparently unbzip2ing executables
	Remove support for transparently unbzip2ing executables from the exec
	server. The code in question makes the exec server unnecessarily
	complex and since the exec server is an essential process, crashing it
	makes /hurd/init crash the whole system.

	Since the bzip2 code is not thread-safe, all access to it is
	serialized, so there is a trivial way for one user to delay another
	users bzip2ed executables for some unspecified time.

	This can be accomplished by padding any program with easily compressed
	data, zipping it and executing it. Using such a program as an passive
	translator and then triggering its execution by the filesystem
	translator also stalls any requests to that filesystem (observed using
	the libdiskfs-based ext2fs).

	Since compressed executables cannot be mapped into the memory, they
	have to be uncompressed into allocated memory first. This is slower
	and any user with access to the exec server can make it allocate
	arbitrary amounts of memory. If the Hurd had proper memory accounting,
	this would probably be a way around it.

	So the compression support in exec seemingly creates various issues
	for little value, at least with the abundance of nonvolatile memory
	available today.

	* exec/Makefile: Remove bzip2 related files.
	* exec/exec.c: Remove anything #ifdef BZIP2ed.
	* exec/do-bunzip2.c: Move to libstore.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	trans: add mtab translator
	The mtab translator provides an mtab file that is dynamically created
	on demand. It is populated with information about active translators
	bound below the given path that is accumulated by traversing the
	translator tree. It can also be invoked as normal program that prints
	the requested information to stdout.

	* trans/mtab.c: New file.
	* trans/Makefile: Build mtab.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	hurd: add fsys_get_source
	Return information about the source of the receiving filesystem.
	If the concept of a source is applicable, SOURCE should refer to
	the source of the receiving translator and should be a description
	considered appropriate in the context of the translator.  For
	example for the case of block device based filesystems, SOURCE
	should be the file name of the underlying block device.

	* hurd/fsys.defs: Add fsys_get_source.
	* hurd/fsys_reply.defs: Add fsys_get_source.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	trans/symlink.c: add fsys_get_source
	Create a server function returning EOPNOTSUPP.

	* trans/symlink.c (S_fsys_get_source): New function.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libtrivfs: add fsys_get_source
	* libtrivfs/Makefile: Add fsys-get-source.c and get-source.c
	* libtrivfs/trivfs.h: Add trivfs_get_source.
	* libtrivfs/fsys-get-source.c: New file.
	* libtrivfs/get-source.c: Likewise.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libnetfs: add fsys_get_source
	Add a user overridable function netfs_get_source with a default
	implementation returning EOPNOTSUPP. Add a server function for
	fsys-get-source.

	* libnetfs/Makefile: Add fsys-get-source.c and get-source.c
	* libnetfs/netfs.h: Add netfs_get_source.
	* libnetfs/fsys-get-source.c: New file.
	* libnetfs/get-source.c: Likewise.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libdiskfs: add fsys_get_source
	Add a user overridable function diskfs_get_source with a default
	implementation returning EOPNOTSUPP. Add a server function for
	fsys-get-source.

	* libdiskfs/Makefile: Add fsys-get-source.c and get-source.c
	* libdiskfs/diskfs.h: Add diskfs_get_source.
	* libdiskfs/fsys-get-source.c: New file.
	* libdiskfs/get-source.c: Likewise.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	hurd: add fsys_get_children
	fsys_get_children returns any active translators bound to nodes of the
	receiving filesystem as an argz vector containing file names relative
	to the root of the receiving translator.

	* hurd/fsys.defs: Add fsys_get_children.
	* hurd/fsys_reply.defs: Add fsys_get_children.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	trans/symlink.c: add fsys_get_children
	Create a server function returning EOPNOTSUPP.

	* trans/symlink.c (S_fsys_get_children): New function.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libtrivfs: add fsys_get_children
	Create a server function returning EOPNOTSUPP.

	* libtrivfs/fsys-get-children.c: New file.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libnetfs: add fsys_get_children
	Keep track of active translators and handle fsys_get_children
	requests.

	* libnetfs/Makefile (FSYSSRCS): Add fsys-get-children.c.
	* libnetfs/dead-name.c (ports_dead_name): Remove dead translators.
	* libnetfs/file-set-translator.c (netfs_S_file_set_translator): Register
	  active translators.
	* libnetfs/fsys-get-children.c: New file.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libdiskfs: add fsys_get_children
	Keep track of active translators and handle fsys_get_children
	requests.

	* libdiskfs/Makefile (FSYSSRCS): Add fsys-get-children.c.
	* libdiskfs/dead-name.c (ports_dead_name): Remove dead translators.
	* libdiskfs/file-set-trans.c (diskfs_S_file_set_translator): Register
	  active translators.
	* libdiskfs/fsys-get-children.c: New file.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libfshelp: add translator-list.c
	Add functions that maintain a list of active translators.

	* libfshelp/translator-list.c: New file.
	* libfshelp/fshelp.h: Add function declarations.
	* libfshelp/Makefile: Add translator-list.c, link against libihash.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libnetfs: track file name in struct peropen
	Track the relative path used to obtain a file handle in the
	struct peropen.

	* libnetfs/netfs.h (struct peropen): New field path.
	* libnetfs/make-peropen.c (netfs_make_peropen): Initialize path.
	* libnetfs/release-peropen.c (netfs_release_peropen): Free path.
	* libnetfs/fsys-getroot.c (netfs_S_fsys_getroot): Initialize path.
	* libnetfs/dir-lookup.c (netfs_S_dir_lookup): Preserve the path.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libdiskfs: track file name in struct peropen
	Track the relative path used to obtain a file handle in the
	struct peropen.

	* libdiskfs/diskfs.h (struct peropen): New field path.
	* libdiskfs/peropen-make.c (diskfs_make_peropen): Initialize path.
	* libdiskfs/peropen-rele.c (diskfs_release_peropen): Free path.
	* libdiskfs/fsys-getroot.c (diskfs_S_fsys_getroot): Initialize path.
	* libdiskfs/dir-lookup.c (diskfs_S_dir_lookup): Preserve the path.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libihash: add HURD_IHASH_ITERATE_ITEMS macro
	Add a macro HURD_IHASH_ITERATE_ITEMS that iterates over all elements
	in the hash table making both the key and the value available.

	* libihash/ihash.h (HURD_IHASH_ITERATE_ITEMS): New macro.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	proc: Remove unused declaration of zombie_list
	* proc/proc.h (zombie_list): Remove declaration.

	proc: remove unused file exc-reply.defs
	* proc/exc-reply.defs: Delete file.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	exec: keep track of the range where executable segments are mapped
	Keep track of the range where executable segments are mapped into
	memory and hand that information over to the proc server.

	* exec/priv.h (struct execdata): Add {start,end}_code.
	* exec/exec.c (prepare): Initialize {start,end}_code.
	(load_section): Update {start,end}_code.
	(do_exec): Use proc_set_code to hand {start,end}_code to the proc server.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	hurd: add proc_{get,set}_code
	Add routines to set and query the processes start_code and end_code
	locations. Any executable segments loaded from the ELF binary are in
	this range.

	* hurd/process.defs: Add proc_{get,set}_code.
	* hurd/process_reply.defs: Add proc_{get,set}_code.
	* hurd/process_request.defs: Add proc_{get,set}_code_request.

2013-09-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	proc: keep track of {start,end}_code
	Any executable segments loaded from the ELF binary are in this range.

	* proc/proc.h (struct proc): Add {start,end}_code.
	* proc/mgt.h (S_proc_set_code): New function.
	* proc/mgt.h (S_proc_get_code): New function.

2013-09-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix variable names
	* utils/Makefile (mount-LDLIBS): Define to libblkid_LIBS instead of
	libblkid-LIBS
	(mount-CPPFLAGS): Likewise.

2013-09-09  Justus Winter  <4winter@informatik.uni-hamburg.de>

	mount: handle -t auto
	Use libblkid to detect the filesystem type if "auto" is given as
	type. Remove the translator localization from main, this is also done
	in do_mount and any errors are propagated properly. This way "auto" is
	handled correctly if given on the command line or used as filesystem
	type in the fstab.

	* configure.ac: Add check for libblkid.
	* config.make.in: Make libblkid specific values available.
	* utils/Makefile: Use libblkid specific values.
	* utils/mount.c (DEFAULT_FSTYPE): Use "auto" as default type.
	(do_mount): Detect type using libblkid.
	(main): Drop translator localization.

2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix build
	* utils/umount.c: Do not include useless <blkid/blkid.h>.

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	trans: register symlink translators as important
	Register any symlink translators running as root as important
	processes at the proc server.

	* trans/symlink.c (main): Mark us as important.

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	mach-defpager: register mach-defpager translators as important
	Register any mach-defpager translators running as root as
	important processes at the proc server.

	* mach-defpager/main.c (main): Mark us as important.

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libtrivfs: register libtrivfs-based translators as important
	Register libtrivfs-based translators running as root as important
	processes at the proc server.

	* libtrivfs/startup.c (trivfs_startup): Mark us as important.

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libnetfs: register libnetfs-based translators as important
	Register libnetfs-based translators running as root as important
	processes at the proc server.

	* libnetfs/init-startup.c (netfs_startup): Mark us as important.

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libdiskfs: register libdiskfs-based translators as important
	Register libdiskfs-based translators running as root as important
	processes at the proc server.

	* libdiskfs/init-startup.c (_diskfs_init_completed): Mark us as important.

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	init: Mark all of inits children and init itself as important
	This is based on a fragment of Guillem Jovers patch presented here:

	http://lists.gnu.org/archive/html/bug-hurd/2006-02/msg00081.html

	It has been refreshed, updated and the copyright year is adjusted
	properly. It has been complemented with the necessary features to
	address the issues the original patch set out to address, namely
	that killall5 freezes the proc translator before it tries to walk
	over /proc/*/stat to decide which process to kill. Prior to this
	patch (and the one marking the procfs server as important
	process), killall5 would deadlock trying to walk over the proc
	file system.

	Ironically it would not have killed any process later on even if
	it had the chance, since two values obtained from /proc/*/stat
	are currently hardcoded to zero in our procfs. Patches addressing
	the problem as a whole are prepared and will be sent as a follow
	up.

	* init/init.c (launch_core_servers): Mark init, auth, proc and fs
	  servers as important.
	(start_child): Mark the real init as important.
	(S_startup_important_task): Mark exec server as important.

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	hurd: add proc_mark_important
	This is based on a fragment of Guillem Jovers patch presented here:

	http://lists.gnu.org/archive/html/bug-hurd/2006-02/msg00081.html

	It has been refreshed, updated and the copyright year is adjusted
	properly. It has been complemented with the necessary features to
	address the issues the original patch set out to address, namely
	that killall5 freezes the proc translator before it tries to walk
	over /proc/*/stat to decide which process to kill. Prior to this
	patch (and the one marking the procfs server as important
	process), killall5 would deadlock trying to walk over the proc
	file system.

	Ironically it would not have killed any process later on even if
	it had the chance, since two values obtained from /proc/*/stat
	are currently hardcoded to zero in our procfs. Patches addressing
	the problem as a whole are prepared and will be sent as a follow
	up.

	* hurd/process.defs (proc_mark_important): New routine definitions.
	* hurd/process_reply.defs (proc_mark_important_request): Likewise.
	* hurd/process_request.defs (proc_mark_important_request): Likewise.

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	proc: add proc_mark_important server code
	This is based on a fragment of Guillem Jovers patch presented here:

	http://lists.gnu.org/archive/html/bug-hurd/2006-02/msg00081.html

	It has been refreshed, updated and the copyright year is adjusted
	properly. It has been complemented with the necessary features to
	address the issues the original patch set out to address, namely
	that killall5 freezes the proc translator before it tries to walk
	over /proc/*/stat to decide which process to kill. Prior to this
	patch (and the one marking the procfs server as important
	process), killall5 would deadlock trying to walk over the proc
	file system.

	Ironically it would not have killed any process later on even if
	it had the chance, since two values obtained from /proc/*/stat
	are currently hardcoded to zero in our procfs. Patches addressing
	the problem as a whole are prepared and will be sent as a follow
	up.

	* proc/proc.h (struct proc): Add p_important field.
	* proc/pgrp.c (S_proc_getpgrppids): Exclude important system processes.
	(S_proc_mark_important): New function.
	* proc/mgt.c (create_startup_proc): Mark init as important.

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	proc: make the function check_owner available
	Make the function check_owner available for use in other files.

	* proc/info.c (check_owner): Drop attributes static and inline.
	* proc/proc.h (check_owner): Add prototype.

2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Reserve RPC ID for proc_set_init_task
	* hurd/process.defs: Reserve RPC ID for proc_set_init_task.
	* hurd/process_reply.defs: Likewise.
	* hurd/process_request.defs: Likewise.

	Merge branch 'master-merge'

	Merge branch 'master-merge2' into master-merge

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	umount: add a umount utility
	This adds a umount utility that implements most of the functions that
	the Linux umount utility provides, especially that subset that is used
	by the Debian package initscripts.

	* utils/umount.c: New file.

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libnetfs: handle dead-name notifications
	Handle dead-name notifications the same way libdiskfs does. In fact,
	dead-name.c is a verbatim copy with trivial modifications. It clears
	np->sockaddr if the dead name notification was for that port.

	* libnetfs/dead-name.c: New file.
	* libnetfs/Makefile (OTHERSRCS): Add dead-name.c.

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libnetfs: implement file_get_translator_cntl
	This is a trivially adapted version of libdiskfs/file-get-transcntl.c.

	* libnetfs/file-get-transcntl.c: New file.

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	daemons: fix setsid(2) in console-run
	Only run setsid(2) if the process is not already the group leader.

	* daemons/console-run.c (open_console): Fix setsid(2).

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	hurd: add missing routines in process_reply.defs
	Add the appropriate simpleroutine or skip directives to
	hurd/process_reply.defs matching the ones in hurd/process.defs.

	* hurd/process_reply.defs: Add missing routine declarations.

2013-08-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	exec: remove the BFD code
	This commit removes the parts of the exec server that were once using
	the Binary File Descriptor library.

	As I understand it, the BFD code stopped working because it uses stdio
	streams and the glue code for that has never been ported to libio. The
	code has been #ifdefed out ever since. It may or may not work in its
	current state, so it is removed. If someone is interested, it can
	always be recovered from the version control system.

	* exec/exec.c: Remove all BFD related code.
	* exec/priv.h: Likewise.
	* TODO: Remove the corresponding item.

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	exec: Remove #ifdef 0-out code for user specified exec servers.
	This code was meant to allow the user to specify alternative exec
	servers using an environment variable. The Hurd uses the file system
	as namespace for server lookups, so the proper way to use one's own
	exec server seems to be the remap translator.

	* exec/exec.c (S_exec_exec): Remove unused code.

2013-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Do not build gzip/bzip2 support
	* exec/Makefile (SRCS): Remove gzip and bzip2 sources.
	(OBJS): Remove gzip and bzip2 objects.

	Disable transparent gzip/bzip2 decompression
	* exec/Makefile (CPPFLAGS): Do not define GZIP and BZIP2 macros.

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	utils: add nullauth utility
	nullauth drops all authentication credentials and runs the given
	program. This is also useful to drop privileges on behalf of
	translators that do not need any credentials in some circumstances,
	e.g.

	  % settrans -ap /hurd/nullauth -- /hurd/storeio -Tzero

	makes storeio run without any credentials.

	* utils/nullauth.c: New file.
	* utils/Makefile: Build nullauth.

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	tmpfs: drop privileges in the tmpfs translator
	* tmpfs/tmpfs.c (main): Drop privileges.

	trans: drop privileges in the null translator
	* trans/null.c (main): Drop privileges.

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libshouldbeinlibc: Add nullauth.{c,h}
	setnullauth () obtains an empty authentication handle and uses it for
	further authentication purposes.  This effectively drops all Unix
	privileges.

	* libshouldbeinlibc/nullauth.c: New file.
	* libshouldbeinlibc/nullauth.h: Likewise.
	* libshouldbeinlibc/Makefile: Add nullauth.{c,h}.

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	console-client: add daemonizing support
	This patch adds daemonizing support using libdaemon.

	* console-client/console.c (daemonize): New variable.
	(options): Add --daemonize argument.
	(parse_opt): Handle --daemonize argument.
	(daemon_error): New error(3) like macro.
	(main): Daemonize.
	* console-client/Makefile: Use libdaemon specific build flags.

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	Add configure checks for libdaemon
	* configure.ac: Add check for libdaemon.
	* config.make.in: Make the libdaemon specific variables available.

	Define and use symbolic names for important processes
	* include/pids.h: New file.
	* init/init.c (frob_kernel_process): Use symbolic name for kernel process.
	* exec/exec.c (S_exec_init): Use symbolic name for startup process.
	* libdiskfs/boot-start.c (diskfs_S_fsys_init): Likewise.
	* libdiskfs/init-startup.c (_diskfs_init_completed): Likewise.
	* pfinet/main.c (arrange_shutdown_notification): Likewise.
	* proc/mgt.c (create_startup_proc): Likewise.
	* proc/main.c (main): Use symbolic name for proc process.

2013-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Optimize translator string copy
	* libnetfs/file-get-translator.c (netfs_S_file_get_translator): Call memcpy
	instead of memmove.

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libnetfs: properly respond to file_get_translator requests
	Properly respond to file_get_translator requests for nodes with a
	passive translator record.

	* libnetfs/file-get-translator.c (netfs_S_file_get_translator): Handle
	  passive translator records.

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	umount: add a umount utility
	This adds a umount utility that implements most of the functions that
	the Linux umount utility provides, especially that subset that is used
	by the Debian package initscripts.

	* utils/umount.c: New file.

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	sutils: fix the semantic of -t, --types in fstab.c
	The mount utility on both Linux and FreeBSD allows one to either
	specify a whitelist or a blacklist of filesystem types to consider for
	--all. Prefixing the list with "no" indicates that the list is a
	blacklist. Furthermore, Linux' mount utility ignores a "no" prefix on
	any entry in the given list.

	Previously the Hurd variant first applied whitelist containing all
	positive values given and then filtered the resulting list using all
	negative values. But this makes little sense because each entry only
	has one value for the filesystem type (mnt_type) and all values are
	mutually exclusive.

	This patch adjusts the fstab handling code so that our mount utility
	behaves like the Linux mount utility. This code is used by both mount
	and fsck. The same argumentation applies to fsck as well.

	Like implemented in Linux mount, any "no" prefix is ignored to retain
	compatibility with the old behavior.

	* sutils/fstab.c (fstab_argp_create): Fix semantic of --types.

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	sutils: allow multiple entries for the device "none"
	Previously it was not possible to add two mount entries with the same
	device information to an fstab structure. This is easily fixed by
	breaking the assumption, that there is only one possible mount entry
	for the "none" device as used by many purely virtual file systems.

	* utils/fstab.c (fstab_find_device): Return NULL if name is "none".

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	mount: ignore mounted filesystems if --all is given
	Linux' mount utility ignores mounted filesystems if mount --all is
	invoked. This patch makes our mount do the same.

	utils/mount.c (main): Ignore mounted filesystems if --all is given.

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	mount: implement -O, --test-opts
	--test-opts in combination with --all mounts only those filesystems
	with options matching the given set of options.

	Note that the semantic of the inverting "no" prefix differs from
	--types: While --types=nonfs,ufs means neither nfs nor ufs,
	--test-opts=nofoo,bar means not foo, but bar.

	* utils/match-options.h: New file.
	* utils/match-options.c: Likewise.
	(test_opts): New variable.
	(test_opts_len): Likewise.
	(match_options): New function.
	* utils/mount.c (parse_opt): Handle -O, --test-opts.
	(main): Use match_options as filter.

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	mount: add -f and --fake arguments
	Add -f and --fake arguments. This makes our mount more compatible with
	Linux mount.

	* utils/mount.c (argp_opts): Add -f and --fake.
	(do_mount): Fake the translator startup if --fake is given.

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	mount: fix mount -oremount with one parameter
	This fixes mount -oremount when just given the mountpoint, e. g.:

	 % mount -oremount,ro /tmp

	* util/mount.c (main): Add a one-argument form for remount.

2013-08-28  Justus Winter  <4winter@informatik.uni-hamburg.de>

	mount: add -n and --no-mtab arguments
	Add -n and --no-mtab arguments. As we do not write an mtab file, this
	is a trivial patch that just ignores this argument to be more
	compatible with Linux mount.

	* utils/mount.c (argp_opts): Add -n and --no-mtab.
	(parse_opt): Do nothing on 'n'.

2013-08-25  Justus Winter  <4winter@informatik.uni-hamburg.de>

	utils: escape arguments in remap.sh
	remap.sh uses /bin/sh to first change the working directory and then
	execute the given program in the remap context. But the arguments
	given on the command line were not properly escaped:

	% '/bin/sh' '-c' 'echo $0'
	/bin/sh
	% remap '/bin/sh' '-c' 'echo $0'
	<empty line>
	% remap-fixed '/bin/sh' '-c' 'echo $0'
	/bin/sh

	* utils/remap.sh: Escape arguments handed to /bin/sh so that they are
	  not evaluated prematurely.

2013-08-25  Justus Winter  <4winter@informatik.uni-hamburg.de>

	utils: escape arguments in fakeroot.sh
	fakeroot.sh uses /bin/sh to first change the working directory and
	then execute the given program in the fakeroot context. But the
	arguments given on the command line were not properly escaped:

	% '/bin/sh' '-c' 'echo $0'
	/bin/sh
	% fakeroot-tcp '/bin/sh' '-c' 'echo $0'
	/bin/sh
	% fakeroot-hurd '/bin/sh' '-c' 'echo $0'
	<empty line>
	% fakeroot-hurd-fixed '/bin/sh' '-c' 'echo $0'
	/bin/sh

	* utils/fakeroot.sh: Escape arguments handed to /bin/sh so that they
	  are not evaluated prematurely.

2013-08-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix polling pfinet tun for write
	* pfinet/tunnel.c (io_select_common): Also handle `SELECT_WRITE' case.

2013-08-16  David Michael  <fedora.dm0@gmail.com>

	config.make: Use more configure settings when building xkb-data
	* config.make.in (datarootdir,LEX,YACC): New variables.
	* configure.ac (XKB_BASE): Drop extraneous "/share" from path.
	* configure.ac: Reset pkg-config status between tests.

2013-07-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	pfinet: Fix call to kfree_s
	kfree_s expects a pointer and a size argument. Currently the
	sizeof(cache) is used as size argument, this is certainly not what was
	intented.

	For reference, this code was present in Linux up to version 2.3.14 and
	was replaced in 2.3.15.

	Found using coccinelle and
	https://raw.github.com/coccinelle/coccinellery/master/sz/sz.cocci.

	* pfinet/linux-src/net/ipv4/ipmr.c (ipmr_cache_delete): Fix kfree_s call.

2013-07-19  Justus Winter  <4winter@informatik.uni-hamburg.de>

	Fix error handling macro E
	Previously the macro argument err was expanded and thus potentially
	evaluated multiple times. This is fine for simple values or pure
	functions, but not for say iohelp_create_iouser. Fix this by
	evaluating the macro argument only once.

2013-07-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libnetfs: fix consistency check
	passive is not a zero terminated string but a char * combined with a
	length. If passivelen == 0, passive may very well be not NULL, and
	dereferencing that pointer might not be safe. At the very least the
	consistency check is wrong. Fix that by checking passivelen instead of
	passive.

	* libnetfs/file-set-trans.c (netfs_S_file_set_translator): Fix sanity check.

2013-07-15  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libdiskfs: fix consistency check
	passive is not a zero terminated string but a char * combined with a
	length. If passivelen == 0, passive may very well be not NULL, and
	dereferencing that pointer might not be safe. At the very least the
	consistency check is wrong. Fix that by checking passivelen instead of
	passive.

	* libdiskfs/file-set-trans.c (diskfs_S_file_set_translator): Fix sanity check.

2013-07-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix directory rename in firmlinked directory
	checkpath browses directories up to look against renaming a directory into
	itself. It used to assume being able to stop at the root of the filesystem.  But
	some per-opens have a shadow_root, where recursion has to stop too.

	This means checkpath does not check up to the root any more. This is fine, since
	we already prevent cross-shadow-root renames very early in dir-rename.c, we
	do not need to check outside of this shadow root.

	* libdiskfs/dir-renamed.c (checkpath): Also stop at the per-open shadow_root.

2013-07-06  Justus Winter  <4winter@informatik.uni-hamburg.de>

	swapon: add -v, --verbose argument
	This patch adds a --verbose argument to swapon and swapoff to make it
	more compatible with the corresponding Linux' utilities. Note that our
	swapon is verbose by default and has a --quiet argument to make it
	quiet, so a --verbose argument on it's own does nothing at all.

	* sutils/swapon.c (main): Handle -v argument.

2013-07-05  Justus Winter  <4winter@informatik.uni-hamburg.de>

	libfshelp: add missing import
	Add missing import of alloca.h.

	* libfshelp/set-options.c: Add missing import.

2013-07-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

2013-07-02  Justus Winter  <4winter@informatik.uni-hamburg.de>

	sutils: fix a compiler warning
	Fix a compiler warning by dropping the const qualifier. It is not
	appropriate to qualify pointers to dynamically allocated memory as
	const.

	* sutils/fstab.c (real_name): Drop const qualifier.

2013-07-01  Pino Toscano  <toscano.pino@tiscali.it>

	swapon: add -e/--ifexists option
	Add the same command line option as in util-linux' swapon to not
	consider an error if the device/file of a swap entry in fstab does not
	exist (and not when activating a device specified as argument to
	`swapon').

	* sutils/swapon.c (ifexists): New variable.
	(options): Add the 'e' option.
	(parse_opt) <'e'>: Handle case.
	(swaponoff): New argument skipnotexisting.
	Return 0 if open_store fails with ENOENT and SKIPNOTEXISTING is on.
	(main): Adapt swaponoff calls with 0 as parameter for command line
	arguments, and IFEXISTS for swap entries from fstab.

2013-06-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	tmpfs: fix parsing of fsys_set_options requests
	Formerly setting the options using fsys_set_options did not work
	because runtime_argp.options was set to 0. This fixes "remounting" of
	tmpfs translators.

	* tmpfs/tmpfs.c (runtime_argp): Use options as option list.

2013-06-29  Justus Winter  <4winter@informatik.uni-hamburg.de>

	sutils: fix file_name_lookup_carefully
	file_name_lookup_carefully is like file_name_lookup but tries hard to
	avoid starting any passive translators while doing the lookup. The
	callback contains code to get a new handle to the root if it
	encounters a translator, but this code was not being executed if the
	node had no record of an passive translator, just an active one.

	Fix the callback by dropping the test for a passive translator. AIUI
	the current check for a passive translator makes no sense, as the code
	is supposed to fail on encountering a passive translator.

	This fixes lookups inside translators that have no passive
	translator. For example if /run is a tmpfs started only as active
	translator, touch /run/lock && mount tmpfs -t tmpfs /run/lock -o
	size=5M would fail.

	* sutils/clookup.c (lookup): Drop the test for an passive translator.

2013-06-02  Miguel Figueiredo  <elmig@debianpt.org>

	Remove unused variable
	* utils/x.c (main): Remove unused variable.

	Remove unused variable
	* mach-defpager/default-pager.c : Remove unused variable.

2013-06-01  Miguel Figueiredo  <elmig@debianpt.org>

	Remove unsused variables
	* libthreads/cprocs.c : Remove unsused variables.

	Add missing break
	* libcons/vcons-move-mouse.c (cons_vcons_move_mouse): Add missing break.

	Fix invalid memory access
	* init/init.c (start_child): Don't free `arg' before it is used.

	Remove unused variable
	* exec/exec.c (check_section): Remove unused variable.

	Fix descriptor leak
	* console-client/xkb/compose.c (read_composefile): Always fclose `fc'.

2013-06-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

2013-06-01  Miguel Figueiredo  <elmig@debianpt.org>

	Remove unused variable
	* console-client/trans.c (console_setup_node): Remove unused variable.

2013-05-31  Richard Braun  <rbraun@sceen.net>

	Reset task priority when spawning a passive translator
	Server threads spawned by libports attempt to adjust their priority and
	succeed when the server is privileged. This priority is currently
	inherited by child tasks, which could be passive translators owned by
	unprivileged users. Reset the priority of the task used for translator
	instantiation.

	* libfshelp/start-translator-long.c (fshelp_start_translator_long): Set
	new task priority to 25 (BASEPRI_USER).

2013-05-30  Miguel Figueiredo  <elmig@debianpt.org>

	Remove unused variables
	* mach-defpager/kalloc.c (kalloc_init): remove unused variables

2013-05-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

	Do not compute debugging information by default
	* mach-defpager/kalloc.c (DEBUG): Do not define macro.

2013-05-22  Richard Braun  <rbraun@sceen.net>

	Fix some errors in the texinfo documentation
	* doc/gpl.texinfo: Replace @unnumbered with @node and @section commands.
	* doc/hurd.texi: Fix call to @setchapternewpage, remove the @node and
	@section commands that are now in gpl.texinfo, and remove an erroneous
	occurrence of 'attributes' before a command.

2013-05-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Revert "utils/vmstat: Use gnumach.defs from gnumach"
	This reverts commit 202339d49461ce6dcffd3a5b3690537daea5ef38.

2013-05-05  David Michael  <fedora.dm0@gmail.com>

	utils/vmstat: Use gnumach.defs from gnumach
	The gnumach installation provides the include file mach/gnumach.defs
	instead of mach/gnumach.h.  This runs the defs file through MIG and
	builds the result for vmstat.

	* utils/vmstat.c: Replace <mach/gnumach.h> with "gnumach_U.h".
	* utils/Makefile (vmstat): Add rule to depend on gnumach_U.o.
	* Makeconf (mach_defs_names): Add gnumach.

2013-05-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	SYMLOOP_MAX may be undefined under some build flags
	* libdiskfs/boot-start.c (diskfs_start_bootstrap): Use value returned by
	sysconf (_SC_SYMLOOP_MAX) instead of SYMLOOP_MAX.

2013-05-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

	Fix console hang on unknown key press
	* console-client/xkb/kstoucs.c (find_ucs): Remove middle value from
	recursive call range.

2013-04-06  Richard Braun  <rbraun@sceen.net>

	pfinet: fix timeout evaluation
	* pfinet/timer-emul.c (timer_function): Fix comparison between expire time
	and jiffies.

2013-03-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix tunnel and dummy interfaces
	* pfinet/linux-src/include/linux/netdevice.h (netdevice): Add `change_flags'
	field.
	* pfinet/ethernet.c (ethernet_change_flags): Make function static.
	(setup_ethernet_device): Set `change_flags' field of `dev' to
	ethernet_change_flags.
	* pfinet/linux-src/net/core/dev.c (dev_change_flags): Call `change_flags'
	field of `dev' if non-nul, instead of calling ethernet_change_flags.
	* pfinet/pfinet.h (ethernet_change_flags): Remove function prototype.

	Fix remap invocation
	* utils/remap.sh (REMAPPED): Default to empty.
	(while): Break as soon as there are no arguments any more. Do not break on
	mapping parameters

2013-03-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Update nasty/nice priority limit
	* libps/procstat.c (thread_state): Update nasty/nice limit to 25 instead of
	12.

	Fix libpthread conversion
	* pfinet/io-ops.c (io_select_common): Call pthread_mutex_unlock instead of
	__mutex_unlock.

2013-03-01  Pino Toscano  <toscano.pino@tiscali.it>

	rpctrace: implement -E
	Add a -E option to rpctrace, much like its strace's equivalent, to add/change/unset environment variables among the ones inherited by the process.

	Implements the savannah task #9331.

	* utils/rpctrace.c: Include <envz.h>.
	(options): Add the 'E' option.
	(parse_opt) <'E'>: Handle case.  Create ENVZ from ENVP, and change it according
	to ARG.
	(main): Create CMD_ENVP from ENVZ if not null, or assign ENVP to it.
	Pass CMD_ENVP to traced_spawn.

2013-02-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

2013-02-28  Richard Braun  <rbraun@sceen.net>

	Add io_select_timeout to the io interface
	This change fixes a problem that can occur with non-blocking (and also
	blocking for very short times) select/poll calls. The problem occurs because
	the timeout is implemented at the client side. For a non-blocking call, this
	means that (depending on the code path taken in the C library) the client
	could get a timeout without a full RPC round-trip to the server. Moving the
	implementation of the timeout to the servers guarantees a full round-trip,
	and correct results for non-blocking calls.

	The modifications in this change depend on the availability of the recently
	added pthread_hurd_cond_timedwait_np function in libpthread.

	* boot/boot.c (io_select_common): New static function.
	(S_io_select): Use io_select_common.
	(S_io_select_timeout): New function which makes use of io_select_common.
	* console-client/kbd-repeat.c (repeater_select): Add a timeout parameter.
	* console-client/pc-mouse.c (repeater_select): Likewise.
	* console-client/trans.c (io_select_common): New static function.
	(netfs_S_io_select): Use io_select_common.
	(netfs_S_io_select_timeout): New function which makes use of io_select_common.
	* console-client/trans.h (struct consnode): Add a timeout parameter.
	* hurd/io.defs (io_select_timeout): New MIG routine.
	* hurd/io_reply.defs (io_select_timeout_reply): New MIG simpleroutine.
	* hurd/io_request.defs (io_select_timeout_request): Likewise.
	* libdiskfs/io-select.c (diskfs_S_io_select_timeout): New function.
	* libnetfs/io-select.c (netfs_S_io_select_timeout): Likewise.
	* libpipe/pipe.c (pipe_pair_select): Add a timeout parameter.
	* libpipe/pipe.h (pipe_select_readable): Likewise.
	(pipe_select_writable): Likewise.
	(pipe_pair_select): Likewise.
	* libpipe/pq.h: Include <hurd/hurd_types.h>.
	* libtrivfs/io-select.c (trivfs_S_io_select_timeout): New function.
	* pfinet/glue-include/linux/sched.h: Include <errno.h>.
	(interruptible_sleep_on): Function removed, replaced with ...
	(interruptible_sleep_on_timeout): New function.
	(schedule): Update to use interruptible_sleep_on_timeout.
	(schedule_timeout): Likewise.
	* pfinet/io-ops.c (io_select_common): New static function.
	(S_io_select): Use io_select_common.
	(S_io_select_timeout): New function which makes use of io_select_common.
	* pfinet/tunnel.c (io_select_common): New static function.
	(trivfs_S_io_select): Use io_select_common.
	(trivfs_S_io_select_timeout): New function which makes use of io_select_common.
	* pflocal/connq.c (connq_listen): Replace noblock with a timeout parameter.
	* pflocal/connq.h: Include <hurd/hurd_types.h>.
	(connq_listen): Update declaration to replace noblock with a timeout parameter.
	* pflocal/io.c (io_select_common): New static function.
	(S_io_select): Use io_select_common.
	(S_io_select_timeout): New function which makes use of io_select_common.
	* pflocal/socket.c (S_socket_accept): Update call to connq_listen to match new
	declaration.
	* storeio/io.c (trivfs_S_io_select_timeout): New function.
	* term/ptyio.c (pty_io_select): Add a timeout parameter.
	* term/term.h (pty_io_select): Likewise.
	* term/users.c (io_select_common): New static function.
	(trivfs_S_io_select): Use io_select_common.
	(trivfs_S_io_select_timeout): New function which makes use of io_select_common.
	* trans/fifo.c (io_select_common): New static function.
	(trivfs_S_io_select): Use io_select_common.
	(trivfs_S_io_select_timeout): New function which makes use of io_select_common.
	* trans/firmlink.c (trivfs_S_io_select_timeout): New function.
	* trans/new-fifo.c (io_select_common): New static function.
	(trivfs_S_io_select): Use io_select_common.
	(trivfs_S_io_select_timeout): New function which makes use of io_select_common.
	* trans/null.c (trivfs_S_io_select_timeout): New function.
	* trans/streamio.c (io_select_common): New static function.
	(trivfs_S_io_select): Use io_select_common.
	(trivfs_S_io_select_timeout): New function which makes use of io_select_common.

2013-02-28  Richard Braun  <rbraun@sceen.net>

	Add the timespec_t Hurd type
	This type matches the standard struct timespec, and allows passing time
	values with nanosecond precision in RPCs.

	* hurd/hurd_types.defs (timespec_t): New MIG type.
	* hurd/hurd_types.h: Include <time.h>.
	(timespec_t): New C type, aliasing struct timespec.

2013-02-27  Pino Toscano  <toscano.pino@tiscali.it>

	hello-mt: fix pthread porting issue
	Properly use pthread_mutex_destroy as equivalent for cthreads' mutex_clear, instead of pthread_mutex_init.
	Issue kindly reported by Nick Lloyd, thanks!

	* trans/hello-mt.c (close_hook): Call pthread_mutex_destroy instead of
	pthread_mutex_init.

2013-02-26  Pino Toscano  <toscano.pino@tiscali.it>

	Replace configure.in with configure.ac
	* INSTALL: Replace configure.in with configure.ac
	* Makefile ($(top_srcdir)/configure): Likewise.

2013-02-26  Pino Toscano  <toscano.pino@tiscali.it>

	Update config.guess and config.sub
	Fetch newer versions of them from their upstream repository.

	* config.guess: Update from upstream config.git repository.
	* config.sub: Likewise.

2013-02-26  Pino Toscano  <toscano.pino@tiscali.it>

	Rename configure.in to configure.ac
	Newer autoconf versions will not support the "configure.in" naming anymore, only "configure.ac".

	* configure.in: Move file...
	* configure.ac: ... here.

2013-02-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

	Add remap translator
	* trans/remap.c: New file.
	* trans/Makefile (targets): Add remap.
	(SRCS): Add remap.c.
	(remap): Add rule.
	* utils/remap.sh: New script.
	* utils/Makefile (targets): Add remap.
	(special-targets): Add remap.
	(SRCS): Add remap.sh.
	* NEWS: Advertise new translator

2013-02-25  Pino Toscano  <toscano.pino@tiscali.it>

	Include <stdlib.h> or <mach.h> where needed
	cthreads.h includes both <stdlib.h> and <mach.h>, while pthreads.h does not;
	with the switch to pthreads, their lack causes prototype compilation warnings
	for malloc/calloc/free/abort, and mach_task_self/mach_reply_port/etc in few places.

	* console-client/vga-support.c: Include <stdlib.h>.
	* libiohelp/iouser-dup.c: Likewise.
	* libiohelp/iouser-free.c: Likewise.
	* libiohelp/iouser-reauth.c: Likewise.
	* libiohelp/return-buffer.c: Likewise.
	* libiohelp/shared.c: Likewise.
	* pflocal/connq.c: Likewise.
	* nfsd/cache.c: Include <mach.h>.

2013-02-24  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Always set flags on ethernet interface
	* pfinet/linux-src/net/core/dev.c (dev_change_flags): Call
	ethernet_change_flags.
	* pfinet/iioctl-ops.c (S_iioctl_siocsifflags): Do not call
	ethernet_change_flags after calling dev_change_flags.

	Fix IPv6 by receiving all multicast
	* pfinet/ethernet.c (setup_ethernet_device): Add IFF_ALLMULTI to dev->flags.

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

	Enable IPv6 packets between netdde and pfinet
	* pfinet/ethernet.c (bpf_ether_filter): Make rules more readable. Add rule
	to enable IPv6 frames.

2013-02-15  Richard Braun  <rbraun@sceen.net>

	Sync the io_request, io_reply and io interfaces
	* hurd/io_reply.defs (io_server_version_reply): New MIG simpleroutine.
	(io_pathconf_reply): Likewise.
	(io_identity_reply): Likewise.
	(io_revoke_reply): Likewise.
	* hurd/io_request.defs (io_select_request): Fix declaration.
	(io_pathconf_request): New MIG simpleroutine.
	(io_identity_request): Likewise.
	(io_revoke_request): Likewise.

2013-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix registers recording in core dump
	* exec/elfcore.c (fetch_thread_regset): Fix field shifting order to avoid
	losing register content.

2013-02-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Permit to use a tunnel not in /dev
	* pfinet/main.c (find_device): Use basename of NAME for the comparison
	against "tun" and "dummy".
	* pfinet/tunnel.c (setup_tunnel_device): Only prepend "/dev/" to tun name if
	the parameter is not a path.

2013-01-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix spurious port deallocation
	Replies are directly sent from client to actual server.

	* trans/fakeroot.c (netfs_demuxer): Return MIG_NO_REPLY, to notify server loop
	that no reply should be sent.

2013-01-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Do not warn about not raising priority of non-root translators
	* libports/manage-multithread.c (adjust_priority): Do not warn when raising the
	priority returns EPERM.

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

2013-01-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Add canonicalize option to hostmux
	Taking the canonical name makes very little sense nowadays with a lot of
	services behind the same IP but virtual hostnames.

	* hostmux/hostmux.h (hostmux): Add canonicalize field.
	* hostmux/hostmux.c (options, parse_opt): Add -C/--canonicalize option.
	* hostmux/mux.c (lookup_host): Only call getaddrinfo if canonicalize is
	true, pass NULL as HE to lookup_addrinfo otherwise.
	(lookup_addrinfo): When !HE, use name given by user.

2013-01-14  Richard Braun  <rbraun@sceen.net>

	Report VM cache statistics
	* utils/vmstat.c: Include <mach/gnumach.h> and <mach/vm_cache_statistics.h>.
	(vm_state): New `cache_stats` member.
	(vm_state_refresh): Call vm_cache_statistics.
	(_F): Adjust offset.
	(fields): Add entries for new statistics and adjust member names.

2013-01-14  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Pass pfinet errors to io_select callers
	This will be needed to properly support poll in glibc.

	* pfinet/glue-include/linux/poll.h (POLLERR): Define to 0x1000.
	* pfinet/io-ops.c (S_io_select): Look for POLLERR condition. On such
	condition, return EIO.

2013-01-14  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Use SOL_* values from libc
	* pfinet/glue-include/linux/socket.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): Define
	only if not defined by libc already.

2013-01-13  David Höppner  <0xffea@gmail.com>

	Add TASK_EVENTS_INFO support to libps
	* libps/procstat.c (merge_procinfo): Also copy taskevents.
	* libps/procstat.c (set_procinfo_flags): Set pointer to task_events_info.
	* tasks: Remove TASK_EVENTS_INFO item.

2013-01-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	[IPV6]: Add IPV6_V6ONLY socket option support.
	Cherry-picked from Linux 524354b4d086a4f013343d727eaccb7b4c39eb25

	* pfinet/glue-include/linux/ipv6.h: Include linux/config.h>
	(__ipv6_only_sock, ipv6_only_sock): New macros
	* pfinet/linux-src/include/linux/ipv6.h: Likewise.
	* pfinet/linux-src/include/linux/in6.h (IPV6_V6ONLY): New macro.
	* pfinet/linux-src/include/linux/sysctl.h (NET_IPV6_BINDV6ONLY): New macro.
	* pfinet/linux-src/include/net/ipv6.h (sysctl_ipv6_bindv6only): Declare
	variable.
	* pfinet/linux-src/include/net/sock.h (ipv6_pinfo): Add ipv6only field.
	* pfinet/linux-src/net/ipv4/tcp_ipv4.c: Include linux/ipv6.h.
	(tcp_v4_get_port, tcp_v4_lookup_listener): Test for ipv6_only_sock.
	* pfinet/linux-src/net/ipv4/udp.c: Include linux/ipv6.h.
	(udp_v4_get_port, udp_v4_lookup_longway, udp_v4_mcast_next): Test for
	ipv6_only_sock.
	* pfinet/linux-src/net/ipv6/af_inet6.c (sysctl_ipv6_bindv6only): New
	variable.
	(inet6_create): Initialize ipv6only field to sysctl_ipv6_bindv6only.
	* pfinet/linux-src/net/ipv6/ipv6_sockglue.c (ipv6_setsockopt): Test for
	ipv6_only_sock.
	(ipv6_setsockopt, ipv6_getsockopt): Support IPV6_V6ONLY case.
	* pfinet/linux-src/net/ipv6/tcp_ipv6.c (ipv6_rcv_saddr_equal): New inline
	function.
	(tcp_v6_get_port): Replace old tests with ipv6_rcv_saddr_equal.
	(tcp_v6_connect): Test for __ipv6_only_sock.
	* pfinet/linux-src/net/ipv6/udp_ipv6.c (udv6_rcv_saddr_equal): New inline
	function.
	(udp_v6_get_port): Replace old tests with udv6_rcv_saddr_equal.
	(udpv6_connect, udpv6_sendmsg): Test for __ipv6_only_sock.

2012-12-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Optimise dir-lookup's second-lock
	This should avoid some lock contention.

	* libdiskfs/dir-lookup.c (diskfs_S_dir_lookup): Before releasing &np->lock
	to get &dnp->lock safely, try to lock &dnp->lock directly.
	* libtreefs/dir-lookup.c (_treefs_s_dir_lookup): Likewise.

2012-12-17  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix comment style
	* console-client/kbd-repeat.c (kbd_repeat_key): Fix comment style.

2012-12-17  Cyril Roelandt  <tipecaml@gmail.com>

	Fix double call to pthread_mutex_unlock in diskfs_S_ifsock_getsockaddr.
	* libdiskfs/ifsock.c (diskfs_S_ifsock_getsockaddr): remove a redundant call to
	pthread_mutex_unlock.

	Fix double call to pthread_mutex_unlock in S_socket_connect.
	* pflocal/socker.c (S_socket_connect): fix redundant call to
	pthread_mutex_unlock. There is no need to hold sock->lock to call
	connq_connect_cancel, and sock->lock must be taken when leaving the if/else
	blocks.

	Fix double call to pthread_mutex_unlock in repeat_event().
	* console-client/pc-mouse.c (repeat_event): remove a redundant call to
	pthread_mutex_unlock.

	Fix double call to pthread_mutex_unlock in kbd_repeat_key().
	* console-client/kbd-repeat.c (kbd_repeat_key): remove a redundant call to
	pthread_mutex_unlock.

	Fix double call to pthread_mutex_unlock in console_move_mouse().
	* console-client/console.c (console_move_mouse): remove a redundant call to
	pthread_mutex_unlock().

2012-12-17  Cyril Roelandt  <tipecaml@gmail.com>

	Do not expand format name in posix format option
	This fixes hang of

	ps -o user

	* utils/ps.c (parse_opt): When POSIX_FMT is set, do not lookup format name
	from OUTPUT_FMTS.

2012-12-17  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Make io_select return errors
	instead of returning 0 and make clients have to actually read the error.
	This makes implementing "poll" much easier.

	Based on Svante Signell's patch.

	* pflocal/io.c (S_io_select): Return error returned by pipe_wait_readable or
	pipe_wait_writable.
	* trans/fifo.c (trivfs_S_io_select): Return error returned by
	pipe_wait_readable or pipe_wait_writable. Return EBADF on bogus access mode.
	* trans/new-fifo.c (trivfs_S_io_select): Likewise.

2012-12-07  Richard Braun  <rbraun@sceen.net>

	pfinet: increase local port range
	* pfinet/linux-src/net/ipv4/tcp_ipv4.c (sysctl_local_port_range): Set port
	range to 32768-61000.

2012-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Complete switch from cthreads to pthreads
	* console/input.c: Switch comment from cthreads to pthreads.
	* libnetfs/file-get-fs-options.c: Likewise
	* libnetfs/fsys-get-options.c: Likewise
	* libnetfs/fsys-set-options.c: Likewise
	* libnetfs/shutdown.c: Likewise
	* libpager/lock-object.c: Likewise
	* nfsd/cache.c: Set back replycachelock as static variable.
	* term/hurdio.c: Use pthread_hurd_cond_wait_np instead of pthread_cond_wait.

2012-11-27  Richard Braun  <rbraun@sceen.net>

	Switch from cthreads to pthreads
	Makefiles, headers, types, macros and function calls are renamed where
	appropriate.

	Most of this work was done by Barry deFreese and Thomas DiModica.

	* auth/Makefile: Switch from cthreads to pthreads.
	* auth/auth.c: Likewise.
	* boot/Makefile: Likewise.
	* boot/boot.c: Likewise.
	* boot/ux.c: Likewise.
	* console-client/Makefile: Likewise.
	* console-client/console.c: Likewise.
	* console-client/driver.c: Likewise.
	* console-client/driver.h: Likewise.
	* console-client/generic-speaker.c: Likewise.
	* console-client/kbd-repeat.c: Likewise.
	* console-client/ncursesw.c: Likewise.
	* console-client/pc-kbd.c: Likewise.
	* console-client/pc-mouse.c: Likewise.
	* console-client/timer.c: Likewise.
	* console-client/trans.c: Likewise.
	* console-client/vga.c: Likewise.
	* console/Makefile: Likewise.
	* console/console.c: Likewise.
	* console/display.c: Likewise.
	* console/input.c: Likewise.
	* console/pager.c: Likewise.
	* defpager/backing.c: Likewise.
	* exec/Makefile: Likewise.
	* exec/exec.c: Likewise.
	* exec/hashexec.c: Likewise.
	* exec/priv.h: Likewise.
	* ext2fs/Makefile: Likewise.
	* ext2fs/balloc.c: Likewise.
	* ext2fs/dir.c: Likewise.
	* ext2fs/ext2fs.c: Likewise.
	* ext2fs/ext2fs.h: Likewise.
	* ext2fs/ialloc.c: Likewise.
	* ext2fs/inode.c: Likewise.
	* ext2fs/msg.c: Likewise.
	* ext2fs/pager.c: Likewise.
	* ext2fs/pokel.c: Likewise.
	* ext2fs/storeinfo.c: Likewise.
	* ext2fs/truncate.c: Likewise.
	* fatfs/Makefile: Likewise.
	* fatfs/dir.c: Likewise.
	* fatfs/fat.c: Likewise.
	* fatfs/fatfs.h: Likewise.
	* fatfs/inode.c: Likewise.
	* fatfs/main.c: Likewise.
	* fatfs/pager.c: Likewise.
	* fatfs/virt-inode.c: Likewise.
	* ftpfs/Makefile: Likewise.
	* ftpfs/ccache.c: Likewise.
	* ftpfs/ccache.h: Likewise.
	* ftpfs/conn.c: Likewise.
	* ftpfs/dir.c: Likewise.
	* ftpfs/fs.c: Likewise.
	* ftpfs/ftpfs.c: Likewise.
	* ftpfs/ftpfs.h: Likewise.
	* ftpfs/ncache.c: Likewise.
	* ftpfs/netfs.c: Likewise.
	* ftpfs/node.c: Likewise.
	* hostmux/Makefile: Likewise.
	* hostmux/hostmux.h: Likewise.
	* hostmux/mux.c: Likewise.
	* hostmux/node.c: Likewise.
	* hostmux/stubs.c: Likewise.
	* hurd/shared.h: Likewise.
	* isofs/Makefile: Likewise.
	* isofs/inode.c: Likewise.
	* isofs/lookup.c: Likewise.
	* isofs/main.c: Likewise.
	* isofs/pager.c: Likewise.
	* libcons/Makefile: Likewise.
	* libcons/cons-switch.c: Likewise.
	* libcons/cons.h: Likewise.
	* libcons/dir-changed.c: Likewise.
	* libcons/file-changed.c: Likewise.
	* libcons/init-init.c: Likewise.
	* libcons/vcons-close.c: Likewise.
	* libcons/vcons-input.c: Likewise.
	* libcons/vcons-move-mouse.c: Likewise.
	* libcons/vcons-open.c: Likewise.
	* libcons/vcons-scrollback.c: Likewise.
	* libdiskfs/Makefile: Likewise.
	* libdiskfs/boot-start.c: Likewise.
	* libdiskfs/dead-name.c: Likewise.
	* libdiskfs/dir-chg.c: Likewise.
	* libdiskfs/dir-link.c: Likewise.
	* libdiskfs/dir-lookup.c: Likewise.
	* libdiskfs/dir-mkdir.c: Likewise.
	* libdiskfs/dir-mkfile.c: Likewise.
	* libdiskfs/dir-readdir.c: Likewise.
	* libdiskfs/dir-rename.c: Likewise.
	* libdiskfs/dir-renamed.c: Likewise.
	* libdiskfs/dir-rmdir.c: Likewise.
	* libdiskfs/dir-unlink.c: Likewise.
	* libdiskfs/disk-pager.c: Likewise.
	* libdiskfs/diskfs-pager.h: Likewise.
	* libdiskfs/diskfs.h: Likewise.
	* libdiskfs/file-access.c: Likewise.
	* libdiskfs/file-chg.c: Likewise.
	* libdiskfs/file-exec.c: Likewise.
	* libdiskfs/file-get-fs-opts.c: Likewise.
	* libdiskfs/file-get-trans.c: Likewise.
	* libdiskfs/file-get-transcntl.c: Likewise.
	* libdiskfs/file-getcontrol.c: Likewise.
	* libdiskfs/file-getfh.c: Likewise.
	* libdiskfs/file-lock-stat.c: Likewise.
	* libdiskfs/file-lock.c: Likewise.
	* libdiskfs/file-reparent.c: Likewise.
	* libdiskfs/file-set-trans.c: Likewise.
	* libdiskfs/file-sync.c: Likewise.
	* libdiskfs/file-syncfs.c: Likewise.
	* libdiskfs/fsys-getroot.c: Likewise.
	* libdiskfs/fsys-options.c: Likewise.
	* libdiskfs/fsys-syncfs.c: Likewise.
	* libdiskfs/ifsock.c: Likewise.
	* libdiskfs/init-first.c: Likewise.
	* libdiskfs/init-init.c: Likewise.
	* libdiskfs/init-startup.c: Likewise.
	* libdiskfs/io-duplicate.c: Likewise.
	* libdiskfs/io-get-conch.c: Likewise.
	* libdiskfs/io-identity.c: Likewise.
	* libdiskfs/io-map-cntl.c: Likewise.
	* libdiskfs/io-map.c: Likewise.
	* libdiskfs/io-modes-get.c: Likewise.
	* libdiskfs/io-modes-off.c: Likewise.
	* libdiskfs/io-modes-on.c: Likewise.
	* libdiskfs/io-modes-set.c: Likewise.
	* libdiskfs/io-owner-get.c: Likewise.
	* libdiskfs/io-owner-mod.c: Likewise.
	* libdiskfs/io-prenotify.c: Likewise.
	* libdiskfs/io-read.c: Likewise.
	* libdiskfs/io-readable.c: Likewise.
	* libdiskfs/io-reauthenticate.c: Likewise.
	* libdiskfs/io-rel-conch.c: Likewise.
	* libdiskfs/io-restrict-auth.c: Likewise.
	* libdiskfs/io-revoke.c: Likewise.
	* libdiskfs/io-seek.c: Likewise.
	* libdiskfs/io-sigio.c: Likewise.
	* libdiskfs/io-stat.c: Likewise.
	* libdiskfs/io-write.c: Likewise.
	* libdiskfs/lookup.c: Likewise.
	* libdiskfs/name-cache.c: Likewise.
	* libdiskfs/node-drop.c: Likewise.
	* libdiskfs/node-make.c: Likewise.
	* libdiskfs/node-nput.c: Likewise.
	* libdiskfs/node-nputl.c: Likewise.
	* libdiskfs/node-nref.c: Likewise.
	* libdiskfs/node-nrefl.c: Likewise.
	* libdiskfs/node-nrele.c: Likewise.
	* libdiskfs/node-nrelel.c: Likewise.
	* libdiskfs/peropen-rele.c: Likewise.
	* libdiskfs/priv.h: Likewise.
	* libdiskfs/shutdown.c: Likewise.
	* libdiskfs/sync-interval.c: Likewise.
	* libfshelp/Makefile: Likewise.
	* libfshelp/fetch-root.c: Likewise.
	* libfshelp/fshelp.h: Likewise.
	* libfshelp/get-identity.c: Likewise.
	* libfshelp/lock-acquire.c: Likewise.
	* libfshelp/lock-init.c: Likewise.
	* libfshelp/locks.h: Likewise.
	* libfshelp/set-active.c: Likewise.
	* libfshelp/trans.h: Likewise.
	* libfshelp/transbox-init.c: Likewise.
	* libiohelp/Makefile: Likewise.
	* libiohelp/get_conch.c: Likewise.
	* libiohelp/handle_io_release_conch.c: Likewise.
	* libiohelp/initialize_conch.c: Likewise.
	* libiohelp/iohelp.h: Likewise.
	* libiohelp/verify_user_conch.c: Likewise.
	* libnetfs/Makefile: Likewise.
	* libnetfs/dir-lookup.c: Likewise.
	* libnetfs/dir-mkdir.c: Likewise.
	* libnetfs/dir-mkfile.c: Likewise.
	* libnetfs/dir-readdir.c: Likewise.
	* libnetfs/dir-rmdir.c: Likewise.
	* libnetfs/dir-unlink.c: Likewise.
	* libnetfs/drop-node.c: Likewise.
	* libnetfs/file-chauthor.c: Likewise.
	* libnetfs/file-check-access.c: Likewise.
	* libnetfs/file-chflags.c: Likewise.
	* libnetfs/file-chmod.c: Likewise.
	* libnetfs/file-chown.c: Likewise.
	* libnetfs/file-exec.c: Likewise.
	* libnetfs/file-get-storage-info.c: Likewise.
	* libnetfs/file-get-translator.c: Likewise.
	* libnetfs/file-lock-stat.c: Likewise.
	* libnetfs/file-lock.c: Likewise.
	* libnetfs/file-reparent.c: Likewise.
	* libnetfs/file-set-size.c: Likewise.
	* libnetfs/file-set-translator.c: Likewise.
	* libnetfs/file-statfs.c: Likewise.
	* libnetfs/file-sync.c: Likewise.
	* libnetfs/file-syncfs.c: Likewise.
	* libnetfs/file-utimes.c: Likewise.
	* libnetfs/fsys-getroot.c: Likewise.
	* libnetfs/fsys-set-options.c: Likewise.
	* libnetfs/init-init.c: Likewise.
	* libnetfs/io-clear-some-openmodes.c: Likewise.
	* libnetfs/io-duplicate.c: Likewise.
	* libnetfs/io-get-openmodes.c: Likewise.
	* libnetfs/io-get-owner.c: Likewise.
	* libnetfs/io-identity.c: Likewise.
	* libnetfs/io-mod-owner.c: Likewise.
	* libnetfs/io-read.c: Likewise.
	* libnetfs/io-readable.c: Likewise.
	* libnetfs/io-reauthenticate.c: Likewise.
	* libnetfs/io-restrict-auth.c: Likewise.
	* libnetfs/io-revoke.c: Likewise.
	* libnetfs/io-seek.c: Likewise.
	* libnetfs/io-set-all-openmodes.c: Likewise.
	* libnetfs/io-set-some-openmodes.c: Likewise.
	* libnetfs/io-stat.c: Likewise.
	* libnetfs/io-write.c: Likewise.
	* libnetfs/make-node.c: Likewise.
	* libnetfs/netfs.h: Likewise.
	* libnetfs/nput.c: Likewise.
	* libnetfs/nref.c: Likewise.
	* libnetfs/nrele.c: Likewise.
	* libnetfs/release-peropen.c: Likewise.
	* libnetfs/shutdown.c: Likewise.
	* libpager/Makefile: Likewise.
	* libpager/chg-compl.c: Likewise.
	* libpager/clean.c: Likewise.
	* libpager/data-request.c: Likewise.
	* libpager/data-return.c: Likewise.
	* libpager/data-unlock.c: Likewise.
	* libpager/inhibit-term.c: Likewise.
	* libpager/lock-completed.c: Likewise.
	* libpager/lock-object.c: Likewise.
	* libpager/mark-error.c: Likewise.
	* libpager/no-senders.c: Likewise.
	* libpager/object-init.c: Likewise.
	* libpager/object-terminate.c: Likewise.
	* libpager/offer-page.c: Likewise.
	* libpager/pager-attr.c: Likewise.
	* libpager/pager-create.c: Likewise.
	* libpager/pager-shutdown.c: Likewise.
	* libpager/priv.h: Likewise.
	* libpager/seqnos.c: Likewise.
	* libpipe/Makefile: Likewise.
	* libpipe/pipe.c: Likewise.
	* libpipe/pipe.h: Likewise.
	* libports/Makefile: Likewise.
	* libports/begin-rpc.c: Likewise.
	* libports/bucket-iterate.c: Likewise.
	* libports/claim-right.c: Likewise.
	* libports/class-iterate.c: Likewise.
	* libports/complete-deallocate.c: Likewise.
	* libports/count-bucket.c: Likewise.
	* libports/count-class.c: Likewise.
	* libports/create-bucket.c: Likewise.
	* libports/create-internal.c: Likewise.
	* libports/destroy-right.c: Likewise.
	* libports/enable-bucket.c: Likewise.
	* libports/enable-class.c: Likewise.
	* libports/end-rpc.c: Likewise.
	* libports/get-right.c: Likewise.
	* libports/import-port.c: Likewise.
	* libports/inhibit-all-rpcs.c: Likewise.
	* libports/inhibit-bucket-rpcs.c: Likewise.
	* libports/inhibit-class-rpcs.c: Likewise.
	* libports/inhibit-port-rpcs.c: Likewise.
	* libports/init.c: Likewise.
	* libports/interrupt-notified-rpcs.c: Likewise.
	* libports/interrupt-on-notify.c: Likewise.
	* libports/interrupt-operation.c: Likewise.
	* libports/interrupt-rpcs.c: Likewise.
	* libports/interrupted.c: Likewise.
	* libports/lookup-port.c: Likewise.
	* libports/manage-multithread.c: Likewise.
	* libports/no-senders.c: Likewise.
	* libports/port-deref-weak.c: Likewise.
	* libports/port-deref.c: Likewise.
	* libports/port-ref-weak.c: Likewise.
	* libports/port-ref.c: Likewise.
	* libports/ports.h: Likewise.
	* libports/reallocate-from-external.c: Likewise.
	* libports/reallocate-port.c: Likewise.
	* libports/resume-all-rpcs.c: Likewise.
	* libports/resume-bucket-rpcs.c: Likewise.
	* libports/resume-class-rpcs.c: Likewise.
	* libports/resume-port-rpcs.c: Likewise.
	* libports/stubs.c: Likewise.
	* libports/transfer-right.c: Likewise.
	* libstore/Makefile: Likewise.
	* libstore/gunzip.c: Likewise.
	* libstore/part.c: Likewise.
	* libstore/unzipstore.c: Likewise.
	* libthreads/Makefile: Likewise.
	* libtreefs/dir-lookup.c: Likewise.
	* libtreefs/fsys-getroot.c: Likewise.
	* libtreefs/fsys-hooks.c: Likewise.
	* libtreefs/fsys.c: Likewise.
	* libtreefs/trans-help.c: Likewise.
	* libtreefs/trans-start.c: Likewise.
	* libtreefs/treefs.h: Likewise.
	* libtrivfs/cntl-create.c: Likewise.
	* libtrivfs/dyn-classes.c: Likewise.
	* libtrivfs/io-reauthenticate.c: Likewise.
	* libtrivfs/io-restrict-auth.c: Likewise.
	* libtrivfs/protid-clean.c: Likewise.
	* libtrivfs/protid-dup.c: Likewise.
	* libtrivfs/trivfs.h: Likewise.
	* mach-defpager/Makefile: Likewise.
	* mach-defpager/default_pager.c: Likewise.
	* mach-defpager/kalloc.c: Likewise.
	* mach-defpager/main.c: Likewise.
	* nfs/Makefile: Likewise.
	* nfs/cache.c: Likewise.
	* nfs/main.c: Likewise.
	* nfs/mount.c: Likewise.
	* nfs/name-cache.c: Likewise.
	* nfs/nfs.h: Likewise.
	* nfs/ops.c: Likewise.
	* nfs/rpc.c: Likewise.
	* nfsd/Makefile: Likewise.
	* nfsd/cache.c: Likewise.
	* nfsd/loop.c: Likewise.
	* nfsd/main.c: Likewise.
	* nfsd/nfsd.h: Likewise.
	* pfinet/Makefile: Likewise.
	* pfinet/ethernet.c: Likewise.
	* pfinet/glue-include/asm/spinlock.h: Likewise.
	* pfinet/glue-include/linux/interrupt.h: Likewise.
	* pfinet/glue-include/linux/sched.h: Likewise.
	* pfinet/glue-include/linux/timer.h: Likewise.
	* pfinet/glue-include/linux/wait.h: Likewise.
	* pfinet/iioctl-ops.c: Likewise.
	* pfinet/io-ops.c: Likewise.
	* pfinet/kmem_cache.c: Likewise.
	* pfinet/main.c: Likewise.
	* pfinet/options.c: Likewise.
	* pfinet/pfinet-ops.c: Likewise.
	* pfinet/pfinet.h: Likewise.
	* pfinet/sched.c: Likewise.
	* pfinet/socket-ops.c: Likewise.
	* pfinet/socket.c: Likewise.
	* pfinet/timer-emul.c: Likewise.
	* pfinet/tunnel.c: Likewise.
	* pflocal/Makefile: Likewise.
	* pflocal/connq.c: Likewise.
	* pflocal/io.c: Likewise.
	* pflocal/sock.c: Likewise.
	* pflocal/sock.h: Likewise.
	* pflocal/socket.c: Likewise.
	* pflocal/sserver.c: Likewise.
	* proc/Makefile: Likewise.
	* proc/info.c: Likewise.
	* proc/main.c: Likewise.
	* proc/mgt.c: Likewise.
	* proc/msg.c: Likewise.
	* proc/proc.h: Likewise.
	* proc/stubs.c: Likewise.
	* proc/wait.c: Likewise.
	* storeio/Makefile: Likewise.
	* storeio/dev.c: Likewise.
	* storeio/dev.h: Likewise.
	* storeio/open.c: Likewise.
	* storeio/open.h: Likewise.
	* storeio/pager.c: Likewise.
	* storeio/storeio.c: Likewise.
	* term/Makefile: Likewise.
	* term/devio.c: Likewise.
	* term/hurdio.c: Likewise.
	* term/main.c: Likewise.
	* term/munge.c: Likewise.
	* term/ptyio.c: Likewise.
	* term/term.h: Likewise.
	* term/users.c: Likewise.
	* tmpfs/Makefile: Likewise.
	* tmpfs/dir.c: Likewise.
	* tmpfs/node.c: Likewise.
	* tmpfs/tmpfs.c: Likewise.
	* tmpfs/tmpfs.h: Likewise.
	* trans/Makefile: Likewise.
	* trans/fakeroot.c: Likewise.
	* trans/fifo.c: Likewise.
	* trans/hello-mt.c: Likewise.
	* trans/new-fifo.c: Likewise.
	* trans/streamio.c: Likewise.
	* ufs/Makefile: Likewise.
	* ufs/alloc.c: Likewise.
	* ufs/dir.c: Likewise.
	* ufs/hyper.c: Likewise.
	* ufs/inode.c: Likewise.
	* ufs/main.c: Likewise.
	* ufs/pager.c: Likewise.
	* ufs/pokeloc.c: Likewise.
	* ufs/sizes.c: Likewise.
	* ufs/ufs.h: Likewise.
	* usermux/Makefile: Likewise.
	* usermux/mux.c: Likewise.
	* usermux/node.c: Likewise.
	* usermux/usermux.h: Likewise.
	* utils/Makefile: Likewise.
	* utils/fakeauth.c: Likewise.
	* utils/rpctrace.c: Likewise.

2012-11-24  Richard Braun  <rbraun@sceen.net>

	Remove condition implications
	There is no equivalent for these functions in libpthread. Instead of
	adding them as non standard extensions, rework their use.

	* console-client/kbd-repeat.c (kbd_repeat_key): Wake threads waiting on
	select_alert.
	(kbd_setrepeater): Remove call to condition_implies.
	console-client/pc-mouse.c (repeat_event): Wake threads waiting on
	select_alert.
	(setrepeater):  Remove call to condition_implies.
	* libpipe/pipe.c (pipe_create): Initialize the `pending_selects' member.
	(pipe_add_select_cond): New function.
	(pipe_remove_select_cond): Likewise.
	(pipe_select_cond_broadcast): Likewise.
	(_pipe_no_readers): Wake threads waiting on a pending select.
	(_pipe_no_writers): Likewise.
	(pipe_send): Likewise.
	(pipe_recv): Likewise.
	(pipe_pair_select): Replace condition implications by installing a pending
	select on the pair of pipes.
	* libpipe/pipe.h (struct pipe_select_cond): New type.
	(struct pipe): New member `pending_selects'.
	* pfinet/tunnel.c (tunnel_xmit): Wake threads waiting on tdev->select_alert.
	(setup_tunnel_device): Remove call to condition_implies.
	* term/devio.c (device_write_reply_inband): Wake threads waiting on
	select_alert.
	* term/hurdio.c (hurdio_writer_loop): Likewise.
	* term/main.c (main): Remove calls to condition_implies.
	* term/ptyio.c (ptyio_init): Remove calls to condition_implies, initialize
	pty_select_alert.
	(wake_reader): Wake threads waiting on pty_select_wakeup.
	* term/term.h (pty_select_alert): New variable.
	(clear_queue): Wake threads waiting on select_alert and, if acting on the
	input queue, pty_select_alert, unless it's NULL.
	(dequeue_quote): Likewise.
	(enqueue_internal): Likewise.
	(queue_erase): Likewise.
	* trans/streamio.c (clear_buffer): Wake threads waiting on select_alert.
	(buffer_read): Likewise.
	(buffer_write): Likewise.
	(device_read_reply_inband): Likewise.
	(device_write_reply_inband): Likewise.
	(main): Remove calls to condition_implies.

2012-11-24  Richard Braun  <rbraun@sceen.net>

	Move starvation-reduction computation into adjust_priority
	* libports/manage-multithread.c (ports_manage_port_operations_multithread):
	Move starvation-reduction computation and thread_switch() call into...
	(adjust_priority): ... here, passing TOTALTHREADS as a parameter.

2012-11-24  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

2012-11-24  Richard Braun  <rbraun@sceen.net>

	Reduce contention on thread creation in libports
	* libports/manage-multithread.c (ports_manage_port_operations_multithread):
	Don't drop the lock when determining if a new thread must be created.

2012-10-22  Cyril Roelandt  <tipecaml@gmail.com>

	libps: Fix typo in the documentation of _proc_stat_create.
	* libps/ps.h: Refer to ps_context_find_proc_stat instead of pc_context_find_proc_stat.

2012-10-04  Pino Toscano  <toscano.pino@tiscali.it>

	Revert "libdiskfs: handle _PC_2_SYMLINKS in pathconf"
	It turned out it is the wrong approach.

	This reverts commit b6768b326c2e80f5c2326ab46459644d417c6e98.

2012-09-30  Pino Toscano  <toscano.pino@tiscali.it>

	tmpfs: add --size
	Add the possibility to specify the size with the --size parameter;
	this makes tmpfs more usable in fstab or Linuxish mount invocations,
	since the size in such cases is a mount -o option, which gets translated
	to a --foo translator argument.
	The old way (specifying the size as the first argument) is left there;
	although, if --size is passed then the first argument must be "tmpfs",
	as it is what is passed by fstab/mount.

	* tmpfs/tmpfs.c (OPT_SIZE): New macro.
	(options): Add the "size" option.
	(parse_opt): Use -1 to indicate when SIZE is not yet set.
	<OPT_SIZE>: Handle case.
	<ARGP_KEY_NO_ARGS>: Error out only when SIZE is not set.
	<ARGP_KEY_ARGS>: Error out when SIZE is set and the argument is not "tmpfs".

2012-09-30  Pino Toscano  <toscano.pino@tiscali.it>

	tmpfs: extract size string parsing in an own function
	* tmpfs/tmpfs.c (parse_opt_size): New function, broken out of ...
	(parse_opt): ... here.  Call it.

2012-09-30  Pino Toscano  <toscano.pino@tiscali.it>

	libdiskfs: handle _PC_2_SYMLINKS in pathconf
	Advertize the possibility to handle symlinks depending on
	DISKFS_SHORTCUT_SYMLINK.

	* libdiskfs/io-pathconf.c (diskfs_S_io_pathconf): Handle
	_PC_2_SYMLINKS too.

2012-09-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Add more keymaps
	* console-client/xkb/xkb-data/keymap/hurd: Add keymaps used by the Debian
	installer.

2012-09-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Automatically setup local sockets if not already done so.
	Needed early for shell pipelines.

	* daemons/runsystem.sh: See whether pflocal is setup already, and do so if
	not (install case)

2012-09-23  Jeremie Koenig  <jk@jk.fr.eu.org>

	Add options for user-space parted stores
	Add option -p to MAKEDEV to use user-space parted stores for partition
	devices.

	* sutils/MAKEDEV.sh: Add -p option to use "part" store type.

2012-09-23  Jeremie Koenig  <jk@jk.fr.eu.org>

	Add options -k and -K to MAKEDEV.sh
	to chose not to overwrite existing entries.

	* MAKEDEV.sh: Handle -k by passing it to settrans. Handle -K by checking for
	existing translator.

2012-09-23  Richard Braun  <rbraun@sceen.net>

	Reduce starvation among libports threads
	* libports/manage-multithread.c: Include <mach/thread_info.h> and
	<mach/thread_switch.h>
	(THREAD_PRI): New macro.
	(adjust_priority): New function.
	(ports_manage_port_operations_multithread): Set higher priority to
	privileged translators's threads. Reduce priority of newly-created threads,
	to give originators a chance to finish what they were doing.

2012-09-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix pager deadlock
	http://lists.gnu.org/archive/html/bug-hurd/2010-03/msg00127.html

	* libpager/lock-object.c (_pager_lock_object): Release interlock before
	calling memory_object_lock_request, to let the callbacks take it.

2012-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Check that runsystem script exists before trying it.
	* init/init.c (launch_something): Check with file_name_lookup that runsystem
	script exists before calling start_child.
	* daemons/console-run.c (main): Check with file_name_lookup that runsystem
	script exists before opening a console for it.

	Set diskfs stores as readonly on shutdown before enabling RPCs again.
	* libdiskfs/init-startup.c (diskfs_S_startup_dosync): Set diskfs as
	read-only on shutdown.

2012-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix spurious destroy during RPC to self with rendez-vous
	In that case we have two receive right references, which we should consume
	one per one, instead of destroying them all at once (and thus fail on second
	destroy)

	http://lists.gnu.org/archive/html/bug-hurd/2011-03/msg00045.html

	* libfshelp/fetch-root.c (fshelp_fetch_root): Unreference rendez-vous port
	receive right instead of destroying the port.
	* libshouldbeinlibc/exec-reauth.c (exec_reauth): Likewise.

2012-09-22  Alfred M. Szmidt  <ams@gnu.org>

	Install .msgids files to datadir.
	* Makefile (MSGIDS): New variable.
	(all, install-msgids, $(datadir)/msgids): New targets.
	(install): Specify install-header and install-msgids as
	prerequisites.

2012-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Avoid waiting for disk I/O completion
	This improves performance quite a bit, and is not less safe.

	* ext2fs/dir.c (diskfs_direnter_hard, diskfs_dirremove_hard,
	diskfs_dirrewrite_hard): Pass diskfs_synchronous instead of 1 as wait
	parameter to diskfs_file_update.
	* ext2fs/truncate.c (diskfs_truncate): Likewise.
	* libdiskfs/dir-init.c (diskfs_init_dir): Likewise.
	* libdiskfs/dir-link.c (diskfs_S_dir_link): Likewise.
	* libdiskfs/dir-rename.c (diskfs_S_dir_rename): Likewise.
	* libdiskfs/dir-renamed.c (diskfs_rename_dir): Likewise.
	* libdiskfs/file-set-trans.c (diskfs_S_file_set_translator): Likewise.
	* libdiskfs/node-create.c (diskfs_create_node): Likewise.
	* libdiskfs/node-drop.c (diskfs_drop_node): Likewise.

2012-08-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

	Use ext2fs instead of ufs in hurd.boot
	* hurd.boot: Use /hurd/ext2fs instead of /hurd/ufs.

2012-07-26  Neal H. Walfield  <neal@walfield.org>

	pflocal: Handle non-blocking connect with no pending acceptors.
	* pflocal/connq.h (struct connq_request): Remove forward.
	(connq_listen): Wait for a request to be queued not until there is
	a connection attempt.  Remove REQ parameter.  Update callers.
	(connq_request_complete): Remove declaration.
	(connq_connect): Wait for a slot to queue a request not until
	there is an acceptor.  Remove SOCK parameter.  Update callers.
	(connq_connect_complete): New declaration.
	(connq_connect_cancel): New declaration.
	* pflocal/connq.c (struct connq): Remove fields noqueue, queue, length,
	head and tail.  Add fields head, tail, count, max, connectors and
	num_connectors.  That is, replace the circular buffer with a
	singly linked list.
	(qnext): Remove function.
	(struct connq_request): Remove field signal, lock, completed and
	err.  Add field next.
	(connq_request_init): Rewrite according to new semantics.
	(connq_request_enqueue): New function.
	(connq_request_dequeue): New function.
	(connq_create): Update according to new semantics.
	(connq_destroy): Likewise.
	(connq_listen): Rewrite to not block until there is a connector
	but until there is a request in the queue.
	(connq_request_complete): Remove function.
	(connq_connect): Rewrite to not block until there is an acceptor
	but until there is space for a request.
	(connq_connect_complete): New function.
	(connq_connect_cancel): New function.
	(connq_compress): Remove dead code.
	(connq_set_length): Rewrite.
	* pflocal/socket.c (S_socket_connect): Create the server socket here...
	(S_socket_accept): ... not here.

2012-07-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix default XKB_BASE directory
	* configure.in (XKB_BASE): Default to $datadir/share/X11/xkb.

	Fix out-of-tree build
	* console-client/Makefile (xkb/kstoucs_map.c): Make xkb directory in build
	tree.
	(CPPFLAGS): Add -I$(CURDIR)/xkb

2012-07-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Always enable stack red zone
	* libthreads/stack.c (setup_stack): Always enable disabling access to end of
	stack.  Add support for stacks growing up.

2012-07-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

2012-07-04  Richard Braun  <rbraun@sceen.net>

	Fix stack corruption in ext2fs server
	* ext2fs/inode.c (diskfs_node_iterate): allocate the temporary node
	table from the heap instead of the stack.

2012-07-02  Carl Fredrik Hammar  <hammy.lite@gmail.com>

	Check for rendezvous port death in auth server
	* auth/auth.c (S_auth_user_authenticate, S_auth_server_authenticate):
	Return EINVAL if rendezvous port dies during transaction.

2012-07-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

	Use path to x11 locales from x11.pc instead of our prefix
	* configure.in (X11_PREFIX): Define from x11.pc's prefix variable.
	* console-client/xkb/compose.c (get_compile_file_for_locale): Use
	X11_PREFIX "/share" instead of DATADIR.

2012-07-01  Carl Fredrik Hammar  <hammy.lite@gmail.com>

	Check for null ports in auth server
	* auth/auth.c (S_auth_user_authenticate, S_auth_server_authenticate):
	Fail with EINVAL if RENDEZVOUS is MACH_PORT_NULL.

2012-07-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	TODO: make xkb use rules

	Import pkg.m4

	Fix kstoucs generation dependency
	* console-client/Makefile: Make kstoucs.o and kstoucs_pic.o depend on
	kstoucs_map.c, not kstoucs_map.c

	Merge branch 'master' into xkb
	Conflicts:
	console-client/Makefile

2012-07-01  Da Zheng  <zhengda1936@gmail.com>

	Rework rpctrace into handling multitask programs
	* rpctrace.c (UNKNOWN_NAME): New variable.
	(task_info): New structure.
	(traced_task): Removed.
	(task_ihash): New variable.
	(unknown_task): Likewise.
	(add_task): New function.
	(remove_task): Likewise.
	(traced_info): Modified.
	(receiver_info): New structure.
	(sender_info): Likewise.
	(send_once_info): Likewise.
	(TRACED_INFO): New macro.
	(SEND_INFO): Likewise.
	(SEND_ONCE_INFO): Likewise.
	(req_info): New structure.
	(req_head): New variable.
	(add_request): New function.
	(remove_request): Likewise.
	(freelist): Different type.
	(notify_pi): New variable.
	(receive_right_list): Likewise.
	(dummy_wrapper): Likewise.
	(traced_names): Different initial value.
	(other_class): New variable.
	(print_request_header): Different parameter.
	(print_reply_header): Likewise.
	(new_receiver_info): New function.
	(destroy_receiver_info): Likewise.
	(new_send_wrapper): Redefined.
	(new_send_once_wrapper): Modified.
	(unlink_sender_info): New function.
	(traced_dropweak): Removed.
	(traced_clean): New function.
	(seen_receive_right): Likewise.
	(discover_receive_right): Likewise.
	(get_send_wrapper): Likewise.
	(rewrite_right): Redefined.
	(print_contents): Don't treat mach_port_insert_right specially.
	(wrap_all_threads): Use new structuress.
	(wrap_new_thread): Likewise.
	(wrap_new_task): New function.
	(trace_and_forward): Redefined.
	(expected_reply_port): Removed.
	(print_request_header): Use new structures.
	(print_reply_header): Likewise.
	(unfinished_line): Removed.
	(traced_spawn): Use new structures.
	(main): Initialize some global variables.

2012-07-01  Da Zheng  <zhengda1936@gmail.com>

	Make rpctrace handle terminate/suspend signals correctly
	Fixes bug #3939

	* rpctrace.c (traced_task): Relocate.
	(wrap_all_threads): New function.
	(wrap_new_thread): Likewise.
	(trace_and_forward): Wrap all thread ports.

2012-07-01  Bob Ham  <u9rah@dcs.shef.ac.uk>

	Address gcc warnings
	* exec-reauth.c (exec_reauth): Change type of temp var i to
	unsigned int to address gcc warning.
	* idvec-impgids.c (idvec_merge_implied_gids) Change type of
	temp var i to unsigned int to address gcc warning.
	* idvec-impgids.c (idvec_merge_implied_gids): Change type of
	temp var i to unsigned int to address gcc warning.
	* idvec-rep.c (idvec_rep): Change type of temp var i to unsigned
	int to address gcc warning.
	* idvec-verify (idvec_verify): Change type of temp var i to
	unsigned int to address gcc warning.
	* idvec.c (idvec_merge_ids, idvec_remove): Change type of temp
	var i to unsigned int to address gcc warning.
	* portxlate.c (port_name_xlator_create, port_name_xlator_free):
	Change type of temp var i to unsigned int to address gcc warning.
	* timefmt.c (fmt_seconds): Cast width to int in test to modify
	frac_places to address gcc warning.
	* (ugids_verify_make_auth): Change type of temp var i to unsigned
	int to address gcc warning.

	Address gcc warnings
	* iouser-restrict.c (listmember): Change type of query into uid_t to address gcc
	warning.
	(iohelp_restrict_iouser): Change type of temp var i to unsigned int to address
	gcc warning.

2012-07-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' into xkb
	Conflicts:
	config.make.in
	configure.in

2012-07-01  Bob Ham  <u9rah@dcs.shef.ac.uk>

	Address gcc warning
	* ihash.c (ihash_add): Change type of i to unsigned int to address gcc
	warning.

2012-06-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix operation priority
	* balloc.c (ext2_new_block): Fix operation priority.

	Add header inclusion guards
	* console/priv.h [!_CONSOLE_PRIV_H]: Define _CONSOLE_PRIV_H.
	* libnetfs/priv.h [!_LIBNETFS_PRIV_H]: Define _LIBNETFS_PRIV_H.
	* libpager/priv.h [!_LIBPAGER_PRIV_H]: Define _LIBPAGER_PRIV_H.

2012-05-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix bit shift validity
	* ext2fs/balloc.c (ext2_new_block): When J & 31 is 31, replace 32bit right
	shift with 0;

	Fix find_next_zero_bit when no bit is available
	* ext2fs/bitmap.c (find_next_zero_bit): Check whether TMP has a bit set before
	calling ffz.

2012-05-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Add /dev/netdde and /dev/eth* targets
	* sutils/MAKEDEV.sh (netdde, eth*): Add targets.

2012-05-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix link(directory,whatever) POSIX compliancy
	* libdiskfs/dir-link.c (diskfs_S_dir_link): When source node is a directory,
	fail with EPERM instead of EISDIR.

2012-04-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Add MSG_PEEK support to pflocal
	* libpipe/pq.h (packet_peek): Declare new function.
	* libpipe/pq.c (packet_read): Move code to new `packet_fetch' function, call it
	with `remove' set to 1.
	(packet_fetch): New function with code from `packet_read', but do not remove
	data if `remove' is 0.
	(packet_peek): New function, calls `packet_fetch' with `remove' set to 0.
	* libpipe/dgram.c (dgram_read): When MSG_PEEK is in *flags, do not dequeue
	and only peek data.
	* libpipe/seqpack.c (seqpack_read): Likewise.
	* libpipe/stream.c (stream_read): Likewise.
	* pflocal/socket.c (S_socket_recv): Pass MSG_PEEK flag to libpipe.

2012-04-10  Ludovic Courtès  <ludo@gnu.org>

	dist: Remove redundant "./" for top-level $(DISTFILES)
	* Makeconf (dist.tar): When $(dir) is ".", avoid adding "./" to the
	  resulting file name.

	dist: Set the owner/group of $(DISTFILES) to UID/GID 0.
	* Makeconf (dist.tar): Invoke `tar' with `--owner=0 --group=0'.

	Add `doc/version.texi' to the distribution.
	* doc/Makefile (targets): Add `version.texi'.

2012-04-08  Thomas Schwinge  <thomas@codesourcery.com>

	Replace fragile manual »make dist« system with one based on »git archive«.
	* Makeconf (lndist): Remove target.
	(dist-hook, dist.tar): New targets.
	* Makefile (dist): Rewrite this target's as well as accompanying rules.
	(%-lndist, cp-linked-files, $(lf-inst)): Remove targets.
	(%.bz2, %.gz, %/dist-hook): New targets.
	(DISTFILES): Set.
	* doc/Makefile (DISTFILES): Set.
	* doc/Makefile (lndist, lndist-info-targets): Remove targets.
	* include/Makefile (lndist): Remove target.
	* libthreads/Makefile (lndist, lndist-i386-files, lndist-map-file): Remove
	targets.
	* pfinet/Makefile (lndist, lndist-linux-src-net-core-files)
	(lndist-linux-src-net-ethernet-files, lndist-linux-src-net-ipv4-files)
	(lndist-linux-src-net-ipv6-files, lndist-linux-src-asm-files)
	(lndist-linux-src-include-linux-files, lndist-linux-src-include-net-files)
	(lndist-linux-src-include-asm-files, lndist-glue-include-linux-files)
	(lndist-glue-include-asm-files): Remove targets.
	* auth/Makefile (LCLHDRS): Don't set.
	* boot/Makefile (LCLHDRS, DIST_FILES): Likewise.
	* bsdfsck/Makefile (LCLHDRS): Likewise.
	* config/Makefile (DIST_FILES): Likewise.
	* console-client/Makefile (LCLHDRS): Likewise.
	* console/Makefile (LCLHDRS, DIST_FILES): Likewise.
	* doc/Makefile (DIST_FILES): Likewise.
	* exec/Makefile (LCLHDRS, DIST_FILES): Likewise.
	* ext2fs/Makefile (LCLHDRS): Likewise.
	* fatfs/Makefile (LCLHDRS): Likewise.
	* ftpfs/Makefile (LCLHDRS): Likewise.
	* hostmux/Makefile (LCLHDRS): Likewise.
	* hurd/Makefile (DIST_FILES): Likewise.
	* include/Makefile (LCLHDRS): Likewise.
	* isofs/Makefile (LCLHDRS, DIST_FILES): Likewise.
	* libcons/Makefile (LCLHDRS): Likewise.
	* libdirmgt/Makefile (LCLHDRS): Likewise.
	* libdiskfs/Makefile (LCLHDRS): Likewise.
	* libfshelp/Makefile (LCLHDRS): Likewise.
	* libftpconn/Makefile (LCLHDRS): Likewise.
	* libihash/Makefile (LCLHDRS): Likewise.
	* libiohelp/Makefile (LCLHDRS): Likewise.
	* libnetfs/Makefile (LCLHDRS): Likewise.
	* libpager/Makefile (LCLHDRS): Likewise.
	* libpipe/Makefile (LCLHDRS): Likewise.
	* libports/Makefile (LCLHDRS): Likewise.
	* libps/Makefile (LCLHDRS): Likewise.
	* libshouldbeinlibc/Makefile (LCLHDRS): Likewise.
	* libstore/Makefile (LCLHDRS, DIST_FILES): Likewise.
	* libthreads/Makefile (LCLHDRS): Likewise.
	* libtreefs/Makefile (LCLHDRS): Likewise.
	* libtrivfs/Makefile (LCLHDRS): Likewise.
	* mach-defpager/Makefile (LCLHDRS): Likewise.
	* nfs/Makefile (LCLHDRS): Likewise.
	* nfsd/Makefile (LCLHDRS): Likewise.
	* pfinet/Makefile (LCLHDRS): Likewise.
	* pflocal/Makefile (LCLHDRS): Likewise.
	* proc/Makefile (LCLHDRS, DIST_FILES): Likewise.
	* release/Makefile (DIST_FILES): Likewise.
	* storeio/Makefile (LCLHDRS): Likewise.
	* sutils/Makefile (LCLHDRS): Likewise.
	* term/Makefile (LCLHDRS, DIST_FILES): Likewise.
	* tmpfs/Makefile (LCLHDRS): Likewise.
	* ufs-fsck/Makefile (LCLHDRS): Likewise.
	* ufs/Makefile (LCLHDRS): Likewise.
	* usermux/Makefile (LCLHDRS): Likewise.
	* utils/Makefile (LCLHDRS): Likewise.

	Remove generated files.
	* configure: Remove file.
	* .gitignore: Update.
	* doc/version.texi: Remove file.
	* doc/.gitignore: Update.

	Rules for build system targets.
	* Makefile (configure, config.status, config.make): New targets.

	* Makefile (clean): Recurse into all subdirs.

2012-04-08  Thomas Schwinge  <thomas@codesourcery.com>

	Automatically regenerate files that depend on $(hurd-version).
	Follow-up to 05f5cc229323a61799388fbb52da84ca8cb502c9 (»configure: Use modern
	`AC_INIT' invocation.«).

	* Makeconf (%: %.sh): Depend on config.make.
	* Makefile (version.h): Use a stamp file.
	(stamp-version): Depend on config.make.
	* doc/Makefile (stamp-version): Likewise.
	* Makeconf (make-deps): Take additional target-specific dependencies, $*-DEPS.
	* console-client/Makefile (driver-DEPS): Depend on config.make.
	* libstore/Makefile (module-DEPS): Likewise.

2012-04-08  Thomas Schwinge  <thomas@codesourcery.com>

	Remove hurd/install-headers.
	* hurd/configure: Remove file.
	* hurd/configure.ac: Likewise.
	* hurd/install-headers.in: Likewise.

2012-04-08  Thomas Schwinge  <thomas@codesourcery.com>

	Avoid recreating the include/* files needlessly.
	* Makeconf ($(INSTALLED_LOCAL_HEADERS)): Just depend on the Makefile.

	The include/ hierarchy does not depend on anything but the local Makefile;
	especially it does not depend on how the package has been configured, which is
	what config.make records.

2012-04-08  Thomas Schwinge  <thomas@codesourcery.com>

	* Makeconf: Add copyright/licensing header.

	.gitignore: New file.

2012-04-08  Maksym Planeta  <mcsim.planeta@gmail.com>

	Update '..' link for directory when moving it.
	* tmpfs/dir.c (struct dirstat): New field.
	(diskfs_lookup_hard): Record whether type is SPEC_DOTDOT in dotdot field of
	ds.
	(diskfs_dirrewrite_hard): If ds->dotdot is true, set dp->dn->u.dir.dotdot
	insteead of (ds->prevp)->dn.

	Allocate pager's map on demand.
	* mach-defpager/default_pager.c (pager_get_direct_map): New function.
	(pager_alloc): Initialize map field to NULL.
	(pager_allocated, pager_pages, pager_extend, pager_write_offset): Use
	pager_get_direct_map to access to pager's map.

	Delete fragile hack.
	* mach-defpager/default_pager.c (pager_truncate): Do not optimize by using
	partial kfree.

	Fix bugs in truncation of memory map.
	* mach-defpager/default_pager.c (pager_truncate): Use new_size instead of
	old_size in memcpy.

	Prevent repeated freeing of pager's map
	* mach-defpager/default_pager.c (pager_truncate): Do not set old_size to
	PAGEMAP_ENTRIES, to avoid freeing again just below.

	Add appropriate checks to take into account that pager's memory map could be sparse.
	* mach-defpager/default_pager.c (pager_truncate, pager_read_offset,
	pager_release_offset, pager_dealloc, pager_realloc): Add checks for map
	field being NULL.
	(pager_dealloc): Set map pointer to zero.

	Set size of object, when it is created.
	* mach-defpager/default_pager.c (S_default_pager_object_create): Set pager
	limit to the given size.

	Add support for objects that are not bounded to page size.
	* mach-defpager/default_pager.c (struct dpager): Add new field.
	(seqnos_memory_object_data_write): If pager is not bounded to page size, than
	round it up.
	(seqnos_memory_object_lock_completed): Function is not in use anymore.
	(S_default_pager_object_set_size): Proceed object with any size correctly.

	Add support for empty memory objects.
	* mach-defpager/default_pager.c (pager_extend): When old_size is 0, use 1 to
	compute power of two above it.
	(pager_truncate): Do not avoid new_size being 0.

	Add support for new pageout interface for defpager.
	* mach-defpager/default_pager.c: (seqnos_memory_object_init,
	seqnos_memory_object_data_request): Use new interface.
	(seqnos_memory_object_data_return): Proceed request correctly.

	Update debugging macros definitions and remove debugging macros when it becomes hard to read the code.
	* mach-defpager/default_pager.c (dprintf, ddprintf): Change macros to make them
	more easy to use.
	(pager_port_lock, pager_port_unlock, seqnos_memory_object_data_write,
	pager_write_offset): Remove debugging messages (that are not shown at the
	moment) when it becomes hard to read the code.

2012-04-08  Michael Banck  <mbanck@debian.org>

	Set console default encoding to UTF-8
	* console.c (DEFAULT_ENCODING): Set to UTF-8.

2012-04-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

2012-04-08  Ludovic Courtès  <ludo@gnu.org>

	console-run: Create and settrans /dev/console when not already done.
	This patch makes sure /libexec/console-run creates and installs
	/dev/console on the first run without considering it a failure if it
	didn't exist already.

	* daemons/console-run.c (TERMINAL_FIRST_TRY): Change node to
	  `/dev/console'.
	  (TERMINAL_SECOND_TRY): Change node to `/tmp/console'.
	  (open_console): Clear FALLBACK when TRY == 1 and the
	  `file_set_translator' call suceeded.

2012-04-07  Thomas Schwinge  <thomas@schwinge.name>

	Merge tag 'hurd-release-0-2' into releases
	Reconstructed from the hurd-release-0-2 CVS tag.

	Merge tag 'release-0-0' into releases
	Reconstructed from the release-0-0 CVS tag.

	Revert "MAKEDEV now lives in /sbin, so get it from there."
	This reverts commit 5361e64713eb4a4eac58f6a41e2dae5ff72bca25.

	Revert "The real version is release/SETUP"
	This reverts commit c40e79fc85df4399c45c83c3b4ddd20c13e5f6ce.

	Revert "Initial checkin."
	This reverts commit 5f847427cf40ec910614bb676031cd600f731775.

2012-04-07  Miles Bader  <miles@gnu.org>

	. (cherry picked from commit b719aa377034997390f8edd528468fb51dad80d9)

2012-04-02  Maksym Planeta  <mcsim.planeta@gmail.com>

	Update comments.
	* mach-defpager/default_pager.c (seqnos_memory_object_data_return): Add comment.

	Prevent auto-terminating of tmpfs due to idle.
	* tmpfs/tmpfs.c (diskfs_thread_function): New function.
	(main): Manually detach diskfs demuxer.

	Correct handling of object size.
	* tmpfs/node.c (diskfs_truncate): Pass the original (non-rounded) size to
	default_pager_object_set_size.
	(diskfs_grow): Likewise.
	(diskfs_get_filemap): Do not set object size, as
	default_pager_object_create already sets it.

2012-03-27  Maksym Planeta  <mcsim.planeta@gmail.com>

	Fix hard links accounting in tmpfs.
	* tmpfs/dir.c (diskfs_init_dir, diskfs_clear_directory): Fix hard link
	accounting in tmpfs for directories.

2012-03-26  Maksym Planeta  <mcsim.planeta@gmail.com>

	Correct function calling.
	* mach-defpager/default_pager.c (S_default_pager_object_set_size,
	seqnos_memory_object_lock_completed): Correct calling of function
	pager_port_unlock.

	Add lock in pager_truncate.
	* mach-defpager/default_pager.c (pager_truncate): Add mutex lock.

	Correct available space check.
	*tmpfs/node.c (diskfs_grow): Parameter size denotes new size, not delta.
	So available space check should take that into account.

2012-03-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

2012-03-26  Maksym Planeta  <mcsim.planeta@gmail.com>

	Remove warnings during compilation.
	* mach-defpager/kalloc.c: Added missing prototypes, headers, types.
	* mach-defpager/wiring.c: Likewise.
	* mach-defpager/default_pager.c: Likewise.
	* mach-defpager/main.c: Likewise.
	* mach-defpager/setup.c: Likewise.
	(S_default_pager_paging_storage): Fix wrong calling of kfree.

	* mach-defpager/kalloc.h: New file with prototypes from kalloc.c.
	* mach-defpager/default_pager.h: New file with prototypes
	from default_pager.c.
	* mach-defpager/Makefile (LCLHDRS): Add new header files.

2012-03-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix extern inline use
	* ext2fs/Makefile (SRCS): Add xinl.c
	* libtreefs/Makefile (OTHERSRCS): Likewise.
	* term/Makefile (SRCS): Likewise.
	* ufs/Makefile (SRCS): Likewise.

	* hostmux/hostmux-xinl.c: Define HOSTMUX_DEFINE_EI instead of HOSTMUX_EI.
	* libdiskfs/extern-inline.c: Define DISKFS_DEFINE_EXTERN_INLINE instead of
	DISKFS_EXTERN_INLINE.
	* libftpconn/xinl.c: Define FTP_CONN_DEFINE_EI instead of FTP_CONN_EI.
	* libpipe/pipe-funcs.c: Define PIPE_DEFINE_EI instead of PIPE_EI.
	* libpipe/pq-funcs.c: Define PQ_DEFINE_EI instead of PQ_EI.
	* libshouldbeinlibc/idvec-funcs.c: Define IDVEC_DEFINE_EI instead of
	IDVEC_EI.
	* libshouldbeinlibc/maptime-funcs.c: Define MAPTIME_DEFINE_EI instead of
	MAPTIME_EI.
	* libshouldbeinlibc/ugids-xinl.c: Define UGIDS_DEFINE_EI instead of
	UGIDS_EI.
	* libstore/xinl.c: Define STORE_DEFINE_EI instead of STORE_EI.
	* libthreads/rwlock.c: Define RWLOCK_DEFINE_EI instead of RWLOCK_EI.
	* ext2fs/xinl.c: New file, define EXT2FS_DEFINE_EI and include "ext2fs.h"
	* libtreefs/xinl.c: New file, define TREEFS_DEFINE_EI and include "treefs.h"
	and "mig-decls.h".
	* term/xinl.c: New file, define TERM_DEFINE_EI and include "term.h".
	* ufs/xinl.c: New file, define UFS_DEFINE_EI and include "ufs.h"

	* ext2fs/ext2fs.h: Include <features.h>, define EXT2FS_EI to __extern_inline
	instead of "extern inline", define it to empty when EXT2FS_DEFINE_EI is
	defined. Always declare extern inline prototypes, and define extern inlines
	content only if __USE_EXTERN_INLINES or EXT2FS_DEFINE_EI is defined.
	* libdiskfs/diskfs.h: Likewise with DISKFS_EXTERN_INLINE and
	DISKFS_DEFINE_EXTERN_INLINE.
	* libftpconn/ftpconn.h: Likewise with FTP_CONN_EI and FTP_CONN_DEFINE_EI.
	* libftpconn/priv.h: Likewise.
	* libpipe/pipe.h: Likewise with PIPE_EI and PIPE_DEFINE_EI.
	* libpipe/pq.h: Likewise with PQ_EI and PQ_DEFINE_EI.
	* libshouldbeinlibc/idvec.h: Likewise with IDVEC_EI and IDVEC_DEFINE_EI.
	* libshouldbeinlibc/maptime.h: Likewise with MAPTIME_EI and
	MAPTIME_DEFINE_EI.
	* libshouldbeinlibc/ugids.h: Likewise with UGIDS_EI and UGIDS_DEFINE_EI.
	* libstore/store.h: Likewise with STORE_EI and STORE_DEFINE_EI.
	* libthreads/rwlock.h: Likewise with RWLOCK_EI and RWLOCK_DEFINE_EI.
	* term/term.h: Likewise with TERM_EI and TERM_DEFINE_EI.
	* ufs/ufs.h: Likewise with UFS_EI and UFS_DEFINE_EI.
	* libtreefs/treefs.h: Include <features.h>, define TREE_FS_EI to
	__extern_inline, or to empty when TREEFS_DEFINE_EI is defined. Use TREEFS_EI
	instead of "extern inline".
	* libtreefs/mig-decls.h: Use TREEFS_EI instead of "extern inline".

2012-02-21  Ludovic Courtès  <ludo@gnu.org>

	Add `console/motd.UTF8' to the distribution.
	* console/Makefile (DIST_FILES): Add `motd.UTF8'.

2012-02-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix pfinet device_open errno reporting
	* pfinet/ethernet.c (ethernet_open): Use value saved in `file_errno', not
	`errno'.

	Make pfinet use BPF filter when using a devnode
	* pfinet/ethernet.c (bpf_ether_filter, bpf_ether_filter_len): New variables.
	(ethernet_open): Use bpf_ether_filter and bpf_ether_filter_len for
	device_set_filter call in the devnode case.

	More helpful messages

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

	Fix pfinet compilation
	* pfinet/ethernet.c (_HACK_ERRNO_H): Define to avoid inclusion of
	glue-include/linux/errno.h which undefines errno.
	Include <fcntl.h>.

	Make pfinet try both a filepath and kernel device
	pfinet/ethernet.c (ethernet_open): Try to file_name_lookup() the device as
	filepath before opening the Mach device.

2012-01-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Use TERM=mach-gnu-color instead of mach-color
	mach-gnu-color was added to upstream ncurses as the GNU variant of the Mach
	kernel console.

	* config/ttys (console): Set type to mach-gnu-color.

2011-12-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Upgrade pager-memcpy parameters
	* libpager/pager-memcpy.c (VMCOPY_BETTER_THAN_MEMCPY): Increase to 8 pages.
	(VMCOPY_WINDOW_DEFAULT_SIZE, MEMCPY_WINDOW_DEFAULT_SIZE): Increase to 32 pages.

2011-12-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Do not inherit all ext2fs flags
	* ext2fs/ext2_fs.h (EXT2_FL_INHERITED, EXT2_REG_FLMASK, EXT2_OTHER_FLMASK):
	New macros.
	(ext2_mask_flags): New inline function.
	* ext2fs/ialloc.c (diskfs_alloc_node): Use EXT2_FL_INHERITED and call
	ext2_mask_flags.

2011-12-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix 0-length reads from tty
	* term/users.c (trivfs_S_io_read): Immediately return 0 also when `amount' is 0.

2011-12-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix e2os script posixness
	* sutils/e2os.sh (sbget, sbset): Use POSIX syntax for functions.

2011-12-06  Pino Toscano  <toscano.pino@tiscali.it>

	Fix error values on socket creation
	On socket creation, return the correct errno values, EPROTOTYPE and
	EPROTONOSUPPORT, for invalid socket types and protocols.

	* pfinet/socket-ops.c (S_socket_create): Correctly return EPROTOTYPE and
	EPROTONOSUPPORT.
	* pflocal/pf.c (S_socket_create): Correctly return EPROTOTYPE.

2011-12-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix proc fault
	* proc/info.c (get_vector): Set `scanned' relatively to `readaddr' instead
	of to `data'.

2011-11-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix select on pfinet tunnel and streamio
	* pfinet/tunnel.c (trivfs_S_io_select): Do not return EINVAL on SELECT_URG.
	* trans/streamio.c (trivfs_S_io_select): Likewise.

2011-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Partially revert fa5e833a
	libpipe/pipe.c (pipe_recv): Even if `source' is NULL and packet source exists,
	do not dereference it, as pq_dequeue already does it.

	Fix two-way transmission for socketpair(SOCK_DGRAM)
	* pflocal/socket.c (S_socket_connect2): For connection-less sockets, also
	connect `user2' to `user1'.

	Fix source address reference accounting
	* libpipe/pipe.c (pipe_recv): If `source' is NULL but packet source exists,
	dereference it.
	* pflocal/io.c (S_io_write): Only dereference the source on errors.

	Fix pflocal.static link
	* pflocal/Makefile (HURDLIBS): Add iohelp

2011-11-24  Thomas Schwinge  <thomas@schwinge.name>

	Merge remote-tracking branch 'darnassus/master'

	* configure: Regenerate.

	Further port sequence number cleanup.
	* libpager/priv.h (struct pager): Make seqno member of type mach_port_seqno_t.
	Change all users.
	* libpager/seqnos.c (_pager_stubs_update_seqno): Rename to _pager_update_seqno.
	Change all users.
	* libpager/demuxer.c (pager_demuxer): Make use of _pager_update_seqno.
	* libpager/notify-stubs.c: Remove unused attribute where no longer appropriate.

2011-11-24  Sergio Lopez  <koro@sinrega.org>

	Don't forget to update port sequence numbers in stub functions.
	* seqnos.c (_pager_stubs_update_seqno): New function.
	* priv.h (_pager_stubs_update_seqno): New function.

	* notify-stubs.c (_pager_do_seqnos_mach_notify_port_deleted):
	Call _pager_stubs_update_seqno to properly update seqno.
	(_pager_do_seqnos_mach_notify_msg_accepted): Likewise.
	(_pager_do_seqnos_mach_notify_port_destroyed): Likewise.
	(_pager_do_seqnos_mach_notify_send_once): Likewise.
	(_pager_do_seqnos_mach_notify_dead_name): Likewise.
	* stubs.c (_pager_seqnos_memory_object_copy): Likewise.
	(_pager_seqnos_memory_object_data_write): Likewise.
	(_pager_seqnos_memory_object_supply_completed): Likewise.

2011-11-20  Ludovic Courtès  <ludo@gnu.org>

	configure: Use modern `AC_INIT' invocation.
	* Makeconf (hurd-version): Move to...
	* config.make.in (hurd-version): ... here.  Set to @PACKAGE_VERSION@.

	* configure.in: Change `AC_INIT' invocation to specify the package name,
	  version number, and bug report address.

2011-11-20  Ben Asselstine  <benasselstine@gmail.com>

	Fix symlink support in tmpfs
	* node.c (create_symlink_hook): Set NP->dn_stat.st_size to the length of TARGET.
	(create_symlink_hook): Set NP->dn->type to DT_LNK.
	(diskfs_truncate): Do NP->allocsize check after symlink check.

2011-11-20  Sergio Lopez  <sergio.lopez@sinrega.org>

	Just destroy port rights in default_pager
	* mach-defpager/default_pager.c (seqnos_memory_object_terminate): Simply call
	`mach_port_destroy' instead of managing rights through `mach_port_mod_refs'.

2011-11-20  Maksym Planeta  <mcsim.planeta@gmail.com>

	Fix defpager into using the correct control port
	The reply_port is only the correct control port when RPCs are from the kernel,
	not from e.g. tmpfs, such as default_pager_object_set_size calls.

	* mach-defpager/default_pager.c (seqnos_memory_object_terminate,
	S_default_pager_object_set_size): Make default pager use its own memory object
	control ports for external objects, remove reply_to parameter.
	* trans/proxy-defpager.c (S_default_pager_object_set_size): Remove reply_to
	parameter.
	* hurd/default_pager.defs (default_pager_object_set_size): Remove unused
	parameter.

2011-11-20  Maksym Planeta  <mcsim.planeta@gmail.com>

	Work with memory object only after vm_map has been performed
	* tmpfs/node.c (diskfs_get_filemap): Work with memory object only after
	vm_map has been performed.

2011-11-15  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

	Add comments

2011-11-15  Diego Nieto Cid  <dnietoc@gmail.com>

	Keep at least one request handler thread.
	* libports/manage-multithread.c: Startover when no other thread is
	listenening for requests.

2011-11-07  Ludovic Courtès  <ludo@gnu.org>

	Allow /hurd/init to be a symlink.
	* libdiskfs/boot-start.c (diskfs_start_bootstrap): Retry `dir_lookup'
	  calls for INITNAME until either SYMLOOP_MAX is reached or the lookup
	  process completes.

2011-11-05  Thomas Schwinge  <thomas@schwinge.name>

	* configure: Regenerate.

2011-11-05  Ludovic Courtès  <ludo@gnu.org>

	mach-defpager: Declare `__malloc_initialize_hook' as volatile.
	* mach-defpager/kalloc.c (__MALLOC_HOOK_VOLATILE): New macro.

2011-11-05  Ludovic Courtès  <ludo@gnu.org>

	Disable NFS translator and daemon compilation when Sun RPC is lacking.
	* Makefile (prog-subdirs): Make `nfs' and `nfsd' conditional on
	  $(HAVE_SUN_RPC) = yes.
	* config.make.in (HAVE_SUN_RPC): New variable.
	* configure.in: Check for <rpc/types.h> and `clnt_create'.

	* README.CVS: Document dependency on a Sun RPC implementation.

2011-10-20  Thomas Schwinge  <thomas@schwinge.name>

	Populate a [build]/lib directory with links to all shared libraries.
	* Makeconf (libs): Add dependency to create these links.

	Merge branch 'tls/libthreads'
	Conflicts:
	libthreads/ChangeLog

2011-10-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	TLS support for libthreads.
	* libthreads/cprocs.c (cproc_create): Call into glibc to allocate static TLS
	block.
	* libthreads/cthread_internals.h (tcbhead_t): New structure; as in glibc.
	(cproc_setup): Take TCB parameter.
	(_dl_allocate_tls): Declare; from glibc.
	* libthreads/alpha/thread.c (cproc_setup): Compile-time warning for missing TLS
	support.
	* libthreads/i386/thread.c (cproc_setup): Imlement TLS support.

2011-10-19  Thomas Schwinge  <thomas@schwinge.name>

	Fix building of nfs.static.
	* nfs/Makefile (HURDLIBS): Add ihash (for ports).
	* nfs/ops.c (netfs_set_translator): Don't define.  It is the EOPNOTSUPP stub
	that is already being defined in libnetfs/set-get-trans.c.

2011-10-19  Pino Toscano  <toscano.pino@tiscali.it>

	libnetfs: handle _PC_PATH_MAX in pathconf
	Explicitly return -1 also for _PC_PATH_MAX to indicate there is no
	limit for it, otherwise EINVAL is returned for it.

	* libnetfs/io-pathconf.c (netfs_S_io_pathconf): Handle _PC_PATH_MAX
	too.

2011-10-19  Pino Toscano  <toscano.pino@tiscali.it>

	libdiskfs: handle _PC_PATH_MAX in pathconf
	Explicitly return -1 also for _PC_PATH_MAX to indicate there is no
	limit for it, otherwise EINVAL is returned for it.

	* libdiskfs/io-pathconf.c (diskfs_S_io_pathconf): Handle _PC_PATH_MAX
	too.

2011-10-19  Pino Toscano  <toscano.pino@tiscali.it>

	Add missing format strings for error, printk, problem
	Some calls to `error', `printk', and `problem' lacked a format
	string, leading to build failure when compiling with stricter CFLAGS.

	* nfs/mount.c (mount_root): Add format string for `error' calls which
	lacked it.
	* pfinet/main.c (pfinet_bind): Likewise.
	* term/main.c (main): Likewise.
	* utils/shd.c (run): Likewise.
	* utils/storeinfo.c (main): Likewise.

	* pfinet/linux-src/include/net/tcp.h (tcp_clear_xmit_timer): Add
	format string for `printk' call which lacked it.
	(tcp_timer_is_set): Likewise.

	* ufs-fsck/utilities.c (punt): Add format string for `problem' call
	which lacked it.

2011-10-03  Sergio López  <slpml@sinrega.org>

	Sync pager before clearing MAY_CACHE flag
	Clearing MAY_CACHE flag on a pager initiates a memory object
	termination if this one is not referenced anymore. If the object has a
	significant number of dirty pages (i.e. a file recently created was
	unlinked before diskfs periodical sync) this operation generates a lot
	of stress on the translator. This is one of the most common sources
	for thread storms.

	Sync'ing the pager before clearing that flag ensures that there aren't
	dirty pages in the object before its termination.

	* ext2fs/pager.c (drop_pager_softrefs): Sync pager before clearing
	MAY_CACHE flag.

2011-08-22  Diego Nieto Cid  <dnietoc@gmail.com>

	Fix 'make dist' in doc.
	* doc/Makefile (DIST_FILES): Remove target files.
	(lndist): Depend on lndist-info-targets
	(lndist-info-targets): New target. Distribute target files.

	* include/Makefile (lndist): copy files from $(srcdir).

2011-08-22  Olaf Buddenhagen  <antrik@users.sourceforge.net>

	Be less aggressive about switching to bigger units
	* utils/vmstat.c (print_val): Switch size unit at 10000 instead of 1024.

2011-08-20  Jonathan Neuschäfer  <j.neuschaefer@gmx.net>

	fix common misspellings
	 * Fix spelling with codespell[1] and manually review it.

	[1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/

2011-08-20  Jonathan Neuschäfer  <j.neuschaefer@gmx.net>

	pfinet/linux-src: fix a memory leak
	 * pfinet/linux-src/net/ipv4/ip_options.c (ip_options_get): calculate
	   the size of opt only once, free opt before returning -EFAULT.

2011-08-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix localhost() after memory failure
	* libshouldbeinlibc/localhost.c (localhost): Free and reset buf when
	reallocation failed.

2011-08-20  Jonathan Neuschäfer  <j.neuschaefer@gmx.net>

	fix a realloc-related memory leak in localhost()
	 * libshouldbeinlibc/localhost.c (localhost): assign the return value
	   of realloc to a temporary variable to avoid losing the old value of
	   buf in the case of realloc failing.

2011-08-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix spurious port deallocation
	* proc/mgt.c (S_proc_exception_raise): On proc_exception_raise forwarding
	error, return MIG_NO_REPLY instead of 0, since the reply port may have been
	consumed, and the task is being terminated anyway.

2011-08-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix restoring from Xorg
	* console-client/vga.c (vga_display_restore_status): Use VGA_GFX_MISC_B8TOBF
	instead of VGA_GFX_MISC_A0TOAF.

	Let GNU Mach messages appear under Hurd console
	* console-client/vga-dynafont.c (dynafont_new): Force ASCII glyphs as being
	always trivially mapped.
	* console-client/vga-hw.h (VGA_VIDEO_MEM_BASE_ADDR): Set macro to 0x0b8000.
	* console-client/vga-support.c [!OSKIT_MACH]: Do not include
	<device/device.h> and <hurd.h>, remove VIDMMAP_BEGIN, VIDMMAP_SIZE and
	VIDMMAP_KDOFS macros.
	(vga_init): Remove code which maps video memory from the kd device. Use
	VGA_GFX_MISC_B8TOBF instead of VGA_GFX_MISC_A0TOAF or VGA_GFX_MISC_A0TOBF.

	Fix typo
	* console-client/vga-dynafont.c (dynafont_lookup_internal): Fix typo.

2011-07-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix one of the auth protocol races
	See http://lists.gnu.org/archive/html/bug-hurd/2010-07/msg00010.html

	* auth/auth.c (pending): Duplicate structure into...
	(pending_user, pending_server): ... new structure.
	(pending_users): Use pending_user structure.
	(pending_servers): Use pending_server structure.
	(S_auth_user_authenticate): Rework loops to wait for the server to have
	finished with sending uids.
	(S_auth_server_authenticate): Rework loops to notify the user when uids are
	sent.

2011-07-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Add Marcus' console ttys.
	* config/ttys: Add tty[1-6].

2011-06-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Set default umask to 022
	* daemons/runsystem.sh: Call umask 022.

2011-05-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix crash on fstab-existing mount
	Fix crash when invoking mount with a pair of parameters which already exists
	in fstab

	* sutils/fstab.c (fstab_add_mntent): Do not free `mounted_fs' when it is the
	same as `fs'.

2011-05-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	fstab_find: also try to call realpath()
	For symlinks and non-absolute paths.

	* sutils/fstab.c (fstab_find): Also call `fstab_find_device' and
	`fstab_find_mount' on path returned by `realpath'.

2011-05-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix port leak
	* libtrivfs/file-reparent.c (trivfs_S_file_reparent): Deallocate `parent'
	port when the trivfs_S_io_duplicate() call succeeds.

2011-04-17  Diego Nieto Cid  <dnietoc@gmail.com>

	Print KeySymToUcs4 calls.

2011-04-17  Diego Nieto Cid  <dnietoc@gmail.com>

	Find the absolute path to <X11/keysymdef.h>
	Specifying the header file relative to $(includeir) won't work because
	it is defined in terms of prefix variable which is redefined during
	installation to the destination directory.

	And the dependency check will fail during 'make install' because the
	header might not be in the destination tree.

	* config.make.in (X11_KEYSYMDEF_H, SED): New variables.
	* configure.in: Check for sed. Find X11/keysymdef.h absolute location
	using the preprocessor and save it in X11_KEYSYMDEF_H variable.
	* console-client/Makefile (kstoucs_map.c): Use X11_KEYSYMDEF_H to
	depend on the header file.

2011-04-17  Diego Nieto Cid  <dnietoc@gmail.com>

	Use locale's compose file by default.
	* console-client/Makefile [HAVE_X11=yes](compose-CFLAGS): Define DATADIR.
	* console-client/pc-kbd.c (pc_kbd_init): Load compose file
	unconditionally.
	* console-client/xkb/compose.c: Include fcntl.h, unistd.h and locale.h
	(struct map_entry, enum callback_result, map_callback): New types.
	(map_iterate): New function.
	(struct matcher_context): New type.
	(match_left_set_right, match_right_set_left): New functions.
	(get_compose_file_for_locale): Likewise.
	(read_composefile): Use get_compose_file_for_locale result when
	argument composefn is NULL.

	Disable XKB when either lex or yacc is missing.

	Avoid redefinition of NoSymbol.
	* console-client/xkb/xkb.c: Remove macro NoSymbol.
	* console-client/xkb/compose.c: Likewise.

	Delete xkb/HACKING file.

	Cleanup.

	Deallocate memory on errors.
	* console-client/xkb/parser.y(parse_xkbconfig): Free cwd.

	Remove default keymap.
	* console-client/xkb/default.xkb: Removed file.
	* console-client/xkb/makeconf.sh: Likewise.
	* console-client/xkb/xkbdefaults.c: Likewise.
	* console-client/xkb/parser.y(parse_xkbconfig): Don't use harcoded
	defaults, return error when no keymap file is given.

	Delete Compose file.

	Add missing dependency.

	Reimplement KeySymToUcs4.
	* console-client/Makefile (DIST_FILES): Add xkb/kstoucs_map.sh.
	(kstoucs_map.c): New target.
	* console-client/xkb/kstoucs.c: Reimplement KeySymToUcs4.
	* console-client/xkb/kstoucs_map.sh: New file.

2011-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

	Fix magic link with gold
	* trans/Makefile (magic): Link against libiohelp.

2011-04-08  Diego Nieto Cid  <dnietoc@gmail.com>

	Depend on X11 for string to keysym mappings.
	* config.make.in (HAVE_X11,X11_CFLAGS,X11_LIBS,XKB_BASE): New variables.
	* configure.in: Check for x11 module.
	* console-client/Makefile (PC_KBD_SO_SRCS): Move XKB sources...
	* console-client/Makefile (XKB_SRCS): ... here. New variable.
	* console-client/Makefile (SRCS): Add $(XKB_SRCS).
	* console-client/Makefile (LCLHDRS): Add xkb/xkb.h.
	* console-client/Makefile (XKB_DATA_DIR): Removed variable.
	* console-client/Makefile (pc_kbd.so.$(hurd-version)): Use patsubst.
	Depend on XKB objects when HAVE_X11 = yes.
	* console-client/Makefile (install): Depend on XKB datafiles when
	HAVE_X11 = yes.
	* console-client/Makefile (pc-kbd-CFLAGS): Set variable when
	HAVE_X11 = yes
	* console-client/Makefile ($(XKB_DATA_DIR),$(XKB_DATA_DIR)/%): Replaced
	by...
	* console-client/Makefile[HAVE_X11=yes]($(XKB_BASE),$(XKB_BASE)/%): ...
	this targets.
	* console-client/Makefile[HAVE_X11=yes](pc_kbd-LDLIBS): New variable.
	* console-client/xkb/keysymdef.h: Removed file.
	* console-client/xkb/ks_tables.h: Likewise.
	* console-client/xkb/symname.c: Likewise.
	* console-client/xkb/xkb.c: Include <X11/keysymdef.h>.
	* console-client/xkb/compose.c: Likewise.
	* console-client/xkb/xkb.h: Remove XStringToKeysym prototype.
	Include <X11/Xlib.h>.

	Update xkb/README.
	* console-client/xkb/README: Refer to this artifact as "module"
	instead of "input driver".
	Key repeater is now implemented by pc-kbd.
	Update the module's installation and usage procedures.

	Use first section when there's no default.
	* console-client/xkb/parser.y (skip_to_firstsection): New function.
	(include_section): Call skip_to_firstsection when
	skip_to_defaultsection fails.

	* console-client/xkb/parser.y (include_section): Free filename.

	* console-client/xkb/parser.y (include_section): Remove superflous strdup.

2011-04-08  Arne Babenhauserheide  <bab@draketo.de>

	Added an example for selecting the keymap.
	* console-client/xkb/README: Keymap selection example.

2011-04-08  Diego Nieto Cid  <dnietoc@gmail.com>

	Symbols 0..9 stand for their ascii character.
	* console-client/xkb/parser.y(symbolname): Shift by '0' numbers [0..9].

	Add support for hexadecimal symbols.
	* console-client/xkb/parser.y(symbolname): Match and return hex value.

	Update foreign files.
	* console-client/xkb/keysymdef.h: Replaced file.
	* console-client/xkb/ks_tables.h: Likewise.
	* console-client/xkb/kstoucs.c: Likewise.
	* console-client/xkb/symname.c: Likewise.
	* console-client/xkb/HACKING: New file, added foreign files information.

	Document new options.
	* console-client/xkb/README: Updated.

	* console-client/xkb/xkb.c (iskeypad): Access up to 'width' symbols.

	'vmods' is an alias for 'virtual_modifiers'.

	Fix handling of error conditions.
	* console-client/xkb/parser.y (key_set_action): Test actions variable.
	(key_set_keysym): Test keysyms instead of keys.

	Fix memory errors.
	* console-client/xkb/parser.y (key_set_keysym): Consider symbol's size
	when reallocing.
	(key_set_action): Consider (xkb_action_t *)'s size when reallocing.
	                  Start clearing levels from 'width' and up to 'level'.

2011-04-08  Alexander Preisinger  <alexander.preisinger@gmail.com>

	Add neo support
	* console-client/xkb/xkb-data/keymap/hurd: New keymap neo.

	README update

2011-04-08  Diego Nieto Cid  <dnietoc@gmail.com>

	Enable hurd extensions in every layout.

	Remove obsolete variable declaration.

	Use vfprintf in debug_printf and write to stderr.

	Add debugging messages.
	* console-client/xkb/lex.l(include_file): Log file changes.
	* console-client/xkb/parser.y(key_set_keysym): Log symbol associations.
	(include_section): Log section being read.
	(symbolssect,keycodesect,key_new): Log current key.
	* console-client/xkb/xkbdata.c(keyname_add): Log keyname, keycode and hash.
	(set_rmod_keycode): Log modifier, keyname and keycode.

	Emit warnings on undeclared virtual modifiers.

	Report inexistent section.
	* console-client/xkb/parser.y (include_section): Declare scanner_get_current_location and
	scanner_get_current_file prototypes.
	New local variables current_location, current_file and err.
	Report error and exit when a section cannot be processed successfully.

	Add function to read the state of the scanner.
	* console-client/xkb/lex.l (scanner_get_current_location): New function.
	(scanner_get_current_file): Likewise.

	Check for end of file.
	* console-client/xkb/parser.y [!YY_NULL]: Define YY_NULL, the end of
	file token.
	* console-client/xkb/parser.y (skip_to_sectionname): If the end of file
	is reached while skipping symbols return an error.
	Return 0 on success.
	* console-client/xkb/parser.y (skip_to_defaultsection): Likewise.

	Propagate error on unexpected end of files.
	* console-client/xkb/lex.l (close_include): Return an error code on
	failure.
	(yywrap): Indicate termination when close_include fails.

	Give the file name and line number where an unexpected end of file was found.

	Warn when too many virtual modifier are defined.

	Avoid hashing garbage for short keynames.

	Rule vmod returns an int with the vmod's bit on.
	This allows to combine virtual modifiers safely.

	Recreate xkb/keymap/hurd from xkeyboard-config-1.8's xfree86 keymap.
	modified:   xkb/keymap/hurd
	    * Don't include inexistant symbol file: pc104.
	    * en_US was replaced by pc(pc105).
	    * Append us layout by default as pc(pc105) no longer describes
	      a full keyboard.

	Update key type assigment routine.

	Skip to main file's default section when needed.

	Lexer support for keycodes with +/- symbols and arbitrary level numbers.

	debian patch: 04_cleanups.patch

	debian patch: 03_hurd_keymap.patch

	Install XKB data files.
	* console-client/Makefile (XKB_DATA_DIR, XKB_DATA_FILES): New variables.
	(DIST_FILES): Use XKB_DATA_FILES to list data files.
	(pc-kbd-CFLAGS): Use XKB_DATA_DIR variable.
	(intall): Add XKB data files to it's dependencies.
	($(XKB_DATA_DIR), $(XKB_DATA_DIR)/%): New targets.

	Translate scancodes using XKB.
	* console-client/Makefile (pc-kbd-CFLAGS): New variable.
	(PC_KBD_SO_SRCS): Add sources from xkb directory.
	(LCLHDRS): Add includes from xkb directory.
	(lex.c, parser.tab.h): New targets.
	(VPATH): New variable.
	(CPPFLAGS): Add xkb directory to include search path.
	(LFLAGS, YFLAGS): New variables.
	(DIST_FILES): New variable.
	* console-client/pc-kbd.c [XKB_SUPPORT]: Include xkb/xkb.h.
	(cd): Removed static qualifier.
	[XKB_SUPPORT] (ctrlaltbs): New variable.
	[XKB_SUPPORT] (xkb_repeat_delay, xkb_repeat_interval): Likewise.
	(gnumach_v1_input_next) [XKB_SUPPORT]: Skip conversion to set 2.
	[XKB_SUPPORT] (read_keycode): New function.
	[XKB_SUPPORT] (input_loop): Pass keycode to xkb_input_key.
	(struct arguments): New type.
	(options) [XKB_SUPPORT]: New options xkbdir, keymapfile, keymap
	compose, ctrlaltbs, no-ctrlaltbs, repeat-delay and repeat-interval.
	(parse_opt) [XKB_SUPPORT]: Handle new options.
	(pc_kbd_init) [XKB_SUPPORT]: Initialize XKB and load layout.
	(pc_kbd_start) [XKB_SUPPORT]: Initialize xkb timers.

2011-04-05  Diego Nieto Cid  <dnietoc@gmail.com>

	Add missing semicolons bison was inserting.
	* console-client/xkb/parser.y: Add semicolons where needed.

	Add type to $$ in mid-rules.
	(see http://www.mail-archive.com/help-bison@gnu.org/msg02159.html )

	debian patch: 06_gcc-4.1_fix.patch

	Use external encoding converter.
	* console-client/xkb/xkb.c (cd): Change storage class to extern.

	Export function to load the keaboard layout.
	* console-client/xkb/xkb.c (xkb_load_layout): New function.
	* console-client/xkb/xkb.h (xkb_load_layout): Export prototype.

	Remove keyboard driver from XKB implementation.
	* console-client/xkb/xkb.c (kbd_dev): Deleted variable.
	(gnumach_v1_compat, repeater_node,cnode, arguments): Likewise.
	(options, ctrlaltbs, argp, xkb_ops, driver_xkb_ops): Likewise.
	(gnumach_v1_input_next, read_scancode): Deleted functions.
	(input_loop, xkb_start, xkb_init, parse_opt): Likewise.
	(xkb_start, xkb_fini, xkb_set_scroll_lock_status): Likewise.

2011-04-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix pfinet build from make dist-generated tarball
	* pfinet/Makefile (ARCHS): New variable.
	(LINUXSRCS): Move arch files to...
	(ARCHSRCS): here.
	(LINUXHDRS): Update.
	(LINUXNETHDRS): New variable.
	(ARCHHDRS): New variable.
	(FROBBEDLINUXHEADERS): Update.
	(ASMHEADERS): Update.
	(lndist-linux-inet-files, lndist-linux-files, lndist-asm-files): Remove
	targets.
	(lndist-linux-src-net-core-files, lndist-linux-src-net-ethernet-files,
	lndist-linux-src-net-ipv4-files, lndist-linux-src-net-ipv6-files,
	lndist-linux-src-asm-files, lndist-linux-src-include-asm-files,
	lndist-linux-src-include-linux-files, lndist-linux-src-include-net-files,
	lndist-glue-include-linux-files, lndist-glue-include-asm-files): New
	targets.
	(linux-src, linux-src/arch, linux-src/arch/%/lib, linux-src/include,
	linux-src/include/%, linux-src/net, linux-src/net/core,
	linux-src/net/ethernet, linux-src/net/ipv4, linux-src/net/ipv6,
	glue-include, glue-include/asm, glue-include/linux): New hurd-snap
	directory build targets.
	(lndist): Update target dependencies.

2011-04-03  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Remove reference to inexistent fatfs/EXTENSIONS
	* fatfs/Makefile (DIST_FILES): Remove.

	Ship only the root ChangeLog
	* Makeconf (distfiles): Remove ChangeLog.
	* Makefile (DIST_FILES): Add ChangeLog.

2011-04-03  Ludovic Courtès  <ludo@gnu.org>

	Remove `serverboot'; fix "make dist" in `mach-defpager'.
	* serverboot/default_pager.c, serverboot/kalloc.c, serverboot/queue.h,
	  serverboot/wiring.c, serverboot/wiring.h: Move to `mach-defpager/'.

	* serverboot/Makefile, serverboot/assert.h, serverboot/bootstrap.c,
	  serverboot/bunzip2.c, serverboot/def_pager_setup.c, serverboot/defs.h,
	  serverboot/dir.h, serverboot/disk_inode.h,
	  serverboot/disk_inode_ffs.h, serverboot/elf-load.c, serverboot/exec.c,
	  serverboot/ext2_file_io.c, serverboot/ffs_compat.c,
	  serverboot/ffs_compat.h, serverboot/ffs_file_io.c,
	  serverboot/file_io.c, serverboot/file_io.h, serverboot/fs.h,
	  serverboot/gets.c, serverboot/gunzip.c, serverboot/load.c,
	  serverboot/mach-exec.h, serverboot/minix_ffs_compat.c,
	  serverboot/minix_ffs_compat.h, serverboot/minix_file_io.c,
	  serverboot/minix_fs.h, serverboot/minix_super.h, serverboot/panic.c,
	  serverboot/strfcns.c: Remove.

	* mach-defpager/Makefile (LCLHDRS): New variable.
	  (vpath): Remove.
	  (CPPFLAGS): Remove `-I$(srcdir)/../serverboot'.

	* mach-defpager/setup.c (page_aligned): Make public.

2011-03-17  Marco Gerards  <metgerards@student.han.nl>

	Add XKB parser and implementation.
	* console-client/xkb/Compose: New file.
	* console-client/xkb/MISSING-FEATURES: Likewise.
	* console-client/xkb/README: Likewise.
	* console-client/xkb/TODO: Likewise.
	* console-client/xkb/compose.c: Likewise.
	* console-client/xkb/default.xkb: Likewise.
	* console-client/xkb/keysymdef.h: Likewise.
	* console-client/xkb/ks_tables.h: Likewise.
	* console-client/xkb/kstoucs.c: Likewise.
	* console-client/xkb/lex.l: Likewise.
	* console-client/xkb/makeconf.sh: Likewise.
	* console-client/xkb/parser.y: Likewise.
	* console-client/xkb/symname.c: Likewise.
	* console-client/xkb/xkb-data/keymap/hurd: Likewise.
	* console-client/xkb/xkb-data/symbols/hurd: Likewise.
	* console-client/xkb/xkb-data/types/hurd: Likewise.
	* console-client/xkb/xkb.c: Likewise.
	* console-client/xkb/xkb.h: Likewise.
	* console-client/xkb/xkbdata.c: Likewise.
	* console-client/xkb/xkbdefaults.c: Likewise.
	* console-client/xkb/xkbtimer.c: Likewise.

2011-03-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix auto-margin support
	* console/display.c (display_output_one): Allow user->cursor.col to become equal
	to width, add linefeed on next character insertion in such case.

	Use macro instead of hardcoded value
	* console/display.c (user_create): Use CONS_VERSION_MAJ_SHIFT macro instead
	of hardcoded value 16.

2011-03-03  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Deallocate thread ports on error
	* proc/info.c (S_proc_getprocinfo): Deallocate ports obtained from
	task_threads() call when an allocation error will be returned.

	Drop duplicate port deallocation
	* libdiskfs/io-reauthenticate.c (diskfs_S_io_reauthenticate): Do not
	deallocate parameter port `rend_port' whan an error will be returned.

	Fix duplicate port deallocation
	* libdiskfs/fsys-getroot.c (diskfs_S_fsys_getroot): Do not deallocate
	`dotdot' parameter port when an error will be returned.

	Drop duplicate assignment
	* libdiskfs/dir-renamed.c (checkpath): Drop duplicate np = target
	assignment.

2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix S_pfinet_siocgifconf given -1 as amount
	* hurd/pfinet.defs (pfinet_siocgifconf): Document that -1 is used for "all
	interfaces".
	* pfinet/pfinet-ops.c (S_pfinet_siocgifconf): Compare amount with
	`(vm_size_t) -1' instead of '< 0' (which can never happen).

2011-02-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Reference TRANSLATOR in `-a' help message.
	* utils/settrans.c (options): Reference TRANSLATOR in `-a' help message.

2011-02-17  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Rephrase settrans' --help
	* utils/settrans.c (options): Rephrase -a and -p help to be more precise.

2011-02-14  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Add comment about finish being called several times

2011-02-12  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Document that -p is the default option in settrans --help
	* utils/settrans.c (options): Document that -p is the default option for
	settrans.

2011-01-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Add -s option to rpctrace
	* utils/rpctrace.c (strsize): New variable, defaults to 80.
	(options): Add 's' option.
	(main): Store 's' option value into `strsize'.
	(print_data): Limit the amount of printed characters to strsize.

2011-01-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix child lookups relative to new homedir
	* utils/login.c (main): Update `ports[INIT_PORT_CWDIR]' as soon as new cwd
	is determined according to HOME, since child lookups need to be relative to
	new homedir (e.g. for .hushlogin).

	Fix comment typo
	* utils/login.c (main): Fix comment typo.

2011-01-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Strictly adhere to the VGA register convention
	Not writing a value to the "enable display" register works for tested cards, but
	Linux writes a 0, and you can never know what manufacturers think.

	* console-client/vga-support.c (vga_exchange_palette_attributes): Write a
	0 value to the "enable display" register.

2010-12-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix NULL dereference
	* pfinet/linux-src/net/ipv6/ip6_fib.c (fib6_locate): Do not dereference fn
	when it is NULL.

	Remove bogus parenthesis
	* login/utmp.c (return_data): Remove bogus parenthesis.

	Fix NULL dereference
	* libps/spec.c (ps_emit_user_name): Do not dereference pw when it is NULL,
	dereference u instead.

	Fix NULL dereference
	* ftpfs/ftpfs.c (parse_startup_opt): Do not derefence sep when it is NULL.

2010-11-20  Diego Nieto Cid  <dnietoc@gmail.com>

	Avoid accessing invalid memory.
	* console/console.c (vcons_lookup): Unlock using cons instead of vcons->cons.

2010-11-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

2010-11-20  Diego Nieto Cid  <dnietoc@gmail.com>

	Properly release console lock.
	The console lock was released only when there were no allocation errors
	leaving it locked in the event mmap failed.

	This patch moves the mutex_unlock call to a point in the flow of control
	where it is consistent with the lock acquisition.

	* console/console.c(netfs_get_dirents): Relocate mutex_unlock call to common
	return path.

2010-10-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix connect(AF_UNSPEC)
	Fixes sshd startup on inet6-enabled systems.

	* pfinet/socket-ops.c (S_socket_create_address): Accept creating
	AF_UNSPEC addresses too.
	* pfinet/linux-src/net/ipv6/udp_ipv6.c (udpv6_connect): When address
	family is AF_UNSPEC, call udp_connect() and clear daddr, saddr, and
	rcv_saddr.

2010-10-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix ipv6 pfinet build
	* pfinet/linux-src/net/ipv6/raw_ipv6.c (rawv6_init_sk): Replace
	yet-undefined raw6_sk with proper translation.

2010-10-29  Alexey Kuznetsov  <kuznet@ms2.inr.ac.ru>

	ipv6 raw fixes
	- RFC2292 bis compliance: enable checksumming of ICMPv6 raw
	sockets by default, reject odd offsets
	- calculate checksum correctly when user forgets to
	uninitialize checksum word

	* net/ipv6/raw_ipv6.c (rawv6_frag_cksum): Fix offset check. Compensate for any
	user-provided checksum.
	(rawv6_setsockopt): Reject odd checkum offsets with EINVAL.
	(rawv6_init_sk): Enable kernel-computed checksum by default for
	IPPROTO_ICMPV6 sockets.

2010-10-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix _ports_lock usage
	* libports/create-internal.c (_ports_create_port_internal): Add label after
	mutex_unlock(_ports_lock), use it where appropriate.

2010-10-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Add \n to boot error message
	* boot/boot.c (main): Print \n after printing boot_script_error_string().

2010-10-11  Pino Toscano  <toscano.pino@tiscali.it>

	Fix return value on `getname' errors.
	This fixes the errno return value for getpeername() calls on not connected
	sockets: the return value of the `getname' call comes from the Linux code, so it
	is a negative value, in case of error.

	* pfinet/misc.c (make_sockaddr_port): Turn negative error values returned by
	`getname' calls into positive values before returning it.

2010-09-20  Zheng Da  <zhengda1936@gmail.com>

	Add device virtualisation support to boot
	* boot/boot.c: Add '-f' option.
	(dev_map): New structure.
	(dev_map_head): New variable.
	(add_dev_map): New function.
	(lookup_dev): New function.
	(parse_opt): Handle the '-f' option: call 'add_dev_map'.
	(ds_device_open): Try to call 'lookup_dev', and open the device from the
	device file if it succeeds.

2010-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Add support for setting actual device flags
	* pfinet/ethernet.c (ethernet_change_flags): New function.
	* pfinet/pfinet.h (ethernet_change_flags): New declaration.
	* pfinet/iioctl-ops.c (S_iioctl_siocsifflags): Also call
	`ethernet_change_flags' after calling `dev_change_flags'.

2010-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge remote branch 'origin/master-zhengda'
	Conflicts:
	utils/rpctrace.c

2010-09-19  Manuel Menal  <mmenal@hurdfr.org>

	Fix port transmission over pflocal
	* pflocal/socket.c (S_socket_recv): Return transmitted port to caller
	thanks to MACH_MSG_TYPE_COPY_SEND instead of MACH_MSG_TYPE_MAKE_SEND
	(since this is a send right here).

2010-09-18  antrik  <antrik@users.sf.net>

	Obtain number of ports in proc and libps
	Add (and implement) a proc RPC to obtain the number of Mach ports used
	by the target task.

	Add infrastructure in libps to read this information.

	* hurd/process.defs (proc_getnports): New RPC.
	* hurd/process_request.defs (proc_getnports_request): New RPC.
	* libps/procstat.c (proc_stat_set_flags): Call proc_getnports RPC if
	needed.
	* libps/ps.h (proc_stat): New `num_ports' field.
	(PSTAT_NUM_PORTS): New macro.
	(proc_stat_num_ports): New macro.
	* libps/spec.c (ps_get_num_ports): New function.
	(ps_num_ports_getter): New variable.
	(specs): New entry for `ps_num_ports_getter'.
	* proc/info.c (S_proc_getnports): New function.

2010-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix net_bh_wakeup use
	* pfinet/sched.c (net_bh_worker): Use the net_bh_lock mutex instead of
	the global_lock mutex for the net_bh_wakeup condition variable.

2010-09-14  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Protect exec from memory faults
	* exec/exec.c (load_section): Call i`hurd_safe_copyin' instead of `memcpy'.
	Handle error case.
	(check_gzip): Likewise.
	(check_bzip2): Likewise.

	Fix compressed binaries execution
	* exec/exec.c (check_gzip.zipread): Add `n' to `zipread_pos' to fix infinite loop.
	(check_bzip2.zipread): Likewise.
	(check_gzip): Set `file_data' and `file_size' fields after calling `finish'
	instead of before.
	(check_bzip2): Likewise.

	Fix in-memory mapping
	* exec/exec.c (map): When e->file_data is not NULL, return it plus
	`posn'.
	(prepare_in_memory): Call prepare_stream to clear stream positions.

2010-09-03  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Enable debugging in mutex_try_lock too
	* libthreads/cthreads.h (mutex_try_lock): Call WAIT_SET_DEBUG when
	spin_try_lock succeeds.

2010-09-03  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	WAIT_DEBUG: permit to get function names instead of threads
	From the idea of Sergio Lopez.

	* libthreads/cthreads.h [WAIT_FUNC_DEBUG] (mutex): Replace struct
	cthread *holder field with const char *fname.
	(WAIT_CLEAR_DEBUG, WAIT_SET_DEBUG): New macros which clear and set fname
	or holder according to WAIT_FUNC_DEBUG and WAIT_DEBUG being defined.
	(mutex_init, mutex_unlock): Call WAIT_CLEAR_DEBUG in all cases instead of
	setting the `holder' field according to WAIT_DEBUG being defined
	(mutex_lock): Call WAIT_SET_DEBUG in all cases instead of setting the `holder'
	field according to WAIT_DEBUG being defined.

2010-08-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Document incoherency for storage of task_events_info
	It doesn't produce any bug ATM just because GNU Mach does not support it.

	* libps/ps.h (struct proc_stat): Document that task_events_info is currently
	actually fetched into proc_info.

2010-08-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Make proc not claim it was able to fetch PI_FETCH_TASKEVENTS
	    * proc/info.c (S_proc_getprocinfo): Clear PI_FETCH_TASKEVENTS from
	    `flags' when task_info.

2010-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Regenerate

2010-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Revert "Fix tmpfs assertion"
	As discussed up to
	http://lists.gnu.org/archive/html/bug-hurd/2010-06/msg00021.html
	this reverts commit 97c5690abeaa88767acf2ffbb55552e8278052c8 and removes the
	corresponding assertion. This is related to commit
	2f7f90ce15cce79ef83a8d273e3a27b5b527c7d7
	which changes how much st_size is increased.

	* tmpfs/tmpfs.h (tmpfs_dirent): Remove `padding' field.
	* tmpfs/dir.c (diskfs_get_directs): Remove assertion on the position of the
	`name' field of struct tmpfs_dirent compared to the position of the `d_name'
	field of struct dirent.

2010-08-27  Carl Fredrik Hammar  <hammy.lite@gmail.com>

	Fix malloc size in tmpfs
	* tmpfs/dir.c (diskfs_direnter_hard): Fix malloc size.

2010-08-27  Da Zheng  <zhengda1936@gmail.com>

	Fix a gcc warning.
	* utils/rpctrace.c (print_contents): Put the if statement in braces.

2010-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix comment on when Mach would try to clear tmpfs data
	* tmpfs/node.c (diskfs_get_filemap): Fix comment according to second
	patch from Sergio Lopez.

2010-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Keep a reference on objects to preserve their content.
	Modify tmpfs to keep a reference (by mapping it into its
	own space) to each memory object created by the user, so they don't get
	inmediately terminated at the end of the current operation.

	* tmpfs/tmpfs.h (struct disknode): Add `memref' field.
	* tmpfs/node.c (diskfs_get_filemap): vm_map() the first page of the
	newly-allocated object, store in `memref' field.
	(diskfs_free_node) vm_deallocate the page pointed by `memref' field.

2010-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix default_pager default_pager_object_set_size parameters
	As suggested by Sergio Lopez.

	* serverboot/default_pager.c (S_default_pager_object_set_size): Exchange
	`seqno' and `reply_to' parameters.

2010-08-27  Sergio Lopez  <sergio.lopez@sinrega.org>

	make unblocked reads from external objects return a zeroed page.
	* serverboot/default_pager.c (struct dstruct): Add boolean_t external field.
	(default_pager_add): Set ds->external to TRUE or FALSE depending whether the
	object is external.
	(default_read): Add external parameter.  If no_block(block) returns 1, if
	external is TRUE, zero fill the page and return PAGER_SUCCESS instead of
	PAGER_ABSENT.
	(seqnos_memory_object_data_request): Pass ds->external as additional
	parameter to default_read.

	Fix missing mutex unlock.
	* serverboot/default_pager.c (pager_read_offset): Properly unlock the mutex
	before returning NO_BLOCK.

2010-08-26  Jeremie Koenig  <jk@jk.fr.eu.org>

	libps (proc_stat_set_flags): Fix pointer signedness warning
	* libps/procstat.c (proc_stat_set_flags): Cast &ps->umask into (int*)
	before calling ps_msg_get_init_int.

2010-08-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd

2010-08-26  Jeremie Koenig  <jk@jk.fr.eu.org>

	libps (fetch_procinfo): Fix non-set flag PSTAT_TASK_EVENTS
	The fetch_procinfo function failed to set the PSTAT_TASK_EVENTS when
	those has been retreived. It should be noted that GNU Mach does not
	support the TASK_EVENTS_INFO flavor, so this is of minor importance.

	The new code also checks that all the requested proc server flags
	related to a given proc_stat flags have been returned before setting the
	proc_stat flag in question.

	* libps/procstat.c (fetch_procinfo): Add map array containing `ps_flags_t' and
	`procinfo' flags.  Use it in a loop to check for flags in `need' and `have' and
	set them in `pi_flags'.  Likewise to check for flags in `pi_flags' and set them
	in `have'.

2010-08-26  Jeremie Koenig  <jk@jk.fr.eu.org>

	libps (_proc_stat_free): Fix memory leak
	The thread_waits field was never freed; this change adds the code to do
	so if the corresponding flag is set.

	Users are also warned of the consequences, namely, that they should not
	free process proc_stats before all their associated thread ones are
	gone, since the latter may reference the former's thread_waits field.
	However, with the normal interface (ie.  ps_context_free), all
	proc_stats are freed at once, so this is not an issue.

	* libps/procstat.c (_proc_stat_free): Free ps->thread_waits if
	PSTAT_THREAD_WAITS flag is set.
	* libps/ps.h (_proc_stat_free): Document that thread proc_stats must be
	freed before process proc_stat can be.

2010-08-26  Jeremie Koenig  <jk@jk.fr.eu.org>

	libps: Fix deadly typo
	PSTAT_PROCINFO is a set of flags, some of which can be obtained in
	alternative ways. In this case, _proc_stat_free will try to deallocate
	an uninitialised field. PSTAT_PROC_INFO is the flag we want.

	* libps/procstat.c (_proc_stat_free): Use PSTAT_PROC_INFO instead of
	PSTAT_PROCINFO.

2010-08-18  Jeremie Koenig  <jk@jk.fr.eu.org>

	Fix the build system to handle part stores
	Part stores are used for debian-installer, and they're considered more
	elegant than kernel partition devices. This patch makes sure they're
	included in the build unless the user disables them explicitely.

	* Makeconf: add $(PARTED_LIBS) to static binaries which use libstore_part.a.
	* configure.in: look for libparted again (see also 7c7a04eb).
	* libstore/Makefile (store-types): include the 'part' store type when
	  appropriate, remove the previous attempt.

2010-08-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Partially revert 8451b436 to fix halt/reboot
	init/init.c (S_msg_sig_post_untraced): Ignore result of
	msg_sig_post_untraced_reply.
	(S_msg_sig_post): Likewise.

2010-08-01  Olaf Buddenhagen  <antrik@users.sf.net>

	pfinet: check return value of mmap() in S_io_read() and S_socket_recv()
	* pfinet/io-ops.c (S_io_read): Check return value.
	* pfinet/socket-ops.c (S_socket_recv): Likewise.

2010-08-01  Ludovic Courtès  <ludo@gnu.org>

	Fix "make dist" in `sutils'.
	* sutils/Makefile (SRCS): Add `clookup.c', `fstab.c', and `update.c'.

	Fix "make dist" in `libthreads'.
	* libthreads/Makefile (lndist, lndist-map-file): New targets.  Link
	  `libthreads.map' to the distribution directory.

	Fix "make dist" in `libcons'.
	* libcons/Makefile (LCLHDRS): Add `$(installhdrs)'.

	Fix "make dist" in `include'.
	* include/Makefile (lndist): New target.  Copy `Makefile' and
	  `$(installhdrs)' to the distribution directory.

	Fix "make dist" in `exec'.
	* exec/Makefile (SRCS): Refer to `$(gzip-sources)' and
	  `$(bzip2-sources)' instead of listing files individually.
	  (gzip-sources, bzip2-sources): New variable.
	  (gzip-objects, bzip2-objects): Derive from the above variables.

	Fix "make dist" in `daemons'.
	* daemons/Makefile (SRCS): Add `runsystem.sh'.

2010-08-01  Ludovic Courtès  <ludo@gnu.org>

	Fix "make dist" in `console-client'.
	This patch updates the list of headers to be included in the
	distribution, and makes it so that `kdioctlServer.c' isn't built and
	distributed by "make dist".

	* console-client/Makefile (PC_KBD_SO_SRCS): Remove `kdioctlServer.c'.
	  (LCLHDRS): Remove `vga.h', add `vga-support.h' and `trans.h'.
	  (OBJS): Add `kdioctlServer.o'.
	  (pc_kbd.so.$(hurd-version)): Add dependency on `kdioctlServer_pic.o'.

2010-08-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix copyrights

2010-08-01  Jeremie Koenig  <jk@jk.fr.eu.org>

	Add wide character support to the Hurd console
	* hurd/console.h (CONS_WCHAR_MASK, CONS_WCHAR_CONTINUED): New macros.
	* console/console.c: Include <locale.h>
	(main): Call setlocale.
	* console/display.c (display_output_one): Call wcwidth() to know the
	width of the character to be displayed. Iterate over this with to insert
	characters with the additional CONS_WCHAR_CONTINUED flag. Update
	screen_shift_right and display_record_filechange calls accordingly.
	* console-client/vga-dynafont.c (WCHAR_BOLD, WCHAR_ITALIC, WCHAR_MASK):
	Change macro values.
	(dynafont_new): Use glyph->bbox.{width,height} instead of
	df->font->bbox.{width,height}.
	(dynafont_change_font): Likewise.
	(dynafont_lookup_internal): Likewise.
	Mask out CONS_WCHAR_CONTINUED before calling bdf_find_glyph, but test it
	for the second position of a double-width glyph.
	(dynafont_activate): Enable 9-bit width only when font width is not
	dividable by 8.

2010-08-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Simplify error exit path
	* libpager/data-request.c (_pager_seqnos_memory_object_data_request):
	Use allow_release_out label instead of re-doing unlocks by hand.

2010-08-01  Jeremie Koenig  <jk@jk.fr.eu.org>

	Fix swap on large devices
	DEV_GET_SIZE values overflow with large devices, rather use
	DEV_GET_RECORDS.

	* mach-defpager/setup.c (S_default_pager_paging_storage): Use DEV_GET_RECORDS
	instead of DEV_GET_SIZE.

2010-08-01  Jeremie Koenig  <jk@jk.fr.eu.org>

	Implement file_replarent in libtrivfs
	* libtrivfs/file-reparent.c (trivfs_S_file_reparent): Call
	trivfs_S_io_duplicate.

2010-08-01  Jeremie Koenig  <jk@jk.fr.eu.org>

	Fix libdiskfs bootstrap race condition
	exec_exec() probably triggers a call to file_exec(), so the exec server
	port needs to be cached earlier.

	* libdiskfs/boot-start.c: Move caching the exec server port to just
	after initializing it.

2010-07-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix -g/-m console vga driver options
	* console-client/vga.c (parse_opt): Reverse -g and -m option effect to
	match documentation.

2010-07-17  Emilio Pozuelo Monfort  <pochu27@gmail.com>

	Implement getsockopt (fd, SOL_SOCKET, SO_TYPE)
	* pflocal/socket.c (S_socket_getopt): Add SO_TYPE support.
	(S_socket_setopt): Fix return value.

2010-06-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Revert "Call device_close on store closure"
	This reverts commit 1bb5a381a2e2f345beb1ca8d019b6174b13bb125.

	storeio can actually pass the device port to other processes, through
	file_get_storage_info for instance, these may then want to use it, even after
	storeio has closed its port.

2010-06-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix memory leak on receive error
	* pfinet/io-ops.c (S_io_read): On error, free data array if it was
	allocated.

	Fix memory leak on schedule_timeout
	* pfinet/glue-include/linux/sched.h (schedule_timeout): Make the
	automatically-allocated wait_queue pointer static instead of dynamic (and lost).

2010-06-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Call device_close on store closure
	* libstore/device.c (dclose): Call device_close before deallocating the device
	port.

2010-06-23  Jeremie Koenig  <jk@jk.fr.eu.org>

	Ignore the "defaults" mount option
	* utils/mount.c (do_mount): Ignore the "defaults" option.

2010-06-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Build part only when parted support is enabled
	* libstore/Makefile (store-types): Remove part.
	  [HAVE_PARTED] (store-types): Add part.
	  [HAVE_PARTED] (libstore.so-LDLIBS): Add -lparted.

	Fix parted support
	* libstore/Makefile (store-types): Add part.
	* libstore/part.c: Do not include <parted/device_gnu.h>
	  (PED_SECTOR_SIZE): Define to PED_SECTOR_SIZE_DEFAULT if undefined.
	  (store_part_create): Do not check value returned by ped_disk_destroy.

2010-05-26  Carl Fredrik Hammar  <hammy.lite@gmail.com>

	Fix --version in scripts
	* Makeconf (%): Don't depend on removed files.  Remove excess backslashes.

2010-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix allowing termination on some error path
	        * libpager/data-request.c (_pager_seqnos_memory_object_data_request):
	        when _pager_pagemap_resize returns an error, instead of goto
	        release_out, goto new label allow_release_out thats calls
	        _pager_allow_termination before proceeding with release_out.

2010-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix ext2fs mount with sparse store
	2010-02-06  Carl Fredrik Hammar  <hammy.lite@gmail.com>

	* ext2fs/storeinfo.c (diskfs_S_file_get_storage_info):
	        Return EOPNOTSUPP instead of store if file contains holes.

2010-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix ps segfault when given empty format string
	2010-02-02  Carl Fredrik Hammar  <hammy.lite@gmail.com>

	* utils/ps.c (main): Move format parsing to parse_opt() and pass
	state to parse_enum().

2010-01-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix tmpfs assertion
	* tmpfs/tmpfs.h (tmpfs_dirent): Add padding field to push the
	name field after its position in struct dirent.

	Make MAKEDEV bash-free
	* sutils/MAKEDEV.sh (cmd, st, lose, mkdev): Remove function, add
	().
	(mkdev): Use ${I#???} instead of ${I:3}.

2009-12-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix duplicate port deallocation on error
	* proc/info.c (S_proc_register_version): Do not deallocate port
	`credential' when err != 0.

2009-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix exec shell check for really small files
	* exec/hashexec.c (check_hashbang): Set `e->error' to 0 before
	calling map(). On error, check `e->error' instead of `errno', and
	default `e->error' to ENOEXEC.

2009-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix duplicate port deallocation
	* proc/notify.c (do_mach_notify_dead_name): Do not call
	mach_port_deallocate on `deadport' on failure.

2009-12-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix duplicate oldtask port deallocation
	* exec/exec.c (do_exec): Do not deallocate oldtask when
	newtask != oldtask before the `out:' label since it is done
	again after it.

	Fix spurious newport deallocation
	* auth/auth.c (S_auth_server_authenticate): On MIG stub failure,
	deallocate the reply port by hand instead of letting the main
	message loop do it, since the latter would deallocate newport
	too, which we passed to the user.

2009-12-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix spurious authenticate EINTR
	        * auth/auth.c (S_auth_user_authenticate): Do not return
	        EINTR if user is not pending any more, i.e. server actually
	        already answered.
	        (S_auth_server_authenticate): Do not return EINTR if server is
	        not pending any more, i.e. user actually already answered.

	Fix port leak when directly calling MIG stubs
	* auth/auth.c (S_auth_server_authenticate): Check result of
	auth_server_authenticate_reply stub.
	* init/init.c (S_msg_sig_post_untraced): Check result of
	msg_sig_post_untraced_reply
	(S_msg_sig_post): Check result of msg_sig_post_reply.

2009-12-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix setgid behavior
	        * libfshelp/exec-reauth.c (fshelp_exec_reauth): Set gid in eff_gids and
	        avail_gids instead of in eff_uids, and avail_uids.

2009-11-17  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix ps -o command and such hang
	* libps/fmt.c (_fmt_create): Put NUL terminator only when there is room
	for it.  When there is not it is there already anyway.

2009-10-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix current_vcs driver load
	* console-client/current-vcs.c (vcs_repeat_init): Rename function into...
	(current_vcs_init): ... this.
	(vcs_repeat_start): Rename function into...
	(current_vcs_start): ... this.
	(vcs_repeat_fini): Rename function into...
	(current_vcs_fini): ... this.

2009-10-13  Thomas Schwinge  <tschwinge@gnu.org>

	Merge branch 'master-rpctrace'

2009-10-12  Zheng Da  <zhengda1936@gmail.com>

	Fix bug #20612: rpctrace: heisenbug. * utils/rpctrace.c (print_contents): Check the number of elements in the port array.

2009-10-12  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Make rename("something", "something/.") not hang
	* libdiskfs/dir-rename.c: Include <string.h>
	(diskfs_S_dir_rename): If source or destination ends with "." or
	"..", return EINVAL as required by POSIX.

2009-09-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Use #!/bin/bash instead of #!/bin/sh
	The script makes big use of bashisms.

2009-09-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Add memory clobbers to assembly snippets
	* pfinet/linux-src/include/asm-i386/checksum.h (ip_fast_csum):
	Add memory clobber to assembly snippet.
	(csum_ipv6_magic): Likewise.

2009-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix assignment from incompatible pointer type
	* pfinet/linux-src/net/ipv4/tcp_ipv4.c (tcp_v4_connect): xchg
	&rt->u.dst instead of just rt with sk->dst_cache.

2009-08-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fixes long-standing random hang of exec.
	* exec.c (finish): Set FILE_DATA and MAP_BUFFER members of E to NULL
	after freeing them.

	Fix root access to non-regular files
	* libfshelp/perms-access.c (fshelp_access): Only check the x
	permission for root on regular files.

2009-07-31  Zheng Da  <zhengda1936@gmail.com>

	fix a bug #20612
	* rpctrace.c (print_contents): Check the number of elements in the port array.

2009-07-27  Thomas Schwinge  <tschwinge@gnu.org>

	libpthread is now a stand-alone library and kept in a separate repository.
	* Makefile (lib-subdirs): Remove libpthread.

2009-07-11  Thomas Schwinge  <tschwinge@gnu.org>

	Switch to the new ChangeLog style.
	* ChangeLog: Wipe out content, and add instructions about how to get it back.
	* auth/ChangeLog: Remove file.
	* benchmarks/ChangeLog: Likewise.
	* boot/ChangeLog: Likewise.
	* bsdfsck/ChangeLog: Likewise.
	* config/ChangeLog: Likewise.
	* console-client/ChangeLog: Likewise.
	* console/ChangeLog: Likewise.
	* daemons/ChangeLog: Likewise.
	* defpager/ChangeLog: Likewise.
	* doc/ChangeLog: Likewise.
	* exec/ChangeLog: Likewise.
	* ext2fs/ChangeLog: Likewise.
	* fatfs/ChangeLog: Likewise.
	* fstests/ChangeLog: Likewise.
	* ftpfs/ChangeLog: Likewise.
	* hostmux/ChangeLog: Likewise.
	* hurd/ChangeLog: Likewise.
	* include/ChangeLog: Likewise.
	* init/ChangeLog: Likewise.
	* isofs/ChangeLog: Likewise.
	* libcons/ChangeLog: Likewise.
	* libdirmgt/ChangeLog: Likewise.
	* libdiskfs/ChangeLog: Likewise.
	* libfshelp/ChangeLog: Likewise.
	* libftpconn/ChangeLog: Likewise.
	* libhurdbugaddr/ChangeLog: Likewise.
	* libihash/ChangeLog: Likewise.
	* libiohelp/ChangeLog: Likewise.
	* libnetfs/ChangeLog: Likewise.
	* libpager/ChangeLog: Likewise.
	* libpipe/ChangeLog: Likewise.
	* libports/ChangeLog: Likewise.
	* libps/ChangeLog: Likewise.
	* libshouldbeinlibc/ChangeLog: Likewise.
	* libstore/ChangeLog: Likewise.
	* libthreads/ChangeLog: Likewise.
	* libtrivfs/ChangeLog: Likewise.
	* login/ChangeLog: Likewise.
	* mach-defpager/ChangeLog: Likewise.
	* nfs/ChangeLog: Likewise.
	* nfsd/ChangeLog: Likewise.
	* pfinet/ChangeLog: Likewise.
	* pflocal/ChangeLog: Likewise.
	* proc/ChangeLog: Likewise.
	* release/ChangeLog: Likewise.
	* serverboot/ChangeLog: Likewise.
	* storeio/ChangeLog: Likewise.
	* sutils/ChangeLog: Likewise.
	* term/ChangeLog: Likewise.
	* tmpfs/ChangeLog: Likewise.
	* trans/ChangeLog: Likewise.
	* ufs-fsck/ChangeLog: Likewise.
	* ufs-utils/ChangeLog: Likewise.
	* ufs/ChangeLog: Likewise.
	* usermux/ChangeLog: Likewise.
	* utils/ChangeLog: Likewise.

2008-12-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.
