From MAILER-DAEMON Sat Jun 03 10:54:10 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dHARO-00067i-MK
	for mharc-commit-hurd@gnu.org; Sat, 03 Jun 2017 10:54:10 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41559)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dHARM-00067Y-Rn
	for commit-hurd@gnu.org; Sat, 03 Jun 2017 10:54:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dHARL-0001Pn-RT
	for commit-hurd@gnu.org; Sat, 03 Jun 2017 10:54:08 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:43422)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dHARL-0001Ph-Nk
	for commit-hurd@gnu.org; Sat, 03 Jun 2017 10:54:07 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 71917)
	id 647A120E78; Sat,  3 Jun 2017 10:54:07 -0400 (EDT)
To: commit-hurd@gnu.org
Subject: [SCM] Hurd branch, master, updated. v0.9-43-g29ff193
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: cb991b0fd709a635b21c6ea2314acb5345b1b72c
X-Git-Newrev: 29ff193d27436e52d8112903c882ebe52f071d88
Message-Id: <20170603145407.647A120E78@vcs0.savannah.gnu.org>
Date: Sat,  3 Jun 2017 10:54:07 -0400 (EDT)
From: justus@gnupg.org (Justus Winter)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Jun 2017 14:54:10 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  29ff193d27436e52d8112903c882ebe52f071d88 (commit)
       via  ce6764db1e045421fc9a199a334f63318d9f79d2 (commit)
      from  cb991b0fd709a635b21c6ea2314acb5345b1b72c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 29ff193d27436e52d8112903c882ebe52f071d88
Author: Justus Winter <justus@gnupg.org>
Date:   Fri Jun 2 00:47:07 2017 +0200

    trans: New random translator.
    
    Previously, the Hurd included a translator providing /dev/random and
    /dev/urandom based on a source copy of the random number generator
    found in classic GnuPG.
    
    The new random translator is using the SHAKE128 algorithm from the
    SHA-3 family as the underlying cryptographic primitive.  Being a
    sponge construction, it allows the extraction of arbitrary amounts of
    pseudorandom data.  It is continuously fed entropy by hashing system
    state that is hard to predict.
    
    * Makefile (prog-subdirs): Remove 'random'.
    * NEWS: Update.
    * random/Makefile: Delete file.
    * random/TODO: Likewise.
    * random/gnupg-bithelp.h: Likewise.
    * random/gnupg-glue.h: Likewise.
    * random/gnupg-random.c: Likewise.
    * random/gnupg-random.h: Likewise.
    * random/gnupg-rmd.h: Likewise.
    * random/gnupg-rmd160.c: Likewise.
    * random/random.h: Likewise.
    * sutils/MAKEDEV.sh (random): Create node.
    (urandom): The new translator is both secure and non-blocking.  Create
    a link from urandom to random for compatibility with Linux.
    * trans/Makefile (targets): Add 'random'.
    * trans/random.c: Move the skeleton of the old random translator here,
    but replace the PRNG with SHAKE128.  Remove all dubious attempts of
    accounting for entropy.  Do not block ever.

commit ce6764db1e045421fc9a199a334f63318d9f79d2
Author: Justus Winter <justus@gnupg.org>
Date:   Sat Jun 3 01:28:37 2017 +0200

    procfs: Remove superfluous calls.
    
    * procfs/rootdir.c (rootdir_gc_vmstat): Remove superfluous 'host_info'
    calls.

-----------------------------------------------------------------------

Summary of changes:
 Makefile                   |   1 -
 NEWS                       |   4 +
 procfs/rootdir.c           |   8 -
 random/Makefile            |  30 --
 random/TODO                |  11 -
 random/gnupg-bithelp.h     |  41 ---
 random/gnupg-glue.h        |  40 ---
 random/gnupg-random.c      | 809 ---------------------------------------------
 random/gnupg-random.h      |  47 ---
 random/gnupg-rmd.h         |  38 ---
 random/gnupg-rmd160.c      | 655 ------------------------------------
 random/random.h            |  32 --
 sutils/MAKEDEV.sh          |   8 +-
 trans/Makefile             |   9 +-
 {random => trans}/random.c | 500 ++++++++++++++++------------
 15 files changed, 303 insertions(+), 1930 deletions(-)
 delete mode 100644 random/Makefile
 delete mode 100644 random/TODO
 delete mode 100644 random/gnupg-bithelp.h
 delete mode 100644 random/gnupg-glue.h
 delete mode 100644 random/gnupg-random.c
 delete mode 100644 random/gnupg-random.h
 delete mode 100644 random/gnupg-rmd.h
 delete mode 100644 random/gnupg-rmd160.c
 delete mode 100644 random/random.h
 rename {random => trans}/random.c (64%)


hooks/post-receive
-- 
Hurd


From MAILER-DAEMON Sun Jun 04 13:06:20 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dHYyq-0008W1-NQ
	for mharc-commit-hurd@gnu.org; Sun, 04 Jun 2017 13:06:20 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46665)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dHYyl-0008VK-MX
	for commit-hurd@gnu.org; Sun, 04 Jun 2017 13:06:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dHYyj-0005by-F1
	for commit-hurd@gnu.org; Sun, 04 Jun 2017 13:06:15 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:38372)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dHYyj-0005bs-Au
	for commit-hurd@gnu.org; Sun, 04 Jun 2017 13:06:13 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 71917)
	id 354992068E; Sun,  4 Jun 2017 13:06:11 -0400 (EDT)
To: commit-hurd@gnu.org
Subject: [SCM] Hurd branch, master, updated. v0.9-44-g74f4e57
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 29ff193d27436e52d8112903c882ebe52f071d88
X-Git-Newrev: 74f4e5781e0f259a22b8e1e125973262600abed7
Message-Id: <20170604170613.354992068E@vcs0.savannah.gnu.org>
Date: Sun,  4 Jun 2017 13:06:11 -0400 (EDT)
From: justus@gnupg.org (Justus Winter)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 04 Jun 2017 17:06:16 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  74f4e5781e0f259a22b8e1e125973262600abed7 (commit)
      from  29ff193d27436e52d8112903c882ebe52f071d88 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 74f4e5781e0f259a22b8e1e125973262600abed7
Author: Justus Winter <justus@gnupg.org>
Date:   Fri Jun 2 17:23:03 2017 +0200

    trans: Conditionally build the random translator.
    
    Only build the random translator if we find a suitable version of
    libgcrypt.  This helps to reduce the build dependencies to bootstrap
    the Hurd.
    
    * aclocal.m4: Include 'libgcrypt.m4'.
    * config.make.in (HAVE_LIBGCRYPT): New variable.
    * configure.ac: Check for a suitable libgcrypt.
    * m4/libgcrypt.m4: New file.
    * trans/Makefile: Conditionally build the random translator.

-----------------------------------------------------------------------

Summary of changes:
 aclocal.m4      |   4 ++
 config.make.in  |   3 ++
 configure.ac    |   3 ++
 m4/libgcrypt.m4 | 143 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 trans/Makefile  |  17 +++++--
 5 files changed, 166 insertions(+), 4 deletions(-)
 create mode 100644 m4/libgcrypt.m4


hooks/post-receive
-- 
Hurd


From MAILER-DAEMON Mon Jun 05 10:40:08 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dHtAt-0000Y3-U5
	for mharc-commit-hurd@gnu.org; Mon, 05 Jun 2017 10:40:07 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45232)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dHtAr-0000Wq-Jt
	for commit-hurd@gnu.org; Mon, 05 Jun 2017 10:40:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dHtAn-00088J-LC
	for commit-hurd@gnu.org; Mon, 05 Jun 2017 10:40:05 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:50434)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dHtAn-000889-Iy
	for commit-hurd@gnu.org; Mon, 05 Jun 2017 10:40:01 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 71917)
	id 1C7F520AC0; Mon,  5 Jun 2017 10:40:01 -0400 (EDT)
To: commit-hurd@gnu.org
Subject: [SCM] Hurd branch, master, updated. v0.9-45-g26e774b
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 74f4e5781e0f259a22b8e1e125973262600abed7
X-Git-Newrev: 26e774bab06eab72847a7ca052a90d5319ad658a
Message-Id: <20170605144001.1C7F520AC0@vcs0.savannah.gnu.org>
Date: Mon,  5 Jun 2017 10:40:00 -0400 (EDT)
From: justus@gnupg.org (Justus Winter)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Jun 2017 14:40:06 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  26e774bab06eab72847a7ca052a90d5319ad658a (commit)
      from  74f4e5781e0f259a22b8e1e125973262600abed7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 26e774bab06eab72847a7ca052a90d5319ad658a
Author: Justus Winter <justus@gnupg.org>
Date:   Mon Jun 5 16:29:58 2017 +0200

    hurd: Fix the use of polymorphic types.
    
    Fixes baf7e5c8ce176aead15c2559952d8bdf0da41ffd.
    
    * hurd/process.defs (proc_getmsgport): Make 'msgport' parameter
    polymorphic only on the sender side.
    (proc_task2proc): Likewise for 'proc'.
    (proc_pid2proc): Likewise.

-----------------------------------------------------------------------

Summary of changes:
 hurd/process.defs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Hurd


From MAILER-DAEMON Fri Jun 09 15:18:19 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJPQH-0006QB-24
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 15:18:19 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52684)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJPQF-0006Q3-3M
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 15:18:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJPQE-0002E5-9e
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 15:18:15 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53905)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJPQE-00023X-3Z
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 15:18:14 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJPQ4-000460-EI; Fri, 09 Jun 2017 19:18:04 +0000
To: commit-hurd@gnu.org
Subject: [hurd] branch dde updated (50b03bc -> d174f3f)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <20170609191804.15712.11908@moszumanska.debian.org>
Reply-To: sthibault@users.alioth.debian.org
X-Git-Repo: hurd
X-Git-Refname: refs/heads/dde
X-Git-Reftype: branch
X-Git-Oldrev: 50b03bcc46d0df0e8bd2557e95880c1f2176e428
X-Git-Newrev: d174f3f72a991c9f810e07a2ae27ab721754bcae
Auto-Submitted: auto-generated
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Fri, 09 Jun 2017 19:18:04 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Jun 2017 19:18:16 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch dde
in repository hurd.

      from  50b03bc   drop libbpf, now in mainline
       new  d174f3f   Rebase

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 libmachdev/Makefile        |  35 ---
 libmachdev/block.c         | 314 ---------------------
 libmachdev/dev_hdr.h       | 133 ---------
 libmachdev/device_emul.h   |  65 -----
 libmachdev/ds_routines.c   | 341 -----------------------
 libmachdev/ds_routines.h   |  57 ----
 libmachdev/errno-base.h    |  39 ---
 libmachdev/if_ether.h      |  87 ------
 libmachdev/if_hdr.h        | 165 -----------
 libmachdev/io_req.h        | 135 ---------
 libmachdev/linux-errno.h   | 109 --------
 libmachdev/mach_glue.h     |  41 ---
 libmachdev/machdev.h       |  33 ---
 libmachdev/mig-decls.h     |  50 ----
 libmachdev/mig-mutate.h    |  36 ---
 libmachdev/misc.c          |  50 ----
 libmachdev/net.c           | 662 ---------------------------------------------
 libmachdev/queue.c         | 131 ---------
 libmachdev/queue.h         | 370 -------------------------
 libmachdev/trivfs_server.c | 171 ------------
 libmachdev/util.h          |  35 ---
 libmachdev/vm_param.h      |   7 -
 22 files changed, 3066 deletions(-)
 delete mode 100644 libmachdev/Makefile
 delete mode 100644 libmachdev/block.c
 delete mode 100644 libmachdev/dev_hdr.h
 delete mode 100644 libmachdev/device_emul.h
 delete mode 100644 libmachdev/ds_routines.c
 delete mode 100644 libmachdev/ds_routines.h
 delete mode 100644 libmachdev/errno-base.h
 delete mode 100644 libmachdev/if_ether.h
 delete mode 100644 libmachdev/if_hdr.h
 delete mode 100644 libmachdev/io_req.h
 delete mode 100644 libmachdev/linux-errno.h
 delete mode 100644 libmachdev/mach_glue.h
 delete mode 100644 libmachdev/machdev.h
 delete mode 100644 libmachdev/mig-decls.h
 delete mode 100644 libmachdev/mig-mutate.h
 delete mode 100644 libmachdev/misc.c
 delete mode 100644 libmachdev/net.c
 delete mode 100644 libmachdev/queue.c
 delete mode 100644 libmachdev/queue.h
 delete mode 100644 libmachdev/trivfs_server.c
 delete mode 100644 libmachdev/util.h
 delete mode 100644 libmachdev/vm_param.h

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 15:18:32 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJPQW-0006Se-5T
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 15:18:32 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52751)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJPQN-0006SM-7W
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 15:18:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJPQE-0002EH-LO
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 15:18:23 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53906)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJPQE-00023f-3g
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 15:18:14 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJPQ4-00046h-PU; Fri, 09 Jun 2017 19:18:04 +0000
To: commit-hurd@gnu.org
Subject: [hurd] 01/01: Rebase
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Reply-To: Samuel Thibault <samuel.thibault@ens-lyon.org>
In-Reply-To: <20170609191804.15712.11908@moszumanska.debian.org>
References: <20170609191804.15712.11908@moszumanska.debian.org>
X-Git-Repo: hurd
X-Git-Refname: refs/heads/dde
X-Git-Reftype: branch
X-Git-Rev: d174f3f72a991c9f810e07a2ae27ab721754bcae
Auto-Submitted: auto-generated
Message-Id: <E1dJPQ4-00046h-PU@moszumanska.debian.org>
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Fri, 09 Jun 2017 19:18:04 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Jun 2017 19:18:31 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch dde
in repository hurd.

commit d174f3f72a991c9f810e07a2ae27ab721754bcae
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Apr 8 23:01:05 2017 +0200

    Rebase
---
 libmachdev/Makefile        |  35 ---
 libmachdev/block.c         | 314 ---------------------
 libmachdev/dev_hdr.h       | 133 ---------
 libmachdev/device_emul.h   |  65 -----
 libmachdev/ds_routines.c   | 341 -----------------------
 libmachdev/ds_routines.h   |  57 ----
 libmachdev/errno-base.h    |  39 ---
 libmachdev/if_ether.h      |  87 ------
 libmachdev/if_hdr.h        | 165 -----------
 libmachdev/io_req.h        | 135 ---------
 libmachdev/linux-errno.h   | 109 --------
 libmachdev/mach_glue.h     |  41 ---
 libmachdev/machdev.h       |  33 ---
 libmachdev/mig-decls.h     |  50 ----
 libmachdev/mig-mutate.h    |  36 ---
 libmachdev/misc.c          |  50 ----
 libmachdev/net.c           | 662 ---------------------------------------------
 libmachdev/queue.c         | 131 ---------
 libmachdev/queue.h         | 370 -------------------------
 libmachdev/trivfs_server.c | 171 ------------
 libmachdev/util.h          |  35 ---
 libmachdev/vm_param.h      |   7 -
 22 files changed, 3066 deletions(-)

diff --git a/libmachdev/Makefile b/libmachdev/Makefile
deleted file mode 100644
index 77d2a34..0000000
--- a/libmachdev/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright (C) 2009 Free Software Foundation, Inc.
-# This file is part of the GNU Hurd.
-#
-# The GNU Hurd is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# The GNU Hurd is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with the GNU Hurd; see the file COPYING.  If not, write to
-# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-
-dir := libmachdev
-makemode := library
-libname = libmachdev
-
-SRCS = deviceUser.c machUser.c net.c ds_routines.c queue.c trivfs_server.c \
-       device_replyUser.c deviceServer.c notifyServer.c misc.c
-#block.c
-LCLHDRS = dev_hdr.h device_emul.h ds_routines.h vm_param.h \
-	  util.h queue.h io_req.h if_ether.h machdev.h linux-errno.h \
-	  errno-base.h
-installhdrs = machdev.h
-HURDLIBS = ports trivfs bpf ddekit
-LDLIBS += -lpthread
-OBJS = $(SRCS:.c=.o) $(MIGSTUBS)
-MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h
-device-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name"
-
-include ../Makeconf
diff --git a/libmachdev/block.c b/libmachdev/block.c
deleted file mode 100644
index 7996207..0000000
--- a/libmachdev/block.c
+++ /dev/null
@@ -1,314 +0,0 @@
-/*
- * Linux block driver support.
- *
- * Copyright (C) 1996 The University of Utah and the Computer Systems
- * Laboratory at the University of Utah (CSL)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- *	Author: Shantanu Goel, University of Utah CSL
- */
-
-#include <ctype.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/mman.h>
-
-#include "mach_U.h"
-
-#include <mach.h>
-#include <hurd.h>
-
-#define MACH_INCLUDE
-
-#include <ddekit/printf.h>
-
-#include "ds_routines.h"
-#include "vm_param.h"
-#include "device_reply_U.h"
-#include "dev_hdr.h"
-#include "util.h"
-#include "mach_glue.h"
-
-/* for submit_bio(). But it might not be very proper to keep
- * my own definitions of these macros. */
-#define READ 0
-#define WRITE 1
-
-/* One of these is associated with each open instance of a device.  */
-struct block_data
-{
-  struct port_info port;	/* device port */
-  struct emul_device device;	/* generic device structure */
-  dev_mode_t mode;
-  struct block_device *dev;
-};
-
-/* Return a send right associated with network device ND.  */
-static mach_port_t
-dev_to_port (void *nd)
-{
-  return (nd
-	  ? ports_get_send_right (nd)
-	  : MACH_PORT_NULL);
-}
-
-static struct device_emulation_ops linux_block_emulation_ops;
-
-#define DISK_NAME_LEN 32
-
-/* Parse the device NAME.
-   Set *SLICE to be the DOS partition and
-   *PART the BSD/Mach partition, if any.  */
-static char *
-translate_name (char *name, int *slice, int *part)
-{
-  char *p, *q, *end;
-  char *ret;
-  int disk_num;
-
-  /* Parse name into name, unit, DOS partition (slice) and partition.  */
-  for (*slice = 0, *part = -1, p = name; isalpha (*p); p++)
-    ;
-  if (p == name || ! isdigit (*p))
-    return NULL;
-  end = p;
-  disk_num = strtol (p, &p, 0);
-  if (disk_num < 0 || disk_num > 26)
-    return NULL;
-//  do
-//    p++;
-//  while (isdigit (*p));
-  if (*p)
-    {
-      q = p;
-      if (*q == 's' && isdigit (*(q + 1)))
-	{
-	  q++;
-	  do
-	    *slice = *slice * 10 + *q++ - '0';
-	  while (isdigit (*q));
-	  if (! *q)
-	    goto find_major;
-	}
-      if (! isalpha (*q) || *(q + 1))
-	return NULL;
-      *part = *q - 'a';
-    }
-
-find_major:
-  ret = malloc (DISK_NAME_LEN);
-  sprintf (ret, "hd%c", 'a' + disk_num);
-  return ret;
-}
-
-static io_return_t
-device_open (mach_port_t reply_port, mach_msg_type_name_t reply_port_type,
-	     dev_mode_t mode, char *name, device_t *devp,
-	     mach_msg_type_name_t *devicePoly)
-{
-  io_return_t err = D_SUCCESS;
-  struct block_data *bd = NULL;
-  int slice, part;
-  char *dev_name = NULL;
-  int dev_err;
-
-  // TODO I need to check whether the device has been opened before.
-  // if it has been opened with the same `flag', return the same port,
-  // otherwise, return a different port.
-  // I need to have a reference to count the number of open.
-  dev_name = translate_name (name, &slice, &part);
-  if (dev_name == NULL)
-    return D_NO_SUCH_DEVICE;
-
-  err = create_device_port (sizeof (*bd), &bd);
-  if (err)
-    {
-      ddekit_printf ("after create_device_port: cannot create a port\n");
-      goto out;
-    }
-  bd->dev = open_block_dev (dev_name, slice, mode);
-  dev_err = (int) bd->dev;
-  if (dev_err < 0)
-    {
-      ddekit_printf ("open_block_dev %s fails with %d\n", dev_name, bd->dev);
-      err = linux_to_mach_error (dev_err);
-      goto out;
-    }
-  bd->device.emul_data = bd;
-  bd->device.emul_ops = &linux_block_emulation_ops;
-  bd->mode = mode;
-
-out:
-  free (dev_name);
-  if (err)
-    {
-      if (bd)
-	{
-	  ports_destroy_right (bd);
-	  bd = NULL;
-	}
-    }
-  else
-    {
-      *devp = ports_get_send_right (bd);
-      ports_port_deref (bd);
-      *devicePoly = MACH_MSG_TYPE_MOVE_SEND;
-    }
-  return err;
-}
-
-static io_return_t
-device_write (void *d, mach_port_t reply_port,
-	      mach_msg_type_name_t reply_port_type, dev_mode_t mode,
-	      recnum_t bn, io_buf_ptr_t data, unsigned int count,
-	      int *bytes_written)
-{
-  struct block_data *bd = d;
-  /* the number of pages that contain DATA. */
-  int npages = (((int) data + count) - ((int) data & ~PAGE_MASK)
-		+ PAGE_MASK) / PAGE_SIZE;
-  io_return_t err = D_SUCCESS;
-  int i;
-  int writes = 0;
-
-  void write_done (int err)
-    {
-      int len = err ? 0 : count;
-      // TODO maybe I should send the reply as long as there is an error.
-      writes--;
-      if (writes == 0)
-	{
-	  err = linux_to_mach_error (err);
-	  ds_device_write_reply (reply_port, reply_port_type, err, len);
-	}
-    }
-
-  /* the data is at the beginning of a page. */
-  if ((int) data & ~PAGE_MASK)
-    return D_INVALID_OPERATION;
-  
-  if ((bd->mode & D_WRITE) == 0)
-    return D_INVALID_OPERATION;
-
-  for (i = 0; i < npages; i++)
-    {
-      int size = PAGE_SIZE - ((int) data &~PAGE_MASK) > count ?
-	count : PAGE_SIZE - ((int) data &~PAGE_MASK);
-
-      err = block_dev_rw (bd->dev, bn, data, size, WRITE, write_done);
-      if (err)
-	break;
-      bn += size >> 9;
-      data += size;
-      count -= size;
-      writes++;
-    }
-  if (writes)
-    return MIG_NO_REPLY;
-  return linux_to_mach_error (err);
-}
-
-static io_return_t
-device_read (void *d, mach_port_t reply_port,
-	     mach_msg_type_name_t reply_port_type, dev_mode_t mode,
-	     recnum_t bn, int count, io_buf_ptr_t *data,
-	     unsigned *bytes_read)
-{
-  struct block_data *bd = d;
-  io_return_t err = D_SUCCESS;
-  int i;
-  int reads = 0;
-  char *buf;
-  int npages = (count + PAGE_SIZE - 1) / PAGE_SIZE;
-  int rest = count;
-
-  void read_done (int err)
-    {
-      int len = err ? 0 : count;
-      reads--;
-      if (reads == 0)
-	{
-	  err = linux_to_mach_error (err);
-	  ds_device_read_reply (reply_port, reply_port_type, err, buf, len);
-	}
-    }
-
-  if ((bd->mode & D_READ) == 0)
-    return D_INVALID_OPERATION;
-
-  if (count == 0)
-    return 0;
-
-  *data = 0;
-  buf = mmap (NULL, npages * PAGE_SIZE, PROT_READ|PROT_WRITE,
-	      MAP_PRIVATE|MAP_ANONYMOUS, 0, 0);
-  if (buf == MAP_FAILED)
-    return errno;
-
-  ddekit_printf ("read %d pages.\n", npages);
-  for (i = 0; i < npages; i++)
-    {
-      int size = rest > PAGE_SIZE ? PAGE_SIZE : rest;
-      ddekit_printf ("read %d bytes starting from %d\n", size, bn);
-
-      err = block_dev_rw (bd->dev, bn, buf + i * PAGE_SIZE,
-			  size, READ, read_done);
-      if (err)
-	break;
-      bn += size >> 9;
-      rest -= size;
-      reads++;
-    }
-  // TODO when should I deallocate the buffer?
-  if (reads)
-    return MIG_NO_REPLY;
-  return linux_to_mach_error (err);
-}
-
-static io_return_t
-device_get_status (void *d, dev_flavor_t flavor, dev_status_t status,
-		   mach_msg_type_number_t *count)
-{
-  struct block_data *bd = (struct block_data *) d;
-  return D_SUCCESS;
-}
-
-static struct device_emulation_ops linux_block_emulation_ops =
-{
-  NULL,
-  NULL,
-  NULL,
-  dev_to_port,
-  device_open,
-  NULL,
-  device_write,
-  NULL,
-  device_read,
-  NULL,
-  NULL,
-  device_get_status,
-  NULL,
-  NULL,
-  NULL,
-  NULL,
-  NULL
-};
-
-void register_block()
-{
-	extern void reg_dev_emul (struct device_emulation_ops *ops);
-	reg_dev_emul (&linux_block_emulation_ops);
-}
diff --git a/libmachdev/dev_hdr.h b/libmachdev/dev_hdr.h
deleted file mode 100644
index 79edc43..0000000
--- a/libmachdev/dev_hdr.h
+++ /dev/null
@@ -1,133 +0,0 @@
-/* 
- * Mach Operating System
- * Copyright (c) 1991,1990,1989 Carnegie Mellon University
- * All Rights Reserved.
- * 
- * Permission to use, copy, modify and distribute this software and its
- * documentation is hereby granted, provided that both the copyright
- * notice and this permission notice appear in all copies of the
- * software, derivative works or modified versions, and any portions
- * thereof, and that both notices appear in supporting documentation.
- * 
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
- * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
- * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- * 
- * Carnegie Mellon requests users of this software to return to
- * 
- *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
- *  School of Computer Science
- *  Carnegie Mellon University
- *  Pittsburgh PA 15213-3890
- * 
- * any improvements or extensions that they make and grant Carnegie Mellon
- * the rights to redistribute these changes.
- */
-/*
- *	Author: David B. Golub, Carnegie Mellon University
- *	Date: 	3/89
- */
-
-/*
- * Mach device emulation definitions (i386at version).
- *
- * Copyright (c) 1996 The University of Utah and
- * the Computer Systems Laboratory at the University of Utah (CSL).
- * All rights reserved.
- *
- * Permission to use, copy, modify and distribute this software is hereby
- * granted provided that (1) source code retains these copyright, permission,
- * and disclaimer notices, and (2) redistributions including binaries
- * reproduce the notices in supporting documentation, and (3) all advertising
- * materials mentioning features or use of this software display the following
- * acknowledgement: ``This product includes software developed by the
- * Computer Systems Laboratory at the University of Utah.''
- *
- * THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS
- * IS" CONDITION.  THE UNIVERSITY OF UTAH AND CSL DISCLAIM ANY LIABILITY OF
- * ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * CSL requests users of this software to return to csl-dist@cs.utah.edu any
- * improvements that they make and grant CSL redistribution rights.
- *
- *      Author: Shantanu Goel, University of Utah CSL
- */
-
-#ifndef	_DEVICE_DEV_HDR_H_
-#define	_DEVICE_DEV_HDR_H_
-
-#include <mach.h>
-#include <hurd.h>
-#include <hurd/ports.h>
-#include <pthread.h>
-
-#include "device_emul.h"
-
-/*
- * Operations list for major device types.
- */
-struct dev_ops {
-	char *    	d_name;		/* name for major device */
-	int		(*d_open)();	/* open device */
-	int		(*d_close)();	/* close device */
-	int		(*d_read)();	/* read */
-	int		(*d_write)();	/* write */
-	int		(*d_getstat)();	/* get status/control */
-	int		(*d_setstat)();	/* set status/control */
-	vm_offset_t	(*d_mmap)();	/* map memory */
-	int		(*d_async_in)();/* asynchronous input setup */
-	int		(*d_reset)();	/* reset device */
-	int		(*d_port_death)();
-					/* clean up reply ports */
-	int		d_subdev;	/* number of sub-devices per
-					   unit */
-	int		(*d_dev_info)(); /* driver info for kernel */
-};
-typedef struct dev_ops *dev_ops_t;
-
-/* This structure is associated with each open device port.
- * The port representing the device points to this structure.  */
-struct emul_device
-{
-    struct device_emulation_ops *emul_ops;
-    void *emul_data;
-};
-
-typedef struct emul_device *emul_device_t;
-
-#define DEVICE_NULL     ((device_t) 0)
-
-/*
- * Generic device header.  May be allocated with the device,
- * or built when the device is opened.
- */
-struct mach_device {
-	struct port_info port;
-	struct emul_device	dev;		/* the real device structure */
-};
-typedef	struct mach_device *mach_device_t;
-#define	MACH_DEVICE_NULL ((mach_device_t)0)
-
-/*
- * To find and remove device entries
- */
-mach_device_t	device_lookup(char *);	/* by name */
-
-/*
- * To find and remove port-to-device mappings
- */
-void		dev_port_enter(mach_device_t);
-void		dev_port_remove(mach_device_t);
-
-/*
- * To call a routine on each device
- */
-boolean_t	dev_map(boolean_t (*)(), mach_port_t);
-
-/*
- * To lock and unlock state and open-count
- */
-#define	device_lock(device)	pthread_mutex_lock(&(device)->lock)
-#define	device_unlock(device)	pthread_mutex_unlock(&(device)->lock)
-
-#endif	/* _DEVICE_DEV_HDR_H_ */
diff --git a/libmachdev/device_emul.h b/libmachdev/device_emul.h
deleted file mode 100644
index e27799c..0000000
--- a/libmachdev/device_emul.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Mach device emulation definitions (i386at version).
- *
- * Copyright (c) 1996 The University of Utah and
- * the Computer Systems Laboratory at the University of Utah (CSL).
- * All rights reserved.
- *
- * Permission to use, copy, modify and distribute this software is hereby
- * granted provided that (1) source code retains these copyright, permission,
- * and disclaimer notices, and (2) redistributions including binaries
- * reproduce the notices in supporting documentation, and (3) all advertising
- * materials mentioning features or use of this software display the following
- * acknowledgement: ``This product includes software developed by the
- * Computer Systems Laboratory at the University of Utah.''
- *
- * THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS
- * IS" CONDITION.  THE UNIVERSITY OF UTAH AND CSL DISCLAIM ANY LIABILITY OF
- * ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * CSL requests users of this software to return to csl-dist@cs.utah.edu any
- * improvements that they make and grant CSL redistribution rights.
- *
- *      Author: Shantanu Goel, University of Utah CSL
- */
-
-#ifndef _I386AT_DEVICE_EMUL_H_
-#define _I386AT_DEVICE_EMUL_H_
-
-#include <mach.h>
-
-/* Each emulation layer provides these operations.  */
-struct device_emulation_ops
-{
-  void (*init) (void);
-  void (*reference) (void *);
-  void (*dealloc) (void *);
-  mach_port_t (*dev_to_port) (void *);
-  io_return_t (*open) (mach_port_t, mach_msg_type_name_t,
-		       dev_mode_t, char *, device_t *,
-		       mach_msg_type_name_t *type);
-  io_return_t (*close) (void *);
-  io_return_t (*write) (void *, mach_port_t, mach_msg_type_name_t,
-			dev_mode_t, recnum_t, io_buf_ptr_t, unsigned, int *);
-  io_return_t (*write_inband) (void *, mach_port_t, mach_msg_type_name_t,
-			       dev_mode_t, recnum_t, io_buf_ptr_inband_t,
-			       unsigned, int *);
-  io_return_t (*read) (void *, mach_port_t, mach_msg_type_name_t,
-		       dev_mode_t, recnum_t, int, io_buf_ptr_t *, unsigned *);
-  io_return_t (*read_inband) (void *, mach_port_t, mach_msg_type_name_t,
-			      dev_mode_t, recnum_t, int, char *, unsigned *);
-  io_return_t (*set_status) (void *, dev_flavor_t, dev_status_t,
-			     mach_msg_type_number_t);
-  io_return_t (*get_status) (void *, dev_flavor_t, dev_status_t,
-			     mach_msg_type_number_t *);
-  io_return_t (*set_filter) (void *, mach_port_t, int, filter_t [], unsigned);
-  io_return_t (*map) (void *, vm_prot_t, vm_offset_t,
-		      vm_size_t, mach_port_t *, boolean_t);
-  void (*no_senders) (mach_no_senders_notification_t *);
-  io_return_t (*write_trap) (void *, dev_mode_t,
-			     recnum_t, vm_offset_t, vm_size_t);
-  io_return_t (*writev_trap) (void *, dev_mode_t,
-			      recnum_t, io_buf_vec_t *, vm_size_t);
-};
-
-#endif /* _I386AT_DEVICE_EMUL_H_ */
diff --git a/libmachdev/ds_routines.c b/libmachdev/ds_routines.c
deleted file mode 100644
index e9fbe94..0000000
--- a/libmachdev/ds_routines.c
+++ /dev/null
@@ -1,341 +0,0 @@
-/*
- * Mach Operating System
- * Copyright (c) 1993,1991,1990,1989 Carnegie Mellon University
- * All Rights Reserved.
- *
- * Permission to use, copy, modify and distribute this software and its
- * documentation is hereby granted, provided that both the copyright
- * notice and this permission notice appear in all copies of the
- * software, derivative works or modified versions, and any portions
- * thereof, and that both notices appear in supporting documentation.
- *
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
- * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
- * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * Carnegie Mellon requests users of this software to return to
- *
- *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
- *  School of Computer Science
- *  Carnegie Mellon University
- *  Pittsburgh PA 15213-3890
- *
- * any improvements or extensions that they make and grant Carnegie Mellon
- * the rights to redistribute these changes.
- */
-/*
- *	Author: David B. Golub, Carnegie Mellon University
- *	Date: 	3/89
- */
-
-/*
- * Mach device server routines (i386at version).
- *
- * Copyright (c) 1996 The University of Utah and
- * the Computer Systems Laboratory at the University of Utah (CSL).
- * All rights reserved.
- *
- * Permission to use, copy, modify and distribute this software is hereby
- * granted provided that (1) source code retains these copyright, permission,
- * and disclaimer notices, and (2) redistributions including binaries
- * reproduce the notices in supporting documentation, and (3) all advertising
- * materials mentioning features or use of this software display the following
- * acknowledgement: ``This product includes software developed by the
- * Computer Systems Laboratory at the University of Utah.''
- *
- * THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS
- * IS" CONDITION.  THE UNIVERSITY OF UTAH AND CSL DISCLAIM ANY LIABILITY OF
- * ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * CSL requests users of this software to return to csl-dist@cs.utah.edu any
- * improvements that they make and grant CSL redistribution rights.
- *
- *      Author: Shantanu Goel, University of Utah CSL
- */
-
-#include <stdio.h>
-#include <string.h>
-#include <error.h>
-
-#include <hurd.h>
-#include <mach.h>
-
-#include <ddekit/thread.h>
-
-#include "vm_param.h"
-#include "device_S.h"
-#include "notify_S.h"
-#include "io_req.h"
-#include "dev_hdr.h"
-#include "util.h"
-#include "queue.h"
-#include "mach_glue.h"
-
-struct port_bucket *device_bucket;
-struct port_class *dev_class;
-
-#define NUM_EMULATION num_emul
-#define MAX_NUM_EMULATION 32
-
-/* List of emulations.  */
-static struct device_emulation_ops *emulation_list[MAX_NUM_EMULATION];
-static int num_emul;
-
-boolean_t is_master_device (mach_port_t port);
-
-/*
- * What follows is the interface for the native Mach devices.
- */
-
-/* Implementation of device interface */
-io_return_t
-ds_device_open (mach_port_t open_port, mach_port_t reply_port,
-		mach_msg_type_name_t reply_port_type, dev_mode_t mode,
-		char *name, device_t *devp, mach_msg_type_name_t *devicePoly)
-{
-  int i;
-  io_return_t err = D_NO_SUCH_DEVICE;
-
-  /* Open must be called on the master device port.  */
-  if (!is_master_device (open_port))
-    return D_INVALID_OPERATION;
-
-  /* There must be a reply port.  */
-  if (! MACH_PORT_VALID (reply_port))
-    {
-      fprintf (stderr, "ds_* invalid reply port\n");
-      return MIG_NO_REPLY;
-    }
-
-  /* Call each emulation's open routine to find the device.  */
-  for (i = 0; i < NUM_EMULATION; i++)
-    {
-      err = (*emulation_list[i]->open) (reply_port, reply_port_type,
-					mode, name, devp, devicePoly);
-      if (err != D_NO_SUCH_DEVICE)
-	break;
-    }
-
-  return err;
-}
-
-io_return_t
-ds_device_close (struct mach_device *device)
-{
-  io_return_t ret;
-
-  if (device == NULL)
-    return D_NO_SUCH_DEVICE;
-
-  ret = (device->dev.emul_ops->close
-	 ? (*device->dev.emul_ops->close) (device->dev.emul_data)
-	 : D_SUCCESS);
-  return ret;
-}
-
-io_return_t
-ds_device_write (struct mach_device *device, mach_port_t reply_port,
-		 mach_msg_type_name_t reply_port_type, dev_mode_t mode,
-		 recnum_t recnum, io_buf_ptr_t data, unsigned int count,
-		 int *bytes_written)
-{
-  io_return_t ret;
-
-  if (data == 0)
-    return D_INVALID_SIZE;
-
-  if (device == NULL)
-    return D_NO_SUCH_DEVICE;
-
-  if (! device->dev.emul_ops->write)
-    return D_INVALID_OPERATION;
-
-  ret = (*device->dev.emul_ops->write) (device->dev.emul_data, reply_port,
-					reply_port_type, mode, recnum,
-					data, count, bytes_written);
-  return ret;
-}
-
-io_return_t
-ds_device_write_inband (struct mach_device *device, mach_port_t reply_port,
-			mach_msg_type_name_t reply_port_type,
-			dev_mode_t mode, recnum_t recnum,
-			io_buf_ptr_inband_t data, unsigned count,
-			int *bytes_written)
-{
-  io_return_t ret;
-
-  if (data == 0)
-    return D_INVALID_SIZE;
-
-  if (device == NULL)
-    return D_NO_SUCH_DEVICE;
-
-  if (! device->dev.emul_ops->write_inband)
-    return D_INVALID_OPERATION;
-
-  ret = (*device->dev.emul_ops->write_inband) (device->dev.emul_data,
-					       reply_port, reply_port_type,
-					       mode, recnum,
-					       data, count, bytes_written);
-  return ret;
-}
-
-io_return_t
-ds_device_read (struct mach_device *device, mach_port_t reply_port,
-		mach_msg_type_name_t reply_port_type, dev_mode_t mode,
-		recnum_t recnum, int count, io_buf_ptr_t *data,
-		unsigned *bytes_read)
-{
-  io_return_t ret;
-
-  if (device == NULL)
-    return D_NO_SUCH_DEVICE;
-
-  if (! device->dev.emul_ops->read)
-    return D_INVALID_OPERATION;
-
-  ret = (*device->dev.emul_ops->read) (device->dev.emul_data, reply_port,
-				       reply_port_type, mode, recnum,
-				       count, data, bytes_read);
-  return ret;
-}
-
-io_return_t
-ds_device_read_inband (struct mach_device *device, mach_port_t reply_port,
-		       mach_msg_type_name_t reply_port_type, dev_mode_t mode,
-		       recnum_t recnum, int count, char *data,
-		       unsigned *bytes_read)
-{
-  io_return_t ret;
-
-  if (device == NULL)
-    return D_NO_SUCH_DEVICE;
-
-  if (! device->dev.emul_ops->read_inband)
-    return D_INVALID_OPERATION;
-
-  ret = (*device->dev.emul_ops->read_inband) (device->dev.emul_data,
-					      reply_port,
-					      reply_port_type, mode, recnum,
-					      count, data, bytes_read);
-  return ret;
-}
-
-io_return_t
-ds_device_set_status (struct mach_device *device, dev_flavor_t flavor,
-		      dev_status_t status, mach_msg_type_number_t status_count)
-{
-  io_return_t ret;
-
-  if (device == NULL)
-    return D_NO_SUCH_DEVICE;
-
-  if (! device->dev.emul_ops->set_status)
-    return D_INVALID_OPERATION;
-
-  ret = (*device->dev.emul_ops->set_status) (device->dev.emul_data, flavor,
-					     status, status_count);
-  return ret;
-}
-
-io_return_t
-ds_device_get_status (struct mach_device *device, dev_flavor_t flavor,
-                      dev_status_t status,
-		      mach_msg_type_number_t *status_count)
-{
-  io_return_t ret;
-
-  if (device == NULL)
-    return D_NO_SUCH_DEVICE;
-
-  if (! device->dev.emul_ops->get_status)
-    return D_INVALID_OPERATION;
-
-  ret = (*device->dev.emul_ops->get_status) (device->dev.emul_data, flavor,
-					     status, status_count);
-  return ret;
-}
-
-io_return_t
-ds_device_set_filter (struct mach_device *device, mach_port_t receive_port,
-                      int priority, filter_t *filter, unsigned filter_count)
-{
-  io_return_t ret;
-
-  if (device == NULL)
-    return D_NO_SUCH_DEVICE;
-
-  if (! device->dev.emul_ops->set_filter)
-    return D_INVALID_OPERATION;
-
-  ret = (*device->dev.emul_ops->set_filter) (device->dev.emul_data,
-					     receive_port,
-					     priority, filter, filter_count);
-  return ret;
-}
-
-io_return_t
-ds_device_map (struct mach_device *device, vm_prot_t prot, vm_offset_t offset,
-	       vm_size_t size, mach_port_t *pager, boolean_t unmap)
-{
-  /* Refuse if device is dead or not completely open.  */
-  if (device == NULL)
-    return D_NO_SUCH_DEVICE;
-
-  return D_INVALID_OPERATION;
-}
-
-error_t
-create_device_port (size_t size, void *result)
-{
-  return ports_create_port (dev_class, device_bucket,
-			    size, result);
-}
-
-void mach_device_init()
-{
-	int i;
-
-	device_bucket = ports_create_bucket ();
-	dev_class = ports_create_class (0, 0);
-
-	for (i = 0; i < NUM_EMULATION; i++) {
-		if (emulation_list[i]->init)
-			emulation_list[i]->init();
-	}
-}
-
-static int
-demuxer (mach_msg_header_t *inp, mach_msg_header_t *outp)
-{
-  mig_routine_t routine;
-  if ((routine = device_server_routine (inp)) ||
-      (routine = notify_server_routine (inp)))
-    {
-      (*routine) (inp, outp);
-      return TRUE;
-    }
-  else
-    return FALSE;
-}
-
-void reg_dev_emul (struct device_emulation_ops *ops)
-{
-  emulation_list[num_emul++] = ops;
-}
-
-void * ds_server(void *arg)
-{
-  /* This thread calls Linux functions,
-   * so I need to make it known to the Linux environment. */
-  l4dde26_process_from_ddekit (ddekit_thread_myself ());
-
-  /* Launch.  */
-  do
-    {
-      ports_manage_port_operations_one_thread (device_bucket, demuxer, 0);
-    } while (1);
-
-  return NULL;
-}
diff --git a/libmachdev/ds_routines.h b/libmachdev/ds_routines.h
deleted file mode 100644
index 3706aa5..0000000
--- a/libmachdev/ds_routines.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Mach Operating System
- * Copyright (c) 1991,1990,1989 Carnegie Mellon University
- * All Rights Reserved.
- *
- * Permission to use, copy, modify and distribute this software and its
- * documentation is hereby granted, provided that both the copyright
- * notice and this permission notice appear in all copies of the
- * software, derivative works or modified versions, and any portions
- * thereof, and that both notices appear in supporting documentation.
- *
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
- * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
- * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * Carnegie Mellon requests users of this software to return to
- *
- *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
- *  School of Computer Science
- *  Carnegie Mellon University
- *  Pittsburgh PA 15213-3890
- *
- * any improvements or extensions that they make and grant Carnegie Mellon
- * the rights to redistribute these changes.
- */
-/*
- *	Author: David B. Golub, Carnegie Mellon University
- *	Date: 	8/89
- *
- *	Device service utility routines.
- */
-
-#ifndef	DS_ROUTINES_H
-#define	DS_ROUTINES_H
-
-#include <mach.h>
-
-#include "io_req.h"
-
-/*
- * Map for device IO memory.
- */
-//vm_map_t	device_io_map;
-
-kern_return_t	device_read_alloc(io_req_t, vm_size_t);
-kern_return_t	device_write_get(io_req_t, boolean_t *);
-boolean_t	device_write_dealloc(io_req_t);
-
-boolean_t	ds_open_done(io_req_t);
-boolean_t	ds_read_done(io_req_t);
-boolean_t	ds_write_done(io_req_t);
-
-void		iowait (io_req_t ior);
-
-error_t		create_device_port (size_t size, void *result);
-
-#endif	/* DS_ROUTINES_H */
diff --git a/libmachdev/errno-base.h b/libmachdev/errno-base.h
deleted file mode 100644
index 6511597..0000000
--- a/libmachdev/errno-base.h
+++ /dev/null
@@ -1,39 +0,0 @@
-#ifndef _ASM_GENERIC_ERRNO_BASE_H
-#define _ASM_GENERIC_ERRNO_BASE_H
-
-#define	EPERM		 1	/* Operation not permitted */
-#define	ENOENT		 2	/* No such file or directory */
-#define	ESRCH		 3	/* No such process */
-#define	EINTR		 4	/* Interrupted system call */
-#define	EIO		 5	/* I/O error */
-#define	ENXIO		 6	/* No such device or address */
-#define	E2BIG		 7	/* Argument list too long */
-#define	ENOEXEC		 8	/* Exec format error */
-#define	EBADF		 9	/* Bad file number */
-#define	ECHILD		10	/* No child processes */
-#define	EAGAIN		11	/* Try again */
-#define	ENOMEM		12	/* Out of memory */
-#define	EACCES		13	/* Permission denied */
-#define	EFAULT		14	/* Bad address */
-#define	ENOTBLK		15	/* Block device required */
-#define	EBUSY		16	/* Device or resource busy */
-#define	EEXIST		17	/* File exists */
-#define	EXDEV		18	/* Cross-device link */
-#define	ENODEV		19	/* No such device */
-#define	ENOTDIR		20	/* Not a directory */
-#define	EISDIR		21	/* Is a directory */
-#define	EINVAL		22	/* Invalid argument */
-#define	ENFILE		23	/* File table overflow */
-#define	EMFILE		24	/* Too many open files */
-#define	ENOTTY		25	/* Not a typewriter */
-#define	ETXTBSY		26	/* Text file busy */
-#define	EFBIG		27	/* File too large */
-#define	ENOSPC		28	/* No space left on device */
-#define	ESPIPE		29	/* Illegal seek */
-#define	EROFS		30	/* Read-only file system */
-#define	EMLINK		31	/* Too many links */
-#define	EPIPE		32	/* Broken pipe */
-#define	EDOM		33	/* Math argument out of domain of func */
-#define	ERANGE		34	/* Math result not representable */
-
-#endif
diff --git a/libmachdev/if_ether.h b/libmachdev/if_ether.h
deleted file mode 100644
index 2997467..0000000
--- a/libmachdev/if_ether.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- * INET		An implementation of the TCP/IP protocol suite for the LINUX
- *		operating system.  INET is implemented using the  BSD Socket
- *		interface as the means of communication with the user level.
- *
- *		Global definitions for the Ethernet IEEE 802.3 interface.
- *
- * Version:	@(#)if_ether.h	1.0.1a	02/08/94
- *
- * Author:	Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
- *		Donald Becker, <becker@super.org>
- *		Alan Cox, <alan@cymru.net>
- *		Steve Whitehouse, <gw7rrm@eeshack3.swan.ac.uk>
- *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- */
- 
-#ifndef _LINUX_IF_ETHER_H
-#define _LINUX_IF_ETHER_H
-
-/*
- *	IEEE 802.3 Ethernet magic constants.  The frame sizes omit the preamble
- *	and FCS/CRC (frame check sequence). 
- */
-
-#define ETH_ALEN	6		/* Octets in one ethernet addr	 */
-#define ETH_HLEN	14		/* Total octets in header.	 */
-#define ETH_ZLEN	60		/* Min. octets in frame sans FCS */
-#define ETH_DATA_LEN	1500		/* Max. octets in payload	 */
-#define ETH_FRAME_LEN	1514		/* Max. octets in frame sans FCS */
-
-/*
- *	These are the defined Ethernet Protocol ID's.
- */
-
-#define ETH_P_LOOP	0x0060		/* Ethernet Loopback packet	*/
-#define ETH_P_ECHO	0x0200		/* Ethernet Echo packet		*/
-#define ETH_P_PUP	0x0400		/* Xerox PUP packet		*/
-#define ETH_P_IP	0x0800		/* Internet Protocol packet	*/
-#define ETH_P_X25	0x0805		/* CCITT X.25			*/
-#define ETH_P_ARP	0x0806		/* Address Resolution packet	*/
-#define	ETH_P_BPQ	0x08FF		/* G8BPQ AX.25 Ethernet Packet	[ NOT AN OFFICIALLY REGISTERED ID ] */
-#define ETH_P_DEC       0x6000          /* DEC Assigned proto           */
-#define ETH_P_DNA_DL    0x6001          /* DEC DNA Dump/Load            */
-#define ETH_P_DNA_RC    0x6002          /* DEC DNA Remote Console       */
-#define ETH_P_DNA_RT    0x6003          /* DEC DNA Routing              */
-#define ETH_P_LAT       0x6004          /* DEC LAT                      */
-#define ETH_P_DIAG      0x6005          /* DEC Diagnostics              */
-#define ETH_P_CUST      0x6006          /* DEC Customer use             */
-#define ETH_P_SCA       0x6007          /* DEC Systems Comms Arch       */
-#define ETH_P_RARP      0x8035		/* Reverse Addr Res packet	*/
-#define ETH_P_ATALK	0x809B		/* Appletalk DDP		*/
-#define ETH_P_AARP	0x80F3		/* Appletalk AARP		*/
-#define ETH_P_IPX	0x8137		/* IPX over DIX			*/
-#define ETH_P_IPV6	0x86DD		/* IPv6 over bluebook		*/
-
-/*
- *	Non DIX types. Won't clash for 1500 types.
- */
- 
-#define ETH_P_802_3	0x0001		/* Dummy type for 802.3 frames  */
-#define ETH_P_AX25	0x0002		/* Dummy protocol id for AX.25  */
-#define ETH_P_ALL	0x0003		/* Every packet (be careful!!!) */
-#define ETH_P_802_2	0x0004		/* 802.2 frames 		*/
-#define ETH_P_SNAP	0x0005		/* Internal only		*/
-#define ETH_P_DDCMP     0x0006          /* DEC DDCMP: Internal only     */
-#define ETH_P_WAN_PPP   0x0007          /* Dummy type for WAN PPP frames*/
-#define ETH_P_PPP_MP    0x0008          /* Dummy type for PPP MP frames */
-#define ETH_P_LOCALTALK 0x0009		/* Localtalk pseudo type 	*/
-#define ETH_P_PPPTALK	0x0010		/* Dummy type for Atalk over PPP*/
-#define ETH_P_TR_802_2	0x0011		/* 802.2 frames 		*/
-
-/*
- *	This is an Ethernet frame header.
- */
- 
-struct ethhdr 
-{
-	unsigned char	h_dest[ETH_ALEN];	/* destination eth addr	*/
-	unsigned char	h_source[ETH_ALEN];	/* source ether addr	*/
-	unsigned short	h_proto;		/* packet type ID field	*/
-};
-
-#endif	/* _LINUX_IF_ETHER_H */
diff --git a/libmachdev/if_hdr.h b/libmachdev/if_hdr.h
deleted file mode 100644
index b20f7e3..0000000
--- a/libmachdev/if_hdr.h
+++ /dev/null
@@ -1,165 +0,0 @@
-/* 
- * Mach Operating System
- * Copyright (c) 1991,1990,1989 Carnegie Mellon University
- * All Rights Reserved.
- * 
- * Permission to use, copy, modify and distribute this software and its
- * documentation is hereby granted, provided that both the copyright
- * notice and this permission notice appear in all copies of the
- * software, derivative works or modified versions, and any portions
- * thereof, and that both notices appear in supporting documentation.
- * 
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
- * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
- * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- * 
- * Carnegie Mellon requests users of this software to return to
- * 
- *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
- *  School of Computer Science
- *  Carnegie Mellon University
- *  Pittsburgh PA 15213-3890
- * 
- * any improvements or extensions that they make and grant Carnegie Mellon
- * the rights to redistribute these changes.
- */
-/*
- *	Taken from (bsd)net/if.h.  Modified for MACH kernel.
- */
-/*
- * Copyright (c) 1982, 1986 Regents of the University of California.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 4. The name of the Laboratory may not be used to endorse or promote
- *    products derived from this software without specific prior written
- *    permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- *	@(#)if.h	7.3 (Berkeley) 6/27/88
- */
-
-#ifndef	_IF_HDR_
-#define	_IF_HDR_
-
-#include <queue.h>
-#include <pthread.h>
-#include <hurd/bpf_impl.h>
-
-#if 0
-/*
- * Queue for network output and filter input.
- */
-struct ifqueue {
-	queue_head_t	ifq_head;	/* queue of io_req_t */
-	int		ifq_len;	/* length of queue */
-	int		ifq_maxlen;	/* maximum length of queue */
-	int		ifq_drops;	/* number of packets dropped
-					   because queue full */
-	decl_simple_lock_data(,
-			ifq_lock)	/* lock for queue and counters */
-};
-#endif
-
-/*
- * Header for network interface drivers.
- */
-struct ifnet {
-	short	if_unit;		/* unit number */
-	short	if_flags;		/* up/down, broadcast, etc. */
-	short	if_timer;		/* time until if_watchdog called */
-	short	if_mtu;			/* maximum transmission unit */
-	short	if_header_size;		/* length of header */
-	short	if_header_format;	/* format of hardware header */
-	short	if_address_size;	/* length of hardware address */
-	short	if_alloc_size;		/* size of read buffer to allocate */
-	char	*if_address;		/* pointer to hardware address */
-//	struct ifqueue if_snd;		/* output queue */
-	if_filter_list_t port_list;
-	pthread_mutex_t if_rcv_port_list_lock;/* lock for input filter list */
-	pthread_mutex_t if_snd_port_list_lock;/* lock for output filter list */
-/* statistics */
-	int	if_ipackets;		/* packets received */
-	int	if_ierrors;		/* input errors */
-	int	if_opackets;		/* packets sent */
-	int	if_oerrors;		/* output errors */
-	int	if_collisions;		/* collisions on csma interfaces */
-	int	if_rcvdrops;		/* packets received but dropped */
-};
-
-#define	IFF_UP		0x0001		/* interface is up */
-#define	IFF_BROADCAST	0x0002		/* interface can broadcast */
-#define	IFF_DEBUG	0x0004		/* turn on debugging */
-#define	IFF_LOOPBACK	0x0008		/* is a loopback net */
-#define	IFF_POINTOPOINT	0x0010		/* point-to-point link */
-#define	IFF_RUNNING	0x0040		/* resources allocated */
-#define	IFF_NOARP	0x0080		/* no address resolution protocol */
-#define	IFF_PROMISC	0x0100		/* receive all packets */
-#define	IFF_ALLMULTI	0x0200		/* receive all multicast packets */
-#define	IFF_BRIDGE	0x0100		/* support token ring routing field */
-#define	IFF_SNAP	0x0200		/* support extended sap header */
-
-/* internal flags only: */
-#define	IFF_CANTCHANGE	(IFF_BROADCAST | IFF_POINTOPOINT | IFF_RUNNING)
-
-/*
- * Output queues (ifp->if_snd)
- * have queues of messages stored on ifqueue structures.  Entries
- * are added to and deleted from these structures by these macros, which
- * should be called with ipl raised to splimp().
- * XXX locking XXX
- */
-
-#define	IF_QFULL(ifq)		((ifq)->ifq_len >= (ifq)->ifq_maxlen)
-#define	IF_DROP(ifq)		((ifq)->ifq_drops++)
-#define	IF_ENQUEUE(ifq, ior) { \
-	simple_lock(&(ifq)->ifq_lock); \
-	enqueue_tail(&(ifq)->ifq_head, (queue_entry_t)ior); \
-	(ifq)->ifq_len++; \
-	simple_unlock(&(ifq)->ifq_lock); \
-}
-#define	IF_PREPEND(ifq, ior) { \
-	simple_lock(&(ifq)->ifq_lock); \
-	enqueue_head(&(ifq)->ifq_head, (queue_entry_t)ior); \
-	(ifq)->ifq_len++; \
-	simple_unlock(&(ifq)->ifq_lock); \
-}
-
-#define	IF_DEQUEUE(ifq, ior) { \
-	simple_lock(&(ifq)->ifq_lock); \
-	if (((ior) = (io_req_t)dequeue_head(&(ifq)->ifq_head)) != 0) \
-	    (ifq)->ifq_len--; \
-	simple_unlock(&(ifq)->ifq_lock); \
-}
-
-#define	IFQ_MAXLEN	50
-
-#define	IFQ_INIT(ifq) { \
-	queue_init(&(ifq)->ifq_head); \
-	simple_lock_init(&(ifq)->ifq_lock); \
-	(ifq)->ifq_len = 0; \
-	(ifq)->ifq_maxlen = IFQ_MAXLEN; \
-	(ifq)->ifq_drops = 0; \
-}
-
-#define	IFNET_SLOWHZ	1		/* granularity is 1 second */
-
-#endif	/* _IF_HDR_ */
diff --git a/libmachdev/io_req.h b/libmachdev/io_req.h
deleted file mode 100644
index 9c81054..0000000
--- a/libmachdev/io_req.h
+++ /dev/null
@@ -1,135 +0,0 @@
-/*
- * Mach Operating System
- * Copyright (c) 1991,1990,1989,1988 Carnegie Mellon University
- * All Rights Reserved.
- *
- * Permission to use, copy, modify and distribute this software and its
- * documentation is hereby granted, provided that both the copyright
- * notice and this permission notice appear in all copies of the
- * software, derivative works or modified versions, and any portions
- * thereof, and that both notices appear in supporting documentation.
- *
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
- * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
- * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * Carnegie Mellon requests users of this software to return to
- *
- *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
- *  School of Computer Science
- *  Carnegie Mellon University
- *  Pittsburgh PA 15213-3890
- *
- * any improvements or extensions that they make and grant Carnegie Mellon
- * the rights to redistribute these changes.
- */
-/*
- *	Author: David B. Golub, Carnegie Mellon University
- *	Date: 	10/88
- */
-
-#ifndef	_IO_REQ_
-#define	_IO_REQ_
-
-#include <mach.h>
-#include <pthread.h>
-
-#include "dev_hdr.h"
-
-/*
- * IO request element, queued on device for delayed replies.
- */
-typedef struct io_req *io_req_t;
-struct io_req {
-	struct io_req *	io_next;	/* next, ... */
-	struct io_req *	io_prev;	/* prev pointers: link in done,
-					   defered, or in-progress list */
-	mach_device_t	io_device;	/* pointer to open-device structure */
-	char *		io_dev_ptr;	/* pointer to driver structure -
-					   filled in by driver if necessary */
-	int		io_unit;	/* unit number ('minor') of device */
-	int		io_op;		/* IO operation */
-	dev_mode_t	io_mode;	/* operation mode (wait, truncate) */
-	recnum_t	io_recnum;	/* starting record number for
-					   random-access devices */
-
-	union io_un {
-	    io_buf_ptr_t    data;	/* data, for IO requests */
-	} io_un;
-#define	io_data		io_un.data
-
-	long		io_count;	/* amount requested */
-	long		io_alloc_size;	/* amount allocated */
-	long		io_residual;	/* amount NOT done */
-	io_return_t	io_error;	/* error code */
-	/* call when done - returns TRUE if IO really finished */
-	boolean_t	(*io_done)(io_req_t);
-	mach_port_t	io_reply_port;	/* reply port, for asynchronous
-					   messages */
-	mach_msg_type_name_t io_reply_port_type;
-					/* send or send-once right? */
-	struct io_req *	io_link;	/* forward link (for driver header) */
-	struct io_req *	io_rlink;	/* reverse link (for driver header) */
-//	vm_map_copy_t	io_copy;	/* vm_map_copy obj. for this op. */
-	long		io_total;	/* total op size, for write */
-	pthread_mutex_t	io_req_lock;
-//	decl_simple_lock_data(,io_req_lock)
-					/* Lock for this structure */
-	long            io_physrec;    /* mapping to the physical block
-					   number */
-	long            io_rectotal;   /* total number of blocks to move */
-};
-
-/*
- * LOCKING NOTE: Operations on io_req's are in general single threaded by
- * the invoking code, obviating the need for a lock.  The usual IO_CALL
- * path through the code is: Initiating thread hands io_req to device driver,
- * driver passes it to io_done thread, io_done thread sends reply message.  No
- * locking is needed in this sequence.  Unfortunately, a synchronous wait
- * for a buffer requires a lock to avoid problems if the wait and interrupt
- * happen simultaneously on different processors.
- */
-
-#define ior_lock(ior)	pthread_mutex_lock(&(ior)->io_req_lock)
-#define ior_unlock(ior)	pthread_mutex_unlock(&(ior)->io_req_lock)
-
-/*
- * Flags and operations
- */
-
-#define	IO_WRITE	0x00000000	/* operation is write */
-#define	IO_READ		0x00000001	/* operation is read */
-#define	IO_OPEN		0x00000002	/* operation is open */
-#define	IO_DONE		0x00000100	/* operation complete */
-#define	IO_ERROR	0x00000200	/* error on operation */
-#define	IO_BUSY		0x00000400	/* operation in progress */
-#define	IO_WANTED	0x00000800	/* wakeup when no longer BUSY */
-#define	IO_BAD		0x00001000	/* bad disk block */
-#define	IO_CALL		0x00002000	/* call io_done_thread when done */
-#define IO_INBAND	0x00004000	/* mig call was inband */
-#define IO_INTERNAL	0x00008000	/* internal, device-driver specific */
-#define	IO_LOANED	0x00010000	/* ior loaned by another module */
-
-#define	IO_SPARE_START	0x00020000	/* start of spare flags */
-
-/*
- * Standard completion routine for io_requests.
- */
-void	iodone(io_req_t);
-
-/*
- * Macros to allocate and free IORs - will convert to zones later.
- */
-#define	io_req_alloc(ior,size)					\
-	MACRO_BEGIN						\
-	(ior) = (io_req_t)malloc(sizeof(struct io_req));	\
-	pthread_mutex_init(&(ior)->io_req_lock, NULL);		\
-	MACRO_END
-
-#define	io_req_free(ior)					\
-	(free(ior))
-
-
-//zone_t	io_inband_zone; /* for inband reads */
-
-#endif	/* _IO_REQ_ */
diff --git a/libmachdev/linux-errno.h b/libmachdev/linux-errno.h
deleted file mode 100644
index be764a8..0000000
--- a/libmachdev/linux-errno.h
+++ /dev/null
@@ -1,109 +0,0 @@
-#ifndef _ASM_GENERIC_ERRNO_H
-#define _ASM_GENERIC_ERRNO_H
-
-#include <errno-base.h>
-
-#define	EDEADLK		35	/* Resource deadlock would occur */
-#define	ENAMETOOLONG	36	/* File name too long */
-#define	ENOLCK		37	/* No record locks available */
-#define	ENOSYS		38	/* Function not implemented */
-#define	ENOTEMPTY	39	/* Directory not empty */
-#define	ELOOP		40	/* Too many symbolic links encountered */
-#define	EWOULDBLOCK	EAGAIN	/* Operation would block */
-#define	ENOMSG		42	/* No message of desired type */
-#define	EIDRM		43	/* Identifier removed */
-#define	ECHRNG		44	/* Channel number out of range */
-#define	EL2NSYNC	45	/* Level 2 not synchronized */
-#define	EL3HLT		46	/* Level 3 halted */
-#define	EL3RST		47	/* Level 3 reset */
-#define	ELNRNG		48	/* Link number out of range */
-#define	EUNATCH		49	/* Protocol driver not attached */
-#define	ENOCSI		50	/* No CSI structure available */
-#define	EL2HLT		51	/* Level 2 halted */
-#define	EBADE		52	/* Invalid exchange */
-#define	EBADR		53	/* Invalid request descriptor */
-#define	EXFULL		54	/* Exchange full */
-#define	ENOANO		55	/* No anode */
-#define	EBADRQC		56	/* Invalid request code */
-#define	EBADSLT		57	/* Invalid slot */
-
-#define	EDEADLOCK	EDEADLK
-
-#define	EBFONT		59	/* Bad font file format */
-#define	ENOSTR		60	/* Device not a stream */
-#define	ENODATA		61	/* No data available */
-#define	ETIME		62	/* Timer expired */
-#define	ENOSR		63	/* Out of streams resources */
-#define	ENONET		64	/* Machine is not on the network */
-#define	ENOPKG		65	/* Package not installed */
-#define	EREMOTE		66	/* Object is remote */
-#define	ENOLINK		67	/* Link has been severed */
-#define	EADV		68	/* Advertise error */
-#define	ESRMNT		69	/* Srmount error */
-#define	ECOMM		70	/* Communication error on send */
-#define	EPROTO		71	/* Protocol error */
-#define	EMULTIHOP	72	/* Multihop attempted */
-#define	EDOTDOT		73	/* RFS specific error */
-#define	EBADMSG		74	/* Not a data message */
-#define	EOVERFLOW	75	/* Value too large for defined data type */
-#define	ENOTUNIQ	76	/* Name not unique on network */
-#define	EBADFD		77	/* File descriptor in bad state */
-#define	EREMCHG		78	/* Remote address changed */
-#define	ELIBACC		79	/* Can not access a needed shared library */
-#define	ELIBBAD		80	/* Accessing a corrupted shared library */
-#define	ELIBSCN		81	/* .lib section in a.out corrupted */
-#define	ELIBMAX		82	/* Attempting to link in too many shared libraries */
-#define	ELIBEXEC	83	/* Cannot exec a shared library directly */
-#define	EILSEQ		84	/* Illegal byte sequence */
-#define	ERESTART	85	/* Interrupted system call should be restarted */
-#define	ESTRPIPE	86	/* Streams pipe error */
-#define	EUSERS		87	/* Too many users */
-#define	ENOTSOCK	88	/* Socket operation on non-socket */
-#define	EDESTADDRREQ	89	/* Destination address required */
-#define	EMSGSIZE	90	/* Message too long */
-#define	EPROTOTYPE	91	/* Protocol wrong type for socket */
-#define	ENOPROTOOPT	92	/* Protocol not available */
-#define	EPROTONOSUPPORT	93	/* Protocol not supported */
-#define	ESOCKTNOSUPPORT	94	/* Socket type not supported */
-#define	EOPNOTSUPP	95	/* Operation not supported on transport endpoint */
-#define	EPFNOSUPPORT	96	/* Protocol family not supported */
-#define	EAFNOSUPPORT	97	/* Address family not supported by protocol */
-#define	EADDRINUSE	98	/* Address already in use */
-#define	EADDRNOTAVAIL	99	/* Cannot assign requested address */
-#define	ENETDOWN	100	/* Network is down */
-#define	ENETUNREACH	101	/* Network is unreachable */
-#define	ENETRESET	102	/* Network dropped connection because of reset */
-#define	ECONNABORTED	103	/* Software caused connection abort */
-#define	ECONNRESET	104	/* Connection reset by peer */
-#define	ENOBUFS		105	/* No buffer space available */
-#define	EISCONN		106	/* Transport endpoint is already connected */
-#define	ENOTCONN	107	/* Transport endpoint is not connected */
-#define	ESHUTDOWN	108	/* Cannot send after transport endpoint shutdown */
-#define	ETOOMANYREFS	109	/* Too many references: cannot splice */
-#define	ETIMEDOUT	110	/* Connection timed out */
-#define	ECONNREFUSED	111	/* Connection refused */
-#define	EHOSTDOWN	112	/* Host is down */
-#define	EHOSTUNREACH	113	/* No route to host */
-#define	EALREADY	114	/* Operation already in progress */
-#define	EINPROGRESS	115	/* Operation now in progress */
-#define	ESTALE		116	/* Stale NFS file handle */
-#define	EUCLEAN		117	/* Structure needs cleaning */
-#define	ENOTNAM		118	/* Not a XENIX named type file */
-#define	ENAVAIL		119	/* No XENIX semaphores available */
-#define	EISNAM		120	/* Is a named type file */
-#define	EREMOTEIO	121	/* Remote I/O error */
-#define	EDQUOT		122	/* Quota exceeded */
-
-#define	ENOMEDIUM	123	/* No medium found */
-#define	EMEDIUMTYPE	124	/* Wrong medium type */
-#define	ECANCELED	125	/* Operation Canceled */
-#define	ENOKEY		126	/* Required key not available */
-#define	EKEYEXPIRED	127	/* Key has expired */
-#define	EKEYREVOKED	128	/* Key has been revoked */
-#define	EKEYREJECTED	129	/* Key was rejected by service */
-
-/* for robust mutexes */
-#define	EOWNERDEAD	130	/* Owner died */
-#define	ENOTRECOVERABLE	131	/* State not recoverable */
-
-#endif
diff --git a/libmachdev/mach_glue.h b/libmachdev/mach_glue.h
deleted file mode 100644
index 7b12258..0000000
--- a/libmachdev/mach_glue.h
+++ /dev/null
@@ -1,41 +0,0 @@
-#ifndef __MACH_GLUE_H__
-#define __MACH_GLUE_H__
-
-/* network */
-#include <arpa/inet.h>
-
-#include <ddekit/thread.h>
-
-struct sk_buff;
-struct net_device;
-void skb_done_queue(struct sk_buff *skb);
-struct sk_buff *skb_done_dequeue();
-void *skb_reply(struct sk_buff *skb);
-
-int netdev_flags(struct net_device *dev);
-char *netdev_addr(struct net_device *dev);
-char *netdev_name (struct net_device *dev);
-unsigned int netdev_mtu (struct net_device *dev);
-unsigned short netdev_header_len (struct net_device *dev);
-unsigned short netdev_type (struct net_device *dev);
-unsigned char netdev_addr_len (struct net_device *dev);
-
-int dev_change_flags (struct net_device *dev, short flags);
-int linux_pkg_xmit (char *pkg_data, int len, void *del_data,
-		    int (*del_func) (struct sk_buff *, void *),
-		    struct net_device *dev);
-struct net_device *search_netdev (char *name);
-void kfree_skb (struct sk_buff *skb);
-int dev_open(struct net_device *dev);
-void *l4dde26_register_rx_callback(void *cb);
-void skb_done_head_init();
-
-/* block device */
-struct block_device;
-struct block_device *open_block_dev (char *name, int part, dev_mode_t mode);
-int block_dev_rw (struct block_device *dev, int sectornr,
-		  char *data, int count, int rw, void (*write_done) (int err));
-
-int l4dde26_process_from_ddekit(ddekit_thread_t *t);
-
-#endif
diff --git a/libmachdev/machdev.h b/libmachdev/machdev.h
deleted file mode 100644
index b9186fb..0000000
--- a/libmachdev/machdev.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/* 
-   Copyright (C) 2010 Free Software Foundation, Inc.
-   Written by Zheng Da.
-
-   This file is part of the GNU Hurd.
-
-   The GNU Hurd is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2, or (at your option)
-   any later version.
-
-   The GNU Hurd is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with the GNU Hurd; see the file COPYING.  If not, write to
-   the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
-
-/* This file declares interfaces used by driver programs. */
-
-#ifndef __MACHDEV_H__
-#define __MACHDEV_H__
-
-void * ds_server(void *);
-void mach_device_init(void);
-void register_net(void);
-void register_block(void);
-void trivfs_server(void);
-int trivfs_init(void);
-
-#endif
diff --git a/libmachdev/mig-decls.h b/libmachdev/mig-decls.h
deleted file mode 100644
index 8302029..0000000
--- a/libmachdev/mig-decls.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
-   Copyright (C) 2014 Free Software Foundation, Inc.
-   Written by Justus Winter.
-
-   This file is part of the GNU Hurd.
-
-   The GNU Hurd is free software; you can redistribute it and/or
-   modify it under the terms of the GNU General Public License as
-   published by the Free Software Foundation; either version 2, or (at
-   your option) any later version.
-
-   The GNU Hurd is distributed in the hope that it will be useful, but
-   WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with the GNU Hurd.  If not, see <http://www.gnu.org/licenses/>.  */
-
-#ifndef __LIBMACHDEV_MIG_DECLS_H__
-#define __LIBMACHDEV_MIG_DECLS_H__
-
-#include <hurd/ports.h>
-#include "dev_hdr.h"
-
-extern struct port_bucket *device_bucket;
-extern struct port_class *dev_class;
-
-/* Called by server stub functions.  */
-
-static inline struct mach_device * __attribute__ ((unused))
-begin_using_device_port (mach_port_t port)
-{
-  return ports_lookup_port (device_bucket, port, dev_class);
-}
-
-static inline struct mach_device * __attribute__ ((unused))
-begin_using_device_payload (unsigned long payload)
-{
-  return ports_lookup_payload (device_bucket, payload, dev_class);
-}
-
-static inline void __attribute__ ((unused))
-end_using_device (struct mach_device *p)
-{
-  if (p)
-    ports_port_deref (p);
-}
-
-#endif /* __LIBMACHDEV_MIG_DECLS_H__ */
diff --git a/libmachdev/mig-mutate.h b/libmachdev/mig-mutate.h
deleted file mode 100644
index 902ff16..0000000
--- a/libmachdev/mig-mutate.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-   Copyright (C) 2014 Free Software Foundation, Inc.
-   Written by Justus Winter.
-
-   This file is part of the GNU Hurd.
-
-   The GNU Hurd is free software; you can redistribute it and/or
-   modify it under the terms of the GNU General Public License as
-   published by the Free Software Foundation; either version 2, or (at
-   your option) any later version.
-
-   The GNU Hurd is distributed in the hope that it will be useful, but
-   WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with the GNU Hurd.  If not, see <http://www.gnu.org/licenses/>.  */
-
-#define NOTIFY_INTRAN						\
-  port_info_t begin_using_port_info_port (mach_port_t)
-#define NOTIFY_INTRAN_PAYLOAD					\
-  port_info_t begin_using_port_info_payload
-#define NOTIFY_DESTRUCTOR					\
-  end_using_port_info (port_info_t)
-#define NOTIFY_IMPORTS						\
-  import "libports/mig-decls.h";
-
-#define DEVICE_INTRAN						\
-  mach_device_t begin_using_device_port (mach_port_t)
-#define DEVICE_INTRAN_PAYLOAD					\
-  mach_device_t begin_using_device_payload
-#define DEVICE_DESTRUCTOR					\
-  end_using_device (mach_device_t)
-#define DEVICE_IMPORTS						\
-  import "libmachdev/mig-decls.h";
diff --git a/libmachdev/misc.c b/libmachdev/misc.c
deleted file mode 100644
index 977159b..0000000
--- a/libmachdev/misc.c
+++ /dev/null
@@ -1,50 +0,0 @@
-#include <mach.h>
-#include <device/device.h>
-
-#include <ddekit/printf.h>
-
-#include "linux-errno.h"
-
-int
-linux_to_mach_error (int err)
-{
-  switch (err)
-    {
-    case 0:
-      return D_SUCCESS;
-
-    case -EPERM:
-      return D_INVALID_OPERATION;
-
-    case -EIO:
-      return D_IO_ERROR;
-
-    case -ENXIO:
-      return D_NO_SUCH_DEVICE;
-
-    case -EACCES:
-      return D_INVALID_OPERATION;
-
-    case -EFAULT:
-      return D_INVALID_SIZE;
-
-    case -EBUSY:
-      return D_ALREADY_OPEN;
-
-    case -EINVAL:
-      return D_INVALID_SIZE;
-
-    case -EROFS:
-      return D_READ_ONLY;
-
-    case -EWOULDBLOCK:
-      return D_WOULD_BLOCK;
-
-    case -ENOMEM:
-      return D_NO_MEMORY;
-
-    default:
-      ddekit_printf ("linux_to_mach_error: unknown code %d\n", err);
-      return D_IO_ERROR;
-    }
-}
diff --git a/libmachdev/net.c b/libmachdev/net.c
deleted file mode 100644
index 220121a..0000000
--- a/libmachdev/net.c
+++ /dev/null
@@ -1,662 +0,0 @@
-/*
- * Linux network driver support.
- *
- * Copyright (C) 1996 The University of Utah and the Computer Systems
- * Laboratory at the University of Utah (CSL)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- *      Author: Shantanu Goel, University of Utah CSL
- */
-
-/*
- * INET               An implementation of the TCP/IP protocol suite for the LINUX
- *              operating system.  INET is implemented using the  BSD Socket
- *              interface as the means of communication with the user level.
- *
- *              Ethernet-type device handling.
- *
- * Version:     @(#)eth.c       1.0.7   05/25/93
- *
- * Authors:     Ross Biro, <bir7@leland.Stanford.Edu>
- *              Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
- *              Mark Evans, <evansmp@uhura.aston.ac.uk>
- *              Florian  La Roche, <rzsfl@rz.uni-sb.de>
- *              Alan Cox, <gw4pts@gw4pts.ampr.org>
- * 
- * Fixes:
- *              Mr Linux        : Arp problems
- *              Alan Cox        : Generic queue tidyup (very tiny here)
- *              Alan Cox        : eth_header ntohs should be htons
- *              Alan Cox        : eth_rebuild_header missing an htons and
- *                                minor other things.
- *              Tegge           : Arp bug fixes. 
- *              Florian         : Removed many unnecessary functions, code cleanup
- *                                and changes for new arp and skbuff.
- *              Alan Cox        : Redid header building to reflect new format.
- *              Alan Cox        : ARP only when compiled with CONFIG_INET
- *              Greg Page       : 802.2 and SNAP stuff.
- *              Alan Cox        : MAC layer pointers/new format.
- *              Paul Gortmaker  : eth_copy_and_sum shouldn't csum padding.
- *              Alan Cox        : Protect against forwarding explosions with
- *                                older network drivers and IFF_ALLMULTI
- *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- */
-#include <assert.h>
-#include <string.h>
-#include <arpa/inet.h>
-#include <error.h>
-
-#include "mach_U.h"
-
-#include <mach.h>
-#include <hurd.h>
-
-#define MACH_INCLUDE
-
-#include "ds_routines.h"
-#include "vm_param.h"
-#include "device_reply_U.h"
-#include "dev_hdr.h"
-#include "if_ether.h"
-#include "util.h"
-#include "mach_glue.h"
-#include "if_hdr.h"
-
-#define ether_header ethhdr
-
-/* One of these is associated with each instance of a device.  */
-struct net_data
-{
-  struct port_info port;	/* device port */
-  struct emul_device device;	/* generic device structure */
-  struct ifnet ifnet;		/* Mach ifnet structure (needed for filters) */
-  struct net_device *dev;	/* Linux network device structure */
-  struct net_data *next;
-};
-
-struct skb_reply
-{
-  mach_port_t reply;
-  mach_msg_type_name_t reply_type;
-  int pkglen;
-};
-
-static struct net_data *nd_head;
-
-/* Forward declarations.  */
-
-extern struct device_emulation_ops linux_net_emulation_ops;
-
-static mach_msg_type_t header_type = 
-{
-  MACH_MSG_TYPE_BYTE,
-  8,
-  NET_HDW_HDR_MAX,
-  TRUE,
-  FALSE,
-  FALSE,
-  0
-};
-
-static mach_msg_type_t packet_type = 
-{
-  MACH_MSG_TYPE_BYTE,	/* name */
-  8,			/* size */
-  0,			/* number */
-  TRUE,			/* inline */
-  FALSE,			/* longform */
-  FALSE			/* deallocate */
-};
-
-static struct net_data *search_nd (struct net_device *dev)
-{
-  struct net_data *nd = nd_head;
-
-  //TODO protected by locks.
-  while (nd)
-    {
-      if (nd->dev == dev)
-	return nd;
-      nd = nd->next;
-    }
-  return NULL;
-}
-
-/* Linux kernel network support routines.  */
-
-/* actions before freeing the sk_buff SKB.
- * If it returns 1, the packet will be deallocated later. */
-static int 
-pre_kfree_skb (struct sk_buff *skb, void *data)
-{
-  struct skb_reply *reply = data;
-  extern void wakeup_io_done_thread ();
-
-  /* Queue sk_buff on done list if there is a
-     page list attached or we need to send a reply.
-     Wakeup the iodone thread to process the list.  */
-  if (reply && MACH_PORT_VALID (reply->reply))
-    {
-      if (MACH_PORT_VALID (reply->reply))
-	{
-	  ds_device_write_reply (reply->reply, reply->reply_type,
-				 0, reply->pkglen);
-	  reply->reply = MACH_PORT_NULL;
-	}
-    }
-  /* deallocate skb_reply before freeing the packet. */
-  free (data);
-  return 0;
-}
-
-/*
- * Deliver the message to all right pfinet servers that
- * connects to the virtual network interface.
- */
-int
-deliver_msg(struct net_rcv_msg *msg, if_filter_list_t *ifp)
-{
-  mach_msg_return_t err;
-  queue_head_t *if_port_list;
-  net_rcv_port_t infp, nextfp;
-
-  msg->msg_hdr.msgh_bits = MACH_MSGH_BITS (MACH_MSG_TYPE_COPY_SEND, 0);
-  /* remember message sizes must be rounded up */
-  msg->msg_hdr.msgh_local_port = MACH_PORT_NULL;
-  msg->msg_hdr.msgh_kind = MACH_MSGH_KIND_NORMAL;
-  msg->msg_hdr.msgh_id = NET_RCV_MSG_ID;
-
-  if_port_list = &ifp->if_rcv_port_list;
-  FILTER_ITERATE (if_port_list, infp, nextfp, &infp->input) 
-    {
-      mach_port_t dest;
-      net_hash_entry_t entp, *hash_headp;
-      int ret_count;
-
-      entp = (net_hash_entry_t) 0;
-      ret_count = bpf_do_filter (infp,
-				 msg->packet + sizeof (struct packet_header),
-				 msg->net_rcv_msg_packet_count, msg->header,
-				 sizeof (struct ethhdr), &hash_headp, &entp);
-      if (entp == (net_hash_entry_t) 0)
-	dest = infp->rcv_port;
-      else
-	dest = entp->rcv_port;
-
-      if (ret_count) 
-	{
-	  msg->msg_hdr.msgh_remote_port = dest;
-	  err = mach_msg ((mach_msg_header_t *)msg,
-			  MACH_SEND_MSG|MACH_SEND_TIMEOUT,
-			  msg->msg_hdr.msgh_size, 0, MACH_PORT_NULL,
-			  0, MACH_PORT_NULL);
-	  if (err != MACH_MSG_SUCCESS)
-	    {
-	      /* TODO: remove from filter */
-	    }
-	}
-    }
-  FILTER_ITERATE_END
-
-    return 0;
-}
-
-/* Accept packet SKB received on an interface.  */
-static void
-netif_rx_handle (char *data, int len, struct net_device *dev)
-{
-  int pack_size;
-  struct net_rcv_msg net_msg;
-  struct ether_header *eh;
-  struct packet_header *ph;
-  struct net_data *nd;
-
-  nd = search_nd(dev);
-  assert (nd);
-
-  pack_size = len - sizeof (struct ethhdr);
-  /* remember message sizes must be rounded up */
-  net_msg.msg_hdr.msgh_size =
-    (((mach_msg_size_t) (sizeof (struct net_rcv_msg)
-			 - sizeof net_msg.sent
-			 + sizeof (struct packet_header)
-			 - NET_RCV_MAX + pack_size)) + 3) & ~3;
-
-  /* Copy packet into message buffer.  */
-  eh = (struct ether_header *) (net_msg.header);
-  ph = (struct packet_header *) (net_msg.packet);
-  memcpy (eh, data, sizeof (struct ether_header));
-  /* packet is prefixed with a struct packet_header,
-     see include/device/net_status.h.  */
-  memcpy (ph + 1, data + sizeof (struct ether_header), pack_size);
-  ph->type = eh->h_proto;
-  ph->length = pack_size + sizeof (struct packet_header);
-
-  net_msg.sent = FALSE; /* Mark packet as received.  */
-
-  net_msg.header_type = header_type;
-  net_msg.packet_type = packet_type;
-  net_msg.net_rcv_msg_packet_count = ph->length;
-  deliver_msg (&net_msg, &nd->ifnet.port_list);
-}
-
-/* Mach device interface routines.  */
-
-/* Return a send right associated with network device ND.  */
-static mach_port_t
-dev_to_port (void *nd)
-{
-  return (nd
-	  ? ports_get_send_right (nd)
-	  : MACH_PORT_NULL);
-}
-
-/*    
- * Initialize send and receive queues on an interface.
- */   
-void if_init_queues(ifp)
-     register struct ifnet *ifp;
-{     
-//  IFQ_INIT(&ifp->if_snd);
-  queue_init(&ifp->port_list.if_rcv_port_list);
-  queue_init(&ifp->port_list.if_snd_port_list);
-  pthread_mutex_init(&ifp->if_rcv_port_list_lock, NULL);
-  pthread_mutex_init(&ifp->if_snd_port_list_lock, NULL);
-}
-
-static io_return_t
-device_open (mach_port_t reply_port, mach_msg_type_name_t reply_port_type,
-	     dev_mode_t mode, char *name, device_t *devp,
-	     mach_msg_type_name_t *devicePoly)
-{
-  io_return_t err = D_SUCCESS;
-  struct net_device *dev;
-  struct net_data *nd;
-  struct ifnet *ifp;
-
-  /* Search for the device.  */
-  dev = search_netdev (name);
-  if (!dev)
-    {
-      fprintf (stderr, "after search_netdev: cannot find %s\n", name);
-      return D_NO_SUCH_DEVICE;
-    }
-
-  /* Allocate and initialize device data if this is the first open.  */
-  nd = search_nd (dev);
-  if (!nd)
-    {
-      char *name;
-
-      err = create_device_port (sizeof (*nd), &nd);
-      if (err)
-	{
-	  fprintf (stderr, "after create_device_port: cannot create a port\n");
-	  goto out;
-	}
-	
-      nd->dev = dev;
-      nd->device.emul_data = nd;
-      nd->device.emul_ops = &linux_net_emulation_ops;
-      nd->next = nd_head;
-      nd_head = nd;
-
-      ifp = &nd->ifnet;
-      name = netdev_name (dev);
-      ifp->if_unit = name[strlen (name) - 1] - '0';
-      ifp->if_flags = IFF_UP | IFF_RUNNING;
-      ifp->if_mtu = netdev_mtu (dev);
-      ifp->if_header_size = netdev_header_len (dev);
-      ifp->if_header_format = netdev_type (dev);
-      ifp->if_address_size = netdev_addr_len (dev);
-      ifp->if_address = netdev_addr (dev);
-      if_init_queues (ifp);
-
-      if ((err = dev_open(dev)) < 0)
-	{
-	  fprintf (stderr, "after dev_open: cannot open the device\n");
-	  err = linux_to_mach_error (err);
-	}
-
-    out:
-      if (err)
-	{
-	  if (nd)
-	    {
-	      ports_destroy_right (nd);
-	      nd = NULL;
-	    }
-	}
-      else
-	{
-#if 0
-	  /* IPv6 heavily relies on multicasting (especially router and
-	     neighbor solicits and advertisements), so enable reception of
-	     those multicast packets by setting `LINUX_IFF_ALLMULTI'.  */
-	  dev->flags |= LINUX_IFF_UP | LINUX_IFF_RUNNING | LINUX_IFF_ALLMULTI;
-	  skb_queue_head_init (&dev->buffs[0]);
-
-	  if (dev->set_multicast_list)
-	    dev->set_multicast_list (dev);
-#endif
-	}
-    }
-
-  if (nd)
-    {
-      *devp = ports_get_right (nd);
-      *devicePoly = MACH_MSG_TYPE_MAKE_SEND;
-    }
-  return err;
-}
-
-static io_return_t
-device_write (void *d, mach_port_t reply_port,
-	      mach_msg_type_name_t reply_port_type, dev_mode_t mode,
-	      recnum_t bn, io_buf_ptr_t data, unsigned int count,
-	      int *bytes_written)
-{
-  struct net_data *nd = d;
-  struct net_device *dev = nd->dev;
-  struct skb_reply *skb_reply = malloc (sizeof (*skb_reply));
-  error_t err;
-
-  if (skb_reply == NULL)
-    return D_NO_MEMORY;
-
-  skb_reply->pkglen = count;
-  skb_reply->reply = reply_port;
-  skb_reply->reply_type = reply_port_type;
-
-  err = linux_pkg_xmit (data, count, skb_reply, pre_kfree_skb, dev);
-  vm_deallocate (mach_task_self (), (vm_address_t) data, count);
-  if (err)
-    return linux_to_mach_error (err);
-
-  /* Send packet to filters.  */
-  // TODO should I deliver the packet to other network stacks?
-#if 0
-  {
-    struct packet_header *packet;
-    struct ether_header *header;
-    ipc_kmsg_t kmsg;
-
-    kmsg = net_kmsg_get ();
-
-    if (kmsg != IKM_NULL)
-      {
-        /* Suitable for Ethernet only.  */
-        header = (struct ether_header *) (net_kmsg (kmsg)->header);
-        packet = (struct packet_header *) (net_kmsg (kmsg)->packet);
-        memcpy (header, skb->data, sizeof (struct ether_header));
-
-        /* packet is prefixed with a struct packet_header,
-           see include/device/net_status.h.  */
-        memcpy (packet + 1, skb->data + sizeof (struct ether_header),
-                skb->len - sizeof (struct ether_header));
-        packet->length = skb->len - sizeof (struct ether_header)
-                         + sizeof (struct packet_header);
-        packet->type = header->ether_type;
-        net_kmsg (kmsg)->sent = TRUE; /* Mark packet as sent.  */
-        s = splimp ();
-        net_packet (&dev->net_data->ifnet, kmsg, packet->length,
-                    ethernet_priority (kmsg));
-        splx (s);
-      }
-  }
-#endif
-
-  return MIG_NO_REPLY;
-}
-
-/*
- * Other network operations
- */
-static io_return_t
-net_getstat(ifp, flavor, status, count)
-	struct ifnet	*ifp;
-	dev_flavor_t	flavor;
-	dev_status_t	status;		/* pointer to OUT array */
-	natural_t	*count;		/* OUT */
-{
-#define ETHERMTU 1500
-	switch (flavor) {
-	    case NET_STATUS:
-	    {
-		register struct net_status *ns = (struct net_status *)status;
-
-		if (*count < NET_STATUS_COUNT)
-		    return (D_INVALID_OPERATION);
-		
-		ns->min_packet_size = ifp->if_header_size;
-		ns->max_packet_size = ifp->if_header_size + ifp->if_mtu;
-		ns->header_format   = ifp->if_header_format;
-		ns->header_size	    = ifp->if_header_size;
-		ns->address_size    = ifp->if_address_size;
-		ns->flags	    = ifp->if_flags;
-		ns->mapped_size	    = 0;
-
-		*count = NET_STATUS_COUNT;
-		break;
-	    }
-	    case NET_ADDRESS:
-	    {
-		register int	addr_byte_count;
-		register int	addr_int_count;
-		register int	i;
-
-		addr_byte_count = ETH_ALEN;
-		addr_int_count = (addr_byte_count + (sizeof(int)-1))
-					 / sizeof(int);
-
-		if (*count < addr_int_count)
-		{
-		  /* XXX debug hack. */
-		  printf ("net_getstat: count: %d, addr_int_count: %d\n",
-			  *count, addr_int_count);
-		  return (D_INVALID_OPERATION);
-		}
-
-		memcpy(status, ifp->if_address, addr_byte_count);
-		if (addr_byte_count < addr_int_count * sizeof(int))
-		    memset((char *)status + addr_byte_count, 0, 
-			  (addr_int_count * sizeof(int)
-				      - addr_byte_count));
-
-		for (i = 0; i < addr_int_count; i++) {
-		    register int word;
-
-		    word = status[i];
-		    status[i] = htonl(word);
-		}
-		*count = addr_int_count;
-		break;
-	    }
-	    default:
-		return (D_INVALID_OPERATION);
-	}
-	return (D_SUCCESS);
-}
-
-static io_return_t
-device_get_status (void *d, dev_flavor_t flavor, dev_status_t status,
-		   mach_msg_type_number_t *count)
-{
-  struct net_data *net = (struct net_data *) d;
-
-  if (flavor == NET_FLAGS)
-    {
-      if (*count != 1)
-	return D_INVALID_SIZE;
-
-      *(int *) status = netdev_flags (net->dev);
-      return D_SUCCESS;
-    }
-
-#if 0
-  if(flavor >= SIOCIWFIRST && flavor <= SIOCIWLAST)
-    {
-      /* handle wireless ioctl */
-      if(! IW_IS_GET(flavor))
-	return D_INVALID_OPERATION;
-
-      if(*count * sizeof(int) < sizeof(struct ifreq))
-	return D_INVALID_OPERATION;
-
-      struct net_data *nd = d;
-      struct linux_device *dev = nd->dev;
-
-      if(! dev->do_ioctl)
-	return D_INVALID_OPERATION;
-
-      int result;
-
-      if (flavor == SIOCGIWRANGE || flavor == SIOCGIWENCODE
-	  || flavor == SIOCGIWESSID || flavor == SIOCGIWNICKN
-	  || flavor == SIOCGIWSPY)
-	{
-	  /*
-	   * These ioctls require an `iw_point' as their argument (i.e.
-	   * they want to return some data to userspace. 
-	   * Therefore supply some sane values and carry the data back
-	   * to userspace right behind the `struct iwreq'.
-	   */
-	  struct iw_point *iwp = &((struct iwreq *) status)->u.data;
-	  iwp->length = *count * sizeof (dev_status_t) - sizeof (struct ifreq);
-	  iwp->pointer = (void *) status + sizeof (struct ifreq);
-
-	  result = dev->do_ioctl (dev, (struct ifreq *) status, flavor);
-
-	  *count = ((sizeof (struct ifreq) + iwp->length)
-		    / sizeof (dev_status_t));
-	  if (iwp->length % sizeof (dev_status_t))
-	    (*count) ++;
-	}
-      else
-	{
-	  *count = sizeof(struct ifreq) / sizeof(int);
-	  result = dev->do_ioctl(dev, (struct ifreq *) status, flavor);
-	}
-
-      return result ? D_IO_ERROR : D_SUCCESS;
-    }
-  else
-#endif
-    {
-      /* common get_status request */
-      return net_getstat (&net->ifnet, flavor, status, count);
-    }
-}
-
-static io_return_t
-device_set_status(void *d, dev_flavor_t flavor, dev_status_t status,
-		  mach_msg_type_number_t count)
-{
-  if (flavor == NET_FLAGS)
-    {
-      if (count != 1)
-        return D_INVALID_SIZE;
-
-      int flags = *(int *) status;
-      struct net_data *net = (struct net_data *) d;
-
-      dev_change_flags (net->dev, flags);
-
-      return D_SUCCESS;
-    }
-    return D_INVALID_OPERATION;
-
-#if 0
-  if(flavor < SIOCIWFIRST || flavor > SIOCIWLAST)
-    return D_INVALID_OPERATION;
-
-  if(! IW_IS_SET(flavor))
-    return D_INVALID_OPERATION;
-  
-  if(count * sizeof(int) < sizeof(struct ifreq))
-    return D_INVALID_OPERATION;
-
-  struct net_data *nd = d;
-  struct linux_device *dev = nd->dev;
-
-  if(! dev->do_ioctl)
-    return D_INVALID_OPERATION;
-
-  if((flavor == SIOCSIWENCODE || flavor == SIOCSIWESSID
-      || flavor == SIOCSIWNICKN || flavor == SIOCSIWSPY)
-     && ((struct iwreq *) status)->u.data.pointer)
-    {
-      struct iw_point *iwp = &((struct iwreq *) status)->u.data;
-
-      /* safety check whether the status array is long enough ... */
-      if(count * sizeof(int) < sizeof(struct ifreq) + iwp->length)
-	return D_INVALID_OPERATION;
-
-      /* make sure, iwp->pointer points to the correct address */
-      if(iwp->pointer) iwp->pointer = (void *) status + sizeof(struct ifreq);
-    }
-  
-  int result = dev->do_ioctl(dev, (struct ifreq *) status, flavor);
-  return result ? D_IO_ERROR : D_SUCCESS;
-#endif
-}
-
-
-static io_return_t
-device_set_filter (void *d, mach_port_t port, int priority,
-		   filter_t * filter, unsigned filter_count)
-{
-  return net_set_filter (&((struct net_data *) d)->ifnet.port_list,
-			 port, priority, filter, filter_count);
-}
-
-/* Do any initialization required for network devices.  */
-static void linux_net_emulation_init ()
-{
-  skb_done_head_init();
-  l4dde26_register_rx_callback(netif_rx_handle);
-}
-
-struct device_emulation_ops linux_net_emulation_ops =
-{
-  linux_net_emulation_init,
-  NULL,
-  NULL,
-  dev_to_port,
-  device_open,
-  NULL,
-  device_write,
-  NULL,
-  NULL,
-  NULL,
-  device_set_status,
-  device_get_status,
-  device_set_filter,
-  NULL,
-  NULL,
-  NULL,
-  NULL
-};
-
-void register_net()
-{
-	extern void reg_dev_emul (struct device_emulation_ops *ops);
-	reg_dev_emul (&linux_net_emulation_ops);
-}
diff --git a/libmachdev/queue.c b/libmachdev/queue.c
deleted file mode 100644
index a43a21b..0000000
--- a/libmachdev/queue.c
+++ /dev/null
@@ -1,131 +0,0 @@
-/* 
- * Mach Operating System
- * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
- * All Rights Reserved.
- * 
- * Permission to use, copy, modify and distribute this software and its
- * documentation is hereby granted, provided that both the copyright
- * notice and this permission notice appear in all copies of the
- * software, derivative works or modified versions, and any portions
- * thereof, and that both notices appear in supporting documentation.
- * 
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
- * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
- * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- * 
- * Carnegie Mellon requests users of this software to return to
- * 
- *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
- *  School of Computer Science
- *  Carnegie Mellon University
- *  Pittsburgh PA 15213-3890
- * 
- * any improvements or extensions that they make and grant Carnegie Mellon
- * the rights to redistribute these changes.
- */
-/*
- *	Routines to implement queue package.
- */
-
-#include "queue.h"
-
-
-
-/*
- *	Insert element at head of queue.
- */
-void enqueue_head(
-	register queue_t	que,
-	register queue_entry_t	elt)
-{
-	elt->next = que->next;
-	elt->prev = que;
-	elt->next->prev = elt;
-	que->next = elt;
-}
-
-/*
- *	Insert element at tail of queue.
- */
-void enqueue_tail(
-	register queue_t	que,
-	register queue_entry_t	elt)
-{
-	elt->next = que;
-	elt->prev = que->prev;
-	elt->prev->next = elt;
-	que->prev = elt;
-}
-
-/*
- *	Remove and return element at head of queue.
- */
-queue_entry_t dequeue_head(
-	register queue_t	que)
-{
-	register queue_entry_t	elt;
-
-	if (que->next == que)
-		return((queue_entry_t)0);
-
-	elt = que->next;
-	elt->next->prev = que;
-	que->next = elt->next;
-	return(elt);
-}
-
-/*
- *	Remove and return element at tail of queue.
- */
-queue_entry_t dequeue_tail(
-	register queue_t	que)
-{
-	register queue_entry_t	elt;
-
-	if (que->prev == que)
-		return((queue_entry_t)0);
-
-	elt = que->prev;
-	elt->prev->next = que;
-	que->prev = elt->prev;
-	return(elt);
-}
-
-/*
- *	Remove arbitrary element from queue.
- *	Does not check whether element is on queue - the world
- *	will go haywire if it isn't.
- */
-
-/*ARGSUSED*/
-void remqueue(
-	queue_t			que,
-	register queue_entry_t	elt)
-{
-	elt->next->prev = elt->prev;
-	elt->prev->next = elt->next;
-}
-
-/*
- *	Routines to directly imitate the VAX hardware queue
- *	package.
- */
-void insque(
-	register struct queue_entry *entry,
-	register struct queue_entry *pred)
-{
-	entry->next = pred->next;
-	entry->prev = pred;
-	(pred->next)->prev = entry;
-	pred->next = entry;
-}
-
-struct queue_entry
-*remque(
-	register struct queue_entry *elt)
-{
-	(elt->next)->prev = elt->prev;
-	(elt->prev)->next = elt->next;
-	return(elt);
-}
-
diff --git a/libmachdev/queue.h b/libmachdev/queue.h
deleted file mode 100644
index 86ef74d..0000000
--- a/libmachdev/queue.h
+++ /dev/null
@@ -1,370 +0,0 @@
-/*
- * Mach Operating System
- * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
- * All Rights Reserved.
- *
- * Permission to use, copy, modify and distribute this software and its
- * documentation is hereby granted, provided that both the copyright
- * notice and this permission notice appear in all copies of the
- * software, derivative works or modified versions, and any portions
- * thereof, and that both notices appear in supporting documentation.
- *
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
- * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
- * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * Carnegie Mellon requests users of this software to return to
- *
- *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
- *  School of Computer Science
- *  Carnegie Mellon University
- *  Pittsburgh PA 15213-3890
- *
- * any improvements or extensions that they make and grant Carnegie Mellon rights
- * to redistribute these changes.
- */
-/*
- *	File:	queue.h
- *	Author:	Avadis Tevanian, Jr.
- *	Date:	1985
- *
- *	Type definitions for generic queues.
- *
- */
-
-#ifndef	_KERN_QUEUE_H_
-#define	_KERN_QUEUE_H_
-
-#include <pthread.h>
-
-/*
- *	Queue of abstract objects.  Queue is maintained
- *	within that object.
- *
- *	Supports fast removal from within the queue.
- *
- *	How to declare a queue of elements of type "foo_t":
- *		In the "*foo_t" type, you must have a field of
- *		type "queue_chain_t" to hold together this queue.
- *		There may be more than one chain through a
- *		"foo_t", for use by different queues.
- *
- *		Declare the queue as a "queue_t" type.
- *
- *		Elements of the queue (of type "foo_t", that is)
- *		are referred to by reference, and cast to type
- *		"queue_entry_t" within this module.
- */
-
-/*
- *	A generic doubly-linked list (queue).
- */
-
-struct queue_entry {
-	struct queue_entry	*next;		/* next element */
-	struct queue_entry	*prev;		/* previous element */
-};
-
-typedef struct queue_entry	*queue_t;
-typedef	struct queue_entry	queue_head_t;
-typedef	struct queue_entry	queue_chain_t;
-typedef	struct queue_entry	*queue_entry_t;
-
-/*
- *	enqueue puts "elt" on the "queue".
- *	dequeue returns the first element in the "queue".
- *	remqueue removes the specified "elt" from the specified "queue".
- */
-
-#define enqueue(queue,elt)	enqueue_tail(queue, elt)
-#define	dequeue(queue)		dequeue_head(queue)
-
-void		enqueue_head(queue_t, queue_entry_t);
-void		enqueue_tail(queue_t, queue_entry_t);
-queue_entry_t	dequeue_head(queue_t);
-queue_entry_t	dequeue_tail(queue_t);
-void		remqueue(queue_t, queue_entry_t);
-void		insque(queue_entry_t, queue_entry_t);
-
-/*
- *	Macro:		queue_init
- *	Function:
- *		Initialize the given queue.
- *	Header:
- *		void queue_init(q)
- *			queue_t		q;	*MODIFIED*
- */
-#define	queue_init(q)	((q)->next = (q)->prev = q)
-
-/*
- *	Macro:		queue_first
- *	Function:
- *		Returns the first entry in the queue,
- *	Header:
- *		queue_entry_t queue_first(q)
- *			queue_t	q;		*IN*
- */
-#define	queue_first(q)	((q)->next)
-
-/*
- *	Macro:		queue_next
- *	Function:
- *		Returns the entry after an item in the queue.
- *	Header:
- *		queue_entry_t queue_next(qc)
- *			queue_t qc;
- */
-#define	queue_next(qc)	((qc)->next)
-
-/*
- *	Macro:		queue_last
- *	Function:
- *		Returns the last entry in the queue.
- *	Header:
- *		queue_entry_t queue_last(q)
- *			queue_t	q;		 *IN*
- */
-#define	queue_last(q)	((q)->prev)
-
-/*
- *	Macro:		queue_prev
- *	Function:
- *		Returns the entry before an item in the queue.
- *	Header:
- *		queue_entry_t queue_prev(qc)
- *			queue_t qc;
- */
-#define	queue_prev(qc)	((qc)->prev)
-
-/*
- *	Macro:		queue_end
- *	Function:
- *		Tests whether a new entry is really the end of
- *		the queue.
- *	Header:
- *		boolean_t queue_end(q, qe)
- *			queue_t q;
- *			queue_entry_t qe;
- */
-#define	queue_end(q, qe)	((q) == (qe))
-
-/*
- *	Macro:		queue_empty
- *	Function:
- *		Tests whether a queue is empty.
- *	Header:
- *		boolean_t queue_empty(q)
- *			queue_t q;
- */
-#define	queue_empty(q)		queue_end((q), queue_first(q))
-
-
-/*----------------------------------------------------------------*/
-/*
- * Macros that operate on generic structures.  The queue
- * chain may be at any location within the structure, and there
- * may be more than one chain.
- */
-
-/*
- *	Macro:		queue_enter
- *	Function:
- *		Insert a new element at the tail of the queue.
- *	Header:
- *		void queue_enter(q, elt, type, field)
- *			queue_t q;
- *			<type> elt;
- *			<type> is what's in our queue
- *			<field> is the chain field in (*<type>)
- */
-#define queue_enter(head, elt, type, field)			\
-{ 								\
-	register queue_entry_t prev;				\
-								\
-	prev = (head)->prev;					\
-	if ((head) == prev) {					\
-		(head)->next = (queue_entry_t) (elt);		\
-	}							\
-	else {							\
-		((type)prev)->field.next = (queue_entry_t)(elt);\
-	}							\
-	(elt)->field.prev = prev;				\
-	(elt)->field.next = head;				\
-	(head)->prev = (queue_entry_t) elt;			\
-}
-
-/*
- *	Macro:		queue_enter_first
- *	Function:
- *		Insert a new element at the head of the queue.
- *	Header:
- *		void queue_enter_first(q, elt, type, field)
- *			queue_t q;
- *			<type> elt;
- *			<type> is what's in our queue
- *			<field> is the chain field in (*<type>)
- */
-#define queue_enter_first(head, elt, type, field)		\
-{ 								\
-	register queue_entry_t next;				\
-								\
-	next = (head)->next;					\
-	if ((head) == next) {					\
-		(head)->prev = (queue_entry_t) (elt);		\
-	}							\
-	else {							\
-		((type)next)->field.prev = (queue_entry_t)(elt);\
-	}							\
-	(elt)->field.next = next;				\
-	(elt)->field.prev = head;				\
-	(head)->next = (queue_entry_t) elt;			\
-}
-
-/*
- *	Macro:		queue_field [internal use only]
- *	Function:
- *		Find the queue_chain_t (or queue_t) for the
- *		given element (thing) in the given queue (head)
- */
-#define	queue_field(head, thing, type, field)			\
-		(((head) == (thing)) ? (head) : &((type)(thing))->field)
-
-/*
- *	Macro:		queue_remove
- *	Function:
- *		Remove an arbitrary item from the queue.
- *	Header:
- *		void queue_remove(q, qe, type, field)
- *			arguments as in queue_enter
- */
-#define	queue_remove(head, elt, type, field)			\
-{								\
-	register queue_entry_t	next, prev;			\
-								\
-	next = (elt)->field.next;				\
-	prev = (elt)->field.prev;				\
-								\
-	if ((head) == next)					\
-		(head)->prev = prev;				\
-	else							\
-		((type)next)->field.prev = prev;		\
-								\
-	if ((head) == prev)					\
-		(head)->next = next;				\
-	else							\
-		((type)prev)->field.next = next;		\
-}
-
-/*
- *	Macro:		queue_remove_first
- *	Function:
- *		Remove and return the entry at the head of
- *		the queue.
- *	Header:
- *		queue_remove_first(head, entry, type, field)
- *		entry is returned by reference
- */
-#define	queue_remove_first(head, entry, type, field)		\
-{								\
-	register queue_entry_t	next;				\
-								\
-	(entry) = (type) ((head)->next);			\
-	next = (entry)->field.next;				\
-								\
-	if ((head) == next)					\
-		(head)->prev = (head);				\
-	else							\
-		((type)(next))->field.prev = (head);		\
-	(head)->next = next;					\
-}
-
-/*
- *	Macro:		queue_remove_last
- *	Function:
- *		Remove and return the entry at the tail of
- *		the queue.
- *	Header:
- *		queue_remove_last(head, entry, type, field)
- *		entry is returned by reference
- */
-#define	queue_remove_last(head, entry, type, field)		\
-{								\
-	register queue_entry_t	prev;				\
-								\
-	(entry) = (type) ((head)->prev);			\
-	prev = (entry)->field.prev;				\
-								\
-	if ((head) == prev)					\
-		(head)->next = (head);				\
-	else							\
-		((type)(prev))->field.next = (head);		\
-	(head)->prev = prev;					\
-}
-
-/*
- *	Macro:		queue_assign
- */
-#define	queue_assign(to, from, type, field)			\
-{								\
-	((type)((from)->prev))->field.next = (to);		\
-	((type)((from)->next))->field.prev = (to);		\
-	*to = *from;						\
-}
-
-/*
- *	Macro:		queue_iterate
- *	Function:
- *		iterate over each item in the queue.
- *		Generates a 'for' loop, setting elt to
- *		each item in turn (by reference).
- *	Header:
- *		queue_iterate(q, elt, type, field)
- *			queue_t q;
- *			<type> elt;
- *			<type> is what's in our queue
- *			<field> is the chain field in (*<type>)
- */
-#define queue_iterate(head, elt, type, field)			\
-	for ((elt) = (type) queue_first(head);			\
-	     !queue_end((head), (queue_entry_t)(elt));		\
-	     (elt) = (type) queue_next(&(elt)->field))
-
-
-
-/*----------------------------------------------------------------*/
-/*
- *	Define macros for queues with locks.
- */
-struct mpqueue_head {
-	struct queue_entry	head;		/* header for queue */
-	pthread_mutex_t		lock;		/* lock for queue */
-};
-
-typedef struct mpqueue_head	mpqueue_head_t;
-
-#define	round_mpq(size)		(size)
-
-#define mpqueue_init(q) \
-	{ \
-		queue_init(&(q)->head); \
-		pthread_mutex_init(&(q)->lock, NULL); \
-	}
-
-#define mpenqueue_tail(q, elt) \
-		pthread_mutex_lock(&(q)->lock); \
-		enqueue_tail(&(q)->head, elt); \
-		pthread_mutex_unlock(&(q)->lock);
-
-#define mpdequeue_head(q, elt) \
-		pthread_mutex_lock(&(q)->lock); \
-		if (queue_empty(&(q)->head)) \
-			*(elt) = 0; \
-		else \
-			*(elt) = dequeue_head(&(q)->head); \
-		pthread_mutex_unlock(&(q)->lock);
-
-/*
- *	Old queue stuff, will go away soon.
- */
-
-#endif	/* _KERN_QUEUE_H_ */
diff --git a/libmachdev/trivfs_server.c b/libmachdev/trivfs_server.c
deleted file mode 100644
index 3c0578f..0000000
--- a/libmachdev/trivfs_server.c
+++ /dev/null
@@ -1,171 +0,0 @@
-#include <stdio.h>
-#include <fcntl.h>
-#include <pciaccess.h>
-#include <error.h>
-#include <hurd/ports.h>
-#include <hurd/trivfs.h>
-#include <hurd.h>
-
-#include "device_S.h"
-#include "notify_S.h"
-
-static struct port_bucket *port_bucket;
-
-/* Trivfs hooks.  */
-int trivfs_fstype = FSTYPE_MISC;
-int trivfs_fsid = 0;
-int trivfs_support_read = 0;
-int trivfs_support_write = 0;
-int trivfs_support_exec = 0;
-int trivfs_allow_open = O_READ | O_WRITE;
-
-/* Our port classes.  */
-struct port_class *trivfs_protid_class;
-struct port_class *trivfs_cntl_class;
-
-/* Implementation of notify interface */
-kern_return_t
-do_mach_notify_port_deleted (struct port_info *pi,
-			     mach_port_t name)
-{
-  return EOPNOTSUPP;
-}
-
-kern_return_t
-do_mach_notify_msg_accepted (struct port_info *pi,
-			     mach_port_t name)
-{
-  return EOPNOTSUPP;
-}
-
-kern_return_t
-do_mach_notify_port_destroyed (struct port_info *pi,
-			       mach_port_t port)
-{
-  return EOPNOTSUPP;
-}
-
-kern_return_t
-do_mach_notify_no_senders (struct port_info *pi,
-			   mach_port_mscount_t mscount)
-{
-  return ports_do_mach_notify_no_senders (pi, mscount);
-}
-
-kern_return_t
-do_mach_notify_send_once (struct port_info *pi)
-{
-  return EOPNOTSUPP;
-}
-
-kern_return_t
-do_mach_notify_dead_name (struct port_info *pi,
-			  mach_port_t name)
-{
-  return EOPNOTSUPP;
-}
-
-boolean_t
-is_master_device (mach_port_t port)
-{
-  struct port_info *pi = ports_lookup_port (port_bucket, port,
-					    trivfs_protid_class);
-  if (pi == NULL)
-    return FALSE;
-  
-  ports_port_deref (pi);
-  return TRUE;
-}
-
-error_t
-trivfs_append_args (struct trivfs_control *fsys, char **argz, size_t *argz_len)
-{
-  error_t err = 0;
-
-#define ADD_OPT(fmt, args...)						\
-  do { char buf[100];							\
-       if (! err) {							\
-         snprintf (buf, sizeof buf, fmt , ##args);			\
-         err = argz_add (argz, argz_len, buf); } } while (0)
-
-#undef ADD_OPT
-  return err;
-}
-
-int trivfs_init()
-{
-  port_bucket = ports_create_bucket ();
-  trivfs_cntl_class = ports_create_class (trivfs_clean_cntl, 0);
-  trivfs_protid_class = ports_create_class (trivfs_clean_protid, 0);
-  return 0;
-}
-
-error_t
-trivfs_goaway (struct trivfs_control *fsys, int flags)
-{
-  int count;
-
-  /* Stop new requests.  */
-  ports_inhibit_class_rpcs (trivfs_cntl_class);
-  ports_inhibit_class_rpcs (trivfs_protid_class);
-
-  count = ports_count_class (trivfs_protid_class);
-
-  if (count && !(flags & FSYS_GOAWAY_FORCE))
-    {
-      /* We won't go away, so start things going again...  */
-      ports_enable_class (trivfs_protid_class);
-      ports_resume_class_rpcs (trivfs_cntl_class);
-      ports_resume_class_rpcs (trivfs_protid_class);
-      return EBUSY;
-    }
-
-  pci_system_cleanup ();
-  exit (0);
-}
-
-static int
-demuxer (mach_msg_header_t *inp, mach_msg_header_t *outp)
-{
-  mig_routine_t routine;
-  if ((routine = device_server_routine (inp)) ||
-      (routine = notify_server_routine (inp)) ||
-      (routine = NULL, trivfs_demuxer (inp, outp)))
-    {
-      if (routine)
-        (*routine) (inp, outp);
-      return TRUE;
-    }
-  else
-    return FALSE;
-}
-
-void
-trivfs_modify_stat (struct trivfs_protid *cred, io_statbuf_t *stat)
-{
-}
-
-void trivfs_server()
-{
-  mach_port_t bootstrap;
-  struct trivfs_control *fsys;
-  int err;
-
-  task_get_bootstrap_port (mach_task_self (), &bootstrap);
-  if (bootstrap == MACH_PORT_NULL)
-    error (1, 0, "must be started as a translator");
-
-  /* Reply to our parent.  */
-  err = trivfs_startup (bootstrap, 0,
-			trivfs_cntl_class, port_bucket,
-			trivfs_protid_class, port_bucket, &fsys);
-  mach_port_deallocate (mach_task_self (), bootstrap);
-  if (err)
-    error (1, err, "Contacting parent");
-
-  /* Launch.  */
-  do
-    {
-      ports_manage_port_operations_one_thread (port_bucket, demuxer, 0);
-    } while (trivfs_goaway (fsys, 0));
-}
diff --git a/libmachdev/util.h b/libmachdev/util.h
deleted file mode 100644
index 1c62b0d..0000000
--- a/libmachdev/util.h
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef __UTIL_H__
-#define __UTIL_H__
-
-#include <stdio.h>
-
-#define panic(format, ...) do				\
-{							\
-  char buf[1024];                                       \
-  snprintf (buf, 1024, "devnode: %s", format);       \
-  fprintf (stderr , buf, ## __VA_ARGS__);		\
-  fflush (stderr);					\
-  abort ();			    \
-} while (0)
-
-#define DEBUG
-
-#ifdef DEBUG
-
-#define debug(format, ...) do				\
-{							\
-  char buf[1024];                                       \
-  snprintf (buf, 1024, "pcnet32: %s: %s\n", __func__, format);       \
-  fprintf (stderr , buf, ## __VA_ARGS__);		\
-  fflush (stderr);					\
-} while (0)
-
-#else
-
-#define debug(format, ...) do {} while (0)
-
-#endif
-
-int linux_to_mach_error (int err);
-
-#endif
diff --git a/libmachdev/vm_param.h b/libmachdev/vm_param.h
deleted file mode 100644
index 7b615c8..0000000
--- a/libmachdev/vm_param.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#ifndef __VM_PARAM_H__
-#define __VM_PARAM_H__
-
-#define PAGE_SIZE __vm_page_size
-#define PAGE_MASK (PAGE_SIZE-1)
-
-#endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 16:08:46 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJQD7-000157-Sl
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 16:08:45 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36771)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dJQD5-00014q-WA
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 16:08:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dJQD5-0004Cj-2Y
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 16:08:43 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:51470)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dJQD4-0004CS-Vp
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 16:08:43 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 67765)
	id 9A50420EC2; Fri,  9 Jun 2017 16:08:42 -0400 (EDT)
To: commit-hurd@gnu.org
Subject: [SCM] Hurd branch, master, updated. v0.9-46-g019f992
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 26e774bab06eab72847a7ca052a90d5319ad658a
X-Git-Newrev: 019f9923e879ff326b14b2de04c6939c07ccb55b
Message-Id: <20170609200842.9A50420EC2@vcs0.savannah.gnu.org>
Date: Fri,  9 Jun 2017 16:08:42 -0400 (EDT)
From: samuel.thibault@ens-lyon.org (Samuel Thibault)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Jun 2017 20:08:44 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  019f9923e879ff326b14b2de04c6939c07ccb55b (commit)
      from  26e774bab06eab72847a7ca052a90d5319ad658a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 019f9923e879ff326b14b2de04c6939c07ccb55b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Fri Jun 9 22:08:23 2017 +0200

    ext2fs: Reduce verbosity of missing xattr support on the FS
    
    * ext2fs/xattr.c (ext2_free_xattr_block): Only warn about missing ext2fs
    support in debugging mode.

-----------------------------------------------------------------------

Summary of changes:
 ext2fs/xattr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
Hurd


From MAILER-DAEMON Fri Jun 09 18:47:45 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJSgy-0002EW-U1
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 18:47:44 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45242)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dJSgw-0002EM-Fc
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 18:47:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dJSgv-0006Ce-Is
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 18:47:42 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:52926)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dJSgv-0006CV-Ep
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 18:47:41 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 67765)
	id 0EEB120EC2; Fri,  9 Jun 2017 18:47:40 -0400 (EDT)
To: commit-hurd@gnu.org
Subject: [SCM] GNU Mach branch, master, updated. v1.8-16-g06358b9
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: e1a6cb7723b350fec2b315da89fa7d2e215ccbf4
X-Git-Newrev: 06358b9771fb9c3c7cb58b7a8185edd2b15ff236
Message-Id: <20170609224741.0EEB120EC2@vcs0.savannah.gnu.org>
Date: Fri,  9 Jun 2017 18:47:40 -0400 (EDT)
From: samuel.thibault@ens-lyon.org (Samuel Thibault)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Jun 2017 22:47:43 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".

The branch, master has been updated
       via  06358b9771fb9c3c7cb58b7a8185edd2b15ff236 (commit)
      from  e1a6cb7723b350fec2b315da89fa7d2e215ccbf4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 06358b9771fb9c3c7cb58b7a8185edd2b15ff236
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Jun 10 00:45:25 2017 +0200

    Fix Epoch computation
    
    * i386/i386at/rtc.c (CENTURY_START): New macro.
    (readtodc): Use CENTURY_START instead of assuming it is equal to 1970,
    and set yr to an absolute date before calling yeartoday.

-----------------------------------------------------------------------

Summary of changes:
 i386/i386at/rtc.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU Mach


From MAILER-DAEMON Fri Jun 09 19:37:56 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJTTY-0005bt-SW
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 19:37:56 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52710)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dJTTW-0005aX-Qx
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 19:37:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dJTTV-00064z-V5
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 19:37:54 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:53402)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dJTTV-000645-RY
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 19:37:53 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 67765)
	id 79A5620EC2; Fri,  9 Jun 2017 19:37:53 -0400 (EDT)
To: commit-hurd@gnu.org
Subject: [SCM] GNU Mach branch, master, updated. v1.8-17-gfac0a60
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 06358b9771fb9c3c7cb58b7a8185edd2b15ff236
X-Git-Newrev: fac0a603f8c3280720dc7e6adc16a8b34026508a
Message-Id: <20170609233753.79A5620EC2@vcs0.savannah.gnu.org>
Date: Fri,  9 Jun 2017 19:37:53 -0400 (EDT)
From: samuel.thibault@ens-lyon.org (Samuel Thibault)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Jun 2017 23:37:55 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".

The branch, master has been updated
       via  fac0a603f8c3280720dc7e6adc16a8b34026508a (commit)
      from  06358b9771fb9c3c7cb58b7a8185edd2b15ff236 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fac0a603f8c3280720dc7e6adc16a8b34026508a
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Jun 10 01:37:13 2017 +0200

    Fix year computation
    
    * i386/i386at/rtc.c (readtodc): Do not spuriously add 70 to the year.

-----------------------------------------------------------------------

Summary of changes:
 i386/i386at/rtc.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GNU Mach


From MAILER-DAEMON Fri Jun 09 20:38:28 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUQ8-0000p7-CW
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:28 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58715)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ6-0000og-BN
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ5-00070z-DQ
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:26 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53502)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ5-000700-7p
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:25 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUPx-0002VH-VC; Sat, 10 Jun 2017 00:38:17 +0000
To: commit-hurd@gnu.org
Subject: [hurd] 03/06: startup: Simplify reference handling.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Reply-To: Justus Winter <justus@gnupg.org>
In-Reply-To: <20170610003810.4118.69429@moszumanska.debian.org>
References: <20170610003810.4118.69429@moszumanska.debian.org>
X-Git-Repo: hurd
X-Git-Refname: refs/heads/upstream
X-Git-Reftype: branch
X-Git-Rev: ef729f8642cc96ddfd3f5b5db4d6aac057b1d397
Auto-Submitted: auto-generated
Message-Id: <E1dJUPx-0002VH-VC@moszumanska.debian.org>
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:38:17 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:38:27 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit ef729f8642cc96ddfd3f5b5db4d6aac057b1d397
Author: Justus Winter <justus@gnupg.org>
Date:   Sun Mar 12 12:35:39 2017 +0100

    startup: Simplify reference handling.
    
    * startup/startup.c (launch_core_servers): Instead of copying a send
    right and then deallocating it, move it.
    (init_stdarrays): Likewise.
---
 startup/startup.c | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/startup/startup.c b/startup/startup.c
index 913742c..4a0304e 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -755,9 +755,7 @@ launch_core_servers (void)
     fprintf (stderr, "Installed on /servers/startup\n");
 
   err = startup_authinit_reply (authreply, authreplytype, 0, authproc,
-				MACH_MSG_TYPE_COPY_SEND);
-  assert_perror (err);
-  err = mach_port_deallocate (mach_task_self (), authproc);
+				MACH_MSG_TYPE_MOVE_SEND);
   assert_perror (err);
 
   if (verbose)
@@ -818,8 +816,7 @@ launch_core_servers (void)
     fprintf (stderr, "Message port registered\n");
 
   /* Give the bootstrap FS its proc and auth ports.  */
-  err = fsys_init (bootport, fsproc, MACH_MSG_TYPE_COPY_SEND, authserver);
-  mach_port_deallocate (mach_task_self (), fsproc);
+  err = fsys_init (bootport, fsproc, MACH_MSG_TYPE_MOVE_SEND, authserver);
   if (err)
     error (0, err, "fsys_init"); /* Not necessarily fatal.  */
 
@@ -836,7 +833,6 @@ init_stdarrays ()
   mach_port_t ref;
   mach_port_t *std_port_array;
   int *std_int_array;
-  int i;
 
   std_port_array = alloca (sizeof (mach_port_t) * INIT_PORT_MAX);
   std_int_array = alloca (sizeof (int) * INIT_INT_MAX);
@@ -870,10 +866,8 @@ init_stdarrays ()
   std_int_array[INIT_UMASK] = CMASK;
 
   __USEPORT (PROC, proc_setexecdata (port, std_port_array,
-				     MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,
+				     MACH_MSG_TYPE_MOVE_SEND, INIT_PORT_MAX,
 				     std_int_array, INIT_INT_MAX));
-  for (i = 0; i < INIT_PORT_MAX; i++)
-    mach_port_deallocate (mach_task_self (), std_port_array[i]);
 }
 
 /* Frobnicate the kernel task and the proc server's idea of it (PID 2),

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:38:28 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUQ8-0000pP-Ri
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:28 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58707)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ6-0000oe-5u
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ5-00070u-DJ
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:26 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53488)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ5-0006zk-7X
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:25 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUPr-0001C5-AZ; Sat, 10 Jun 2017 00:38:16 +0000
To: commit-hurd@gnu.org
Subject: [hurd] branch master updated (d1431a3 -> 38b488b)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <20170610003810.4118.94179@moszumanska.debian.org>
Reply-To: sthibault@users.alioth.debian.org
X-Git-Repo: hurd
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: d1431a33a76568972fe1ac8b19ff257317b56469
X-Git-Newrev: 38b488b6c1e1d51365866719e86b1b30ac20ac67
Auto-Submitted: auto-generated
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:38:16 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:38:27 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch master
in repository hurd.

      from  d1431a3   Avoid erroring out when proc does not support proc_set_exe
       new  3ed467d   New upstream snapshot
       new  0ea7595   Merge branch 'upstream-merged'
       new  38b488b   Backport a couple upstream fixes

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 NEWS                                               |   6 +
 boot/boot.c                                        |  57 ++++++
 debian/changelog                                   |   8 +-
 debian/patches/exec_filename_fs.patch              |   8 +-
 .../git-019f9923e879ff326b14b2de04c6939c07ccb55b   |  22 ++
 .../git-26e774bab06eab72847a7ca052a90d5319ad658a   |  44 ++++
 debian/patches/series                              |   2 +
 eth-multiplexer/Makefile                           |   2 +-
 ext2fs/xattr.c                                     |   4 +-
 hurd/process.defs                                  |   6 +-
 hurd/process_reply.defs                            |   6 +-
 libdiskfs/boot-start.c                             |  44 +++-
 libdiskfs/opts-std-startup.c                       |   5 +
 proc/info.c                                        | 224 ++++++++++++++++++++-
 proc/main.c                                        |  42 +++-
 proc/mgt.c                                         |  56 ++++++
 proc/msg.c                                         |  32 ++-
 proc/pgrp.c                                        | 100 +++++++++
 proc/proc.h                                        |   2 +
 release/servers.boot                               |   2 +-
 startup/startup.c                                  | 109 ++++++++--
 21 files changed, 724 insertions(+), 57 deletions(-)
 create mode 100644 debian/patches/git-019f9923e879ff326b14b2de04c6939c07ccb55b
 create mode 100644 debian/patches/git-26e774bab06eab72847a7ca052a90d5319ad658a

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:38:29 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUQ9-0000py-GH
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:29 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58728)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ6-0000oi-Mo
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ5-000714-E3
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:26 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53510)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ5-000709-7r
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:25 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUPy-0002Yu-9l; Sat, 10 Jun 2017 00:38:18 +0000
To: commit-hurd@gnu.org
Subject: [hurd] branch upstream-merged updated (30c93fc -> 3ed467d)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <20170610003811.4118.57555@moszumanska.debian.org>
Reply-To: sthibault@users.alioth.debian.org
X-Git-Repo: hurd
X-Git-Refname: refs/heads/upstream-merged
X-Git-Reftype: branch
X-Git-Oldrev: 30c93fccf806748def668db5c2667e8add7ce03d
X-Git-Newrev: 3ed467d065271f84f56ffaf4907340021b7cc2e3
Auto-Submitted: auto-generated
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:38:18 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:38:27 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch upstream-merged
in repository hurd.

      from  30c93fc   New upstream snapshot
       new  3ed467d   New upstream snapshot

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 NEWS                         |   6 ++
 boot/boot.c                  |  57 +++++++++++
 eth-multiplexer/Makefile     |   2 +-
 ext2fs/xattr.c               |   4 +-
 hurd/process.defs            |   6 +-
 hurd/process_reply.defs      |   6 +-
 libdiskfs/boot-start.c       |  44 +++++++--
 libdiskfs/opts-std-startup.c |   5 +
 proc/info.c                  | 224 ++++++++++++++++++++++++++++++++++++++++++-
 proc/main.c                  |  42 +++++++-
 proc/mgt.c                   |  56 +++++++++++
 proc/msg.c                   |  32 ++++++-
 proc/pgrp.c                  | 100 +++++++++++++++++++
 proc/proc.h                  |   2 +
 release/servers.boot         |   2 +-
 startup/startup.c            | 109 +++++++++++++++++----
 16 files changed, 646 insertions(+), 51 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:38:30 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUQA-0000qw-Ek
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:30 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58711)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ6-0000of-7N
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ5-00071E-E0
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:26 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53497)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ5-0006zu-7h
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:25 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUPx-0002RZ-KY; Sat, 10 Jun 2017 00:38:17 +0000
To: commit-hurd@gnu.org
Subject: [hurd] branch upstream updated (150ff2a -> cb991b0)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <20170610003810.4118.69429@moszumanska.debian.org>
Reply-To: sthibault@users.alioth.debian.org
X-Git-Repo: hurd
X-Git-Refname: refs/heads/upstream
X-Git-Reftype: branch
X-Git-Oldrev: 150ff2ad69344d8555c14b42b2658313f16e9d1e
X-Git-Newrev: cb991b0fd709a635b21c6ea2314acb5345b1b72c
Auto-Submitted: auto-generated
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:38:17 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:38:27 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch upstream
in repository hurd.

      from  150ff2a   proc: Refactor.
       new  baf7e5c   hurd: Use polymorphic port types to return some rights.
       new  34a94ce   proc: Hierarchical proc servers.
       new  ef729f8   startup: Simplify reference handling.
       new  4089f37   Pass the kernel's task port to proc.
       new  ef0399b   eth-multiplexer: Fix iohelp missing dependency.
       new  cb991b0   ext2fs: Reduce verbosity of missing xattr support on the FS

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 NEWS                         |   6 ++
 boot/boot.c                  |  57 +++++++++++
 eth-multiplexer/Makefile     |   2 +-
 ext2fs/xattr.c               |   4 +-
 hurd/process.defs            |   6 +-
 hurd/process_reply.defs      |   6 +-
 libdiskfs/boot-start.c       |  44 +++++++--
 libdiskfs/opts-std-startup.c |   5 +
 proc/info.c                  | 224 ++++++++++++++++++++++++++++++++++++++++++-
 proc/main.c                  |  42 +++++++-
 proc/mgt.c                   |  56 +++++++++++
 proc/msg.c                   |  32 ++++++-
 proc/pgrp.c                  | 100 +++++++++++++++++++
 proc/proc.h                  |   2 +
 release/servers.boot         |   2 +-
 startup/startup.c            | 109 +++++++++++++++++----
 16 files changed, 646 insertions(+), 51 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:38:30 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUQA-0000rH-Le
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:30 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58756)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ8-0000pS-Tm
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:29 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ8-000722-5j
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:28 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53508)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ7-000707-Vr
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:28 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUPy-0002YQ-7R; Sat, 10 Jun 2017 00:38:18 +0000
To: commit-hurd@gnu.org
Subject: [hurd] 06/06: ext2fs: Reduce verbosity of missing xattr support on
	the FS
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Reply-To: Samuel Thibault <samuel.thibault@ens-lyon.org>
In-Reply-To: <20170610003810.4118.69429@moszumanska.debian.org>
References: <20170610003810.4118.69429@moszumanska.debian.org>
X-Git-Repo: hurd
X-Git-Refname: refs/heads/upstream
X-Git-Reftype: branch
X-Git-Rev: cb991b0fd709a635b21c6ea2314acb5345b1b72c
Auto-Submitted: auto-generated
Message-Id: <E1dJUPy-0002YQ-7R@moszumanska.debian.org>
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:38:18 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:38:29 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit cb991b0fd709a635b21c6ea2314acb5345b1b72c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun May 7 13:41:26 2017 +0200

    ext2fs: Reduce verbosity of missing xattr support on the FS
    
    * ext2fs/xattr.c (ext2_list_xattr, ext2_get_xattr): Only warn about
    missing ext2fs support in debugging mode.
---
 ext2fs/xattr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ext2fs/xattr.c b/ext2fs/xattr.c
index 5ce84ce..c703717 100644
--- a/ext2fs/xattr.c
+++ b/ext2fs/xattr.c
@@ -512,7 +512,7 @@ ext2_list_xattr (struct node *np, char *buffer, size_t *len)
 
   if (!EXT2_HAS_COMPAT_FEATURE (sblock, EXT2_FEATURE_COMPAT_EXT_ATTR))
     {
-      ext2_warning ("Filesystem has no support for extended attributes.");
+      ext2_debug ("Filesystem has no support for extended attributes.");
       return EOPNOTSUPP;
     }
 
@@ -587,7 +587,7 @@ ext2_get_xattr (struct node *np, const char *name, char *value, size_t *len)
 
   if (!EXT2_HAS_COMPAT_FEATURE (sblock, EXT2_FEATURE_COMPAT_EXT_ATTR))
     {
-      ext2_warning ("Filesystem has no support for extended attributes.");
+      ext2_debug ("Filesystem has no support for extended attributes.");
       return EOPNOTSUPP;
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:38:31 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUQB-0000sM-RH
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:31 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58767)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ9-0000pt-Df
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ8-00072C-71
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:29 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53494)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ8-0006zn-03
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:28 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUPx-0002Qf-I6; Sat, 10 Jun 2017 00:38:17 +0000
To: commit-hurd@gnu.org
Subject: [hurd] 03/03: Backport a couple upstream fixes
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Reply-To: Samuel Thibault <samuel.thibault@ens-lyon.org>
In-Reply-To: <20170610003810.4118.94179@moszumanska.debian.org>
References: <20170610003810.4118.94179@moszumanska.debian.org>
X-Git-Repo: hurd
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 38b488b6c1e1d51365866719e86b1b30ac20ac67
Auto-Submitted: auto-generated
Message-Id: <E1dJUPx-0002Qf-I6@moszumanska.debian.org>
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:38:17 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:38:31 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository hurd.

commit 38b488b6c1e1d51365866719e86b1b30ac20ac67
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu Jun 8 21:15:56 2017 +0000

    Backport a couple upstream fixes
    
      * backport git-26e774bab06eab72847a7ca052a90d5319ad658a to fix glibc build.
      * backport git-019f9923e879ff326b14b2de04c6939c07ccb55b to drop spurious
        ext2fs warnings in d-i.
---
 debian/changelog                                   |  7 +++-
 .../git-019f9923e879ff326b14b2de04c6939c07ccb55b   | 22 +++++++++++
 .../git-26e774bab06eab72847a7ca052a90d5319ad658a   | 44 ++++++++++++++++++++++
 debian/patches/series                              |  2 +
 4 files changed, 73 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 098ed81..72c73bc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,13 @@
-hurd (1:0.9.git20170507-1) UNRELEASED; urgency=medium
+hurd (1:0.9.git20170507-1) unstable; urgency=medium
 
   * New upstream snapshot.
+  * backport git-26e774bab06eab72847a7ca052a90d5319ad658a to fix glibc build.
+  * backport git-019f9923e879ff326b14b2de04c6939c07ccb55b to drop spurious
+    ext2fs warnings in d-i.
   * patches/exec_set_exe.patch: Avoid erroring out when proc does not support
     proc_set_exe.
 
- -- Samuel Thibault <sthibault@debian.org>  Sat, 11 Mar 2017 15:57:49 +0000
+ -- Samuel Thibault <sthibault@debian.org>  Fri, 09 Jun 2017 19:25:32 +0000
 
 hurd (1:0.9.git20170310-1) unstable; urgency=medium
 
diff --git a/debian/patches/git-019f9923e879ff326b14b2de04c6939c07ccb55b b/debian/patches/git-019f9923e879ff326b14b2de04c6939c07ccb55b
new file mode 100644
index 0000000..471c6e4
--- /dev/null
+++ b/debian/patches/git-019f9923e879ff326b14b2de04c6939c07ccb55b
@@ -0,0 +1,22 @@
+commit 019f9923e879ff326b14b2de04c6939c07ccb55b
+Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
+Date:   Fri Jun 9 22:08:23 2017 +0200
+
+    ext2fs: Reduce verbosity of missing xattr support on the FS
+    
+    * ext2fs/xattr.c (ext2_free_xattr_block): Only warn about missing ext2fs
+    support in debugging mode.
+
+diff --git a/ext2fs/xattr.c b/ext2fs/xattr.c
+index c7037176..45969195 100644
+--- a/ext2fs/xattr.c
++++ b/ext2fs/xattr.c
+@@ -429,7 +429,7 @@ ext2_free_xattr_block (struct node *np)
+ 
+   if (!EXT2_HAS_COMPAT_FEATURE (sblock, EXT2_FEATURE_COMPAT_EXT_ATTR))
+     {
+-      ext2_warning ("Filesystem has no support for extended attributes.");
++      ext2_debug ("Filesystem has no support for extended attributes.");
+       return EOPNOTSUPP;
+     }
+ 
diff --git a/debian/patches/git-26e774bab06eab72847a7ca052a90d5319ad658a b/debian/patches/git-26e774bab06eab72847a7ca052a90d5319ad658a
new file mode 100644
index 0000000..e1debfb
--- /dev/null
+++ b/debian/patches/git-26e774bab06eab72847a7ca052a90d5319ad658a
@@ -0,0 +1,44 @@
+commit 26e774bab06eab72847a7ca052a90d5319ad658a
+Author: Justus Winter <justus@gnupg.org>
+Date:   Mon Jun 5 16:29:58 2017 +0200
+
+    hurd: Fix the use of polymorphic types.
+    
+    Fixes baf7e5c8ce176aead15c2559952d8bdf0da41ffd.
+    
+    * hurd/process.defs (proc_getmsgport): Make 'msgport' parameter
+    polymorphic only on the sender side.
+    (proc_task2proc): Likewise for 'proc'.
+    (proc_pid2proc): Likewise.
+
+diff --git a/hurd/process.defs b/hurd/process.defs
+index df70eb9a..d724e20d 100644
+--- a/hurd/process.defs
++++ b/hurd/process.defs
+@@ -156,7 +156,7 @@ routine proc_getmsgport (
+ 	process: process_t;
+ 	sreplyport reply_port: sreply_port_t;
+ 	pid: pid_t;
+-	out msgport: mach_port_poly_t);
++	out msgport: mach_port_send_t);
+ 
+ /* Wait for a child process to exit.  If pid is zero, it waits for any
+    child in the same pgrp as the parent.  If pid is -1, it waits for
+@@ -246,7 +246,7 @@ routine proc_task2pid (
+ routine proc_task2proc (
+ 	process: process_t;
+ 	task: task_t;
+-	out proc: mach_port_poly_t);
++	out proc: mach_port_send_t);
+ 
+ routine proc_proc2task (
+ 	process: process_t;
+@@ -255,7 +255,7 @@ routine proc_proc2task (
+ routine proc_pid2proc (
+ 	process: process_t;
+ 	pid: pid_t;
+-	out proc: mach_port_poly_t);
++	out proc: mach_port_send_t);
+ 
+ routine proc_getprocinfo (
+ 	process: process_t;
diff --git a/debian/patches/series b/debian/patches/series
index 264e33a..dcb872c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -29,3 +29,5 @@ netdde_log.patch
 libports-iterate-refcount.patch
 exec_filename_rpctrace.patch
 exec_set_exe.patch
+git-26e774bab06eab72847a7ca052a90d5319ad658a
+git-019f9923e879ff326b14b2de04c6939c07ccb55b

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:38:32 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUQB-0000se-WC
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:32 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58766)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ9-0000pr-DS
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ8-000727-7G
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:29 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53498)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ7-0006zw-Vn
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:28 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUPx-0002T8-Pa; Sat, 10 Jun 2017 00:38:17 +0000
To: commit-hurd@gnu.org
Subject: [hurd] 01/06: hurd: Use polymorphic port types to return some rights.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Reply-To: Justus Winter <justus@gnupg.org>
In-Reply-To: <20170610003810.4118.69429@moszumanska.debian.org>
References: <20170610003810.4118.69429@moszumanska.debian.org>
X-Git-Repo: hurd
X-Git-Refname: refs/heads/upstream
X-Git-Reftype: branch
X-Git-Rev: baf7e5c8ce176aead15c2559952d8bdf0da41ffd
Auto-Submitted: auto-generated
Message-Id: <E1dJUPx-0002T8-Pa@moszumanska.debian.org>
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:38:17 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:38:31 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit baf7e5c8ce176aead15c2559952d8bdf0da41ffd
Author: Justus Winter <justus@gnupg.org>
Date:   Fri Mar 10 12:36:39 2017 +0100

    hurd: Use polymorphic port types to return some rights.
    
    Currently, the RPC definitions of two procedures of the process
    subsystem assume that the rights are created from a receive right.
    Similarly, 'proc_getmsgport' assumes that the right is to be copied.
    This needlessly limits the ability to relay the RPC in server code.
    
    This fixes this.  The protocol is unchanged, only the generated server
    stubs assume an additional parameter for the type.
    
    * hurd/process.defs (proc_getmsgport): Make 'msgport' parameter
    polymorphic.
    (proc_task2proc): Make 'proc' parameter polymorphic.
    (proc_pid2proc): Likewise.
    * hurd/process_reply.defs (proc_getmsgport): Likewise.
    (proc_task2proc_reply): Likewise.
    (proc_pid2proc_reply): Likewise.
    * proc/info.c (S_proc_task2proc): Adapt server function.
    (S_proc_pid2proc): Likewise.
    * proc/msg.c (S_proc_getmsgport): Likewise.
---
 hurd/process.defs       | 6 +++---
 hurd/process_reply.defs | 6 +++---
 proc/info.c             | 8 ++++++--
 proc/msg.c              | 6 ++++--
 4 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/hurd/process.defs b/hurd/process.defs
index 4ceb69e..df70eb9 100644
--- a/hurd/process.defs
+++ b/hurd/process.defs
@@ -156,7 +156,7 @@ routine proc_getmsgport (
 	process: process_t;
 	sreplyport reply_port: sreply_port_t;
 	pid: pid_t;
-	out msgport: mach_port_t);
+	out msgport: mach_port_poly_t);
 
 /* Wait for a child process to exit.  If pid is zero, it waits for any
    child in the same pgrp as the parent.  If pid is -1, it waits for
@@ -246,7 +246,7 @@ routine proc_task2pid (
 routine proc_task2proc (
 	process: process_t;
 	task: task_t;
-	out proc: mach_port_make_send_t);
+	out proc: mach_port_poly_t);
 
 routine proc_proc2task (
 	process: process_t;
@@ -255,7 +255,7 @@ routine proc_proc2task (
 routine proc_pid2proc (
 	process: process_t;
 	pid: pid_t;
-	out proc: mach_port_make_send_t);
+	out proc: mach_port_poly_t);
 
 routine proc_getprocinfo (
 	process: process_t;
diff --git a/hurd/process_reply.defs b/hurd/process_reply.defs
index 15282fe..2fc21c9 100644
--- a/hurd/process_reply.defs
+++ b/hurd/process_reply.defs
@@ -51,7 +51,7 @@ skip; /* get_arg_locations */
 simpleroutine proc_getmsgport_reply (
 	reply_port: reply_port_t;
 	RETURN_CODE_ARG;
-	in msgports: mach_port_t);
+	in msgports: mach_port_poly_t);
 
 simpleroutine proc_wait_reply (
 	reply_port: reply_port_t;
@@ -83,7 +83,7 @@ simpleroutine proc_task2pid_reply (
 simpleroutine proc_task2proc_reply (
 	reply_port: reply_port_t;
 	RETURN_CODE_ARG;
-	proc: mach_port_make_send_t);
+	proc: mach_port_poly_t);
 
 simpleroutine proc_proc2task_reply (
 	reply_port: reply_port_t;
@@ -93,7 +93,7 @@ simpleroutine proc_proc2task_reply (
 simpleroutine proc_pid2proc_reply (
 	reply_port: reply_port_t;
 	RETURN_CODE_ARG;
-	proc: mach_port_make_send_t);
+	proc: mach_port_poly_t);
 
 simpleroutine proc_getprocinfo_reply (
 	reply_port: reply_port_t;
diff --git a/proc/info.c b/proc/info.c
index 0f5ca0f..9732140 100644
--- a/proc/info.c
+++ b/proc/info.c
@@ -99,7 +99,8 @@ S_proc_task2pid (struct proc *callerp,
 kern_return_t
 S_proc_task2proc (struct proc *callerp,
 		  task_t t,
-		  mach_port_t *outproc)
+		  mach_port_t *outproc,
+		  mach_msg_type_name_t *outproc_type)
 {
   struct proc *p = task_find (t);
 
@@ -109,6 +110,7 @@ S_proc_task2proc (struct proc *callerp,
     return ESRCH;
 
   *outproc = ports_get_right (p);
+  *outproc_type = MACH_MSG_TYPE_MAKE_SEND;
   mach_port_deallocate (mach_task_self (), t);
   return 0;
 }
@@ -128,7 +130,8 @@ S_proc_proc2task (struct proc *p,
 kern_return_t
 S_proc_pid2proc (struct proc *callerp,
 	         pid_t pid,
-	         mach_port_t *outproc)
+	         mach_port_t *outproc,
+		 mach_msg_type_name_t *outproc_type)
 {
   struct proc *p;
 
@@ -149,6 +152,7 @@ S_proc_pid2proc (struct proc *callerp,
     return EPERM;
 
   *outproc = ports_get_right (p);
+  *outproc_type = MACH_MSG_TYPE_MAKE_SEND;
   return 0;
 }
 
diff --git a/proc/msg.c b/proc/msg.c
index 1f132cd..e145f6e 100644
--- a/proc/msg.c
+++ b/proc/msg.c
@@ -126,7 +126,8 @@ S_proc_getmsgport (struct proc *callerp,
 		   mach_port_t reply_port,
 		   mach_msg_type_name_t reply_port_type,
 		   pid_t pid,
-		   mach_port_t *msgport)
+		   mach_port_t *msgport,
+                   mach_msg_type_name_t *msgport_type)
 {
   int cancel;
   struct proc *p;
@@ -156,7 +157,8 @@ restart:
 
   if (check_msgport_death (p))
     goto restart;
-  
+
+  *msgport_type = MACH_MSG_TYPE_COPY_SEND;
   *msgport = p->p_msgport;
 
   return 0;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:38:36 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUQD-0000ty-IU
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:36 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58778)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQA-0000qi-6R
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ8-00072J-9y
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:30 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53504)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ7-000703-W7
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:28 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUPy-0002WF-1g; Sat, 10 Jun 2017 00:38:18 +0000
To: commit-hurd@gnu.org
Subject: [hurd] 04/06: Pass the kernel's task port to proc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Reply-To: Justus Winter <justus@gnupg.org>
In-Reply-To: <20170610003810.4118.69429@moszumanska.debian.org>
References: <20170610003810.4118.69429@moszumanska.debian.org>
X-Git-Repo: hurd
X-Git-Refname: refs/heads/upstream
X-Git-Reftype: branch
X-Git-Rev: 4089f37cdd776e046d51604041c3fe62a2bc1435
Auto-Submitted: auto-generated
Message-Id: <E1dJUPy-0002WF-1g@moszumanska.debian.org>
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:38:18 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:38:32 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 4089f37cdd776e046d51604041c3fe62a2bc1435
Author: Justus Winter <justus@gnupg.org>
Date:   Sun Mar 12 17:16:40 2017 +0100

    Pass the kernel's task port to proc.
    
    Previously, the early server bootstrap relied upon a specific task
    layout to determine the kernels task port.  Explicitly pass it from
    the kernel instead.
    
    * boot/boot.c (default_boot_script): Add '--kernel-task' parameter to
    ext2fs.
    (main): New bootscript variable 'kernel-task'.
    * libdiskfs/boot-start.c (diskfs_kernel_task): Declaration variable.
    (diskfs_start_bootstrap): If '--kernel-task' was given to us, pass it
    along to startup.
    * libdiskfs/opts-std-startup.c (diskfs_kernel_task): New variable.
    (startup_options): Add '--kernel-task' option.
    (parse_startup_opt): Handle option.
    * proc/main.c (kernel_task): New variable.
    (OPT_KERNEL_TASK): New macro.
    (options): New variable.
    (parse_opt): New function.
    (main): Parse options.  Use 'kernel_task' if provided.
    * release/servers.boot: Add '--kernel-task' parameter to ext2fs.
    * startup/startup.c (OPT_KERNEL_TASK): New macro.
    (options): Add '--kernel-task' option.
    (kernel_task): New variable.
    (insert_ports_fnc_t): New declaration.
    (run): Add argument for a function that inserts rights into the newly
    created task and adds arguments to the argument vector.
    (argz_task_insert_right): New function.
    (proc_insert_ports): Likewise.
    (parse_opt): New function.
    (main): Pass the kernel's task port to proc.
    (frob_kernel_process): Use the kernel's task port.
---
 boot/boot.c                  |  3 ++
 libdiskfs/boot-start.c       | 44 +++++++++++++++-----
 libdiskfs/opts-std-startup.c |  5 +++
 proc/main.c                  | 42 ++++++++++++++++---
 release/servers.boot         |  2 +-
 startup/startup.c            | 97 +++++++++++++++++++++++++++++++++++++++-----
 6 files changed, 166 insertions(+), 27 deletions(-)

diff --git a/boot/boot.c b/boot/boot.c
index 13a19d2..978f56e 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -520,6 +520,7 @@ const char *default_boot_script =
   " --multiboot-command-line=${kernel-command-line}"
   " --host-priv-port=${host-port}"
   " --device-master-port=${device-port}"
+  " --kernel-task=${kernel-task}"
   " --exec-server-task=${exec-task}"
   " -T device ${root-device} $(task-create) $(task-resume)"
   "\n"
@@ -649,6 +650,8 @@ main (int argc, char **argv, char **envp)
 				: (int) pseudo_privileged_host_port)
       || boot_script_set_variable ("device-port", VAL_PORT,
 				   (integer_t) pseudo_master_device_port)
+      || boot_script_set_variable ("kernel-task", VAL_PORT,
+				   (integer_t) pseudo_kernel)
       || boot_script_set_variable ("kernel-command-line", VAL_STR,
 				   (integer_t) kernel_command_line)
       || boot_script_set_variable ("root-device",
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index 0fb3e89..f048bad 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -40,6 +40,7 @@
 
 static mach_port_t diskfs_exec_ctl;
 extern task_t diskfs_exec_server_task;
+extern task_t diskfs_kernel_task;
 static task_t parent_task = MACH_PORT_NULL;
 
 static pthread_mutex_t execstartlock;
@@ -206,9 +207,6 @@ diskfs_start_bootstrap ()
       /* We have a boot command line to run instead of init.  */
       err = argz_create (_diskfs_boot_command, &exec_argv, &exec_argvlen);
       assert_perror (err);
-      initname = exec_argv;
-      while (*initname == '/')
-	initname++;
     }
   else
     {
@@ -223,10 +221,42 @@ diskfs_start_bootstrap ()
       err = argz_add_sep (&exec_argv, &exec_argvlen,
 			  diskfs_boot_command_line, ' ');
       assert_perror (err);
+    }
+
+  err = task_create (mach_task_self (),
+#ifdef KERN_INVALID_LEDGER
+		     NULL, 0,	/* OSF Mach */
+#endif
+		     0, &newt);
+  assert_perror (err);
 
-      initname = exec_argv + 1;
+  if (MACH_PORT_VALID (diskfs_kernel_task))
+    {
+      mach_port_t kernel_task_name = MACH_PORT_NULL;
+      char buf[20];
+      int len;
+
+      do
+        {
+          kernel_task_name += 1;
+          err = mach_port_insert_right (newt, kernel_task_name,
+                                        diskfs_kernel_task, MACH_MSG_TYPE_MOVE_SEND);
+        }
+      while (err == KERN_NAME_EXISTS);
+      diskfs_kernel_task = MACH_PORT_NULL;
+
+      len = snprintf (buf, sizeof buf, "--kernel-task=%d", kernel_task_name);
+      assert (len < sizeof buf);
+      /* Insert as second argument.  */
+      err = argz_insert (&exec_argv, &exec_argvlen,
+                         argz_next (exec_argv, exec_argvlen, exec_argv), buf);
+      assert_perror (err);
     }
 
+  initname = exec_argv;
+  while (*initname == '/')
+    initname++;
+
  lookup_init:
   err = dir_lookup (root_pt, (char *) initname, O_READ, 0, &retry, pathbuf,
                     &startup_pt);
@@ -270,12 +300,6 @@ diskfs_start_bootstrap ()
   err = argz_create (environ, &exec_env, &exec_envlen);
   assert_perror (err);
 
-  err = task_create (mach_task_self (),
-#ifdef KERN_INVALID_LEDGER
-		     NULL, 0,	/* OSF Mach */
-#endif
-		     0, &newt);
-  assert_perror (err);
   if (_diskfs_boot_pause)
     {
       printf ("pausing for %s...\n", exec_argv);
diff --git a/libdiskfs/opts-std-startup.c b/libdiskfs/opts-std-startup.c
index ed25a18..a38db99 100644
--- a/libdiskfs/opts-std-startup.c
+++ b/libdiskfs/opts-std-startup.c
@@ -35,6 +35,7 @@ int _diskfs_boot_pause;
 extern char **diskfs_argv;
 
 mach_port_t diskfs_exec_server_task = MACH_PORT_NULL;
+mach_port_t diskfs_kernel_task = MACH_PORT_NULL;
 
 /* ---------------------------------------------------------------- */
 
@@ -45,6 +46,7 @@ mach_port_t diskfs_exec_server_task = MACH_PORT_NULL;
 #define OPT_BOOT_COMMAND	(-5)
 #define OPT_BOOT_INIT_PROGRAM	(-6)
 #define OPT_BOOT_PAUSE		(-7)
+#define OPT_KERNEL_TASK		(-8)
 
 static const struct argp_option
 startup_options[] =
@@ -68,6 +70,7 @@ startup_options[] =
   {"host-priv-port",     OPT_HOST_PRIV_PORT,     "PORT"},
   {"device-master-port", OPT_DEVICE_MASTER_PORT, "PORT"},
   {"exec-server-task",   OPT_EXEC_SERVER_TASK,   "PORT"},
+  {"kernel-task",        OPT_KERNEL_TASK,        "PORT"},
 
   {0}
 };
@@ -106,6 +109,8 @@ parse_startup_opt (int opt, char *arg, struct argp_state *state)
       _hurd_host_priv = atoi (arg); break;
     case OPT_EXEC_SERVER_TASK:
       diskfs_exec_server_task = atoi (arg); break;
+    case OPT_KERNEL_TASK:
+      diskfs_kernel_task = atoi (arg); break;
     case OPT_BOOT_CMDLINE:
       diskfs_boot_command_line = arg; break;
     case OPT_BOOT_INIT_PROGRAM:
diff --git a/proc/main.c b/proc/main.c
index d97650f..e615f36 100644
--- a/proc/main.c
+++ b/proc/main.c
@@ -123,6 +123,32 @@ open_console (mach_port_t device_master)
   return 0;
 }
 
+
+
+static task_t kernel_task;
+
+#define OPT_KERNEL_TASK	-1
+
+static struct argp_option
+options[] =
+{
+  {"kernel-task", OPT_KERNEL_TASK, "PORT"},
+  {0}
+};
+
+static int
+parse_opt (int key, char *arg, struct argp_state *state)
+{
+  switch (key)
+    {
+    case OPT_KERNEL_TASK:
+      kernel_task = atoi (arg);
+      break;
+    default: return ARGP_ERR_UNKNOWN;
+    }
+  return 0;
+}
+
 int
 main (int argc, char **argv, char **envp)
 {
@@ -131,7 +157,8 @@ main (int argc, char **argv, char **envp)
   void *genport;
   process_t startup_port;
   mach_port_t startup;
-  struct argp argp = { 0, 0, 0, "Hurd process server" };
+  char **original_argv;
+  struct argp argp = { options, parse_opt, 0, "Hurd process server" };
 
   argp_parse (&argp, argc, argv, 0, 0, 0);
 
@@ -191,10 +218,15 @@ main (int argc, char **argv, char **envp)
   if (err && err != EPERM)
     error (0, err, "Increasing priority failed");
 
-  /* Get a list of all tasks to find the kernel.  */
-  /* XXX: I't be nice if GNU Mach would hand us the task port.  */
-  add_tasks (MACH_PORT_NULL);
-  kernel_proc = pid_find (HURD_PID_KERNEL);
+  /* Find the kernel.  */
+  if (MACH_PORT_VALID (kernel_task))
+    kernel_proc = task_find (kernel_task);
+  else
+    {
+      /* Get a list of all tasks to find the kernel.  */
+      add_tasks (MACH_PORT_NULL);
+      kernel_proc = pid_find (HURD_PID_KERNEL);
+    }
 
   /* Register for new task notifications using the kernel's process as
      the port.  */
diff --git a/release/servers.boot b/release/servers.boot
index 9ba7f6a..8b66743 100644
--- a/release/servers.boot
+++ b/release/servers.boot
@@ -3,7 +3,7 @@
 
 # First, the bootstrap filesystem.  It needs several ports as arguments,
 # as well as the user flags from the boot loader.
-/hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T typed ${root} $(task-create) $(task-resume)
+/hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} --kernel-task=${kernel-task} -T typed ${root} $(task-create) $(task-resume)
 
 
 # Now the exec server; to load the dynamically-linked exec server program,
diff --git a/startup/startup.c b/startup/startup.c
index 4a0304e..3c3ead4 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -72,6 +72,8 @@ static int verbose = 0;
 
 const char *argp_program_version = STANDARD_HURD_VERSION (startup);
 
+#define OPT_KERNEL_TASK	-1
+
 static struct argp_option
 options[] =
 {
@@ -83,6 +85,7 @@ options[] =
   {"fake-boot",   'f', 0, 0, "This hurd hasn't been booted on the raw machine"},
   {"verbose",     'v', 0, 0, "be verbose"},
   {0,             'x', 0, OPTION_HIDDEN},
+  {"kernel-task", OPT_KERNEL_TASK, "PORT"},
   {0}
 };
 
@@ -136,6 +139,7 @@ static int fakeboot;
 
 /* The tasks of auth and proc and the bootstrap filesystem. */
 static task_t authtask, proctask, fstask;
+static task_t kernel_task;
 
 static mach_port_t default_ports[INIT_PORT_MAX];
 static mach_port_t default_dtable[3];
@@ -344,10 +348,13 @@ record_essential_task (const char *name, task_t task)
 
 /** Starting programs **/
 
+typedef error_t (*insert_ports_fnc_t) (char **argv, size_t *argv_len, task_t task);
+
 /* Run SERVER, giving it INIT_PORT_MAX initial ports from PORTS.
    Set TASK to be the task port of the new image. */
 void
-run (const char *server, mach_port_t *ports, task_t *task)
+run (const char *server, mach_port_t *ports, task_t *task,
+     insert_ports_fnc_t insert_ports)
 {
   char buf[BUFSIZ];
   const char *prog = server;
@@ -369,18 +376,31 @@ run (const char *server, mach_port_t *ports, task_t *task)
 	error (0, errno, "%s", prog);
       else
 	{
-	  task_create (mach_task_self (),
+          char *argz = NULL;
+          size_t argz_len = 0;
+          err = argz_create_sep (prog, ' ', &argz, &argz_len);
+          assert_perror (err);
+
+          err = task_create (mach_task_self (),
 #ifdef KERN_INVALID_LEDGER
-		       NULL, 0,	/* OSF Mach */
+                             NULL, 0,	/* OSF Mach */
 #endif
-		       0, task);
+                             0, task);
+          assert_perror (err);
+
+          if (insert_ports)
+            {
+              err = insert_ports (&argz, &argz_len, *task);
+              assert_perror (err);
+            }
+
 	  if (bootstrap_args & RB_KDB)
 	    {
 	      fprintf (stderr, "Pausing for %s\n", prog);
 	      getchar ();
 	    }
 	  err = file_exec (file, *task, 0,
-			   (char *)prog, strlen (prog) + 1, /* Args.  */
+			   argz, argz_len, /* Args.  */
 			   startup_envz, startup_envz_len,
 			   default_dtable, MACH_MSG_TYPE_COPY_SEND, 3,
 			   ports, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,
@@ -408,6 +428,50 @@ run (const char *server, mach_port_t *ports, task_t *task)
   request_dead_name (*task);
 }
 
+/* Insert PORT of type PORT_TYPE into TASK, adding '--ARGUMENT=<name>'
+   to ARGZ (with <name> being the name valid in TASK).  */
+error_t
+argz_task_insert_right (char **argz, size_t *argz_len, task_t task,
+                        const char *argument,
+                        mach_port_t port, mach_msg_type_name_t port_type)
+{
+  error_t err;
+  mach_port_t name;
+  char *arg;
+
+  name = MACH_PORT_NULL;
+  do
+    {
+      name += 1;
+      err = mach_port_insert_right (task, name, port, port_type);
+    }
+  while (err == KERN_NAME_EXISTS);
+
+  if (asprintf (&arg, "--%s=%d", argument, name) < 0)
+    return errno;
+
+  err = argz_add (argz, argz_len, arg);
+  free (arg);
+  return err;
+}
+
+error_t
+proc_insert_ports (char **argz, size_t *argz_len, task_t task)
+{
+  error_t err;
+
+  if (MACH_PORT_VALID (kernel_task))
+    {
+      err = argz_task_insert_right (argz, argz_len, task,
+                                    "kernel-task",
+                                    kernel_task, MACH_MSG_TYPE_COPY_SEND);
+      if (err)
+        return err;
+    }
+
+  return 0;
+}
+
 /* Run FILENAME as root with ARGS as its argv (length ARGLEN).  Return
    the task that we started.  If CTTY is set, then make that the
    controlling terminal of the new process and put it in its own login
@@ -597,6 +661,9 @@ parse_opt (int key, char *arg, struct argp_state *state)
     case 'H': crash_flags = RB_DEBUGGER; break;
     case 'v': verbose++; break;
     case 'x': /* NOP */ break;
+    case OPT_KERNEL_TASK:
+      kernel_task = atoi (arg);
+      break;
     default: return ARGP_ERR_UNKNOWN;
     }
   return 0;
@@ -685,10 +752,10 @@ main (int argc, char **argv, char **envp)
 			       | sigmask (SIGTTOU));
 
   default_ports[INIT_PORT_BOOTSTRAP] = startup;
-  run ("/hurd/proc", default_ports, &proctask);
+  run ("/hurd/proc", default_ports, &proctask, proc_insert_ports);
   if (! verbose)
     fprintf (stderr, " proc");
-  run ("/hurd/auth", default_ports, &authtask);
+  run ("/hurd/auth", default_ports, &authtask, NULL);
   if (! verbose)
     fprintf (stderr, " auth");
   default_ports[INIT_PORT_BOOTSTRAP] = MACH_PORT_NULL;
@@ -905,11 +972,19 @@ frob_kernel_process (void)
   if (verbose)
     fprintf (stderr, "Frobbing kernel process\n");
 
-  err = proc_pid2task (procserver, HURD_PID_KERNEL, &task);
-  if (err)
+  if (MACH_PORT_VALID (kernel_task))
     {
-      error (0, err, "cannot get kernel task port");
-      return;
+      task = kernel_task;
+      kernel_task = MACH_PORT_NULL;
+    }
+  else
+    {
+      err = proc_pid2task (procserver, HURD_PID_KERNEL, &task);
+      if (err)
+        {
+          error (0, err, "cannot get kernel task port");
+          return;
+        }
     }
 
   /* Make the kernel our child.  */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:38:38 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUQI-0000wI-5R
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:38 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58801)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQB-0000sd-W7
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ8-00072V-D5
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:32 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53489)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ8-0006zl-07
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:28 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUPw-0002Hk-Sg; Sat, 10 Jun 2017 00:38:17 +0000
To: commit-hurd@gnu.org
Subject: [hurd] 01/03: New upstream snapshot
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Reply-To: Samuel Thibault <samuel.thibault@ens-lyon.org>
In-Reply-To: <20170610003810.4118.94179@moszumanska.debian.org>
References: <20170610003810.4118.94179@moszumanska.debian.org>
X-Git-Repo: hurd
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 3ed467d065271f84f56ffaf4907340021b7cc2e3
Auto-Submitted: auto-generated
Message-Id: <E1dJUPw-0002Hk-Sg@moszumanska.debian.org>
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:38:17 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:38:36 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository hurd.

commit 3ed467d065271f84f56ffaf4907340021b7cc2e3
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Fri Jun 9 19:21:55 2017 +0000

    New upstream snapshot
---
 NEWS                         |   6 ++
 boot/boot.c                  |  57 +++++++++++
 eth-multiplexer/Makefile     |   2 +-
 ext2fs/xattr.c               |   4 +-
 hurd/process.defs            |   6 +-
 hurd/process_reply.defs      |   6 +-
 libdiskfs/boot-start.c       |  44 +++++++--
 libdiskfs/opts-std-startup.c |   5 +
 proc/info.c                  | 224 ++++++++++++++++++++++++++++++++++++++++++-
 proc/main.c                  |  42 +++++++-
 proc/mgt.c                   |  56 +++++++++++
 proc/msg.c                   |  32 ++++++-
 proc/pgrp.c                  | 100 +++++++++++++++++++
 proc/proc.h                  |   2 +
 release/servers.boot         |   2 +-
 startup/startup.c            | 109 +++++++++++++++++----
 16 files changed, 646 insertions(+), 51 deletions(-)

diff --git a/NEWS b/NEWS
index 05e04d5..1b500be 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+Version X (2017-06-XX)
+
+Subhurd's processes are now properly embedded in the Motherhurds
+process hierarchy.  They can be inspected and debugged just like any
+other process.
+
 Version 0.9 (2016-12-18)
 
 The 'boot' program can now be run as unprivileged user, allowing any
diff --git a/boot/boot.c b/boot/boot.c
index 950aedb..978f56e 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -196,12 +196,66 @@ mig_reply_setup (
 #undef OutP
 }
 
+error_t
+mach_msg_forward (mach_msg_header_t *inp,
+                  mach_port_t destination, mach_msg_type_name_t destination_type)
+{
+  /* Put the reply port back at the correct position, insert new
+     destination.  */
+  inp->msgh_local_port = inp->msgh_remote_port;
+  inp->msgh_remote_port = destination;
+  inp->msgh_bits =
+    MACH_MSGH_BITS (destination_type, MACH_MSGH_BITS_REMOTE (inp->msgh_bits))
+    | MACH_MSGH_BITS_OTHER (inp->msgh_bits);
+
+  /* A word about resources carried in complex messages.
+
+     "In a received message, msgt_deallocate is TRUE in type
+     descriptors for out-of-line memory".  Therefore, "[the
+     out-of-line memory] is implicitly deallocated from the sender
+     [when we resend the message], as if by vm_deallocate".
+
+     Similarly, rights in messages will be either
+     MACH_MSG_TYPE_PORT_SEND, MACH_MSG_TYPE_PORT_SEND_ONCE, or
+     MACH_MSG_TYPE_PORT_RECEIVE.  These types are aliases for,
+     respectively, MACH_MSG_TYPE_MOVE_SEND,
+     MACH_MSG_TYPE_MOVE_SEND_ONCE, and MACH_MSG_TYPE_MOVE_RECEIVE.
+     Therefore, the rights are moved when we resend the message.  */
+
+  return mach_msg (inp, MACH_SEND_MSG, inp->msgh_size,
+                   0, MACH_PORT_NULL, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+}
+
 int
 boot_demuxer (mach_msg_header_t *inp,
 	      mach_msg_header_t *outp)
 {
+  error_t err;
   mig_routine_t routine;
   mig_reply_setup (inp, outp);
+
+  if (inp->msgh_local_port == task_notification_port
+      && MACH_PORT_VALID (new_task_notification)
+      && 24000 <= inp->msgh_id && inp->msgh_id < 24100)
+    {
+      /* This is a message of the Process subsystem.  We relay this to
+         allow the "outer" proc servers to communicate with the "inner"
+         one.  */
+      mig_reply_header_t *reply = (mig_reply_header_t *) outp;
+
+      if (MACH_PORT_VALID (new_task_notification))
+        err = mach_msg_forward (inp, new_task_notification, MACH_MSG_TYPE_COPY_SEND);
+      else
+        err = EOPNOTSUPP;
+
+      if (err)
+        reply->RetCode = err;
+      else
+        reply->RetCode = MIG_NO_REPLY;
+
+      return TRUE;
+    }
+
   if ((routine = io_server_routine (inp)) ||
       (routine = device_server_routine (inp)) ||
       (routine = notify_server_routine (inp)) ||
@@ -466,6 +520,7 @@ const char *default_boot_script =
   " --multiboot-command-line=${kernel-command-line}"
   " --host-priv-port=${host-port}"
   " --device-master-port=${device-port}"
+  " --kernel-task=${kernel-task}"
   " --exec-server-task=${exec-task}"
   " -T device ${root-device} $(task-create) $(task-resume)"
   "\n"
@@ -595,6 +650,8 @@ main (int argc, char **argv, char **envp)
 				: (int) pseudo_privileged_host_port)
       || boot_script_set_variable ("device-port", VAL_PORT,
 				   (integer_t) pseudo_master_device_port)
+      || boot_script_set_variable ("kernel-task", VAL_PORT,
+				   (integer_t) pseudo_kernel)
       || boot_script_set_variable ("kernel-command-line", VAL_STR,
 				   (integer_t) kernel_command_line)
       || boot_script_set_variable ("root-device",
diff --git a/eth-multiplexer/Makefile b/eth-multiplexer/Makefile
index 07f909e..cefa0ab 100644
--- a/eth-multiplexer/Makefile
+++ b/eth-multiplexer/Makefile
@@ -26,7 +26,7 @@ MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h
 device-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name"
 OBJS = $(SRCS:.c=.o) $(MIGSTUBS)
 LCLHDRS = ethernet.h util.h vdev.h netfs_impl.h
-HURDLIBS = ports ihash fshelp shouldbeinlibc netfs bpf
+HURDLIBS = ports ihash iohelp fshelp shouldbeinlibc netfs bpf
 LDLIBS = -lpthread
 
 CFLAGS += -I$(top_srcdir)/libbpf
diff --git a/ext2fs/xattr.c b/ext2fs/xattr.c
index 5ce84ce..c703717 100644
--- a/ext2fs/xattr.c
+++ b/ext2fs/xattr.c
@@ -512,7 +512,7 @@ ext2_list_xattr (struct node *np, char *buffer, size_t *len)
 
   if (!EXT2_HAS_COMPAT_FEATURE (sblock, EXT2_FEATURE_COMPAT_EXT_ATTR))
     {
-      ext2_warning ("Filesystem has no support for extended attributes.");
+      ext2_debug ("Filesystem has no support for extended attributes.");
       return EOPNOTSUPP;
     }
 
@@ -587,7 +587,7 @@ ext2_get_xattr (struct node *np, const char *name, char *value, size_t *len)
 
   if (!EXT2_HAS_COMPAT_FEATURE (sblock, EXT2_FEATURE_COMPAT_EXT_ATTR))
     {
-      ext2_warning ("Filesystem has no support for extended attributes.");
+      ext2_debug ("Filesystem has no support for extended attributes.");
       return EOPNOTSUPP;
     }
 
diff --git a/hurd/process.defs b/hurd/process.defs
index 4ceb69e..df70eb9 100644
--- a/hurd/process.defs
+++ b/hurd/process.defs
@@ -156,7 +156,7 @@ routine proc_getmsgport (
 	process: process_t;
 	sreplyport reply_port: sreply_port_t;
 	pid: pid_t;
-	out msgport: mach_port_t);
+	out msgport: mach_port_poly_t);
 
 /* Wait for a child process to exit.  If pid is zero, it waits for any
    child in the same pgrp as the parent.  If pid is -1, it waits for
@@ -246,7 +246,7 @@ routine proc_task2pid (
 routine proc_task2proc (
 	process: process_t;
 	task: task_t;
-	out proc: mach_port_make_send_t);
+	out proc: mach_port_poly_t);
 
 routine proc_proc2task (
 	process: process_t;
@@ -255,7 +255,7 @@ routine proc_proc2task (
 routine proc_pid2proc (
 	process: process_t;
 	pid: pid_t;
-	out proc: mach_port_make_send_t);
+	out proc: mach_port_poly_t);
 
 routine proc_getprocinfo (
 	process: process_t;
diff --git a/hurd/process_reply.defs b/hurd/process_reply.defs
index 15282fe..2fc21c9 100644
--- a/hurd/process_reply.defs
+++ b/hurd/process_reply.defs
@@ -51,7 +51,7 @@ skip; /* get_arg_locations */
 simpleroutine proc_getmsgport_reply (
 	reply_port: reply_port_t;
 	RETURN_CODE_ARG;
-	in msgports: mach_port_t);
+	in msgports: mach_port_poly_t);
 
 simpleroutine proc_wait_reply (
 	reply_port: reply_port_t;
@@ -83,7 +83,7 @@ simpleroutine proc_task2pid_reply (
 simpleroutine proc_task2proc_reply (
 	reply_port: reply_port_t;
 	RETURN_CODE_ARG;
-	proc: mach_port_make_send_t);
+	proc: mach_port_poly_t);
 
 simpleroutine proc_proc2task_reply (
 	reply_port: reply_port_t;
@@ -93,7 +93,7 @@ simpleroutine proc_proc2task_reply (
 simpleroutine proc_pid2proc_reply (
 	reply_port: reply_port_t;
 	RETURN_CODE_ARG;
-	proc: mach_port_make_send_t);
+	proc: mach_port_poly_t);
 
 simpleroutine proc_getprocinfo_reply (
 	reply_port: reply_port_t;
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index 0fb3e89..f048bad 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -40,6 +40,7 @@
 
 static mach_port_t diskfs_exec_ctl;
 extern task_t diskfs_exec_server_task;
+extern task_t diskfs_kernel_task;
 static task_t parent_task = MACH_PORT_NULL;
 
 static pthread_mutex_t execstartlock;
@@ -206,9 +207,6 @@ diskfs_start_bootstrap ()
       /* We have a boot command line to run instead of init.  */
       err = argz_create (_diskfs_boot_command, &exec_argv, &exec_argvlen);
       assert_perror (err);
-      initname = exec_argv;
-      while (*initname == '/')
-	initname++;
     }
   else
     {
@@ -223,10 +221,42 @@ diskfs_start_bootstrap ()
       err = argz_add_sep (&exec_argv, &exec_argvlen,
 			  diskfs_boot_command_line, ' ');
       assert_perror (err);
+    }
+
+  err = task_create (mach_task_self (),
+#ifdef KERN_INVALID_LEDGER
+		     NULL, 0,	/* OSF Mach */
+#endif
+		     0, &newt);
+  assert_perror (err);
 
-      initname = exec_argv + 1;
+  if (MACH_PORT_VALID (diskfs_kernel_task))
+    {
+      mach_port_t kernel_task_name = MACH_PORT_NULL;
+      char buf[20];
+      int len;
+
+      do
+        {
+          kernel_task_name += 1;
+          err = mach_port_insert_right (newt, kernel_task_name,
+                                        diskfs_kernel_task, MACH_MSG_TYPE_MOVE_SEND);
+        }
+      while (err == KERN_NAME_EXISTS);
+      diskfs_kernel_task = MACH_PORT_NULL;
+
+      len = snprintf (buf, sizeof buf, "--kernel-task=%d", kernel_task_name);
+      assert (len < sizeof buf);
+      /* Insert as second argument.  */
+      err = argz_insert (&exec_argv, &exec_argvlen,
+                         argz_next (exec_argv, exec_argvlen, exec_argv), buf);
+      assert_perror (err);
     }
 
+  initname = exec_argv;
+  while (*initname == '/')
+    initname++;
+
  lookup_init:
   err = dir_lookup (root_pt, (char *) initname, O_READ, 0, &retry, pathbuf,
                     &startup_pt);
@@ -270,12 +300,6 @@ diskfs_start_bootstrap ()
   err = argz_create (environ, &exec_env, &exec_envlen);
   assert_perror (err);
 
-  err = task_create (mach_task_self (),
-#ifdef KERN_INVALID_LEDGER
-		     NULL, 0,	/* OSF Mach */
-#endif
-		     0, &newt);
-  assert_perror (err);
   if (_diskfs_boot_pause)
     {
       printf ("pausing for %s...\n", exec_argv);
diff --git a/libdiskfs/opts-std-startup.c b/libdiskfs/opts-std-startup.c
index ed25a18..a38db99 100644
--- a/libdiskfs/opts-std-startup.c
+++ b/libdiskfs/opts-std-startup.c
@@ -35,6 +35,7 @@ int _diskfs_boot_pause;
 extern char **diskfs_argv;
 
 mach_port_t diskfs_exec_server_task = MACH_PORT_NULL;
+mach_port_t diskfs_kernel_task = MACH_PORT_NULL;
 
 /* ---------------------------------------------------------------- */
 
@@ -45,6 +46,7 @@ mach_port_t diskfs_exec_server_task = MACH_PORT_NULL;
 #define OPT_BOOT_COMMAND	(-5)
 #define OPT_BOOT_INIT_PROGRAM	(-6)
 #define OPT_BOOT_PAUSE		(-7)
+#define OPT_KERNEL_TASK		(-8)
 
 static const struct argp_option
 startup_options[] =
@@ -68,6 +70,7 @@ startup_options[] =
   {"host-priv-port",     OPT_HOST_PRIV_PORT,     "PORT"},
   {"device-master-port", OPT_DEVICE_MASTER_PORT, "PORT"},
   {"exec-server-task",   OPT_EXEC_SERVER_TASK,   "PORT"},
+  {"kernel-task",        OPT_KERNEL_TASK,        "PORT"},
 
   {0}
 };
@@ -106,6 +109,8 @@ parse_startup_opt (int opt, char *arg, struct argp_state *state)
       _hurd_host_priv = atoi (arg); break;
     case OPT_EXEC_SERVER_TASK:
       diskfs_exec_server_task = atoi (arg); break;
+    case OPT_KERNEL_TASK:
+      diskfs_kernel_task = atoi (arg); break;
     case OPT_BOOT_CMDLINE:
       diskfs_boot_command_line = arg; break;
     case OPT_BOOT_INIT_PROGRAM:
diff --git a/proc/info.c b/proc/info.c
index 0f5ca0f..79a4c37 100644
--- a/proc/info.c
+++ b/proc/info.c
@@ -99,7 +99,8 @@ S_proc_task2pid (struct proc *callerp,
 kern_return_t
 S_proc_task2proc (struct proc *callerp,
 		  task_t t,
-		  mach_port_t *outproc)
+		  mach_port_t *outproc,
+		  mach_msg_type_name_t *outproc_type)
 {
   struct proc *p = task_find (t);
 
@@ -108,7 +109,30 @@ S_proc_task2proc (struct proc *callerp,
   if (!p)
     return ESRCH;
 
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2proc (p->p_task_namespace, t, outproc);
+
+      pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	{
+	  *outproc_type = MACH_MSG_TYPE_MOVE_SEND;
+	  mach_port_deallocate (mach_task_self (), t);
+	  return 0;
+	}
+
+      /* Fallback.  */
+    }
+
   *outproc = ports_get_right (p);
+  *outproc_type = MACH_MSG_TYPE_MAKE_SEND;
   mach_port_deallocate (mach_task_self (), t);
   return 0;
 }
@@ -128,7 +152,8 @@ S_proc_proc2task (struct proc *p,
 kern_return_t
 S_proc_pid2proc (struct proc *callerp,
 	         pid_t pid,
-	         mach_port_t *outproc)
+	         mach_port_t *outproc,
+		 mach_msg_type_name_t *outproc_type)
 {
   struct proc *p;
 
@@ -148,7 +173,29 @@ S_proc_pid2proc (struct proc *callerp,
   if (! check_owner (callerp, p))
     return EPERM;
 
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2proc (p->p_task_namespace, p->p_task, outproc);
+
+      pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	{
+	  *outproc_type = MACH_MSG_TYPE_MOVE_SEND;
+	  return 0;
+	}
+
+      /* Fallback.  */
+    }
+
   *outproc = ports_get_right (p);
+  *outproc_type = MACH_MSG_TYPE_MAKE_SEND;
   return 0;
 }
 
@@ -341,6 +388,27 @@ S_proc_getprocargs (struct proc *callerp,
   if (!p)
     return ESRCH;
 
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+	err = proc_getprocargs (p->p_task_namespace, pid_sub, buf, buflen);
+
+      pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   return get_string_array (p->p_task, p->p_argv, (vm_address_t *) buf, buflen);
 }
 
@@ -358,6 +426,27 @@ S_proc_getprocenv (struct proc *callerp,
   if (!p)
     return ESRCH;
 
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+	err = proc_getprocenv (p->p_task_namespace, pid_sub, buf, buflen);
+
+      pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   return get_string_array (p->p_task, p->p_envp, (vm_address_t *)buf, buflen);
 }
 
@@ -394,6 +483,82 @@ S_proc_getprocinfo (struct proc *callerp,
   if (!p)
     return ESRCH;
 
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+	err = proc_getprocinfo (p->p_task_namespace, pid_sub, flags,
+				piarray, piarraylen, waits, waits_len);
+
+      if (! err && *piarray && *piarraylen * sizeof (int) >= sizeof *pi)
+	{
+	  /* Fixup the PIDs to refer to this Hurd's processes.  */
+	  task_t t_ppid = MACH_PORT_NULL;
+	  task_t t_pgrp = MACH_PORT_NULL;
+	  task_t t_session = MACH_PORT_NULL;
+	  task_t t_logincollection = MACH_PORT_NULL;
+
+	  pi = (struct procinfo *) *piarray;
+
+	  /* We handle errors by checking each returned task.  */
+	  if (pi->ppid != pid_sub)
+	    proc_pid2task (p->p_task_namespace, pi->ppid, &t_ppid);
+	  proc_pid2task (p->p_task_namespace, pi->pgrp, &t_pgrp);
+	  proc_pid2task (p->p_task_namespace, pi->session, &t_session);
+	  proc_pid2task (p->p_task_namespace, pi->logincollection,
+			 &t_logincollection);
+
+	  /* Reacquire the global lock for the hash table lookups.  */
+	  pthread_mutex_lock (&global_lock);
+
+	  if (MACH_PORT_VALID (t_ppid))
+	    {
+	      struct proc *q = task_find (t_ppid);
+	      pi->ppid = q ? q->p_pid : (pid_t) -1;
+	      mach_port_deallocate (mach_task_self (), t_ppid);
+	    }
+	  else
+	    {
+	      /* Either the pid2task lookup failed, or this process is
+		 a root of a process hierarchy in the Subhurd.  Either
+		 way, we attach it to the creator of the task
+		 namespace.  */
+	      pi->ppid = namespace_find_root (p)->p_pid;
+	    }
+	  if (MACH_PORT_VALID (t_pgrp))
+	    {
+	      struct proc *q = task_find (t_pgrp);
+	      pi->pgrp = q ? q->p_pid : (pid_t) -1;
+	      mach_port_deallocate (mach_task_self (), t_pgrp);
+	    }
+	  if (MACH_PORT_VALID (t_session))
+	    {
+	      struct proc *q = task_find (t_session);
+	      pi->session = q ? q->p_pid : (pid_t) -1;
+	      mach_port_deallocate (mach_task_self (), t_session);
+	    }
+	  if (MACH_PORT_VALID (t_logincollection))
+	    {
+	      struct proc *q = task_find (t_logincollection);
+	      pi->logincollection = q ? q->p_pid : (pid_t) -1;
+	      mach_port_deallocate (mach_task_self (), t_logincollection);
+	    }
+
+	  return 0;
+	}
+
+      pthread_mutex_lock (&global_lock);
+      err = 0;
+      /* Fallback.  */
+    }
+
   task = p->p_task;
 
   check_msgport_death (p);
@@ -640,13 +805,37 @@ S_proc_getloginid (struct proc *callerp,
 		   pid_t *leader)
 {
   struct proc *proc = pid_find (pid);
-  struct proc *p;
+  struct proc *p = proc;
 
   /* No need to check CALLERP here; we don't use it. */
 
   if (!proc)
     return ESRCH;
 
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+	err = proc_getloginid (p->p_task_namespace, pid_sub, leader);
+      if (! err)
+	/* Acquires global_lock.  */
+	err = namespace_translate_pids (p->p_task_namespace, leader, 1);
+      else
+	pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   for (p = proc; !p->p_loginleader; p = p->p_parent)
     assert (p);
 
@@ -670,6 +859,35 @@ S_proc_getloginpids (struct proc *callerp,
 
   /* No need to check CALLERP here; we don't use it. */
 
+  if (!l)
+    return ESRCH;
+
+  if (namespace_is_subprocess (l))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+      pid_t leader_sub;
+      task_t leader_task;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (l->p_task_namespace, l->p_task, &pid_sub);
+      if (! err)
+	err = proc_getloginpids (l->p_task_namespace, pid_sub, pids, npids);
+      if (! err)
+	/* Acquires global_lock.  */
+	err = namespace_translate_pids (l->p_task_namespace, *pids, *npids);
+      else
+	pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   if (!l || !l->p_loginleader)
     return ESRCH;
 
diff --git a/proc/main.c b/proc/main.c
index d97650f..e615f36 100644
--- a/proc/main.c
+++ b/proc/main.c
@@ -123,6 +123,32 @@ open_console (mach_port_t device_master)
   return 0;
 }
 
+
+
+static task_t kernel_task;
+
+#define OPT_KERNEL_TASK	-1
+
+static struct argp_option
+options[] =
+{
+  {"kernel-task", OPT_KERNEL_TASK, "PORT"},
+  {0}
+};
+
+static int
+parse_opt (int key, char *arg, struct argp_state *state)
+{
+  switch (key)
+    {
+    case OPT_KERNEL_TASK:
+      kernel_task = atoi (arg);
+      break;
+    default: return ARGP_ERR_UNKNOWN;
+    }
+  return 0;
+}
+
 int
 main (int argc, char **argv, char **envp)
 {
@@ -131,7 +157,8 @@ main (int argc, char **argv, char **envp)
   void *genport;
   process_t startup_port;
   mach_port_t startup;
-  struct argp argp = { 0, 0, 0, "Hurd process server" };
+  char **original_argv;
+  struct argp argp = { options, parse_opt, 0, "Hurd process server" };
 
   argp_parse (&argp, argc, argv, 0, 0, 0);
 
@@ -191,10 +218,15 @@ main (int argc, char **argv, char **envp)
   if (err && err != EPERM)
     error (0, err, "Increasing priority failed");
 
-  /* Get a list of all tasks to find the kernel.  */
-  /* XXX: I't be nice if GNU Mach would hand us the task port.  */
-  add_tasks (MACH_PORT_NULL);
-  kernel_proc = pid_find (HURD_PID_KERNEL);
+  /* Find the kernel.  */
+  if (MACH_PORT_VALID (kernel_task))
+    kernel_proc = task_find (kernel_task);
+  else
+    {
+      /* Get a list of all tasks to find the kernel.  */
+      add_tasks (MACH_PORT_NULL);
+      kernel_proc = pid_find (HURD_PID_KERNEL);
+    }
 
   /* Register for new task notifications using the kernel's process as
      the port.  */
diff --git a/proc/mgt.c b/proc/mgt.c
index 87a7c96..a9015cc 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -732,7 +732,61 @@ new_proc (task_t task)
     complete_proc (p, genpid ());
   return p;
 }
+
 
+
+/* Task namespace support.  */
+
+/* Check if a given process is part of a task namespace but is not the
+   root.  The root is managed by us, while all other tasks are managed
+   by the root itself.  */
+int
+namespace_is_subprocess (struct proc *p)
+{
+  return (p
+          && MACH_PORT_VALID (p->p_task_namespace)
+          && p->p_parent
+          && MACH_PORT_VALID (p->p_parent->p_task_namespace));
+}
+
+/* Translate PIDs valid in NAMESPACE into PIDs valid in our own
+   process space.
+
+   Conditions: global_lock is unlocked before calling, and is locked
+   afterwards.  */
+error_t
+namespace_translate_pids (mach_port_t namespace, pid_t *pids, size_t pids_len)
+{
+  size_t i;
+  task_t *tasks;
+
+  tasks = calloc (pids_len, sizeof *tasks);
+  if (tasks == NULL)
+    {
+      pthread_mutex_lock (&global_lock);
+      return ENOMEM;
+    }
+
+  for (i = 0; i < pids_len; i++)
+    /* We handle errors by checking each returned task.  */
+    proc_pid2task (namespace, pids[i], &tasks[i]);
+
+  pthread_mutex_lock (&global_lock);
+
+  for (i = 0; i < pids_len; i++)
+    if (MACH_PORT_VALID (tasks[i]))
+      {
+        struct proc *p = task_find_nocreate (tasks[i]);
+        mach_port_deallocate (mach_task_self (), tasks[i]);
+        pids[i] = p ? p->p_pid : (pid_t) -1;
+      }
+    else
+      pids[i] = (pid_t) -1;
+
+  free (tasks);
+  return 0;
+}
+
 /* Find the creator of the task namespace that P is in.  */
 struct proc *
 namespace_find_root (struct proc *p)
@@ -759,6 +813,8 @@ namespace_terminate (struct proc *p, void *cookie)
     task_terminate (p->p_task);
 }
 
+
+
 /* The task associated with process P has died.  Drop most state,
    and then record us as dead.  Our parent will eventually complete the
    deallocation. */
diff --git a/proc/msg.c b/proc/msg.c
index 1f132cd..8efc993 100644
--- a/proc/msg.c
+++ b/proc/msg.c
@@ -126,7 +126,8 @@ S_proc_getmsgport (struct proc *callerp,
 		   mach_port_t reply_port,
 		   mach_msg_type_name_t reply_port_type,
 		   pid_t pid,
-		   mach_port_t *msgport)
+		   mach_port_t *msgport,
+                   mach_msg_type_name_t *msgport_type)
 {
   int cancel;
   struct proc *p;
@@ -136,7 +137,31 @@ S_proc_getmsgport (struct proc *callerp,
 
   p = pid_find_allow_zombie (pid);
 
-restart:  
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+        err = proc_getmsgport (p->p_task_namespace, pid_sub, msgport);
+
+      pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	{
+	  *msgport_type = MACH_MSG_TYPE_MOVE_SEND;
+	  return 0;
+	}
+
+      /* Fallback.  */
+    }
+
+ restart:
   while (p && p->p_deadmsg && !p->p_dead)
     {
       callerp->p_msgportwait = 1;
@@ -156,7 +181,8 @@ restart:
 
   if (check_msgport_death (p))
     goto restart;
-  
+
+  *msgport_type = MACH_MSG_TYPE_COPY_SEND;
   *msgport = p->p_msgport;
 
   return 0;
diff --git a/proc/pgrp.c b/proc/pgrp.c
index d7c562f..9db1dba 100644
--- a/proc/pgrp.c
+++ b/proc/pgrp.c
@@ -147,6 +147,30 @@ S_proc_getsid (struct proc *callerp,
 
   /* No need to check CALLERP; we don't use it. */
 
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+        err = proc_getsid (p->p_task_namespace, pid_sub, sid);
+      if (! err)
+	/* Acquires global_lock.  */
+	err = namespace_translate_pids (p->p_task_namespace, sid, 1);
+      else
+	pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   *sid = p->p_pgrp->pg_session->s_sid;
   return 0;
 }
@@ -167,6 +191,31 @@ S_proc_getsessionpids (struct proc *callerp,
 
   /* No need to check CALLERP; we don't use it. */
 
+  p = pid_find (sid);
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+        err = proc_getsessionpids (p->p_task_namespace, pid_sub, pids, npidsp);
+      if (! err)
+	/* Acquires global_lock.  */
+	err = namespace_translate_pids (p->p_task_namespace, *pids, *npidsp);
+      else
+	pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   s = session_find (sid);
   if (!s)
     return ESRCH;
@@ -206,6 +255,7 @@ S_proc_getsessionpgids (struct proc *callerp,
 			size_t *npgidsp)
 {
   int count;
+  struct proc *p;
   struct pgrp *pg;
   struct session *s;
   pid_t *pp = *pgids;
@@ -213,6 +263,31 @@ S_proc_getsessionpgids (struct proc *callerp,
 
   /* No need to check CALLERP; we don't use it. */
 
+  p = pid_find (sid);
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+        err = proc_getsessionpgids (p->p_task_namespace, pid_sub, pgids, npgidsp);
+      if (! err)
+	/* Acquires global_lock.  */
+	err = namespace_translate_pids (p->p_task_namespace, *pgids, *npgidsp);
+      else
+	pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   s = session_find (sid);
   if (!s)
     return ESRCH;
@@ -254,6 +329,31 @@ S_proc_getpgrppids (struct proc *callerp,
 
   /* No need to check CALLERP; we don't use it. */
 
+  p = pid_find (pgid);
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+        err = proc_getpgrppids (p->p_task_namespace, pid_sub, pids, npidsp);
+      if (! err)
+	/* Acquires global_lock.  */
+	err = namespace_translate_pids (p->p_task_namespace, *pids, *npidsp);
+      else
+	pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   if (pgid == 0)
     pg = callerp->p_pgrp;
   else
diff --git a/proc/proc.h b/proc/proc.h
index c069614..333e884 100644
--- a/proc/proc.h
+++ b/proc/proc.h
@@ -201,6 +201,8 @@ void leave_pgrp (struct proc *);
 void join_pgrp (struct proc *);
 void boot_setsid (struct proc *);
 
+int namespace_is_subprocess (struct proc *p);
+error_t namespace_translate_pids (mach_port_t namespace, pid_t *pids, size_t pids_len);
 struct proc *namespace_find_root (struct proc *);
 void process_has_exited (struct proc *);
 void alert_parent (struct proc *);
diff --git a/release/servers.boot b/release/servers.boot
index 9ba7f6a..8b66743 100644
--- a/release/servers.boot
+++ b/release/servers.boot
@@ -3,7 +3,7 @@
 
 # First, the bootstrap filesystem.  It needs several ports as arguments,
 # as well as the user flags from the boot loader.
-/hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T typed ${root} $(task-create) $(task-resume)
+/hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} --kernel-task=${kernel-task} -T typed ${root} $(task-create) $(task-resume)
 
 
 # Now the exec server; to load the dynamically-linked exec server program,
diff --git a/startup/startup.c b/startup/startup.c
index 913742c..3c3ead4 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -72,6 +72,8 @@ static int verbose = 0;
 
 const char *argp_program_version = STANDARD_HURD_VERSION (startup);
 
+#define OPT_KERNEL_TASK	-1
+
 static struct argp_option
 options[] =
 {
@@ -83,6 +85,7 @@ options[] =
   {"fake-boot",   'f', 0, 0, "This hurd hasn't been booted on the raw machine"},
   {"verbose",     'v', 0, 0, "be verbose"},
   {0,             'x', 0, OPTION_HIDDEN},
+  {"kernel-task", OPT_KERNEL_TASK, "PORT"},
   {0}
 };
 
@@ -136,6 +139,7 @@ static int fakeboot;
 
 /* The tasks of auth and proc and the bootstrap filesystem. */
 static task_t authtask, proctask, fstask;
+static task_t kernel_task;
 
 static mach_port_t default_ports[INIT_PORT_MAX];
 static mach_port_t default_dtable[3];
@@ -344,10 +348,13 @@ record_essential_task (const char *name, task_t task)
 
 /** Starting programs **/
 
+typedef error_t (*insert_ports_fnc_t) (char **argv, size_t *argv_len, task_t task);
+
 /* Run SERVER, giving it INIT_PORT_MAX initial ports from PORTS.
    Set TASK to be the task port of the new image. */
 void
-run (const char *server, mach_port_t *ports, task_t *task)
+run (const char *server, mach_port_t *ports, task_t *task,
+     insert_ports_fnc_t insert_ports)
 {
   char buf[BUFSIZ];
   const char *prog = server;
@@ -369,18 +376,31 @@ run (const char *server, mach_port_t *ports, task_t *task)
 	error (0, errno, "%s", prog);
       else
 	{
-	  task_create (mach_task_self (),
+          char *argz = NULL;
+          size_t argz_len = 0;
+          err = argz_create_sep (prog, ' ', &argz, &argz_len);
+          assert_perror (err);
+
+          err = task_create (mach_task_self (),
 #ifdef KERN_INVALID_LEDGER
-		       NULL, 0,	/* OSF Mach */
+                             NULL, 0,	/* OSF Mach */
 #endif
-		       0, task);
+                             0, task);
+          assert_perror (err);
+
+          if (insert_ports)
+            {
+              err = insert_ports (&argz, &argz_len, *task);
+              assert_perror (err);
+            }
+
 	  if (bootstrap_args & RB_KDB)
 	    {
 	      fprintf (stderr, "Pausing for %s\n", prog);
 	      getchar ();
 	    }
 	  err = file_exec (file, *task, 0,
-			   (char *)prog, strlen (prog) + 1, /* Args.  */
+			   argz, argz_len, /* Args.  */
 			   startup_envz, startup_envz_len,
 			   default_dtable, MACH_MSG_TYPE_COPY_SEND, 3,
 			   ports, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,
@@ -408,6 +428,50 @@ run (const char *server, mach_port_t *ports, task_t *task)
   request_dead_name (*task);
 }
 
+/* Insert PORT of type PORT_TYPE into TASK, adding '--ARGUMENT=<name>'
+   to ARGZ (with <name> being the name valid in TASK).  */
+error_t
+argz_task_insert_right (char **argz, size_t *argz_len, task_t task,
+                        const char *argument,
+                        mach_port_t port, mach_msg_type_name_t port_type)
+{
+  error_t err;
+  mach_port_t name;
+  char *arg;
+
+  name = MACH_PORT_NULL;
+  do
+    {
+      name += 1;
+      err = mach_port_insert_right (task, name, port, port_type);
+    }
+  while (err == KERN_NAME_EXISTS);
+
+  if (asprintf (&arg, "--%s=%d", argument, name) < 0)
+    return errno;
+
+  err = argz_add (argz, argz_len, arg);
+  free (arg);
+  return err;
+}
+
+error_t
+proc_insert_ports (char **argz, size_t *argz_len, task_t task)
+{
+  error_t err;
+
+  if (MACH_PORT_VALID (kernel_task))
+    {
+      err = argz_task_insert_right (argz, argz_len, task,
+                                    "kernel-task",
+                                    kernel_task, MACH_MSG_TYPE_COPY_SEND);
+      if (err)
+        return err;
+    }
+
+  return 0;
+}
+
 /* Run FILENAME as root with ARGS as its argv (length ARGLEN).  Return
    the task that we started.  If CTTY is set, then make that the
    controlling terminal of the new process and put it in its own login
@@ -597,6 +661,9 @@ parse_opt (int key, char *arg, struct argp_state *state)
     case 'H': crash_flags = RB_DEBUGGER; break;
     case 'v': verbose++; break;
     case 'x': /* NOP */ break;
+    case OPT_KERNEL_TASK:
+      kernel_task = atoi (arg);
+      break;
     default: return ARGP_ERR_UNKNOWN;
     }
   return 0;
@@ -685,10 +752,10 @@ main (int argc, char **argv, char **envp)
 			       | sigmask (SIGTTOU));
 
   default_ports[INIT_PORT_BOOTSTRAP] = startup;
-  run ("/hurd/proc", default_ports, &proctask);
+  run ("/hurd/proc", default_ports, &proctask, proc_insert_ports);
   if (! verbose)
     fprintf (stderr, " proc");
-  run ("/hurd/auth", default_ports, &authtask);
+  run ("/hurd/auth", default_ports, &authtask, NULL);
   if (! verbose)
     fprintf (stderr, " auth");
   default_ports[INIT_PORT_BOOTSTRAP] = MACH_PORT_NULL;
@@ -755,9 +822,7 @@ launch_core_servers (void)
     fprintf (stderr, "Installed on /servers/startup\n");
 
   err = startup_authinit_reply (authreply, authreplytype, 0, authproc,
-				MACH_MSG_TYPE_COPY_SEND);
-  assert_perror (err);
-  err = mach_port_deallocate (mach_task_self (), authproc);
+				MACH_MSG_TYPE_MOVE_SEND);
   assert_perror (err);
 
   if (verbose)
@@ -818,8 +883,7 @@ launch_core_servers (void)
     fprintf (stderr, "Message port registered\n");
 
   /* Give the bootstrap FS its proc and auth ports.  */
-  err = fsys_init (bootport, fsproc, MACH_MSG_TYPE_COPY_SEND, authserver);
-  mach_port_deallocate (mach_task_self (), fsproc);
+  err = fsys_init (bootport, fsproc, MACH_MSG_TYPE_MOVE_SEND, authserver);
   if (err)
     error (0, err, "fsys_init"); /* Not necessarily fatal.  */
 
@@ -836,7 +900,6 @@ init_stdarrays ()
   mach_port_t ref;
   mach_port_t *std_port_array;
   int *std_int_array;
-  int i;
 
   std_port_array = alloca (sizeof (mach_port_t) * INIT_PORT_MAX);
   std_int_array = alloca (sizeof (int) * INIT_INT_MAX);
@@ -870,10 +933,8 @@ init_stdarrays ()
   std_int_array[INIT_UMASK] = CMASK;
 
   __USEPORT (PROC, proc_setexecdata (port, std_port_array,
-				     MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,
+				     MACH_MSG_TYPE_MOVE_SEND, INIT_PORT_MAX,
 				     std_int_array, INIT_INT_MAX));
-  for (i = 0; i < INIT_PORT_MAX; i++)
-    mach_port_deallocate (mach_task_self (), std_port_array[i]);
 }
 
 /* Frobnicate the kernel task and the proc server's idea of it (PID 2),
@@ -911,11 +972,19 @@ frob_kernel_process (void)
   if (verbose)
     fprintf (stderr, "Frobbing kernel process\n");
 
-  err = proc_pid2task (procserver, HURD_PID_KERNEL, &task);
-  if (err)
+  if (MACH_PORT_VALID (kernel_task))
     {
-      error (0, err, "cannot get kernel task port");
-      return;
+      task = kernel_task;
+      kernel_task = MACH_PORT_NULL;
+    }
+  else
+    {
+      err = proc_pid2task (procserver, HURD_PID_KERNEL, &task);
+      if (err)
+        {
+          error (0, err, "cannot get kernel task port");
+          return;
+        }
     }
 
   /* Make the kernel our child.  */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:38:39 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUQJ-0000xa-Ab
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:39 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58820)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQH-0000vR-Dj
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQG-00073q-Fs
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:37 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53524)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQG-00073i-9V
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:36 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQA-0004pr-61; Sat, 10 Jun 2017 00:38:35 +0000
To: commit-hurd@gnu.org
Subject: [gnumach] branch upstream updated (05b4768 -> 5d9383d)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <20170610003830.18373.22031@moszumanska.debian.org>
Reply-To: sthibault@users.alioth.debian.org
X-Git-Repo: gnumach
X-Git-Refname: refs/heads/upstream
X-Git-Reftype: branch
X-Git-Oldrev: 05b4768970f2379e6d4ee13112d03c9b801539bf
X-Git-Newrev: 5d9383d87c39e5533e07108b8db35dfe22187869
Auto-Submitted: auto-generated
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:38:35 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:38:38 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch upstream
in repository gnumach.

      from  05b4768   Merge branch 'upstream-1.8' into upstream
       new  5d9383d   New upstream version 1.8+git20170609

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ChangeLog                                          |  48 +++
 Makefile.am                                        |   2 +-
 Makefile.in                                        |  82 ++---
 Makefrag.am                                        |   3 +
 configure                                          |  20 +-
 doc/mach.info                                      |   2 +-
 doc/mach.info-1                                    |   4 +-
 doc/mach.info-2                                    |   2 +-
 doc/stamp-vti                                      |   4 +-
 doc/version.texi                                   |   4 +-
 i386/i386at/rtc.c                                  |  31 +-
 kern/atomic.h                                      |  54 +++
 kern/bootstrap.c                                   |   6 +
 kern/gsync.c                                       | 368 +++++++++++++--------
 kern/kmutex.c                                      |  76 +++++
 kern/kmutex.h                                      |  52 +++
 kern/sched_prim.c                                  |   5 +-
 kern/sched_prim.h                                  |   2 +-
 .../linux/{compiler-gcc5.h => compiler-gcc7.h}     |   2 +-
 version.m4                                         |   2 +-
 vm/vm_object.h                                     |  14 +
 21 files changed, 581 insertions(+), 202 deletions(-)
 create mode 100644 kern/atomic.h
 create mode 100644 kern/kmutex.c
 create mode 100644 kern/kmutex.h
 copy linux/src/include/linux/{compiler-gcc5.h => compiler-gcc7.h} (97%)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/gnumach.git


From MAILER-DAEMON Fri Jun 09 20:38:42 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUQK-0000yV-V2
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:42 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58790)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQA-0000rK-Nk
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ8-00072O-Ac
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:30 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53500)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ7-0006zy-WD
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:28 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUPx-0002UE-SG; Sat, 10 Jun 2017 00:38:17 +0000
To: commit-hurd@gnu.org
Subject: [hurd] 02/06: proc: Hierarchical proc servers.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Reply-To: Justus Winter <justus@gnupg.org>
In-Reply-To: <20170610003810.4118.69429@moszumanska.debian.org>
References: <20170610003810.4118.69429@moszumanska.debian.org>
X-Git-Repo: hurd
X-Git-Refname: refs/heads/upstream
X-Git-Reftype: branch
X-Git-Rev: 34a94ce86b1bada9c0768f631540735d44f41100
Auto-Submitted: auto-generated
Message-Id: <E1dJUPx-0002UE-SG@moszumanska.debian.org>
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:38:17 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:38:36 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 34a94ce86b1bada9c0768f631540735d44f41100
Author: Justus Winter <justus@gnupg.org>
Date:   Thu Mar 9 23:55:12 2017 +0100

    proc: Hierarchical proc servers.
    
    Previously, a Subhurd's tasks were shown as weird processes in the
    Motherhurd.  This change connects the proc server in the Motherhurd
    with the proc server in the Subhurd, embedding the Subhurd's process
    hierarchy.  Subhurd's processes can now be inspected and debugged like
    any other process.
    
    * NEWS: Update.
    * boot/boot.c (mach_msg_forward): New function.
    (boot_demuxer): Forward messages arriving on the new task notification
    port from the proc server, and forward them to the proc server inside
    the Subhurd via the notification port.
    * proc/info.c (S_proc_task2proc): Relay request for processes in a task
    namespace to the Subhurd's proc server.
    (S_proc_pid2proc): Likewise.
    (S_proc_getprocargs): Likewise.
    (S_proc_getprocenv): Likewise.
    (S_proc_getprocinfo): Likewise.  Translate PIDs.
    (S_proc_getloginid): Likewise.
    (S_proc_getloginpids): Likewise.
    * proc/mgt.c (namespace_is_subprocess): New function.
    (namespace_translate_pids): Likewise.
    * proc/msg.c (S_proc_getmsgport): Relay request for processes in a task
    namespace to the Subhurd's proc server.
    * proc/pgrp.c (S_proc_getsid): Likewise.  Translate PIDs.
    (S_proc_getsessionpids): Likewise.
    (S_proc_getsessionpgids): Likewise.
    (S_proc_getpgrppids): Likewise.
    * proc/proc.h (namespace_is_subprocess): New prototype.
    (namespace_translate_pids): Likewise.
---
 NEWS        |   6 ++
 boot/boot.c |  54 +++++++++++++++
 proc/info.c | 216 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 proc/mgt.c  |  56 ++++++++++++++++
 proc/msg.c  |  26 +++++++-
 proc/pgrp.c | 100 ++++++++++++++++++++++++++++
 proc/proc.h |   2 +
 7 files changed, 458 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 05e04d5..1b500be 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+Version X (2017-06-XX)
+
+Subhurd's processes are now properly embedded in the Motherhurds
+process hierarchy.  They can be inspected and debugged just like any
+other process.
+
 Version 0.9 (2016-12-18)
 
 The 'boot' program can now be run as unprivileged user, allowing any
diff --git a/boot/boot.c b/boot/boot.c
index 950aedb..13a19d2 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -196,12 +196,66 @@ mig_reply_setup (
 #undef OutP
 }
 
+error_t
+mach_msg_forward (mach_msg_header_t *inp,
+                  mach_port_t destination, mach_msg_type_name_t destination_type)
+{
+  /* Put the reply port back at the correct position, insert new
+     destination.  */
+  inp->msgh_local_port = inp->msgh_remote_port;
+  inp->msgh_remote_port = destination;
+  inp->msgh_bits =
+    MACH_MSGH_BITS (destination_type, MACH_MSGH_BITS_REMOTE (inp->msgh_bits))
+    | MACH_MSGH_BITS_OTHER (inp->msgh_bits);
+
+  /* A word about resources carried in complex messages.
+
+     "In a received message, msgt_deallocate is TRUE in type
+     descriptors for out-of-line memory".  Therefore, "[the
+     out-of-line memory] is implicitly deallocated from the sender
+     [when we resend the message], as if by vm_deallocate".
+
+     Similarly, rights in messages will be either
+     MACH_MSG_TYPE_PORT_SEND, MACH_MSG_TYPE_PORT_SEND_ONCE, or
+     MACH_MSG_TYPE_PORT_RECEIVE.  These types are aliases for,
+     respectively, MACH_MSG_TYPE_MOVE_SEND,
+     MACH_MSG_TYPE_MOVE_SEND_ONCE, and MACH_MSG_TYPE_MOVE_RECEIVE.
+     Therefore, the rights are moved when we resend the message.  */
+
+  return mach_msg (inp, MACH_SEND_MSG, inp->msgh_size,
+                   0, MACH_PORT_NULL, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+}
+
 int
 boot_demuxer (mach_msg_header_t *inp,
 	      mach_msg_header_t *outp)
 {
+  error_t err;
   mig_routine_t routine;
   mig_reply_setup (inp, outp);
+
+  if (inp->msgh_local_port == task_notification_port
+      && MACH_PORT_VALID (new_task_notification)
+      && 24000 <= inp->msgh_id && inp->msgh_id < 24100)
+    {
+      /* This is a message of the Process subsystem.  We relay this to
+         allow the "outer" proc servers to communicate with the "inner"
+         one.  */
+      mig_reply_header_t *reply = (mig_reply_header_t *) outp;
+
+      if (MACH_PORT_VALID (new_task_notification))
+        err = mach_msg_forward (inp, new_task_notification, MACH_MSG_TYPE_COPY_SEND);
+      else
+        err = EOPNOTSUPP;
+
+      if (err)
+        reply->RetCode = err;
+      else
+        reply->RetCode = MIG_NO_REPLY;
+
+      return TRUE;
+    }
+
   if ((routine = io_server_routine (inp)) ||
       (routine = device_server_routine (inp)) ||
       (routine = notify_server_routine (inp)) ||
diff --git a/proc/info.c b/proc/info.c
index 9732140..79a4c37 100644
--- a/proc/info.c
+++ b/proc/info.c
@@ -109,6 +109,28 @@ S_proc_task2proc (struct proc *callerp,
   if (!p)
     return ESRCH;
 
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2proc (p->p_task_namespace, t, outproc);
+
+      pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	{
+	  *outproc_type = MACH_MSG_TYPE_MOVE_SEND;
+	  mach_port_deallocate (mach_task_self (), t);
+	  return 0;
+	}
+
+      /* Fallback.  */
+    }
+
   *outproc = ports_get_right (p);
   *outproc_type = MACH_MSG_TYPE_MAKE_SEND;
   mach_port_deallocate (mach_task_self (), t);
@@ -151,6 +173,27 @@ S_proc_pid2proc (struct proc *callerp,
   if (! check_owner (callerp, p))
     return EPERM;
 
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2proc (p->p_task_namespace, p->p_task, outproc);
+
+      pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	{
+	  *outproc_type = MACH_MSG_TYPE_MOVE_SEND;
+	  return 0;
+	}
+
+      /* Fallback.  */
+    }
+
   *outproc = ports_get_right (p);
   *outproc_type = MACH_MSG_TYPE_MAKE_SEND;
   return 0;
@@ -345,6 +388,27 @@ S_proc_getprocargs (struct proc *callerp,
   if (!p)
     return ESRCH;
 
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+	err = proc_getprocargs (p->p_task_namespace, pid_sub, buf, buflen);
+
+      pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   return get_string_array (p->p_task, p->p_argv, (vm_address_t *) buf, buflen);
 }
 
@@ -362,6 +426,27 @@ S_proc_getprocenv (struct proc *callerp,
   if (!p)
     return ESRCH;
 
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+	err = proc_getprocenv (p->p_task_namespace, pid_sub, buf, buflen);
+
+      pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   return get_string_array (p->p_task, p->p_envp, (vm_address_t *)buf, buflen);
 }
 
@@ -398,6 +483,82 @@ S_proc_getprocinfo (struct proc *callerp,
   if (!p)
     return ESRCH;
 
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+	err = proc_getprocinfo (p->p_task_namespace, pid_sub, flags,
+				piarray, piarraylen, waits, waits_len);
+
+      if (! err && *piarray && *piarraylen * sizeof (int) >= sizeof *pi)
+	{
+	  /* Fixup the PIDs to refer to this Hurd's processes.  */
+	  task_t t_ppid = MACH_PORT_NULL;
+	  task_t t_pgrp = MACH_PORT_NULL;
+	  task_t t_session = MACH_PORT_NULL;
+	  task_t t_logincollection = MACH_PORT_NULL;
+
+	  pi = (struct procinfo *) *piarray;
+
+	  /* We handle errors by checking each returned task.  */
+	  if (pi->ppid != pid_sub)
+	    proc_pid2task (p->p_task_namespace, pi->ppid, &t_ppid);
+	  proc_pid2task (p->p_task_namespace, pi->pgrp, &t_pgrp);
+	  proc_pid2task (p->p_task_namespace, pi->session, &t_session);
+	  proc_pid2task (p->p_task_namespace, pi->logincollection,
+			 &t_logincollection);
+
+	  /* Reacquire the global lock for the hash table lookups.  */
+	  pthread_mutex_lock (&global_lock);
+
+	  if (MACH_PORT_VALID (t_ppid))
+	    {
+	      struct proc *q = task_find (t_ppid);
+	      pi->ppid = q ? q->p_pid : (pid_t) -1;
+	      mach_port_deallocate (mach_task_self (), t_ppid);
+	    }
+	  else
+	    {
+	      /* Either the pid2task lookup failed, or this process is
+		 a root of a process hierarchy in the Subhurd.  Either
+		 way, we attach it to the creator of the task
+		 namespace.  */
+	      pi->ppid = namespace_find_root (p)->p_pid;
+	    }
+	  if (MACH_PORT_VALID (t_pgrp))
+	    {
+	      struct proc *q = task_find (t_pgrp);
+	      pi->pgrp = q ? q->p_pid : (pid_t) -1;
+	      mach_port_deallocate (mach_task_self (), t_pgrp);
+	    }
+	  if (MACH_PORT_VALID (t_session))
+	    {
+	      struct proc *q = task_find (t_session);
+	      pi->session = q ? q->p_pid : (pid_t) -1;
+	      mach_port_deallocate (mach_task_self (), t_session);
+	    }
+	  if (MACH_PORT_VALID (t_logincollection))
+	    {
+	      struct proc *q = task_find (t_logincollection);
+	      pi->logincollection = q ? q->p_pid : (pid_t) -1;
+	      mach_port_deallocate (mach_task_self (), t_logincollection);
+	    }
+
+	  return 0;
+	}
+
+      pthread_mutex_lock (&global_lock);
+      err = 0;
+      /* Fallback.  */
+    }
+
   task = p->p_task;
 
   check_msgport_death (p);
@@ -644,13 +805,37 @@ S_proc_getloginid (struct proc *callerp,
 		   pid_t *leader)
 {
   struct proc *proc = pid_find (pid);
-  struct proc *p;
+  struct proc *p = proc;
 
   /* No need to check CALLERP here; we don't use it. */
 
   if (!proc)
     return ESRCH;
 
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+	err = proc_getloginid (p->p_task_namespace, pid_sub, leader);
+      if (! err)
+	/* Acquires global_lock.  */
+	err = namespace_translate_pids (p->p_task_namespace, leader, 1);
+      else
+	pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   for (p = proc; !p->p_loginleader; p = p->p_parent)
     assert (p);
 
@@ -674,6 +859,35 @@ S_proc_getloginpids (struct proc *callerp,
 
   /* No need to check CALLERP here; we don't use it. */
 
+  if (!l)
+    return ESRCH;
+
+  if (namespace_is_subprocess (l))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+      pid_t leader_sub;
+      task_t leader_task;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (l->p_task_namespace, l->p_task, &pid_sub);
+      if (! err)
+	err = proc_getloginpids (l->p_task_namespace, pid_sub, pids, npids);
+      if (! err)
+	/* Acquires global_lock.  */
+	err = namespace_translate_pids (l->p_task_namespace, *pids, *npids);
+      else
+	pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   if (!l || !l->p_loginleader)
     return ESRCH;
 
diff --git a/proc/mgt.c b/proc/mgt.c
index 87a7c96..a9015cc 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -732,7 +732,61 @@ new_proc (task_t task)
     complete_proc (p, genpid ());
   return p;
 }
+
 
+
+/* Task namespace support.  */
+
+/* Check if a given process is part of a task namespace but is not the
+   root.  The root is managed by us, while all other tasks are managed
+   by the root itself.  */
+int
+namespace_is_subprocess (struct proc *p)
+{
+  return (p
+          && MACH_PORT_VALID (p->p_task_namespace)
+          && p->p_parent
+          && MACH_PORT_VALID (p->p_parent->p_task_namespace));
+}
+
+/* Translate PIDs valid in NAMESPACE into PIDs valid in our own
+   process space.
+
+   Conditions: global_lock is unlocked before calling, and is locked
+   afterwards.  */
+error_t
+namespace_translate_pids (mach_port_t namespace, pid_t *pids, size_t pids_len)
+{
+  size_t i;
+  task_t *tasks;
+
+  tasks = calloc (pids_len, sizeof *tasks);
+  if (tasks == NULL)
+    {
+      pthread_mutex_lock (&global_lock);
+      return ENOMEM;
+    }
+
+  for (i = 0; i < pids_len; i++)
+    /* We handle errors by checking each returned task.  */
+    proc_pid2task (namespace, pids[i], &tasks[i]);
+
+  pthread_mutex_lock (&global_lock);
+
+  for (i = 0; i < pids_len; i++)
+    if (MACH_PORT_VALID (tasks[i]))
+      {
+        struct proc *p = task_find_nocreate (tasks[i]);
+        mach_port_deallocate (mach_task_self (), tasks[i]);
+        pids[i] = p ? p->p_pid : (pid_t) -1;
+      }
+    else
+      pids[i] = (pid_t) -1;
+
+  free (tasks);
+  return 0;
+}
+
 /* Find the creator of the task namespace that P is in.  */
 struct proc *
 namespace_find_root (struct proc *p)
@@ -759,6 +813,8 @@ namespace_terminate (struct proc *p, void *cookie)
     task_terminate (p->p_task);
 }
 
+
+
 /* The task associated with process P has died.  Drop most state,
    and then record us as dead.  Our parent will eventually complete the
    deallocation. */
diff --git a/proc/msg.c b/proc/msg.c
index e145f6e..8efc993 100644
--- a/proc/msg.c
+++ b/proc/msg.c
@@ -137,7 +137,31 @@ S_proc_getmsgport (struct proc *callerp,
 
   p = pid_find_allow_zombie (pid);
 
-restart:  
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+        err = proc_getmsgport (p->p_task_namespace, pid_sub, msgport);
+
+      pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	{
+	  *msgport_type = MACH_MSG_TYPE_MOVE_SEND;
+	  return 0;
+	}
+
+      /* Fallback.  */
+    }
+
+ restart:
   while (p && p->p_deadmsg && !p->p_dead)
     {
       callerp->p_msgportwait = 1;
diff --git a/proc/pgrp.c b/proc/pgrp.c
index d7c562f..9db1dba 100644
--- a/proc/pgrp.c
+++ b/proc/pgrp.c
@@ -147,6 +147,30 @@ S_proc_getsid (struct proc *callerp,
 
   /* No need to check CALLERP; we don't use it. */
 
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+        err = proc_getsid (p->p_task_namespace, pid_sub, sid);
+      if (! err)
+	/* Acquires global_lock.  */
+	err = namespace_translate_pids (p->p_task_namespace, sid, 1);
+      else
+	pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   *sid = p->p_pgrp->pg_session->s_sid;
   return 0;
 }
@@ -167,6 +191,31 @@ S_proc_getsessionpids (struct proc *callerp,
 
   /* No need to check CALLERP; we don't use it. */
 
+  p = pid_find (sid);
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+        err = proc_getsessionpids (p->p_task_namespace, pid_sub, pids, npidsp);
+      if (! err)
+	/* Acquires global_lock.  */
+	err = namespace_translate_pids (p->p_task_namespace, *pids, *npidsp);
+      else
+	pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   s = session_find (sid);
   if (!s)
     return ESRCH;
@@ -206,6 +255,7 @@ S_proc_getsessionpgids (struct proc *callerp,
 			size_t *npgidsp)
 {
   int count;
+  struct proc *p;
   struct pgrp *pg;
   struct session *s;
   pid_t *pp = *pgids;
@@ -213,6 +263,31 @@ S_proc_getsessionpgids (struct proc *callerp,
 
   /* No need to check CALLERP; we don't use it. */
 
+  p = pid_find (sid);
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+        err = proc_getsessionpgids (p->p_task_namespace, pid_sub, pgids, npgidsp);
+      if (! err)
+	/* Acquires global_lock.  */
+	err = namespace_translate_pids (p->p_task_namespace, *pgids, *npgidsp);
+      else
+	pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   s = session_find (sid);
   if (!s)
     return ESRCH;
@@ -254,6 +329,31 @@ S_proc_getpgrppids (struct proc *callerp,
 
   /* No need to check CALLERP; we don't use it. */
 
+  p = pid_find (pgid);
+  if (namespace_is_subprocess (p))
+    {
+      /* Relay it to the Subhurd's proc server (if any).  */
+      error_t err;
+      pid_t pid_sub;
+
+      /* Release global lock while talking to the other proc server.  */
+      pthread_mutex_unlock (&global_lock);
+
+      err = proc_task2pid (p->p_task_namespace, p->p_task, &pid_sub);
+      if (! err)
+        err = proc_getpgrppids (p->p_task_namespace, pid_sub, pids, npidsp);
+      if (! err)
+	/* Acquires global_lock.  */
+	err = namespace_translate_pids (p->p_task_namespace, *pids, *npidsp);
+      else
+	pthread_mutex_lock (&global_lock);
+
+      if (! err)
+	return 0;
+
+      /* Fallback.  */
+    }
+
   if (pgid == 0)
     pg = callerp->p_pgrp;
   else
diff --git a/proc/proc.h b/proc/proc.h
index c069614..333e884 100644
--- a/proc/proc.h
+++ b/proc/proc.h
@@ -201,6 +201,8 @@ void leave_pgrp (struct proc *);
 void join_pgrp (struct proc *);
 void boot_setsid (struct proc *);
 
+int namespace_is_subprocess (struct proc *p);
+error_t namespace_translate_pids (mach_port_t namespace, pid_t *pids, size_t pids_len);
 struct proc *namespace_find_root (struct proc *);
 void process_has_exited (struct proc *);
 void alert_parent (struct proc *);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:38:48 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUQS-00014A-JM
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:48 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58844)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQM-0000yZ-DN
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQH-000745-4H
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:42 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53525)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQG-00073k-MM
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:37 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQF-0005o1-Fx; Sat, 10 Jun 2017 00:38:35 +0000
To: commit-hurd@gnu.org
Subject: [gnumach] 01/01: New upstream version 1.8+git20170609
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Reply-To: Samuel Thibault <samuel.thibault@ens-lyon.org>
In-Reply-To: <20170610003830.18373.22031@moszumanska.debian.org>
References: <20170610003830.18373.22031@moszumanska.debian.org>
X-Git-Repo: gnumach
X-Git-Refname: refs/heads/upstream
X-Git-Reftype: branch
X-Git-Rev: 5d9383d87c39e5533e07108b8db35dfe22187869
Auto-Submitted: auto-generated
Message-Id: <E1dJUQF-0005o1-Fx@moszumanska.debian.org>
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:38:35 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:38:47 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository gnumach.

commit 5d9383d87c39e5533e07108b8db35dfe22187869
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Fri Jun 9 23:39:58 2017 +0000

    New upstream version 1.8+git20170609
---
 ChangeLog                               |  48 +++++
 Makefile.am                             |   2 +-
 Makefile.in                             |  82 +++----
 Makefrag.am                             |   3 +
 configure                               |  20 +-
 doc/mach.info                           |   2 +-
 doc/mach.info-1                         |   4 +-
 doc/mach.info-2                         |   2 +-
 doc/stamp-vti                           |   4 +-
 doc/version.texi                        |   4 +-
 i386/i386at/rtc.c                       |  31 ++-
 kern/atomic.h                           |  54 +++++
 kern/bootstrap.c                        |   6 +
 kern/gsync.c                            | 368 ++++++++++++++++++++------------
 kern/kmutex.c                           |  76 +++++++
 kern/kmutex.h                           |  52 +++++
 kern/sched_prim.c                       |   5 +-
 kern/sched_prim.h                       |   2 +-
 linux/src/include/linux/compiler-gcc7.h |  67 ++++++
 version.m4                              |   2 +-
 vm/vm_object.h                          |  14 ++
 21 files changed, 647 insertions(+), 201 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ebe0116..f367650 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,51 @@
+2017-06-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	Fix year computation
+	* i386/i386at/rtc.c (readtodc): Do not spuriously add 70 to the year.
+
+	Fix Epoch computation
+	* i386/i386at/rtc.c (CENTURY_START): New macro.
+	(readtodc): Use CENTURY_START instead of assuming it is equal to 1970,
+	and set yr to an absolute date before calling yeartoday.
+
+2017-05-07  David Michael  <fedora.dm0@gmail.com>
+
+	Support GCC 7
+	* Makefile.am (clib_routines): Add __udivmoddi4.
+	* linux/src/include/linux/compiler-gcc7.h: New file.
+
+2017-05-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach
+
+2017-03-18  Justus Winter  <justus@gnupg.org>
+
+	kern: Make kernel task available to bootscript.
+	* kern/bootstrap.c (bootstrap_create): Insert the variable
+	'kernel-task' into the bootscript environment.  Userspace can use this
+	instead of guessing based on the order of the first tasks.
+
+2017-03-04  Agustina Arzille  <avarzille@riseup.net>
+
+	Rewrite gsync so that it works with remote tasks v2
+
+	Implement basic sleeping locks for gnumach
+	* kern/atomic.h: New file.
+	* kern/kmutex.h: New file.
+	* kern/kmutex.c: New file.
+	* Makefrag.am (libkernel_a_SOURCES): Add atomic.h, kmutex.h, kmutex.c.
+	* kern/sched_prim.h (thread_wakeup_prim): Make it return boolean_t.
+	* kern/sched_prim.c (thread_wakeup_prim): Return TRUE if we woke a
+	thread, and FALSE otherwise.
+
+2017-01-24  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	Fix bissextile years computation
+	In practice, fixes 2100, 2200, 2300, 2500, 2600, 2700, etc.
+
+	* i386/i386at/rtc.c (yeartoday): Make years divisible by 100 but not
+	divisible by 400 non-bisextile.
+
 2016-12-27  Richard Braun  <rbraun@sceen.net>
 
 	VM: really fix pageout of external objects backed by the default pager
diff --git a/Makefile.am b/Makefile.am
index 67252db..e7527ab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -162,7 +162,7 @@ noinst_PROGRAMS += \
 
 # This is the list of routines we decide is OK to steal from the C library.
 clib_routines := htonl htons ntohl ntohs			\
-		 udivdi3 __udivdi3 __umoddi3			\
+		 udivdi3 __udivdi3 __udivmoddi4 __umoddi3	\
 		 __rel_iplt_start __rel_iplt_end		\
 		 __ffsdi2					\
 		 _START _start etext _edata end _end # actually ld magic, not libc.
diff --git a/Makefile.in b/Makefile.in
index f12bdab..165515e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1230,7 +1230,7 @@ am__libkernel_a_SOURCES_DIST = ddb/db_access.c ddb/db_access.h \
 	ipc/ipc_thread.c ipc/ipc_thread.h ipc/ipc_types.h \
 	ipc/mach_msg.c ipc/mach_msg.h ipc/mach_port.c ipc/mach_port.h \
 	ipc/mach_rpc.c ipc/mach_debug.c ipc/port.h kern/act.c \
-	kern/act.h kern/assert.h kern/ast.c kern/ast.h \
+	kern/act.h kern/assert.h kern/ast.c kern/ast.h kern/atomic.h \
 	kern/boot_script.h kern/bootstrap.c kern/bootstrap.h \
 	kern/counters.c kern/counters.h kern/cpu_number.h kern/debug.c \
 	kern/debug.h kern/eventcount.c kern/eventcount.h \
@@ -1238,16 +1238,17 @@ am__libkernel_a_SOURCES_DIST = ddb/db_access.c ddb/db_access.h \
 	kern/host.c kern/host.h kern/ipc_host.c kern/ipc_host.h \
 	kern/ipc_kobject.c kern/ipc_kobject.h kern/ipc_mig.c \
 	kern/ipc_mig.h kern/ipc_sched.c kern/ipc_sched.h kern/ipc_tt.c \
-	kern/ipc_tt.h kern/kalloc.h kern/kern_types.h kern/list.h \
-	kern/lock.c kern/lock.h kern/lock_mon.c kern/log2.h \
-	kern/mach_clock.c kern/mach_clock.h kern/mach_factor.c \
-	kern/mach_factor.h kern/machine.c kern/machine.h kern/macros.h \
-	kern/pc_sample.c kern/pc_sample.h kern/printf.c kern/printf.h \
-	kern/priority.c kern/priority.h kern/processor.c \
-	kern/processor.h kern/profile.c kern/queue.c kern/queue.h \
-	kern/rbtree.c kern/rbtree.h kern/rbtree_i.h kern/rdxtree.c \
-	kern/rdxtree.h kern/rdxtree_i.h kern/refcount.h kern/slab.c \
-	kern/slab.h kern/sched.h kern/sched_prim.c kern/sched_prim.h \
+	kern/ipc_tt.h kern/kalloc.h kern/kern_types.h kern/kmutex.c \
+	kern/kmutex.h kern/list.h kern/lock.c kern/lock.h \
+	kern/lock_mon.c kern/log2.h kern/mach_clock.c \
+	kern/mach_clock.h kern/mach_factor.c kern/mach_factor.h \
+	kern/machine.c kern/machine.h kern/macros.h kern/pc_sample.c \
+	kern/pc_sample.h kern/printf.c kern/printf.h kern/priority.c \
+	kern/priority.h kern/processor.c kern/processor.h \
+	kern/profile.c kern/queue.c kern/queue.h kern/rbtree.c \
+	kern/rbtree.h kern/rbtree_i.h kern/rdxtree.c kern/rdxtree.h \
+	kern/rdxtree_i.h kern/refcount.h kern/slab.c kern/slab.h \
+	kern/sched.h kern/sched_prim.c kern/sched_prim.h \
 	kern/shuttle.h kern/startup.c kern/startup.h kern/strings.c \
 	kern/syscall_emulation.c kern/syscall_emulation.h \
 	kern/syscall_subr.c kern/syscall_subr.h kern/syscall_sw.c \
@@ -1443,21 +1444,22 @@ am_libkernel_a_OBJECTS = $(am__objects_2) ipc/ipc_entry.$(OBJEXT) \
 	kern/host.$(OBJEXT) kern/ipc_host.$(OBJEXT) \
 	kern/ipc_kobject.$(OBJEXT) kern/ipc_mig.$(OBJEXT) \
 	kern/ipc_sched.$(OBJEXT) kern/ipc_tt.$(OBJEXT) \
-	kern/lock.$(OBJEXT) kern/lock_mon.$(OBJEXT) \
-	kern/mach_clock.$(OBJEXT) kern/mach_factor.$(OBJEXT) \
-	kern/machine.$(OBJEXT) kern/pc_sample.$(OBJEXT) \
-	kern/printf.$(OBJEXT) kern/priority.$(OBJEXT) \
-	kern/processor.$(OBJEXT) kern/profile.$(OBJEXT) \
-	kern/queue.$(OBJEXT) kern/rbtree.$(OBJEXT) \
-	kern/rdxtree.$(OBJEXT) kern/slab.$(OBJEXT) \
-	kern/sched_prim.$(OBJEXT) kern/startup.$(OBJEXT) \
-	kern/strings.$(OBJEXT) kern/syscall_emulation.$(OBJEXT) \
-	kern/syscall_subr.$(OBJEXT) kern/syscall_sw.$(OBJEXT) \
-	kern/task.$(OBJEXT) kern/thread.$(OBJEXT) \
-	kern/thread_swap.$(OBJEXT) kern/time_stamp.$(OBJEXT) \
-	kern/timer.$(OBJEXT) kern/xpr.$(OBJEXT) \
-	kern/elf-load.$(OBJEXT) kern/boot_script.$(OBJEXT) \
-	util/putchar.$(OBJEXT) util/puts.$(OBJEXT) util/atoi.$(OBJEXT) \
+	kern/kmutex.$(OBJEXT) kern/lock.$(OBJEXT) \
+	kern/lock_mon.$(OBJEXT) kern/mach_clock.$(OBJEXT) \
+	kern/mach_factor.$(OBJEXT) kern/machine.$(OBJEXT) \
+	kern/pc_sample.$(OBJEXT) kern/printf.$(OBJEXT) \
+	kern/priority.$(OBJEXT) kern/processor.$(OBJEXT) \
+	kern/profile.$(OBJEXT) kern/queue.$(OBJEXT) \
+	kern/rbtree.$(OBJEXT) kern/rdxtree.$(OBJEXT) \
+	kern/slab.$(OBJEXT) kern/sched_prim.$(OBJEXT) \
+	kern/startup.$(OBJEXT) kern/strings.$(OBJEXT) \
+	kern/syscall_emulation.$(OBJEXT) kern/syscall_subr.$(OBJEXT) \
+	kern/syscall_sw.$(OBJEXT) kern/task.$(OBJEXT) \
+	kern/thread.$(OBJEXT) kern/thread_swap.$(OBJEXT) \
+	kern/time_stamp.$(OBJEXT) kern/timer.$(OBJEXT) \
+	kern/xpr.$(OBJEXT) kern/elf-load.$(OBJEXT) \
+	kern/boot_script.$(OBJEXT) util/putchar.$(OBJEXT) \
+	util/puts.$(OBJEXT) util/atoi.$(OBJEXT) \
 	vm/memory_object_proxy.$(OBJEXT) vm/memory_object.$(OBJEXT) \
 	vm/vm_debug.$(OBJEXT) vm/vm_external.$(OBJEXT) \
 	vm/vm_fault.$(OBJEXT) vm/vm_init.$(OBJEXT) \
@@ -2555,7 +2557,7 @@ libkernel_a_SOURCES = $(am__append_2) ipc/ipc_entry.c ipc/ipc_entry.h \
 	ipc/ipc_thread.c ipc/ipc_thread.h ipc/ipc_types.h \
 	ipc/mach_msg.c ipc/mach_msg.h ipc/mach_port.c ipc/mach_port.h \
 	ipc/mach_rpc.c ipc/mach_debug.c ipc/port.h kern/act.c \
-	kern/act.h kern/assert.h kern/ast.c kern/ast.h \
+	kern/act.h kern/assert.h kern/ast.c kern/ast.h kern/atomic.h \
 	kern/boot_script.h kern/bootstrap.c kern/bootstrap.h \
 	kern/counters.c kern/counters.h kern/cpu_number.h kern/debug.c \
 	kern/debug.h kern/eventcount.c kern/eventcount.h \
@@ -2563,16 +2565,17 @@ libkernel_a_SOURCES = $(am__append_2) ipc/ipc_entry.c ipc/ipc_entry.h \
 	kern/host.c kern/host.h kern/ipc_host.c kern/ipc_host.h \
 	kern/ipc_kobject.c kern/ipc_kobject.h kern/ipc_mig.c \
 	kern/ipc_mig.h kern/ipc_sched.c kern/ipc_sched.h kern/ipc_tt.c \
-	kern/ipc_tt.h kern/kalloc.h kern/kern_types.h kern/list.h \
-	kern/lock.c kern/lock.h kern/lock_mon.c kern/log2.h \
-	kern/mach_clock.c kern/mach_clock.h kern/mach_factor.c \
-	kern/mach_factor.h kern/machine.c kern/machine.h kern/macros.h \
-	kern/pc_sample.c kern/pc_sample.h kern/printf.c kern/printf.h \
-	kern/priority.c kern/priority.h kern/processor.c \
-	kern/processor.h kern/profile.c kern/queue.c kern/queue.h \
-	kern/rbtree.c kern/rbtree.h kern/rbtree_i.h kern/rdxtree.c \
-	kern/rdxtree.h kern/rdxtree_i.h kern/refcount.h kern/slab.c \
-	kern/slab.h kern/sched.h kern/sched_prim.c kern/sched_prim.h \
+	kern/ipc_tt.h kern/kalloc.h kern/kern_types.h kern/kmutex.c \
+	kern/kmutex.h kern/list.h kern/lock.c kern/lock.h \
+	kern/lock_mon.c kern/log2.h kern/mach_clock.c \
+	kern/mach_clock.h kern/mach_factor.c kern/mach_factor.h \
+	kern/machine.c kern/machine.h kern/macros.h kern/pc_sample.c \
+	kern/pc_sample.h kern/printf.c kern/printf.h kern/priority.c \
+	kern/priority.h kern/processor.c kern/processor.h \
+	kern/profile.c kern/queue.c kern/queue.h kern/rbtree.c \
+	kern/rbtree.h kern/rbtree_i.h kern/rdxtree.c kern/rdxtree.h \
+	kern/rdxtree_i.h kern/refcount.h kern/slab.c kern/slab.h \
+	kern/sched.h kern/sched_prim.c kern/sched_prim.h \
 	kern/shuttle.h kern/startup.c kern/startup.h kern/strings.c \
 	kern/syscall_emulation.c kern/syscall_emulation.h \
 	kern/syscall_subr.c kern/syscall_subr.h kern/syscall_sw.c \
@@ -2921,7 +2924,7 @@ gnumach_o_LINK = $(LD) $(LDFLAGS) -u _start -r -o $@
 
 # This is the list of routines we decide is OK to steal from the C library.
 clib_routines := htonl htons ntohl ntohs			\
-		 udivdi3 __udivdi3 __umoddi3			\
+		 udivdi3 __udivdi3 __udivmoddi4 __umoddi3	\
 		 __rel_iplt_start __rel_iplt_end		\
 		 __ffsdi2					\
 		 _START _start etext _edata end _end # actually ld magic, not libc.
@@ -3178,6 +3181,8 @@ kern/ipc_sched.$(OBJEXT): kern/$(am__dirstamp) \
 	kern/$(DEPDIR)/$(am__dirstamp)
 kern/ipc_tt.$(OBJEXT): kern/$(am__dirstamp) \
 	kern/$(DEPDIR)/$(am__dirstamp)
+kern/kmutex.$(OBJEXT): kern/$(am__dirstamp) \
+	kern/$(DEPDIR)/$(am__dirstamp)
 kern/lock.$(OBJEXT): kern/$(am__dirstamp) \
 	kern/$(DEPDIR)/$(am__dirstamp)
 kern/lock_mon.$(OBJEXT): kern/$(am__dirstamp) \
@@ -4280,6 +4285,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/ipc_mig.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/ipc_sched.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/ipc_tt.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kmutex.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/lib_dep_tr_for_defs_a-exc.none.defs.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/lib_dep_tr_for_defs_a-gnumach.server.defs.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/lib_dep_tr_for_defs_a-mach.server.defs.Po@am__quote@
diff --git a/Makefrag.am b/Makefrag.am
index c16f1c7..4625b48 100644
--- a/Makefrag.am
+++ b/Makefrag.am
@@ -132,6 +132,7 @@ libkernel_a_SOURCES += \
 	kern/assert.h \
 	kern/ast.c \
 	kern/ast.h \
+	kern/atomic.h \
 	kern/boot_script.h \
 	kern/bootstrap.c \
 	kern/bootstrap.h \
@@ -160,6 +161,8 @@ libkernel_a_SOURCES += \
 	kern/ipc_tt.h \
 	kern/kalloc.h \
 	kern/kern_types.h \
+	kern/kmutex.c \
+	kern/kmutex.h \
 	kern/list.h \
 	kern/lock.c \
 	kern/lock.h \
diff --git a/configure b/configure
index 7d869e4..7ff9489 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for GNU Mach 1.8+git20170102.
+# Generated by GNU Autoconf 2.69 for GNU Mach 1.8+git20170609.
 #
 # Report bugs to <bug-hurd@gnu.org>.
 #
@@ -579,8 +579,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='GNU Mach'
 PACKAGE_TARNAME='gnumach'
-PACKAGE_VERSION='1.8+git20170102'
-PACKAGE_STRING='GNU Mach 1.8+git20170102'
+PACKAGE_VERSION='1.8+git20170609'
+PACKAGE_STRING='GNU Mach 1.8+git20170609'
 PACKAGE_BUGREPORT='bug-hurd@gnu.org'
 PACKAGE_URL=''
 
@@ -1599,7 +1599,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures GNU Mach 1.8+git20170102 to adapt to many kinds of systems.
+\`configure' configures GNU Mach 1.8+git20170609 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1670,7 +1670,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of GNU Mach 1.8+git20170102:";;
+     short | recursive ) echo "Configuration of GNU Mach 1.8+git20170609:";;
    esac
   cat <<\_ACEOF
 
@@ -2026,7 +2026,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-GNU Mach configure 1.8+git20170102
+GNU Mach configure 1.8+git20170609
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2118,7 +2118,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by GNU Mach $as_me 1.8+git20170102, which was
+It was created by GNU Mach $as_me 1.8+git20170609, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2984,7 +2984,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='gnumach'
- VERSION='1.8+git20170102'
+ VERSION='1.8+git20170609'
 
 
 # Some tools Automake needs.
@@ -12189,7 +12189,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by GNU Mach $as_me 1.8+git20170102, which was
+This file was extended by GNU Mach $as_me 1.8+git20170609, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -12260,7 +12260,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-GNU Mach config.status 1.8+git20170102
+GNU Mach config.status 1.8+git20170609
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff --git a/doc/mach.info b/doc/mach.info
index 0428c7e..071e74a 100644
--- a/doc/mach.info
+++ b/doc/mach.info
@@ -3,7 +3,7 @@ This is mach.info, produced by makeinfo version 6.3 from mach.texi.
 This file documents the GNU Mach microkernel.
 
    This is edition 0.4, last updated on 2 January 2017, of 'The GNU Mach
-Reference Manual', for version 1.8+git20170102.
+Reference Manual', for version 1.8+git20170609.
 
    Copyright (C) 2001, 2002, 2006, 2007, 2008 Free Software Foundation,
 Inc.
diff --git a/doc/mach.info-1 b/doc/mach.info-1
index 449b1a1..15b960d 100644
--- a/doc/mach.info-1
+++ b/doc/mach.info-1
@@ -3,7 +3,7 @@ This is mach.info, produced by makeinfo version 6.3 from mach.texi.
 This file documents the GNU Mach microkernel.
 
    This is edition 0.4, last updated on 2 January 2017, of 'The GNU Mach
-Reference Manual', for version 1.8+git20170102.
+Reference Manual', for version 1.8+git20170609.
 
    Copyright (C) 2001, 2002, 2006, 2007, 2008 Free Software Foundation,
 Inc.
@@ -46,7 +46,7 @@ Main Menu
 This file documents the GNU Mach microkernel.
 
    This is edition 0.4, last updated on 2 January 2017, of 'The GNU Mach
-Reference Manual', for version 1.8+git20170102.
+Reference Manual', for version 1.8+git20170609.
 
    Copyright (C) 2001, 2002, 2006, 2007, 2008 Free Software Foundation,
 Inc.
diff --git a/doc/mach.info-2 b/doc/mach.info-2
index c253c14..8a3d0b9 100644
--- a/doc/mach.info-2
+++ b/doc/mach.info-2
@@ -3,7 +3,7 @@ This is mach.info, produced by makeinfo version 6.3 from mach.texi.
 This file documents the GNU Mach microkernel.
 
    This is edition 0.4, last updated on 2 January 2017, of 'The GNU Mach
-Reference Manual', for version 1.8+git20170102.
+Reference Manual', for version 1.8+git20170609.
 
    Copyright (C) 2001, 2002, 2006, 2007, 2008 Free Software Foundation,
 Inc.
diff --git a/doc/stamp-vti b/doc/stamp-vti
index 9278519..d693eed 100644
--- a/doc/stamp-vti
+++ b/doc/stamp-vti
@@ -1,4 +1,4 @@
 @set UPDATED 2 January 2017
 @set UPDATED-MONTH January 2017
-@set EDITION 1.8+git20170102
-@set VERSION 1.8+git20170102
+@set EDITION 1.8+git20170609
+@set VERSION 1.8+git20170609
diff --git a/doc/version.texi b/doc/version.texi
index 9278519..d693eed 100644
--- a/doc/version.texi
+++ b/doc/version.texi
@@ -1,4 +1,4 @@
 @set UPDATED 2 January 2017
 @set UPDATED-MONTH January 2017
-@set EDITION 1.8+git20170102
-@set VERSION 1.8+git20170102
+@set EDITION 1.8+git20170609
+@set VERSION 1.8+git20170609
diff --git a/i386/i386at/rtc.c b/i386/i386at/rtc.c
index 01e0977..6e5cdeb 100644
--- a/i386/i386at/rtc.c
+++ b/i386/i386at/rtc.c
@@ -53,6 +53,10 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include <i386/pio.h>
 #include <i386at/rtc.h>
 
+/* time of day stored in RTC are currently between 1970 and 2070. Update that
+ * before 2070 please. */
+#define CENTURY_START	1970
+
 static boolean_t first_rtcopen_ever = TRUE;
 
 void
@@ -109,7 +113,24 @@ static int month[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
 int
 yeartoday(int year)
 {
-	return((year%4) ? 365 : 366);
+	if (year%4)
+		/* Not divisible by 4, not bissextile */
+		return 365;
+
+	/* Divisible by 4 */
+	if (year % 100)
+		/* Not divisible by 100, bissextile */
+		return 366;
+
+	/* Divisible by 100 */
+	if (year % 400)
+		/* Not divisible by 400, not bissextile */
+		return 365;
+
+	/* Divisible by 400 */
+	/* Rules for 2000 and further have not been officially decided yet.
+	 * 2000 was made bissextile.  */
+	return 366;
 }
 
 int
@@ -146,7 +167,9 @@ readtodc(u_int *tp)
 	dom = hexdectodec(rtclk.rtc_dom);
 	mon = hexdectodec(rtclk.rtc_mon);
 	yr = hexdectodec(rtclk.rtc_yr);
-	yr = (yr < 70) ? yr+100 : yr;
+	yr = (yr < CENTURY_START%100) ?
+		yr+CENTURY_START-CENTURY_START%100+100 :
+		yr+CENTURY_START-CENTURY_START%100;
 
 	n = sec + 60 * min + 3600 * hr;
 	n += (dom - 1) * 3600 * 24;
@@ -156,7 +179,8 @@ readtodc(u_int *tp)
 	for (i = mon - 2; i >= 0; i--)
 		days += month[i];
 	month[1] = 28;
-	for (i = 70; i < yr; i++)
+	/* Epoch shall be 1970 January 1st */
+	for (i = 1970; i < yr; i++)
 		days += yeartoday(i);
 	n += days * 3600 * 24;
 
@@ -191,6 +215,7 @@ writetodc(void)
 	n = (time.tv_sec - diff) / (3600 * 24);	/* days */
 	rtclk.rtc_dow = (n + 4) % 7;  /* 1/1/70 is Thursday */
 
+	/* Epoch shall be 1970 January 1st */
 	for (j = 1970, i = yeartoday(j); n >= i; j++, i = yeartoday(j))
 		n -= i;
 
diff --git a/kern/atomic.h b/kern/atomic.h
new file mode 100644
index 0000000..00da164
--- /dev/null
+++ b/kern/atomic.h
@@ -0,0 +1,54 @@
+/* Copyright (C) 2017 Free Software Foundation, Inc.
+   Contributed by Agustina Arzille <avarzille@riseup.net>, 2017.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either
+   version 2 of the license, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public
+   License along with this program; if not, see
+   <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef _KERN_ATOMIC_H_
+#define _KERN_ATOMIC_H_   1
+
+/* Atomically compare *PTR with EXP and set it to NVAL if they're equal.
+ * Evaluates to a boolean, indicating whether the comparison was successful.*/
+#define __atomic_cas_helper(ptr, exp, nval, mo)   \
+  ({   \
+     typeof(exp) __e = (exp);   \
+     __atomic_compare_exchange_n ((ptr), &__e, (nval), 0,   \
+       __ATOMIC_##mo, __ATOMIC_RELAXED);   \
+   })
+
+#define atomic_cas_acq(ptr, exp, nval)   \
+  __atomic_cas_helper (ptr, exp, nval, ACQUIRE)
+
+#define atomic_cas_rel(ptr, exp, nval)   \
+  __atomic_cas_helper (ptr, exp, nval, RELEASE)
+
+#define atomic_cas_seq(ptr, exp, nval)   \
+  __atomic_cas_helper (ptr, exp, nval, SEQ_CST)
+
+/* Atomically exchange the value of *PTR with VAL, evaluating to
+ * its previous value. */
+#define __atomic_swap_helper(ptr, val, mo)   \
+  __atomic_exchange_n ((ptr), (val), __ATOMIC_##mo)
+
+#define atomic_swap_acq(ptr, val)   \
+  __atomic_swap_helper (ptr, val, ACQUIRE)
+
+#define atomic_swap_rel(ptr, val)   \
+  __atomic_swap_helper (ptr, val, RELEASE)
+
+#define atomic_swap_seq(ptr, val)   \
+  __atomic_swap_helper (ptr, val, SEQ_CST)
+
+#endif
diff --git a/kern/bootstrap.c b/kern/bootstrap.c
index 7398ea4..c21d3b1 100644
--- a/kern/bootstrap.c
+++ b/kern/bootstrap.c
@@ -180,6 +180,12 @@ void bootstrap_create(void)
       if (losers)
 	panic ("cannot set boot-script variable device-port: %s",
 	       boot_script_error_string (losers));
+      losers = boot_script_set_variable
+	("kernel-task", VAL_PORT,
+	 (long) kernel_task->itk_self);
+      if (losers)
+	panic ("cannot set boot-script variable kernel-task: %s",
+	       boot_script_error_string (losers));
 
       losers = boot_script_set_variable ("kernel-command-line", VAL_STR,
 					 (long) kernel_cmdline);
diff --git a/kern/gsync.c b/kern/gsync.c
index e70e119..56d0438 100644
--- a/kern/gsync.c
+++ b/kern/gsync.c
@@ -17,36 +17,61 @@
 */
 
 #include <kern/gsync.h>
+#include <kern/kmutex.h>
 #include <kern/sched_prim.h>
 #include <kern/thread.h>
-#include <kern/lock.h>
 #include <kern/list.h>
 #include <vm/vm_map.h>
+#include <vm/vm_kern.h>
 
 /* An entry in the global hash table. */
 struct gsync_hbucket
 {
   struct list entries;
-  decl_simple_lock_data (, lock)
+  struct kmutex lock;
 };
 
 /* A key used to uniquely identify an address that a thread is
  * waiting on. Its members' values depend on whether said
- * address is shared or task-local. */
-struct gsync_key
+ * address is shared or task-local. Note that different types of keys
+ * should never compare equal, since a task map should never have
+ * the same address as a VM object. */
+union gsync_key
 {
-  unsigned long u;
-  unsigned long v;
+  struct
+    {
+      vm_map_t map;
+      vm_offset_t addr;
+    } local;
+
+  struct
+    {
+      vm_object_t obj;
+      vm_offset_t off;
+    } shared;
+
+  struct
+    {
+      unsigned long u;
+      unsigned long v;
+    } any;
 };
 
 /* A thread that is blocked on an address with 'gsync_wait'. */
 struct gsync_waiter
 {
   struct list link;
-  struct gsync_key key;
+  union gsync_key key;
   thread_t waiter;
 };
 
+/* Needed data for temporary mappings. */
+struct vm_args
+{
+  vm_object_t obj;
+  vm_offset_t off;
+};
+
 #define GSYNC_NBUCKETS   512
 static struct gsync_hbucket gsync_buckets[GSYNC_NBUCKETS];
 
@@ -56,97 +81,93 @@ void gsync_setup (void)
   for (i = 0; i < GSYNC_NBUCKETS; ++i)
     {
       list_init (&gsync_buckets[i].entries);
-      simple_lock_init (&gsync_buckets[i].lock);
+      kmutex_init (&gsync_buckets[i].lock);
     }
 }
 
 /* Convenience comparison functions for gsync_key's. */
 
 static inline int
-gsync_key_eq (const struct gsync_key *lp,
-  const struct gsync_key *rp)
+gsync_key_eq (const union gsync_key *lp,
+  const union gsync_key *rp)
 {
-  return (lp->u == rp->u && lp->v == rp->v);
+  return (lp->any.u == rp->any.u && lp->any.v == rp->any.v);
 }
 
 static inline int
-gsync_key_lt (const struct gsync_key *lp,
-  const struct gsync_key *rp)
+gsync_key_lt (const union gsync_key *lp,
+  const union gsync_key *rp)
 {
-  return (lp->u < rp->u || (lp->u == rp->u && lp->v < rp->v));
+  return (lp->any.u < rp->any.u ||
+    (lp->any.u == rp->any.u && lp->any.v < rp->any.v));
 }
 
 #define MIX2_LL(x, y)   ((((x) << 5) | ((x) >> 27)) ^ (y))
 
 static inline unsigned int
-gsync_key_hash (const struct gsync_key *keyp)
+gsync_key_hash (const union gsync_key *keyp)
 {
   unsigned int ret = sizeof (void *);
 #ifndef __LP64__
-  ret = MIX2_LL (ret, keyp->u);
-  ret = MIX2_LL (ret, keyp->v);
+  ret = MIX2_LL (ret, keyp->any.u);
+  ret = MIX2_LL (ret, keyp->any.v);
 #else
-  ret = MIX2_LL (ret, keyp->u & ~0U);
-  ret = MIX2_LL (ret, keyp->u >> 32);
-  ret = MIX2_LL (ret, keyp->v & ~0U);
-  ret = MIX2_LL (ret, keyp->v >> 32);
+  ret = MIX2_LL (ret, keyp->any.u & ~0U);
+  ret = MIX2_LL (ret, keyp->any.u >> 32);
+  ret = MIX2_LL (ret, keyp->any.v & ~0U);
+  ret = MIX2_LL (ret, keyp->any.v >> 32);
 #endif
   return (ret);
 }
 
-/* Test if the passed VM Map can access the address ADDR. The
- * parameter FLAGS is used to specify the width and protection
- * of the address. */
+/* Perform a VM lookup for the address in the map. The FLAGS
+ * parameter is used to specify some attributes for the address,
+ * such as protection. Place the corresponding VM object/offset pair
+ * in VAP. Returns 0 if successful, -1 otherwise. */
 static int
-valid_access_p (vm_map_t map, vm_offset_t addr, int flags)
+probe_address (vm_map_t map, vm_offset_t addr,
+  int flags, struct vm_args *vap)
 {
   vm_prot_t prot = VM_PROT_READ |
     ((flags & GSYNC_MUTATE) ? VM_PROT_WRITE : 0);
-  vm_offset_t size = sizeof (unsigned int) *
-    ((flags & GSYNC_QUAD) ? 2 : 1);
+  vm_map_version_t ver;
+  vm_prot_t rprot;
+  boolean_t wired_p;
+
+  if (vm_map_lookup (&map, addr, prot, &ver,
+      &vap->obj, &vap->off, &rprot, &wired_p) != KERN_SUCCESS)
+    return (-1);
+  else if ((rprot & prot) != prot)
+    {
+      vm_object_unlock (vap->obj);
+      return (-1);
+    }
 
-  vm_map_entry_t entry;
-  return (vm_map_lookup_entry (map, addr, &entry) &&
-    entry->vme_end >= addr + size &&
-    (prot & entry->protection) == prot);
+  return (0);
 }
 
-/* Given a task and an address, initialize the key at *KEYP and
- * return the corresponding bucket in the global hash table. */
+/* Initialize the key with its needed members, depending on whether the
+ * address is local or shared. Also stores the VM object and offset inside
+ * the argument VAP for future use. */
 static int
-gsync_fill_key (task_t task, vm_offset_t addr,
-  int flags, struct gsync_key *keyp)
+gsync_prepare_key (task_t task, vm_offset_t addr, int flags,
+  union gsync_key *keyp, struct vm_args *vap)
 {
-  if (flags & GSYNC_SHARED)
+  if (probe_address (task->map, addr, flags, vap) < 0)
+    return (-1);
+  else if (flags & GSYNC_SHARED)
     {
       /* For a shared address, we need the VM object
        * and offset as the keys. */
-      vm_map_t map = task->map;
-      vm_prot_t prot = VM_PROT_READ |
-        ((flags & GSYNC_MUTATE) ? VM_PROT_WRITE : 0);
-      vm_map_version_t ver;
-      vm_prot_t rpr;
-      vm_object_t obj;
-      vm_offset_t off;
-      boolean_t wired_p;
-
-      if (unlikely (vm_map_lookup (&map, addr, prot, &ver,
-          &obj, &off, &rpr, &wired_p) != KERN_SUCCESS))
-        return (-1);
-
-      /* The VM object is returned locked. However, we check the
-       * address' accessibility later, so we can release it. */
-      vm_object_unlock (obj);
-
-      keyp->u = (unsigned long)obj;
-      keyp->v = (unsigned long)off;
+      keyp->shared.obj = vap->obj;
+      keyp->shared.off = vap->off;
     }
   else
     {
       /* Task-local address. The keys are the task's map and
        * the virtual address itself. */
-      keyp->u = (unsigned long)task->map;
-      keyp->v = (unsigned long)addr;
+      keyp->local.map = task->map;
+      keyp->local.addr = addr;
     }
 
   return ((int)(gsync_key_hash (keyp) % GSYNC_NBUCKETS));
@@ -160,7 +181,7 @@ node_to_waiter (struct list *nodep)
 
 static inline struct list*
 gsync_find_key (const struct list *entries,
-  const struct gsync_key *keyp, int *exactp)
+  const union gsync_key *keyp, int *exactp)
 {
   /* Look for a key that matches. We take advantage of the fact
    * that the entries are sorted to break out of the loop as
@@ -182,57 +203,105 @@ gsync_find_key (const struct list *entries,
   return (runp);
 }
 
-kern_return_t gsync_wait (task_t task, vm_offset_t addr,
-  unsigned int lo, unsigned int hi, natural_t msec, int flags)
+/* Create a temporary mapping in the kernel.*/
+static inline vm_offset_t
+temp_mapping (struct vm_args *vap, vm_offset_t addr, vm_prot_t prot)
 {
-  if (unlikely (task != current_task()))
-    /* Not implemented yet.  */
-    return (KERN_FAILURE);
+  vm_offset_t paddr;
+  /* Adjust the offset for addresses that aren't page-aligned. */
+  vm_offset_t off = vap->off - (addr - trunc_page (addr));
 
-  struct gsync_waiter w;
-  int bucket = gsync_fill_key (task, addr, flags, &w.key);
+  if (vm_map_enter (kernel_map, &paddr, PAGE_SIZE,
+      0, TRUE, vap->obj, off, FALSE, prot, VM_PROT_ALL,
+      VM_INHERIT_DEFAULT) != KERN_SUCCESS)
+    paddr = 0;
+
+  return (paddr);
+}
 
-  if (unlikely (bucket < 0))
+kern_return_t gsync_wait (task_t task, vm_offset_t addr,
+  unsigned int lo, unsigned int hi, natural_t msec, int flags)
+{
+  if (task == 0)
+    return (KERN_INVALID_TASK);
+  else if (addr % sizeof (int) != 0)
     return (KERN_INVALID_ADDRESS);
 
-  /* Test that the address is actually valid for the
-   * given task. Do so with the read-lock held in order
-   * to prevent memory deallocations. */
   vm_map_lock_read (task->map);
 
-  struct gsync_hbucket *hbp = gsync_buckets + bucket;
-  simple_lock (&hbp->lock);
+  struct gsync_waiter w;
+  struct vm_args va;
+  boolean_t remote = task != current_task ();
+  int bucket = gsync_prepare_key (task, addr, flags, &w.key, &va);
 
-  if (unlikely (!valid_access_p (task->map, addr, flags)))
+  if (bucket < 0)
     {
-      simple_unlock (&hbp->lock);
       vm_map_unlock_read (task->map);
       return (KERN_INVALID_ADDRESS);
     }
+  else if (remote)
+    /* The VM object is returned locked. However, we are about to acquire
+     * a sleeping lock for a bucket, so we must not hold any simple
+     * locks. To prevent this object from going away, we add a reference
+     * to it when requested. */
+    vm_object_reference_locked (va.obj);
+
+  /* We no longer need the lock on the VM object. */
+  vm_object_unlock (va.obj);
+
+  struct gsync_hbucket *hbp = gsync_buckets + bucket;
+  kmutex_lock (&hbp->lock, FALSE);
 
   /* Before doing any work, check that the expected value(s)
    * match the contents of the address. Otherwise, the waiting
    * thread could potentially miss a wakeup. */
-  if (((unsigned int *)addr)[0] != lo ||
-      ((flags & GSYNC_QUAD) &&
-        ((unsigned int *)addr)[1] != hi))
+
+  boolean_t equal;
+  if (! remote)
+    equal = ((unsigned int *)addr)[0] == lo &&
+      ((flags & GSYNC_QUAD) == 0 ||
+       ((unsigned int *)addr)[1] == hi);
+  else
     {
-      simple_unlock (&hbp->lock);
-      vm_map_unlock_read (task->map);
-      return (KERN_INVALID_ARGUMENT);
+      vm_offset_t paddr = temp_mapping (&va, addr, VM_PROT_READ);
+      if (unlikely (paddr == 0))
+        {
+          kmutex_unlock (&hbp->lock);
+          vm_map_unlock_read (task->map);
+          /* Make sure to remove the reference we added. */
+          vm_object_deallocate (va.obj);
+          return (KERN_MEMORY_FAILURE);
+        }
+
+      vm_offset_t off = addr & (PAGE_SIZE - 1);
+      paddr += off;
+
+      equal = ((unsigned int *)paddr)[0] == lo &&
+        ((flags & GSYNC_QUAD) == 0 ||
+         ((unsigned int *)paddr)[1] == hi);
+
+      paddr -= off;
+
+      /* Note that the call to 'vm_map_remove' will unreference
+       * the VM object, so we don't have to do it ourselves. */
+      vm_map_remove (kernel_map, paddr, paddr + PAGE_SIZE);
     }
 
+  /* Done with the task's map. */
   vm_map_unlock_read (task->map);
 
+  if (! equal)
+    {
+      kmutex_unlock (&hbp->lock);
+      return (KERN_INVALID_ARGUMENT);
+    }
+
   /* Look for the first entry in the hash bucket that
    * compares strictly greater than this waiter. */
   struct list *runp;
   list_for_each (&hbp->entries, runp)
-    {
-      struct gsync_waiter *p = node_to_waiter (runp);
-      if (gsync_key_lt (&w.key, &p->key))
-        break;
-    }
+    if (gsync_key_lt (&w.key, &node_to_waiter(runp)->key))
+      break;
 
   /* Finally, add ourselves to the list and go to sleep. */
   list_add (runp->prev, runp, &w.link);
@@ -243,24 +312,23 @@ kern_return_t gsync_wait (task_t task, vm_offset_t addr,
   else
     thread_will_wait (w.waiter);
 
-  thread_sleep (0, (simple_lock_t)&hbp->lock, TRUE);
+  kmutex_unlock (&hbp->lock);
+  thread_block (thread_no_continuation);
 
   /* We're back. */
-  kern_return_t ret = current_thread()->wait_result;
-  if (ret != THREAD_AWAKENED)
+  kern_return_t ret = KERN_SUCCESS;
+  if (current_thread()->wait_result != THREAD_AWAKENED)
     {
       /* We were interrupted or timed out. */
-      simple_lock (&hbp->lock);
-      if (w.link.next != 0)
+      kmutex_lock (&hbp->lock, FALSE);
+      if (!list_node_unlinked (&w.link))
         list_remove (&w.link);
-      simple_unlock (&hbp->lock);
+      kmutex_unlock (&hbp->lock);
 
       /* Map the error code. */
-      ret = ret == THREAD_INTERRUPTED ?
+      ret = current_thread()->wait_result == THREAD_INTERRUPTED ?
         KERN_INTERRUPTED : KERN_TIMEDOUT;
     }
-  else
-    ret = KERN_SUCCESS;
 
   return (ret);
 }
@@ -281,34 +349,60 @@ dequeue_waiter (struct list *nodep)
 kern_return_t gsync_wake (task_t task,
   vm_offset_t addr, unsigned int val, int flags)
 {
-  if (unlikely (task != current_task()))
-    /* Not implemented yet.  */
-    return (KERN_FAILURE);
-
-  struct gsync_key key;
-  int bucket = gsync_fill_key (task, addr, flags, &key);
-
-  if (unlikely (bucket < 0))
+  if (task == 0)
+    return (KERN_INVALID_TASK);
+  else if (addr % sizeof (int) != 0)
     return (KERN_INVALID_ADDRESS);
 
-  kern_return_t ret = KERN_INVALID_ARGUMENT;
-
   vm_map_lock_read (task->map);
-  struct gsync_hbucket *hbp = gsync_buckets + bucket;
-  simple_lock (&hbp->lock);
 
-  if (unlikely (!valid_access_p (task->map, addr, flags)))
+  union gsync_key key;
+  struct vm_args va;
+  int bucket = gsync_prepare_key (task, addr, flags, &key, &va);
+
+  if (bucket < 0)
     {
-      simple_unlock (&hbp->lock);
       vm_map_unlock_read (task->map);
       return (KERN_INVALID_ADDRESS);
     }
+  else if (current_task () != task && (flags & GSYNC_MUTATE) != 0)
+    /* See above on why we do this. */
+    vm_object_reference_locked (va.obj);
+
+  /* Done with the VM object lock. */
+  vm_object_unlock (va.obj);
+
+  kern_return_t ret = KERN_INVALID_ARGUMENT;
+  struct gsync_hbucket *hbp = gsync_buckets + bucket;
+
+  kmutex_lock (&hbp->lock, FALSE);
 
   if (flags & GSYNC_MUTATE)
-    /* Set the contents of the address to the specified value,
-     * even if we don't end up waking any threads. Note that
-     * the buckets' simple locks give us atomicity. */
-    *(unsigned int *)addr = val;
+    {
+      /* Set the contents of the address to the specified value,
+       * even if we don't end up waking any threads. Note that
+       * the buckets' simple locks give us atomicity. */
+
+      if (task != current_task ())
+        {
+          vm_offset_t paddr = temp_mapping (&va, addr,
+            VM_PROT_READ | VM_PROT_WRITE);
+
+          if (paddr == 0)
+            {
+              kmutex_unlock (&hbp->lock);
+              vm_map_unlock_read (task->map);
+              vm_object_deallocate (va.obj);
+              return (KERN_MEMORY_FAILURE);
+            }
+
+          addr = paddr + (addr & (PAGE_SIZE - 1));
+        }
+
+      *(unsigned int *)addr = val;
+      if (task != current_task ())
+        vm_map_remove (kernel_map, addr, addr + sizeof (int));
+    }
 
   vm_map_unlock_read (task->map);
 
@@ -325,37 +419,35 @@ kern_return_t gsync_wake (task_t task,
       ret = KERN_SUCCESS;
     }
 
-  simple_unlock (&hbp->lock);
+  kmutex_unlock (&hbp->lock);
   return (ret);
 }
 
 kern_return_t gsync_requeue (task_t task, vm_offset_t src,
   vm_offset_t dst, boolean_t wake_one, int flags)
 {
-  if (unlikely (task != current_task()))
-    /* Not implemented yet.  */
-    return (KERN_FAILURE);
+  if (task == 0)
+    return (KERN_INVALID_TASK);
+  else if (src % sizeof (int) != 0 || dst % sizeof (int) != 0)
+    return (KERN_INVALID_ADDRESS);
 
-  struct gsync_key src_k, dst_k;
-  int src_bkt = gsync_fill_key (task, src, flags, &src_k);
-  int dst_bkt = gsync_fill_key (task, dst, flags, &dst_k);
+  union gsync_key src_k, dst_k;
+  struct vm_args va;
 
-  if ((src_bkt | dst_bkt) < 0)
+  int src_bkt = gsync_prepare_key (task, src, flags, &src_k, &va);
+  if (src_bkt < 0)
     return (KERN_INVALID_ADDRESS);
 
-  vm_map_lock_read (task->map);
+  /* Unlock the VM object before the second lookup. */
+  vm_object_unlock (va.obj);
 
-  /* We don't actually dereference or modify the contents
-   * of the addresses, but we still check that they can
-   * be accessed by the task. */
-  if (unlikely (!valid_access_p (task->map, src, flags) ||
-      !valid_access_p (task->map, dst, flags)))
-    {
-      vm_map_unlock_read (task->map);
-      return (KERN_INVALID_ADDRESS);
-    }
+  int dst_bkt = gsync_prepare_key (task, dst, flags, &dst_k, &va);
+  if (dst_bkt < 0)
+    return (KERN_INVALID_ADDRESS);
 
-  vm_map_unlock_read (task->map);
+  /* We never create any temporary mappings in 'requeue', so we
+   * can unlock the VM object right now. */
+  vm_object_unlock (va.obj);
 
   /* If we're asked to unconditionally wake up a waiter, then
    * we need to remove a maximum of two threads from the queue. */
@@ -365,23 +457,23 @@ kern_return_t gsync_requeue (task_t task, vm_offset_t src,
 
   /* Acquire the locks in order, to prevent any potential deadlock. */
   if (bp1 == bp2)
-    simple_lock (&bp1->lock);
+    kmutex_lock (&bp1->lock, FALSE);
   else if ((unsigned long)bp1 < (unsigned long)bp2)
     {
-      simple_lock (&bp1->lock);
-      simple_lock (&bp2->lock);
+      kmutex_lock (&bp1->lock, FALSE);
+      kmutex_lock (&bp2->lock, FALSE);
     }
   else
     {
-      simple_lock (&bp2->lock);
-      simple_lock (&bp1->lock);
+      kmutex_lock (&bp2->lock, FALSE);
+      kmutex_lock (&bp1->lock, FALSE);
     }
 
   kern_return_t ret = KERN_SUCCESS;
   int exact;
   struct list *inp = gsync_find_key (&bp1->entries, &src_k, &exact);
 
-  if (!exact)
+  if (! exact)
     /* There are no waiters in the source queue. */
     ret = KERN_INVALID_ARGUMENT;
   else
@@ -416,9 +508,9 @@ kern_return_t gsync_requeue (task_t task, vm_offset_t src,
     }
 
   /* Release the locks and we're done.*/
-  simple_unlock (&bp1->lock);
+  kmutex_unlock (&bp1->lock);
   if (bp1 != bp2)
-    simple_unlock (&bp2->lock);
+    kmutex_unlock (&bp2->lock);
 
   return (ret);
 }
diff --git a/kern/kmutex.c b/kern/kmutex.c
new file mode 100644
index 0000000..5926d1d
--- /dev/null
+++ b/kern/kmutex.c
@@ -0,0 +1,76 @@
+/* Copyright (C) 2017 Free Software Foundation, Inc.
+   Contributed by Agustina Arzille <avarzille@riseup.net>, 2017.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either
+   version 2 of the license, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public
+   License along with this program; if not, see
+   <http://www.gnu.org/licenses/>.
+*/
+
+#include <kern/kmutex.h>
+#include <kern/atomic.h>
+#include <kern/sched_prim.h>
+#include <kern/thread.h>
+
+void kmutex_init (struct kmutex *mtxp)
+{
+  mtxp->state = KMUTEX_AVAIL;
+  simple_lock_init (&mtxp->lock);
+}
+
+kern_return_t kmutex_lock (struct kmutex *mtxp, boolean_t interruptible)
+{
+  check_simple_locks ();
+
+  if (atomic_cas_acq (&mtxp->state, KMUTEX_AVAIL, KMUTEX_LOCKED))
+    /* Unowned mutex - We're done. */
+    return (KERN_SUCCESS);
+
+  /* The mutex is locked. We may have to sleep. */
+  simple_lock (&mtxp->lock);
+  if (atomic_swap_acq (&mtxp->state, KMUTEX_CONTENDED) == KMUTEX_AVAIL)
+    {
+      /* The mutex was released in-between. */
+      simple_unlock (&mtxp->lock);
+      return (KERN_SUCCESS);
+    }
+
+  /* Sleep and check the result value of the waiting, in order to
+   * inform our caller if we were interrupted or not. Note that
+   * we don't need to set again the mutex state. The owner will
+   * handle that in every case. */
+  thread_sleep ((event_t)mtxp, (simple_lock_t)&mtxp->lock, interruptible);
+  return (current_thread()->wait_result == THREAD_AWAKENED ?
+    KERN_SUCCESS : KERN_INTERRUPTED);
+}
+
+kern_return_t kmutex_trylock (struct kmutex *mtxp)
+{
+  return (atomic_cas_acq (&mtxp->state, KMUTEX_AVAIL, KMUTEX_LOCKED) ?
+    KERN_SUCCESS : KERN_FAILURE);
+}
+
+void kmutex_unlock (struct kmutex *mtxp)
+{
+  if (atomic_cas_rel (&mtxp->state, KMUTEX_LOCKED, KMUTEX_AVAIL))
+    /* No waiters - We're done. */
+    return;
+
+  simple_lock (&mtxp->lock);
+
+  if (!thread_wakeup_one ((event_t)mtxp))
+    /* Any threads that were waiting on this mutex were
+     * interrupted and left - Reset the mutex state. */
+    mtxp->state = KMUTEX_AVAIL;
+
+  simple_unlock (&mtxp->lock);
+}
diff --git a/kern/kmutex.h b/kern/kmutex.h
new file mode 100644
index 0000000..2981515
--- /dev/null
+++ b/kern/kmutex.h
@@ -0,0 +1,52 @@
+/* Copyright (C) 2017 Free Software Foundation, Inc.
+   Contributed by Agustina Arzille <avarzille@riseup.net>, 2017.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either
+   version 2 of the license, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public
+   License along with this program; if not, see
+   <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef _KERN_KMUTEX_H_
+#define _KERN_KMUTEX_H_   1
+
+#include <kern/lock.h>
+#include <mach/kern_return.h>
+
+struct kmutex
+{
+  unsigned int state;
+  decl_simple_lock_data (, lock)
+};
+
+/* Possible values for the mutex state. */
+#define KMUTEX_AVAIL       0
+#define KMUTEX_LOCKED      1
+#define KMUTEX_CONTENDED   2
+
+/* Initialize mutex in *MTXP. */
+extern void kmutex_init (struct kmutex *mtxp);
+
+/* Acquire lock MTXP. If INTERRUPTIBLE is true, the sleep may be
+ * prematurely terminated, in which case the function returns
+ * KERN_INTERRUPTED. Otherwise, KERN_SUCCESS is returned. */
+extern kern_return_t kmutex_lock (struct kmutex *mtxp,
+  boolean_t interruptible);
+
+/* Try to acquire the lock MTXP without sleeping.
+ * Returns KERN_SUCCESS if successful, KERN_FAILURE otherwise. */
+extern kern_return_t kmutex_trylock (struct kmutex *mtxp);
+
+/* Unlock the mutex MTXP. */
+extern void kmutex_unlock (struct kmutex *mtxp);
+
+#endif
diff --git a/kern/sched_prim.c b/kern/sched_prim.c
index bb76735..173f068 100644
--- a/kern/sched_prim.c
+++ b/kern/sched_prim.c
@@ -376,13 +376,14 @@ void clear_wait(
  *	and thread_wakeup_one.
  *
  */
-void thread_wakeup_prim(
+boolean_t thread_wakeup_prim(
 	event_t		event,
 	boolean_t	one_thread,
 	int		result)
 {
 	queue_t			q;
 	int			index;
+	boolean_t woke = FALSE;
 	thread_t		thread, next_th;
 	decl_simple_lock_data( , *lock);
 	spl_t			s;
@@ -435,6 +436,7 @@ void thread_wakeup_prim(
 				break;
 			}
 			thread_unlock(thread);
+			woke = TRUE;
 			if (one_thread)
 				break;
 		}
@@ -442,6 +444,7 @@ void thread_wakeup_prim(
 	}
 	simple_unlock(lock);
 	splx(s);
+	return (woke);
 }
 
 /*
diff --git a/kern/sched_prim.h b/kern/sched_prim.h
index dfb2f54..405e545 100644
--- a/kern/sched_prim.h
+++ b/kern/sched_prim.h
@@ -72,7 +72,7 @@ extern void	thread_sleep(
 	simple_lock_t	lock,
 	boolean_t	interruptible);
 extern void	thread_wakeup(void);		/* for function pointers */
-extern void	thread_wakeup_prim(
+extern boolean_t	thread_wakeup_prim(
 	event_t		event,
 	boolean_t	one_thread,
 	int		result);
diff --git a/linux/src/include/linux/compiler-gcc7.h b/linux/src/include/linux/compiler-gcc7.h
new file mode 100644
index 0000000..02c5bea
--- /dev/null
+++ b/linux/src/include/linux/compiler-gcc7.h
@@ -0,0 +1,67 @@
+#ifndef __LINUX_COMPILER_H
+#error "Please don't include <linux/compiler-gcc7.h> directly, include <linux/compiler.h> instead."
+#endif
+
+#define __used				__attribute__((__used__))
+#define __must_check			__attribute__((warn_unused_result))
+#define __compiler_offsetof(a, b)	__builtin_offsetof(a, b)
+
+/* Mark functions as cold. gcc will assume any path leading to a call
+   to them will be unlikely.  This means a lot of manual unlikely()s
+   are unnecessary now for any paths leading to the usual suspects
+   like BUG(), printk(), panic() etc. [but let's keep them for now for
+   older compilers]
+
+   Early snapshots of gcc 4.3 don't support this and we can't detect this
+   in the preprocessor, but we can live with this because they're unreleased.
+   Maketime probing would be overkill here.
+
+   gcc also has a __attribute__((__hot__)) to move hot functions into
+   a special section, but I don't see any sense in this right now in
+   the kernel context */
+#define __cold			__attribute__((__cold__))
+
+#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
+
+#ifndef __CHECKER__
+# define __compiletime_warning(message) __attribute__((warning(message)))
+# define __compiletime_error(message) __attribute__((error(message)))
+#endif /* __CHECKER__ */
+
+/*
+ * Mark a position in code as unreachable.  This can be used to
+ * suppress control flow warnings after asm blocks that transfer
+ * control elsewhere.
+ *
+ * Early snapshots of gcc 4.5 don't support this and we can't detect
+ * this in the preprocessor, but we can live with this because they're
+ * unreleased.  Really, we need to have autoconf for the kernel.
+ */
+#define unreachable() __builtin_unreachable()
+
+/* Mark a function definition as prohibited from being cloned. */
+#define __noclone	__attribute__((__noclone__))
+
+/*
+ * Tell the optimizer that something else uses this function or variable.
+ */
+#define __visible __attribute__((externally_visible))
+
+/*
+ * GCC 'asm goto' miscompiles certain code sequences:
+ *
+ *   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
+ *
+ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
+ *
+ * (asm goto is automatically volatile - the naming reflects this.)
+ */
+#define asm_volatile_goto(x...)	do { asm goto(x); asm (""); } while (0)
+
+#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
+#define __HAVE_BUILTIN_BSWAP32__
+#define __HAVE_BUILTIN_BSWAP64__
+#define __HAVE_BUILTIN_BSWAP16__
+#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
+
+#define KASAN_ABI_VERSION 4
diff --git a/version.m4 b/version.m4
index da30815..87b79ea 100644
--- a/version.m4
+++ b/version.m4
@@ -1,4 +1,4 @@
 m4_define([AC_PACKAGE_NAME],[GNU Mach])
-m4_define([AC_PACKAGE_VERSION],[1.8+git20170102])
+m4_define([AC_PACKAGE_VERSION],[1.8+git20170609])
 m4_define([AC_PACKAGE_BUGREPORT],[bug-hurd@gnu.org])
 m4_define([AC_PACKAGE_TARNAME],[gnumach])
diff --git a/vm/vm_object.h b/vm/vm_object.h
index f8f9bf8..80d449a 100644
--- a/vm/vm_object.h
+++ b/vm/vm_object.h
@@ -396,4 +396,18 @@ MACRO_END
 extern int	vm_object_external_count;
 extern int	vm_object_external_pages;
 
+/* Add a reference to a locked VM object. */
+static inline int
+vm_object_reference_locked (vm_object_t obj)
+{
+  return (++obj->ref_count);
+}
+
+/* Remove a reference from a locked VM object. */
+static inline int
+vm_object_unreference_locked (vm_object_t obj)
+{
+  return (--obj->ref_count);
+}
+
 #endif	/* _VM_VM_OBJECT_H_ */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/gnumach.git


From MAILER-DAEMON Fri Jun 09 20:38:53 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUQX-00018O-PQ
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:53 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58834)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQK-0000yT-Hv
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ8-00072b-MH
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:40 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53492)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ7-0006zm-Vx
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:28 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUPx-0002Na-Ab; Sat, 10 Jun 2017 00:38:17 +0000
To: commit-hurd@gnu.org
Subject: [hurd] 02/03: Merge branch 'upstream-merged'
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Reply-To: Samuel Thibault <samuel.thibault@ens-lyon.org>
In-Reply-To: <20170610003810.4118.94179@moszumanska.debian.org>
References: <20170610003810.4118.94179@moszumanska.debian.org>
X-Git-Repo: hurd
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 0ea759586e39834b9303b2a2dc799a5b5bdec0e4
Auto-Submitted: auto-generated
Message-Id: <E1dJUPx-0002Na-Ab@moszumanska.debian.org>
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:38:17 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:38:52 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository hurd.

commit 0ea759586e39834b9303b2a2dc799a5b5bdec0e4
Merge: d1431a3 3ed467d
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Fri Jun 9 19:21:57 2017 +0000

    Merge branch 'upstream-merged'

 NEWS                                  |   6 +
 boot/boot.c                           |  57 +++++++++
 debian/changelog                      |   3 +-
 debian/patches/exec_filename_fs.patch |   8 +-
 eth-multiplexer/Makefile              |   2 +-
 ext2fs/xattr.c                        |   4 +-
 hurd/process.defs                     |   6 +-
 hurd/process_reply.defs               |   6 +-
 libdiskfs/boot-start.c                |  44 +++++--
 libdiskfs/opts-std-startup.c          |   5 +
 proc/info.c                           | 224 +++++++++++++++++++++++++++++++++-
 proc/main.c                           |  42 ++++++-
 proc/mgt.c                            |  56 +++++++++
 proc/msg.c                            |  32 ++++-
 proc/pgrp.c                           | 100 +++++++++++++++
 proc/proc.h                           |   2 +
 release/servers.boot                  |   2 +-
 startup/startup.c                     | 109 ++++++++++++++---
 18 files changed, 652 insertions(+), 56 deletions(-)

diff --cc debian/changelog
index 0a7aee8,0000000..098ed81
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,2164 -1,0 +1,2165 @@@
- hurd (1:0.9.git20170310-2) UNRELEASED; urgency=medium
++hurd (1:0.9.git20170507-1) UNRELEASED; urgency=medium
 +
++  * New upstream snapshot.
 +  * patches/exec_set_exe.patch: Avoid erroring out when proc does not support
 +    proc_set_exe.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 11 Mar 2017 15:57:49 +0000
 +
 +hurd (1:0.9.git20170310-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * Use canonical anonscm vcs URL.
 +  * patches/exec_set_exe.patch: Fix crash in procfs when exe is empty.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 09 Mar 2017 23:09:53 +0000
 +
 +hurd (1:0.9.git20170304-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * patches/exec_set_exe.patch: Copy exe value on fork. Closes: Bug#851729.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 04 Mar 2017 20:10:51 +0000
 +
 +hurd (1:0.9.git20170117-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * patches/exec_set_exe.patch: New patch to implement /proc/<pid>/exe.
 +  * control: Break old versions of all gnumach packages for vm_wire_all.
 +  * debian/local/runsystem: Do not hardcode TERM_TYPE to virtual, fixes
 +    special handling of serial installation case.
 +  * patches/procfs: Drop revert patch, /proc/self support in libc is now ready.
 +  * control: Bump libc0.3 Breaks accordingly.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 17 Jan 2017 10:35:43 +0000
 +
 +hurd (1:0.9.git20170102-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +    - newRPC.patch: Update.
 +    - patches/procfs: New patch to revert /proc/self being magic for now since
 +    glibc is not ready yet.
 +    - control: Break old gnumachs, which do not have vm_wire_all, build-depend
 +    on newers.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 02 Jan 2017 17:47:46 +0000
 +
 +hurd (1:0.9.git20161219-1) unstable; urgency=medium
 +
 +  [ Samuel Thibault ]
 +  * New upstream release.
 +
 +  [ Svante Signell ]
 +  * Make hurd Depend on sysv-rc | openrc instead of just sysv-rc.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 19 Dec 2016 15:51:26 +0000
 +
 +hurd (1:0.8.git20161120-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * Bump gnumach-dev build dependency.
 +  * disable_new_task_notification.diff: Drop, port leak is fixed.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 20 Nov 2016 21:48:56 +0000
 +
 +hurd (1:0.8.git20161115-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +    - patches/{console-wire.patch,time-fix.patch}: Drop, merged upstream.
 +  * control: Make hurd-prof Priority: extra instead of required.
 +  * local/setup-translators: Default crash server to dumping core.
 +  * rules: Disable pie hardening.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 15 Nov 2016 20:15:29 +0000
 +
 +hurd (1:0.8.git20161023-3) unstable; urgency=medium
 +
 +  * patches/console-wire.patch: Fix console hang on console data paging out.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 30 Oct 2016 20:36:29 +0000
 +
 +hurd (1:0.8.git20161023-2) unstable; urgency=medium
 +
 +  * patches/time-fix.patch: Fix timestamp update on file close.
 +    Closes: Bug#842271.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 27 Oct 2016 16:47:05 +0000
 +
 +hurd (1:0.8.git20161023-1) unstable; urgency=medium
 +
 +  [ Samuel Thibault ]
 +  * New upstream snapshot.
 +  * Drop gcc-5 Build-Depends, we already build with gcc-6 anyway.
 +    Closes: Bug#835948.
 +  * hurd.install.in: Install runsystem.hurd in /etc/hurd
 +  * patches/{libexec.patch,startup-usr-support.patch}: Update for
 +    runsystem.hurd. Closes: Bug#836529.
 +  * control: Don't build hurd-prof in noprof build profile.
 +  * control: Add missing lsb-base dependency.
 +
 +  [ Kalle Olavi Niemitalo ]
 +  * patches/exec_filename_rpctrace.patch: rpctrace: Pass prefixed_name to
 +    _hurd_exec_file_name. Closes: Bug#835513.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 23 Oct 2016 22:23:11 +0000
 +
 +hurd (1:0.8.git20160826-1) unstable; urgency=medium
 +
 +  * New upstream snapshot, fixes loading small pic programs.
 +  * Fix screen-udeb by adding more ptys for d-i.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 26 Aug 2016 01:05:01 +0000
 +
 +hurd (1:0.8.git20160809-1) unstable; urgency=medium
 +
 +  * New upstream snapshot. Closes: Bug#833557.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 09 Aug 2016 21:54:42 +0000
 +
 +hurd (1:0.8.git20160522-4) unstable; urgency=medium
 +
 +  * patches/git-dd93fc4bfbaceb65ded2aefca35042438c95f4d5: Cherry-pick from
 +    upstream to fix nfs assertion failure.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 02 Jun 2016 23:02:40 +0000
 +
 +hurd (1:0.8.git20160522-3) unstable; urgency=medium
 +
 +  * control: Bump Standards-Version to 3.9.8 (no change)
 +  * patches/git-malloc-hook: Cherry-pick from upstream to fix potential
 +    mach-defpager hang.
 +  * patches/git-293e86998748bae2d7a8179ad198ec3452f0d472: Cherry-pick from
 +    upstream to fix zero-byte pipe writes.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 01 Jun 2016 21:17:45 +0000
 +
 +hurd (1:0.8.git20160522-2) unstable; urgency=medium
 +
 +  * patches/git-0ab3825f250486453892e3e18a702a44538bff6d: Cherry-pick fix
 +    from upstream.
 +  * patches/git-60d14f5b3c4ea27af6f4220a15947c328bc888ee: Cherry-pick fix
 +    from upstream, fixes some reference counting assertion failures.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 22 May 2016 13:41:50 +0000
 +
 +hurd (1:0.8.git20160522-1) unstable; urgency=medium
 +
 +  * New upstream release & snapshot.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 21 May 2016 23:29:31 +0000
 +
 +hurd (1:0.7.git20160502-2) unstable; urgency=medium
 +
 +  * Bump gnumach-dev build-dep to fix stdint use in headers.
 +  * rules: Add hurd-prof package to ship gprof versions of the main
 +    translators.
 +  * control: Depend on recent-enough gcc-5 to have gprof working.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 04 May 2016 18:03:36 +0000
 +
 +hurd (1:0.7.git20160502-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * rules: Add prof dpkg build profile to build gprof versions of the main
 +    translators.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 02 May 2016 23:06:25 +0000
 +
 +hurd (1:0.7.git20160320-2) unstable; urgency=medium
 +
 +  * patches/git-update.patch: Cherry-pick patches from upstream to fix
 +    /proc/swaps inside d-i.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 24 Mar 2016 10:38:16 +0000
 +
 +hurd (1:0.7.git20160320-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * Completely drop hurd-headers-dev and libihash-dev for now.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 23 Mar 2016 17:38:21 +0000
 +
 +hurd (1:0.7.git20160311-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * control: Make hurd-dev provides libdde-linux26-dev (but not at stage3).
 +  * patches/libports-iterate-refcount.patch: New patch to avoid a crash in
 +    libports.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 11 Mar 2016 22:21:27 +0000
 +
 +hurd (1:0.7.git20160228-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +    - patches/parallel_build.diff,cross-fix.diff: Drop, merged upstream.
 +  * control: Fix spurious build of hurd-headers-dev and libihash-dev in unstaged
 +    builds.
 +  * rules: Fix cross-build of libdde-linux26.
 +  * patches/using_std.patch: Fix external reference to using_std variable.
 +  * patches/netdde_log.patch: Move logs to /var/run.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 28 Feb 2016 16:35:27 +0000
 +
 +hurd (1:0.7.git20160223-2) unstable; urgency=medium
 +
 +  * control:
 +    - Avoid hurd's sysv-rc, netdde, and xkb-data dependencies in stage3,
 +    they are only really useful for the final stage.
 +    - Avoid hurd-dev depend on hurd in stage3, for the same reason.
 +  * Move stage1 hurd-dev content to hurd-headers-dev, and stage2 hurd-dev
 +    content to libihash-dev.
 +  * patches/parallel_build.diff: New patch to fix parallel install.
 +  * rules: Allow parallel build.
 +  * patches/cross-fix.diff: Upstream patch to fix cross-linking.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 27 Feb 2016 15:55:33 +0000
 +
 +hurd (1:0.7.git20160223-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * patches/mtab-siglost.patch: Remove, fixed upstream another way.
 +  * hurd-udeb.install.in: Install udeb's exec.static to /boot for d-i.
 +  * patches/crash-logging.patch: New patch to dump information on process crash.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 23 Feb 2016 22:48:43 +0000
 +
 +hurd (1:0.7.git20160214-2) unstable; urgency=medium
 +
 +  * Drop setting passive translator on /proc, sysvinit now mounts it
 +    already.  That will allow easier management of chroots.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 15 Feb 2016 19:37:06 +0000
 +
 +hurd (1:0.7.git20160214-1) unstable; urgency=medium
 +
 +  * New upstream snapshot
 +  * control: Drop perl build-dep, it is already build-essential.
 +  * rules: Fix noudeb build profile.
 +  * rules: Set ddeb-migration.
 +  * control: Depend on debhelper 9.20150628 for ddeb-migration.
 +  * control: Bump Standards-Version to 3.9.7 (no change).
 +  * patches/mtab-siglost.patch: New patch to avoid mtab crashing when mounted
 +    from /etc/init.d/rc.
 +  * patches/procfs-compatible: New patch to make procfs use compatibility by
 +    default, until sysvinit uses the option by default.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 14 Feb 2016 21:28:27 +0000
 +
 +hurd (1:0.7.git20160114-1) unstable; urgency=medium
 +
 +  * New upstream snapshot
 +  * control, rules: Add a stage3 which builds everything that can be built
 +    with libc.so.
 +  * patches/external.patch: Do not build DDE when libpciaccess is not
 +    available, do not build eth-filter when libpcap is not available.
 +  * patches/cross-link.patch: Fix cross-linking by making make look at the
 +    right library path.
 +  * hurd.install.in: Fix stage3 build by not including xkb files.
 +  * local/runsystem: Try to warn even earlier about not enough memory for
 +    running the installer.
 +  * control: Add perl Build-depends.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 14 Jan 2016 01:03:07 +0000
 +
 +hurd (1:0.7-1) unstable; urgency=medium
 +
 +  * New upstream release
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 05 Nov 2015 00:20:12 +0000
 +
 +hurd (1:0.6.git20151012-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * hurd.links: Add poweroff-hurd.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 12 Oct 2015 22:08:31 +0000
 +
 +hurd (1:0.6.git20150922-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +    - libdde_netdev_tx_t.patch, libdde_pci-needs_freset.patch,
 +    libdde_addr_list.patch, libdde_ucast_list.patch, libdde_addr_fix.patch,
 +    libdde_group_addr.patch, libdde_rculist.patch, libdde_dma_head.patch,
 +    libdde_mdio.patch, libdde_ethoc.patch, libdde_phy.patch,
 +    libdde_pci_ids.h.patch, libdde_ethtool.patch, libdde_workqueue.patch,
 +    libdde_trans_start.patch, libdde_devres.patch, libdde_pr_cont.patch,
 +    libdde_rx_queue.patch, libdde_rcu.patch: Merged.
 +    - fix-payload-pflocal.patch, fakeroot-access.patch, glibc_2.21.patch,
 +    format: Merged.
 +    - exec_filename_fs.patch: Refresh.
 +  * Upgrade to compat 9.
 +  * Add a noudeb build profile.
 +  * Add stage1 and stage2 build profiles for cross-bootstrapping hurd.
 +  * Move console modules to multiarch path.
 +  * Bump fakeroot-hurd priority so it becomes the default.
 +  * Fix build against glibc 2.21.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 22 Sep 2015 19:06:22 +0000
 +
 +hurd (1:0.6.git20150704-3) unstable; urgency=medium
 +
 +  [ Justus Winter ]
 +  * Fix payload for pflocal.
 +
 +  [ Samuel Thibault ]
 +  * Fix fakeroot-hurd for Xvfb.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 14 Aug 2015 12:16:19 +0000
 +
 +hurd (1:0.6.git20150704-2) unstable; urgency=medium
 +
 +  [ Samuel Thibault ]
 +  * Disable payload for pflocal address ports for now, as it breaks X11
 +    authentication.
 +
 +  [ Justus Winter ]
 +  * Include the new rpcscan utility.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 13 Aug 2015 22:05:20 +0000
 +
 +hurd (1:0.6.git20150704-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 04 Jul 2015 21:35:32 +0000
 +
 +hurd (1:0.6.git20150523-1) unstable; urgency=medium
 +
 +  * New upstream release. Closes: #785134.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 22 May 2015 20:58:45 +0000
 +
 +hurd (1:0.6-4) unstable; urgency=medium
 +
 +  * patches/dl_origin.patch: Fix off-by-one.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 01 May 2015 20:23:15 +0000
 +
 +hurd (1:0.6-3) unstable; urgency=medium
 +
 +  * patches/dl_origin.patch: New patch to enable $ORIGIN expansion support in
 +    rpath for absolute paths.
 +  * patches/git-R-libdiskfs-protected-payload.patch: Remove to re-enable using
 +    protected payload in libdiskfs, now that the support is fixed in gnumach.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 01 May 2015 10:08:14 +0000
 +
 +hurd (1:0.6-2) unstable; urgency=medium
 +
 +  * patches/git-R-libdiskfs-protected-payload.patch: Revert using protected
 +    payload in libdiskfs, to fix a hang inside the Debian installer.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 20 Apr 2015 02:11:51 +0000
 +
 +hurd (1:0.6-1) unstable; urgency=medium
 +
 +  * New upstream snapshot
 +  * local/setup-translators: Link /dev/shm to /tmp instead of /run/shm, to
 +    avoid a tmpfs bug which makes at least Xorg, mupdf, etc. crash.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 01 Mar 2015 00:41:25 +0100
 +
 +hurd (1:0.5.git20150208-3) unstable; urgency=medium
 +
 +  * patches/disable_new_task_notification.diff: Disable new task notification
 +    for now: it leaks a port.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 10 Feb 2015 21:18:26 +0000
 +
 +hurd (1:0.5.git20150208-2) unstable; urgency=medium
 +
 +  * Bump libc0.3 Break, to make sure we get a libc with the _routines@
 +    functions.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 09 Feb 2015 10:53:15 +0000
 +
 +hurd (1:0.5.git20150208-1) unstable; urgency=medium
 +
 +  * New upstream snapshot
 +    - patches/{pfinet_dhcp.patch,proxy-defpager.diff,xkb-compat.patch,
 +      libmachdev-link.patch, ports_h_loop.patch,git-mtab-paths.patch,
 +      git-socket-EOF.patch}: Remove patches, merged upstream.
 +    - patches/newRPC.patch: Update.
 +  * patches/term-for-tcl.patch: Add workaround against TCL's missing buffering
 +    support for PTYs used by expect, see Bug #755295.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 09 Feb 2015 01:06:35 +0000
 +
 +hurd (1:0.5.git20141210-6) unstable; urgency=medium
 +
 +  * patches/git-socket-EOF.patch: Cherry-pick patch to fix EOF on sockets.
 +    Fixes neon27 build and hopefully buildd upload hickups.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 03 Jan 2015 16:49:35 +0000
 +
 +hurd (1:0.5.git20141210-5) unstable; urgency=medium
 +
 +  * patches/git-mtab-paths.patch: Cherry-pick patch to fix spurious ./ in mtab
 +    paths, to fix d-i's grub-installer. Closes: #774386.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 02 Jan 2015 18:41:04 +0000
 +
 +hurd (1:0.5.git20141210-4) unstable; urgency=medium
 +
 +  * hurd-udeb.install.in: Add /hurd/startup.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 15 Dec 2014 12:40:21 +0000
 +
 +hurd (1:0.5.git20141210-3) unstable; urgency=medium
 +
 +  [ Svante Signell ]
 +  * patches/exec_filename_fs.patch: Fix gcc warnings.
 +
 +  [ Samuel Thibault ]
 +  * patches/ports_h_loop.patch: Bring 89c2cbb from git to fix glibc build.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 12 Dec 2014 18:42:43 +0000
 +
 +hurd (1:0.5.git20141210-2) unstable; urgency=medium
 +
 +  * patches/ports_h_loop.patch: Fix header inclusion loop.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 11 Dec 2014 12:08:08 +0000
 +
 +hurd (1:0.5.git20141210-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +    - patches/proc_set_init_task.patch,git-vm_map.patch,git-proc-mounts.patch:
 +      Remove, merged upstream.
 +    - local/setup-translators: Create /servers/startup
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 10 Dec 2014 01:15:48 +0000
 +
 +hurd (1:0.5.git20141108-5) unstable; urgency=medium
 +
 +  * patches/MAKEDEV-apm.patch: Workaround invocations from installation of
 +  power-management packages.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 12 Nov 2014 12:00:35 +0000
 +
 +hurd (1:0.5.git20141108-4) unstable; urgency=medium
 +
 +  * patches/git-proc-mounts.patch: Make procfs appear in /proc/mounts, for
 +    d-i.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 11 Nov 2014 23:57:23 +0000
 +
 +hurd (1:0.5.git20141108-3) unstable; urgency=medium
 +
 +  * control:
 +    - Bump gnumach and mig build-depends to get protected payload support.
 +    - Add Built-Using fields.
 +    - Add uuid-dev and libblkid-dev Build-Depends.
 +  * rules: fill built-using field.
 +  * patches/git-R-protected-payloads.patch: Reapply upstream commit, protected
 +    payload support is fixed.
 +  * patches/git-vm_map.patch: Fix vm_map call with odd vm_map kernel behavior.
 +  * local/setup-translators: Fix inet6 socket creation.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 09 Nov 2014 23:49:01 +0000
 +
 +hurd (1:0.5.git20141108-2) unstable; urgency=medium
 +
 +  * control: Add zlib1g-dev and libbz2-dev build dependencies.
 +  * Bump Standards-Version to 3.9.6 (no changes).
 +  * local/finish-install.d/51hurd_config-target-network: Remove, useless now
 +    that we use Debian's ifup/ifdown.
 +  * local/setup-translators: Also setup /servers/socket/26.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 09 Nov 2014 11:07:34 +0000
 +
 +hurd (1:0.5.git20141108-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +    - Fix random translator crash during heimdal testsuite.
 +    - patches/newRPC.patch: Update.
 +    - patches/git-R-protected-payloads.patch: Revert upstream commit, breaks
 +      mach-defpager startup.
 +    - Closes: #752237
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 09 Nov 2014 02:22:38 +0000
 +
 +hurd (1:0.5.git20140526-2) unstable; urgency=medium
 +
 +  [ Gabriele Giacone ]
 +  * patches/mount-bind.patch: Fix uninitialized value.
 +
 + -- Samuel Thibault <samuel.thibault@ens-lyon.org>  Tue, 27 May 2014 20:08:08 +0000
 +
 +hurd (1:0.5.git20140526-1) unstable; urgency=medium
 +
 +  [ Samuel Thibault ]
 +  * New upstream snapshot.
 +    - Breaks old netdde, which needs to be rebuilt due to libports ABI change.
 +    - patches/libmachdev.patch: Drop patch, fixed upstream.
 +  * control: bump gnumach-dev dependency to get mutable memory object, device
 +    and notify types translation functions.  Make hurd-libs0.3 "Breaks" old
 +    glibcs which needed libports_revert_stacksize.patch.
 +
 +  [ Justus Winter ]
 +  * patches/libports_revert_stacksize.patch: Drop patch, not needed any more.
 +
 +  [ Pino Toscano ]
 +  * control: remove unused gcc-4.7 build dependency. (Closes: #748000)
 +
 +  [ Gabriele Giacone ]
 +  * patches/mount-bind.patch: Add bind option to our mount tool.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 25 May 2014 20:07:01 +0000
 +
 +hurd (1:0.5.git20140326-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +    - Fixes kvm hang on console startup (Closes: #742392)
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 26 Mar 2014 03:15:30 +0000
 +
 +hurd (1:0.5.git20140320-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +    - patches/libports_stability.patch: Remove, merged upstream.
 +    - patches/exec_filename_fs.patch: Refresh.
 +    - rules: Disable bz2 support in udeb (Closes: #741420)
 +  * control: Only Replace/Conflict old login package which was potentially
 +    shipping /bin/login.
 +  * local/securetty: Remove file, let it be installed by the login package.
 +  * patches/rc.patch: Also make /etc/mtab point to /proc/mounts.
 +  * patches/mount.patch: Also ignore exec option.
 +  * local/runsystem: Allow to pass VGA options from d-i boot menu.
 +  * local/finish-install.d/51hurd_config-console: Propagate VGA options to
 +    installed system.
 +  * hurd.hurd-console.init: Do not make hurd-console depend on $all,
 +    and make it start before DMs.
 +  * hurd.postinst: Decrease our runsystem priority to 5, thus switching to
 +    sysvinit boot up, and enabling the hard work of a lot of people, thanks a
 +    lot to everybody involved!
 +  * hurd.lintian-overrides, hurd-udeb.lintian-overrides: Ignore lintian warning
 +    about static translators embedding bzip2 and zlib.
 +  * rules: force installing hurd-udeb lintian overrides to actually fix above
 +    override.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 20 Mar 2014 02:24:20 +0000
 +
 +hurd (1:0.5.git20140203-1) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * New upstream snapshot.
 +    - Bump mig dependencies to get server RPC inlines.
 +  * hurd.hurd-console.init: Actually make ENABLE=false in default work.
 +
 +  [ Justus Winter ]
 +  * patches/exec_filename_fix.patch: Fix spurious port deallocation.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 03 Feb 2014 22:42:53 +0000
 +
 +hurd (1:0.5.git20140113-1) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * New upstream snapshot.
 +    - refresh patches.
 +  * patches/libports_revert_stacksize.patch: New patch to revert upstream
 +    cleanup.
 +  * patches/xkb-compat.patch: Replace default compat with explicit content.
 +
 +  [ Justus Winter ]
 +  * patches/exec_filename_fix.patch: Fix passing path in hurdish
 +    fakeroot/chroot.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 19 Nov 2013 00:21:47 +0100
 +
 +hurd (1:0.5.git20131101-1) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * New upstream snapshot.
 +  * control: bump libc0.3-dev dependency to make sure we don't get internal
 +    inlines exported by previous versions.
 +  * patches/proc_set_init_task.patch: Fix kernel pid in procfs too.
 +  * Remove dpkg | install-info dependency.
 +  * Bump Standards-Version to 3.9.5.
 +
 +  [ Justus Winter ]
 +  * hurd.hurd-console.init: Clean up pid if any.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 03 Nov 2013 12:19:03 +0000
 +
 +hurd (1:0.5.git20130928-1) unstable; urgency=low
 +
 +  * New upstream release, yay!
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 28 Sep 2013 14:25:53 +0000
 +
 +hurd (20130924-2) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * patches/proc_set_init_task.patch: New patch from Justus Winter to make
 +    /hurd/init pid 2, leaving room for sysvinit to be pid 1.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 24 Sep 2013 21:58:30 +0000
 +
 +hurd (20130924-1) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * New upstream snapshot
 +    - patches/mount-test-opts.patch: Drop, merged upstream
 +  * control, hurd.install.in, rules: Remove ufs parts.
 +  * patches/rc.patch: Make sure /proc is mounted at boot.
 +  * hurd-udeb.install.in: Add hurd/mtab.
 +  * control: Bump libc0.3-dev build dep to get new RPC stubs.
 +  * patches/newRPC: Drop accordingly.
 +  * rules: Pass --without-libdaemon to udeb configure.
 +
 +  [ Justus Winter ]
 +  * Include the nullauth utility in hurd and hurd-udeb.
 +
 +  [ Pino Toscano ]
 +  * Add missing libpcap0.8-dev build dependency.
 +  * Add ${perl:Depends} in hurd-dev.
 +  * Add ${shlibs:Depends} in hurd-libs0.3-udeb and hurd-udeb.
 +  * Rename the installed libdde-linux26 stuff back to libdde_linux26.
 +  * Exclude shlibs for private modules in /usr/lib/hurd; this allows the drop
 +    of the shlibs for hurd, which has no public libraries anymore after the
 +    hurd-libs0.3 split.
 +  * run.patch: refresh to apply without fuzz.
 +  * Rename the "build" build dir to "build-deb".
 +  * Force the sourcedir for dh_install to debian/tmp, and strip/fix the paths
 +    in *.install.in files according to the new root.
 +  * Do a separate build for the udeb variant, so it can have a different
 +    configuration:
 +    - Use build-udeb as build dir.
 +    - Use debian/tmp-udeb as DESTDIR, and use it as sourcedir for dh_install
 +      of *-udeb binaries.
 +  * Remove duplicated texinfo build dependency.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 24 Sep 2013 08:56:08 +0000
 +
 +hurd (20130916-1) unstable; urgency=low
 +
 +  * New upstream snapshot. Closes: Bug#701516, Bug#313560.
 +    - patches/{ext2fs_large_stores.patch, ext2fs_large_stores_pthread.patch,
 +    mount-n.patch, mount-f.patch, mount-remount.patch, procfs-update.patch,
 +    procfs-default.patch, procfs-get-options.patch, sutils-types.patch,
 +    mount-ignore-mounted-all.patch, mount-t-auto.patch,
 +    sutils-multiple-none.patch, umount.patch}: Remove, merged upstream.
 +    - patches/{exec_filename_exec.patch, exec_filename_fs.patch,
 +    mount-test-opts.patch, proxy-defpager.diff}: Refresh.
 +  * patches/rc.patch: point /run/mtab to /proc/mounts.
 +  * rules, control: Switch to makeinfo.
 +  * Refresh lintian overrides.
 +
 +  [ Justus Winter ]
 +  * hurd.hurd-console.init: Add an initscript for hurd-console.
 +  * patches/hurd_console_startup.patch: Drop, this is no longer necessary with
 +    the initscript in place.
 +  * control: Add build dependency on libdaemon
 +  * patches/newRPC.patch: New patch to fix link until libc gets rebuilt
 +    against new .defs.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 16 Sep 2013 14:30:13 +0000
 +
 +hurd (20130727-1) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * New upstream snapshot.
 +    - Adds firewalling support.
 +    - Move to multiple orig tarballs.
 +    - Use autoreconf.
 +    - Rename libdde_linux26 into libdde-linux26
 +  * Bump Standards-Version to 3.9.4 (no changes).
 +  * control: Remove Neal and Jeff from uploaders.
 +
 +  [ Justus Winter ]
 +  * Include the umount utility in hurd and hurd-udeb.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 27 Jul 2013 22:37:17 +0000
 +
 +hurd (20130707-1) unstable; urgency=low
 +
 +  * New upstream snapshot (Closes: Bug#714733).
 +
 +  * patches/{mount-{f,n,remount,test-opts,ignore-mounted-all,t-auto},
 +    sutils-{types,multiple-none}}.patch: New
 +    patches from Justus Winter to make mount more compatible with Linux'.
 +  * patches/mount-loop.patch: New patch to ignore loop option.
 +  * patches/umount.patch: New patch to add umount tool.
 +  * patches/procfs-{update,default,get-options}.patch: New patches from Justus
 +    Winter to make procfs behave as sysvinit desires.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 07 Jul 2013 22:25:25 +0000
 +
 +hurd (20130620-1) unstable; urgency=low
 +
 +  * New upstream release.
 +
 +  * patches/exec_filename_fs.patch,exec_filename_use.patch,external.patch:
 +    Refresh.
 +  * io_select_timeout, doc-fix.patch: Remove merged patches.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 19 Jun 2013 23:32:07 +0000
 +
 +hurd (20130226-3) unstable; urgency=low
 +
 +  [ Pino Toscano ]
 +  * Stop installing the upstream ChangeLog, since it is just a pointer to the
 +    pre-Git ChangeLog files.
 +  * Install the Debian NEWS file only in the hurd binary.
 +  * hurd: pre-depend on hurd-libs0.3. (Closes: #704998)
 +  * control: build-depend on gawk.
 +
 +  [ Samuel Thibault ]
 +  * Do not create lpr3, it does not exist in standard PC hardware.
 +  * Add doc-fix.patch to fix documentation build.
 +  * Add io_select_timeout patch to introduce the RPC definition for libc to
 +    build the RPC stubs.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 19 Jun 2013 10:56:03 +0000
 +
 +hurd (20130226-2) unstable; urgency=low
 +
 +  [ Pino Toscano ]
 +  * Split the hurd libraries in own hurd-libs0.3{,-udeb} packages.
 +
 +  [ Samuel Thibault ]
 +  * Bump netdde breaking version, our updated pfinet wants a rebuilt one.
 +
 +  [ Pino Toscano ]
 +  * Move /bin/timertest and /bin/fstests from hurd to hurd-dev, since they are
 +    development-related utilities; add proper breaks/replaces.
 +  * Remove the libsem-dev conflicts/replaces/provides from hurd-dev, obsolete.
 +  * Update the hurd-doc suggests:
 +    - Remove hurd (a bit pointless, since it is essential).
 +    - Add www-browser (for the HTML documentation).
 +  * Add missing autotools-dev build dependency (for the autotools_dev dh addon).
 +  * Rename hurd{,-dev,-udeb}.install to hurd{,-dev,-udeb}.install.in, and
 +    generate the .install files at build time.
 +  * Call dh_install with --list-missing.
 +  * Install the hurd libraries in multiarch library directories, but not in
 +    the udeb.
 +  * Update lintian overrides.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 16 Mar 2013 00:06:39 +0000
 +
 +hurd (20130226-1) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * New upstream snapshot.
 +  * local/finish-install.d/51hurd_config-console: Disable the Hurd console on
 +    the installed system if installation was done without it.
 +  * Add remap script.
 +
 +  [ Pino Toscano ]
 +  * Bump debhelper compatibility to 7:
 +    - Bump compat to 7.
 +    - Bump the debhelper build dependency to >= 7.
 +    - Fix the dh_strip parameters.
 +  * Rename hurd-console.default to hurd.hurd-console.default, and let it be
 +    installed by dh_installinit.
 +  * hurd/hurd-dev: install more stuff via dh_install, instead of copying them
 +    manually.
 +  * Turn the X11 compose data into static files in the debian directory
 +    (instead of being generated at build time), and install them in hurd-udeb.
 +  * Drop hurd-dbg.dirs, useless.
 +  * hurd-udeb: remove XC-Package-Type, redundant with Package-Type.
 +  * Fix Vcs-* keys to point to anonscm.debian.org.
 +  * Remove asterisks from NEWS file.
 +  * Update lintian overrides.
 +  * Switch rules from cdbs to the sequential `dh':
 +    - Bump the debhelper build dependency to >= 7.0.50~.
 +    - Drop the cdbs build dependency.
 +    - Install BUGS, NEWS, README, and TODO only in hurd.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 26 Feb 2013 02:12:55 +0000
 +
 +hurd (20130105-1) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * New ustream snapshot
 +    - Migrates everything to libpthread.
 +    - Bump libc0.3-dev build dependency to get pthread_hurd_cond_wait.
 +    - Break libthreads-based netdde.
 +    - Remove install-msgids.diff, pflocal.patch,
 +    runsystem_setup_pflocal.patch, makedev_keep_options.patch,
 +    makedev_parted_store.patch, ext2fs_nowait.patch, libpager_deadlock.patch,
 +    libdiskfs_self-reauth.patch, libdiskfs_sync.patch, merged upstream
 +    - Refresh exec_filename_exec.patch, exec_filename_fs.patch,
 +    ext2fs_large_stores.patch, external.patch, init_try_runsystem.gnu.patch,
 +    libdde_workqueue.patch, libports_stability.patch, pfinet_dhcp.patch,
 +    posix-sigcodes.patch, proxy-defpager.diff.
 +  * New patch ext2fs_large_stores_pthread.patch to move ext2fs large store
 +    support to pthread.
 +  * control:
 +    - Add missing libx11-dev, x11proto-core-dev, pkg-config, xkb-data, flex,
 +    and bison build-dependencies.
 +    - Drop hurd dependency on libc0.3, it is now properly automatically
 +    computed.
 +  * Fix g-i by putting console keyboard parameters before mouse parameters,
 +    otherwise it seems the -c option gets lost.
 +  * Install all msgids files, not only hurd.msgids.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 05 Jan 2013 22:30:06 +0000
 +
 +hurd (20120710-3) unstable; urgency=low
 +
 +  * control: Make hurd depend on xkb-data.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 12 Jul 2012 14:14:20 +0000
 +
 +hurd (20120710-2) unstable; urgency=low
 +
 +  * control: Make hurd-udeb depend on xkb-data-udeb. Make hurd
 +    conflict/replace console-driver-xkb (Closes: Bug#681183).
 +  * rules: Add empty compose file for hurd-udeb.
 +  * hurd.install: Do not install empty compose file.
 +  * local/runsystem: Read keyboard layout from console-setup, restart the
 +  console automatically.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 11 Jul 2012 12:32:57 +0000
 +
 +hurd (20120710-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +    - patches/balloc.patch: Remove, merged upstream.
 +    - patches/libdde_config.patch: Remove, merged upstream.
 +    - patches/libdde_fixes.patch: Remove, merged upstream.
 +    - patches/ext2fs_large_stores.patch: Refresh.
 +  * hurd-console.default: Get keyboard layout from console-setup.
 +  * rules: Set XKB_DATA root for installing in debian/tmp.
 +  * hurd.install, hurd-dev.install: Install hurd xkb data.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 10 Jul 2012 01:36:55 +0000
 +
 +hurd (20120605-2) unstable; urgency=low
 +
 +  * control: Add missing autoconf build-dependency.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 06 Jun 2012 21:20:43 +0200
 +
 +hurd (20120605-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +    - patches/ext2fs_large_stores.patch,libmachdev.patch: Refresh.
 +  * control:
 +    - Do not make hurd-udeb depend on netdde-udeb, it leads to configure
 +    recursion, and is not actually needed.
 +    - Depend on libpciaccess-dev for libddekit.
 +  * hurd.postinst: Drop error messages while fetching pfinet options.
 +  * local/setup-translators: Remove /dev/shm directory if any, to be replaced
 +    with symlink to /run/shm.
 +  * patches/balloc.patch: Fix parentheses.
 +  * patches/exec_filename_{exec,fs,use}.patch: Add support for passing
 +    filename through exec() call.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 22 May 2012 00:07:09 +0000
 +
 +hurd (20120520-1) unstable; urgency=low
 +
 +  * New upstream snapshot, remove libpthread.
 +  * rules: Bump to gcc-4.7.
 +  * control: Depend on netdde, recent enough (>= 0.0.20120518~) to avoid
 +    conflicts with gnumach drivers.
 +  * local/setup-translators:
 +    - Setup netdde translator and /dev/eth*.
 +    - Add hd4 and hd5 /dev entries, for some SATA controlers.
 +  * hurd.postinst: Migrate pfinet into using /dev/eth0.
 +  * patches/libmachdev.patch: Fix packet delivery on pfinet restart.
 +  * hurd-udev.install: Add devnode.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 03 May 2012 01:53:00 +0200
 +
 +hurd (20120408-3) unstable; urgency=low
 +
 +  * patches/libpthread*, control, patches/external.patch: Remove libpthread, now
 +  shipped by glibc, and depend on it.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 25 Apr 2012 02:14:04 +0000
 +
 +hurd (20120408-2) unstable; urgency=low
 +
 +  * debian/patches/libdde_{addr_fix,addr_list,config,devres,dma_head,ethoc,
 +  ethtool,fixes,group_addr,mdio,netdev_tx_t,pci-needs_freset,pci_ids.h,phy,
 +  pr_cont,rcu,rculist,rx_queue,trans_start,ucast_list,workqueue}: New patches
 +  to upgrade the libdde_linux26 layer to 2.6.32 compatibility.
 +  * debian/copyright: Add copyright information for libdde_linux26.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 16 Apr 2012 00:31:41 +0000
 +
 +hurd (20120408-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +    - Fixes tmpfs, thanks Maksym!
 +    - Remove patches/console_utf-8.patch and patches/extern_inline_fix.patch,
 +    merged upstream.
 +    - patches/ext2fs_large_stores.patch: Refresh.
 +  * control:
 +    - Bump Standards-Version to 3.9.3 (no changes).
 +    - Set hurd-udeb XC-Package-Type to udeb.
 +  * patches/libexec.patch: Switch to gnu-mach-color TERM.
 +  * hurd-console.default: Document the -f option of the vga module.
 +  * patches/run.patch: Fix utmp database creation, and thus w command.
 +  * rules: Remove dde drivers, will be shipped by netdde.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 06 Apr 2012 19:07:15 +0200
 +
 +hurd (20120222-1) unstable; urgency=low
 +
 +  * New upstream snapshot
 +  * Add libddekit and libdde_linux26 headers.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 22 Feb 2012 01:57:29 +0000
 +
 +hurd (20120219-1) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * New upstream snapshot.
 +    - And merge DDE work from Zheng Da.
 +  * patches/ext2fs_large_stores.patch: Fix memory leak, thanks Sergio Lopez!
 +  * debian/hurd-console.default: Enable the console by default.
 +  * debian/patches/libpthread_procfs.patch: Rename to external.patch.
 +
 +  [ Pino Toscano ]
 +  * hurd.install, hurd.postinst, rules: Rename halt/reboot to
 +    halt-hurd/reboot-hurd, and register them as slaves of the runsystem
 +    alternative.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 19 Feb 2012 06:17:49 +0000
 +
 +hurd (20111206-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +    - Drop debian/patches/libpager_update_seqno.patch, applied upstream.
 +    - Closes: #650097, #650186, #650096.
 +  * control:
 +    - Use hurd-any instead of hurd-i386.
 +    - Recommend bf-utf-source to get more than just latin1 on the console.
 +  * hurd.postinst: Set up "*random" alternatives and generate seed on
 +    first install too.
 +  * patches/libexec.patch, hurd.install, hurd-udeb.install, hurd.postinst,
 +    rules: Move getty, console-run, and runttys to /sbin, runsystem and rc to
 +    /etc/hurd (Closes: Bug#556526).
 +  * hurd-udeb.lintian-overrides: Drop override about /libexec
 +  * local/random-hurd.sh, urandom-hurd.sh: Add scripts to be used as
 +    hurd-provided translators for /dev/*random.
 +  * hurd.postinst: Remove "random" alternative introduced by 20111106-1, as it
 +    makes rgrep in /etc not working any more. Install random.sh alternative
 +    instead, which sets /hurd/u?random.sh scripts.
 +  * local/setup-translators: Set /dev/u?random translator from
 +    /hurd/u?random.sh instead of making them alternatives. Set up
 +    /dev/u?random in hurd-udeb too.
 +  * hurd-udeb.install: Add /hurd/random.
 +  * hurd.install: Add /etc/securetty.
 +  * local/setup-translators: Move /run initialization to...
 +  * patches/run.patch: ... boot time.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 06 Dec 2011 01:49:34 +0100
 +
 +hurd (20111106-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +    - Drop debian/patches/ttys.patch.patch, applied upstream.
 +    - Drop debian/patches/auth-intr-cure.patch, applied upstream.
 +    - Drop debian/patches/libpthread_tls.patch, applied upstream.
 +    - debian/patches/libpthread_procfs.patch: Refresh.
 +    - Closes: #639010.
 +  * local/setup-translators:
 +    - Restore /dev/shm creation.
 +    - create /run/shm and /run/lock, to fix locking until we properly start
 +    rcS.d scripts.
 +    - Add cd[01] SCSI CD-ROMs.
 +  * patches/libdiskfs_sync.patch: New patch to fix sync at shutdown.
 +  * patches/libpthread_procfs.patch: Add random server.
 +  * local/setup-translators: Use random server, set up its entropy pool in
 +    /var/spool.
 +  * debian/control, debian/local/setup-translators: Use native random server
 +    set on /dev/u?random-hurd instead of random-egd on /dev/u?random.
 +    (Closes: bug#637231)
 +  * debian/hurd.{postinst,prerm}: Handle alternative for /dev/u?random,
 +    default to u?random-hurd, generate an initial pseudo-random seed.
 +  * debian/hurd.lintian-overrides: Override warnings about the /dev/u?random
 +    mangling.
 +  * debian/local/cdrom.h: Add header for basic CD-ROM ioctl support.
 +  * debian/patches/libpthread_globsigdisp.patch,posix-sigcodes.patch: New
 +    patches from Jeremie Koenig to enable global signal support.
 +  * debian/patches/libpthread_sigmask.patch: Update to global signal support.
 +  * debian/copyright: Fix copyright notice.
 +  * debian/control:
 +    - Drop article from synopsis.
 +    - Tighten hurd-dev dependency on hurd to the same version.
 +  * debian/hurd-udeb.install: Only include the necessary console drivers.
 +  * debian/patches/random-default-fast.patch: Set default randomness to fast,
 +    until we set up a daemon to feed /dev/random with entropy.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 18 Aug 2011 01:15:04 +0000
 +
 +hurd (20110519-3) unstable; urgency=low
 +
 +  * debian/local/runsystem: Set d-i umask to 022.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 11 Jun 2011 19:21:25 +0200
 +
 +hurd (20110519-2) unstable; urgency=low
 +
 +  * debian/control: Make the hurd package depend on random-egd, to get
 +    /dev/*random working as early as d-i's base install.
 +  * debian/local/setup-translators: Add entries for partitions 9-16 too, as the
 +    full partman layout at least uses slice 9. Add comX and random translators
 +    on installed system.
 +  * debian/hurd-console.default: Enable keyboard and mouse repeaters by
 +    default for X11.
 +  * debian/hurd.lintian-overrides, debian/hurd-dev.lintian-overrides: Update to
 +    newer lintian format.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 08 Jun 2011 22:26:15 +0000
 +
 +hurd (20110519-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +  * debian/control:
 +    - Depend on gcc-4.6 instead of gcc-4.4.
 +    - Bump Standards-Version to 3.9.2 (no change needed)
 +  * debian/rules: Build with gcc-4.6.
 +  * debian/local/runsystem, setup-translators: Enable mouse and keyboard
 +    repeaters for g-i support.
 +  * debian/local/setup-translators: Pass the --compatible option to procfs to
 +    tweak it a bit to get proc-related tools working without too much patching.
 +    Add fd[01].
 +  * debian/patches/disable-proc_getnports.patch: Remove patch, libc0.3 now
 +    has proc_getnports, and the hurd package already breaks older versions.
 +  * debian/patches/uptime_w_path_fix.patch: Fix /usr/bin/w-hurd command name,
 +    thanks harish badrinath for the notice.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 10 Apr 2011 20:42:45 +0200
 +
 +hurd (20110319-2) unstable; urgency=low
 +
 +  * debian/hurd.postinst: use useradd from required passwd package instead of
 +    adduser, which is not required and thus not available at debootstrap.
 +  * debian/control: Bump Standards-Version to 3.9.1 (no change needed).
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 21 Mar 2011 17:33:19 +0100
 +
 +hurd (20110319-1) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * New upstream snapshot.
 +  * debian/local/setup-translators: Add inet6 -> 26 symlink.
 +  * debian/local/finish-install.d/51hurd_config-target-network: Set pfinet
 +    translator on /servers/socket/26 too, add +x permission.
 +  * debian/local/partman/commit.d/40hurd_reload-partitions: Add +x permission.
 +  * debian/local/runsystem: Don't let d-i start if there is less then 256MiB
 +    memory.  Tell the user he needs to be patient while the d-i templates get
 +    loaded.
 +  * debian/patches/ext2fs_nowait.patch: Avoid systematically waiting for all
 +    disk writes, as it slows us down awfully.
 +  * debian/control: Recommend random-egd, to provide /dev/*random
 +    (Closes: Bug#558664). Break old gnumach packages, instead of depending on
 +    them. Break libc0.3 before getifaddrs fix, now that pfinet provides a
 +    correct response.
 +  * debian/patches/auth-intr-cure.patch: Add patch to mitigate
 +    reauthentication issue triggered by sudo.
 +  * debian/patches/libpager_deadlock.patch: Add patch to fix a known
 +    synchronization deadlock.
 +  * debian/local/finish-install.d/51hurd_config-target-network: Record active
 +    network configuration, not only passive. Create /servers/socket/26 node if
 +    it doesn't exist yet.
 +  * debian/local/setup-translators, debian/patches/makedev_keep_options.patch:
 +    Fix -K option into not starting existing translators.
 +  * debian/patches/libdiskfs_self-reauth.patch: Add patch to fix one of the
 +    spurious mach port deallocation issues.
 +
 +  [ Justus Winter ]
 +  * debian/hurd.{postinst,postrm}: Add/remove loginpr shell and login user with
 +    loginpr shell, to drop the login shell in order to match common Debian
 +    convention, in particular for remote telnet access...
 +    (Closes: Bug#556522)
 +
 +  [ Samuel Thibault ]
 +  * debian/NEWS: Add a notice about that.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 27 Feb 2011 19:02:04 +0100
 +
 +hurd (20100926-1) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * New upstream snapshot. Switch to jkoenig's procfs.
 +  * debian/control: Depend on gcc-4.4 instead of gcc-4.3. Thanks Emilio!
 +  * debian/rules: Fix back debugging symbols into the hurd-dbg package.
 +  * debian/local/runsystem: Do not start the Hurd console if the TERM variable
 +    is given.  Should permit mach-console install for better debugging as well
 +    as Xen or sub-hurd support.
 +  * debian/patches/disable-proc_getnports.patch: New patch to disable
 +    usage of proc_getnports until libc0.3 provides it.
 +  * debian/patches/libpthread_procfs.patch: Update patch to integrate procfs
 +    build.
 +
 +  [ Jeremie Koenig ]
 +  * debian/patches/libpthread_sigmask.patch: New patch to fix missed signals
 +    when using pthread_sigmask.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 26 Sep 2010 22:15:43 +0000
 +
 +hurd (20100829-1) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * New upstream 20100827 snapshot.
 +    - debian/patches/dir_acces_fix.patch: Remove patch, merged upstream.
 +    - debian/patches/exec_fix.patch: Likewise.
 +    - debian/patches/libdiskfs-rename.patch: Likewise.
 +    - debian/patches/libpthread_mutex_owner.patch: Likewise.
 +    - debian/patches/libpthread_recursive_mutex_initializer.patch: Likewise.
 +    - debian/patches/libpthread_setcancel.patch: Likewise.
 +    - debian/patches/pfinet-gcc-4.3-fix.patch: Likewise.
 +    - debian/patches/procfs.patch: Likewise.
 +    - debian/patches/ext2fs_large_stores.patch: Resync.
 +    - debian/patches/libpthread_procfs.patch: New patch, to enable libpthread
 +      and procfs build.
 +  * debian/rules: Really put debugging symbols into the hurd-dbg package.
 +  * debian/patches/hurd_console_startup.patch: Add -d current_vcs to enable
 +    /dev/cons/vcs by default.
 +  * debian/copyright: Reference /usr/share/common-licenses/GPL-2 instead of
 +    just GPL.
 +  * debian/hurd.dirs: Add /etc/sysctl.d.
 +  * debian/control (hurd-udeb): Add Provides: *-modules.
 +  * debian/patches/diskfs_no_inherit_dir_group.patch: Fix documentation too.
 +  * debian/control:
 +    - Drop duplicate priority and section fields.
 +    - Add ${misc:Depends}.
 +    - Add dpkg (>= 1.15.4) | install-info dependency.
 +    - Drop -1 from gnumach-dev dependency.
 +    - Bump Standards-Version to 3.8.4 (no change needed).
 +  * debian/local/runsystem.gnu: New runsystem file for the d-i case, incomplete
 +    for now.
 +  * debian/hurd-udeb.install: Remove getty, runttys, /etc/ttys ftpcp, ftpdir,
 +    ftpfs, hostmux, usermux, nfs, isofs.static, rpctrace, gcore, forks. Install
 +    local/runsystem.gnu in /libexec, install ext2fs.static in /boot
 +  * debian/rules: Do not ship *_pic.a, as mklibs breaks them.
 +  * debian/patches/proxy-defpager.diff: New patch to fix proxying defpager.
 +  * debian/patches/ext2fs_large_stores.patch: Apply Alioth fix #312328 from
 +    Fredrik Hammar to fix random startup crash (Closes: Bug#576519).
 +  * debian/patches/procfs.patch: Fix swap size printout.
 +  * debian/hurd-udeb.install: remove reboot and halt (will be provided by
 +    busybox), remove crash and password (not useful), add procfs, remove rc.
 +  * debian/local/runsystem.gnu: Integrate jkoenig d-i changes, rename to
 +    debian/local/runsystem.
 +  * debian/hurd.links: Add symlink to /usr/src/unifont.bdf from the unifont
 +    package to /usr/share/hurd/vga-system.bdf so the console can pick it up
 +    when installed.
 +  * debian/source/options: Set compression to bzip2.
 +  * debian/control: Update Vcs fields to point to the new git repositories.
 +  * debian/patches/console_ignore_bdf_err.patch: New patch to ignore erroneous
 +    number of glyphs in bdf files.
 +  * debian/rules: Remove debian/ChangeLog generation.
 +  * debian/local/runsystem: Pass -g option to the console to maximize glyph
 +    usage for chinese.
 +  * debian/hurd.lintian-overrides: New overrides to announce which servers are
 +    supposed to be statically linked, accept hurd to be essential, and accept
 +    some setuid binaries.
 +  * debian/hurd-udeb.lintian-overrides: New overrides to validate
 +    hurd-i386-specific paths.
 +  * debian/hurd-dev.lintian-overrides: New overrides to allow libstore_* not
 +    being stripped (they wouldn't work, else).
 +  * debian/local/runsystem: Export kernel parameters into environment, like
 +    Linux does.
 +  * debian/control: Use Package-Type instead of XC-Package-Type.
 +  * debian/rules: Switch to gcc-4.4 (Closes: Bug#594285).
 +
 +  [ Guillem Jover ]
 +  * Update make-new-tarball.sh to exclude git instead of CVS paths.
 +  * Refresh patches with -pab to allow migration to source format 3.0 (quilt).
 +  * Switch to source format “3.0 (quilt)”:
 +    - Remove quilt from Build-Depends.
 +    - Remove patchsys-quilt.mk include from debian/rules.
 +
 +  [ Michael Banck ]
 +  * debian/control (Uploaders): Removed Marcus Brinkmann. (Closes: #503564)
 +
 +  [ Jeremie Koenig ]
 +  * debian/control: Build-Depend on libparted-dev.
 +  * debian/local/partman/commit.d/40hurd_reload-partitions: New file for
 +    hurd-udeb, make partman restart the partition translators after the
 +    partition table has been changed.
 +  * debian/hurd-udeb.install: Install file above.
 +  * debian/local/runsystem (hurd-udeb): Start mach-defpager.
 +  * debian/hurd-udeb.dirs: Include /servers.
 +  * Sort out the way device and server nodes are created:
 +    - debian/patches/makedev_keep_options.patch: Introduces the -k and -K
 +      options to MAKEDEV, respectively to keep active translators running or
 +      leave existing files alone completely.
 +    - debian/patches/makedev_parted_store.patch: MAKEDEV -p will use parted
 +      instead of device stores for disk partitions.
 +    - debian/local/setup-translators: New script installed in /usr/lib/hurd,
 +      uses MAKEDEV's new options to create all the necessary device and
 +      server nodes.
 +    - debian/local/runsystem (hurd-udeb): Uses setup-translators in "minimal
 +      mode" to prepare the initrd when the installer is started. Parted
 +      stores are used to avoid problems when reloading the partition table.
 +    - debian/hurd.postinst: Uses setup-translators to create missing nodes on
 +      upgrades (on initial installs, debootstrap will use the
 +      setup-translators script from the installed hurd package to setup the
 +      devices and servers itself).
 +  * debian/local/finish-install.d/51hurd_config-target-network: copy the
 +    /servers/socket/2 translator settings into the target system.
 +  * debian/hurd-udeb.links: Include the unifont.bdf link in hurd-udeb too.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 27 Aug 2010 13:12:12 +0200
 +
 +hurd (20090404-2) unstable; urgency=low
 +
 +  * debian/patches/libpthread_no_recursive_mutex_initializer.patch: Remove
 +    unused patch.
 +  * debian/patches/procfs.patch: Fix a couple of memory leaks, fix swap size
 +    report.
 +  * debian/control: Add missing comma in Build-Depends.
 +  * debian/patches/pfinet-gcc-4.3-fix.patch: Cherry-pick upstream patch to fix
 +    build with gcc-4.3
 +  * debian/rules: Set CC to gcc-4.3 instead of gcc-4.2.
 +  * debian/control: Build-Depend on gcc-4.3 instead of gcc-4.2.
 +    (Closes: Bug#533782)
 +  * debian/control: Add Provides: hurd to the hurd-udeb package, to meet
 +    dependencies.
 +  * debian/rules: Add --add-udeb="hurd-udeb" option to dh_makeshlibs
 +    invocation for the hurd package, to fix udeb dependency generation.
 +  * debian/patches/MAKEDEV.patch: New patch to use bash for MAKEDEV.
 +    (Closes: Bug#548587)
 +  * debian/patches/libdiskfs-rename.patch: New patch to fix ext2fs hang on
 +    renaming directory to something/.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 11 Oct 2009 04:38:02 +0200
 +
 +hurd (20090404-1) unstable; urgency=low
 +
 +  [ Michael Banck ]
 +  * New snapshot from CVS.
 +    + debian/patches/diskfs_lookup_error_fix.patch: Removed, applied upstream.
 +    + debian/patches/libpthread_mutex-no-include.patch: Likewise.
 +    + debian/patches/libpthread_pthreadtypes_h.patch: Likewise.
 +    + debian/patches/libpthread_spin-lock-inline.patch: Likewise.
 +    + debian/patches/lock-memory-clobber.patch: Likewise.
 +    + debian/patches/pflocal-port-leak.patch: Likewise.
 +    + debian/patches/libpthread_pthreadexit-safety.patch: Removed, no longer   
 +      needed.
 +    + debian/patches/libpthread_tls.patch: Refreshed.
 +  * Change packaging to no tarball-in-tarball and quilt.
 +    + debian/control (Build-Depends): Added quilt. 
 +    + debian/rules (DEB_TAR_SRCDIR): Removed.
 +    + debian/rules (tarball.mk) No longer include it.
 +    + debian/rules (simple-patchsys.mk) Replaced with ...
 +    + debian/rules (patchsys-quilt.mk) ... this.
 +    + debian/patches/series: New file.
 +    + debian/rules (build/hurd): Replace build-tree with $(DEB_SRCDIR).
 +    + debian/rules (install/hurd): Likewise.
 +    + debian/hurd-doc.docs: Adjust paths.
 +  * debian/hurd.postinst: Install ps alternatives link in /bin, not
 +    /usr/bin.
 +  * debian/hurd.postinst: Install /proc as passive translator only.
 +  * debian/patches/uptime_w_path_fix.patch: New patch, run /usr/bin/w instead
 +    of /bin/w.
 +  * debian/rules: Install fakeroot, uptime and vmstat into /usr/bin, not /bin.
 +  * debian/rules (binary-predeb/hurd): Adjust paths.
 +  * debian/hurd.install: Likewise.
 +  * debian/hurd-udeb.install: Likewise.
 +  * debian/hurd.dirs: Added /usr/bin.
 +  * debian/hurd.postinst: Update accordingly.
 +  * debian/patches/libpthread_mutex_owner.patch: New patch, fix a hang in
 +    libpthread, by Neal Walfield.
 +
 +  [ Samuel Thibault ]
 +  * debian/patches/thread-throttle.patch: Remove patch, makes ext2fs hang on
 +    big syncs.
 +  * debian/control (Build-Depends): Bump libc0.3-dev to (>= 2.9).
 +  * debian/patches/stat_round.patch: New temporary patch, fixes symlink issues
 +    with tar.
 +  * debian/patches/dir_acces_fix.patch: New patch, fixes ext2fs crashes.
 +  * debian/patches/libports_stability.patch: New patch to keep the old
 +    behavior of libports.
 +  * debian/patches/libpthread_fix.patch: New patch from Thomas Schwinge to fix
 +    libpthread.
 +  * debian/patches/libpthread_setcancel.patch: New patch to fix configuration
 +    of octave3.0.
 +  * debian/patches/extern_inline_fix.patch: New patch from Marc DequÃ¨ne to
 +    fix extern inline declarations.
 +  * debian/patches/exec_fix.patch: New patch to fix random hang of exec.
 +  * debian/patches/libpthread_recursive_mutex_initializer.patch: New patch
 +    to fix the recursive mutex initializers usage in libraries not linking
 +    against libpthread.
 +  * debian/control: Now using Standards-Version 3.8.2 (no changes needed).
 +  * debian/control: Add myself to uploaders.
 +
 +  [ Guillem Jover ]
 +  * Change hurd-dbg section to debug.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 28 Jun 2009 22:19:07 +0000
 +
 +hurd (20080607-6) unstable; urgency=low
 +
 +  * debian/rules (install/hurd): Move away ps, uptime, vmstat and w in order
 +    to have them handled by update-alternatives.
 +  * debian/hurd.install: Update accordingly.
 +  * debian/hurd-udev.install: Likewise.
 +  * debian/rules (SUID_PROGRAMS): Likewise.
 +  * debian/hurd.postinst: Run update-alternatives for ps, uptime, vmstat and
 +    w.
 +  * debian/hurd.postinst: Setup /proc if it hasn't been already.
 +
 + -- Michael Banck <mbanck@debian.org>  Fri, 12 Sep 2008 22:58:08 +0200
 +
 +hurd (20080607-5) unstable; urgency=low
 +
 +  * debian/patches/procfs.patch: New patch, implements a /proc translator, by
 +    Madhusudan C.S., taken from a CVS branch.
 +
 + -- Michael Banck <mbanck@debian.org>  Tue, 02 Sep 2008 00:24:36 +0200
 +
 +hurd (20080607-4) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * debian/patches/pflocal-port-leak.patch: New patch to fix port leaks in
 +    pflocal which was making tcl-related builds hang.
 +  * debian/patches/lock-memory-clobber.patch: New patch to fix lock safety.
 +  * debian/patches/libpthread_mutex-no-include.patch: New patch to drop
 +    useless (and problematic) inclusion from mutex.h.
 +  * debian/patches/libpthread_spin-lock-inline.patch: New patch to split off
 +    inlines from spin-lock.h into spin-lock-inline.h to avoid including too
 +    many headers from pthreadtypes.h (fixes glibc 2.7-13 compilation).
 +  * debian/patches/libpthread_pthreadtypes_h.patch: Remove comma at end of
 +    enumeration.
 +  * debian/patches/diskfs_lookup_error_fix.patch: New patch to fix deadlock in
 +    lookup error conditions.
 +
 + -- Michael Banck <mbanck@debian.org>  Fri, 29 Aug 2008 22:53:20 +0200
 +
 +hurd (20080607-3) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * debian/patches/libpthread_pthreadtypes_h.patch: fix patch into really
 +    installing <pthread/pthreadtypes.h>.
 +
 + -- Michael Banck <mbanck@debian.org>  Sat, 12 Jul 2008 02:23:21 +0200
 +
 +hurd (20080607-2) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * debian/patches/libpthread_pthreadtypes_h.patch: New patch to get pthread
 +    types into <pthread/pthreadtypes.h>, which <bits/pthreadtypes.h> will be
 +    able to include.
 +  * debian/patches/libpthread_stubs.patch: Fix build.
 +  * debian/patches/libpthread_pthreadexit-safety.patch: New patch to fix a
 +    race during thread exit.  Fixes e.g. libatomic-ops' testsuite, and
 +    probably also a lot of others'.
 +
 + -- Michael Banck <mbanck@debian.org>  Fri, 11 Jul 2008 15:33:27 +0200
 +
 +hurd (20080607-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +    + debian/patches/ext2fs_large_stores.patch: Removed copyright year
 +      changes.
 +    + debian/patches/libpthread_getattr.patch: Removed, applied upstream.
 +    + debian/patches/libpthread_inline.patch: Likewise.
 +    + debian/patches/mmx.patch: Likewise.
 +    + debian/patches/libpthread_stubs.patch: Updated, one hunk got applied
 +      upstream.
 +  * debian/rules (CC): New variable, set to gcc-4.2.
 +  * debian/control (Build-Depends): Added gcc-4.2.
 +
 + -- Michael Banck <mbanck@debian.org>  Wed, 11 Jun 2008 01:02:01 +0200
 +
 +hurd (20071119-2) unstable; urgency=low
 +
 +  [ Michael Banck ]
 +  * debian/local/menu.lst: Add some comments.
 +  * debian/patches/libpthread_getattr.patch: New patch, implements
 +    pthread_getattr_np, taken from CVS.
 +
 +  [ Guillem Jover ]
 +  * debian/copyright: Update FSF address.
 +  * debian/control: Use binary:Version and source:Version instead of
 +    deprecated Source-Version substvar.
 +  * debian/changelog: Fix Neal's mail address in ancient entry.
 +  * debian/control: Line-wrap Build-Depends and Uploaders fields.
 +  * debian/control: Now using Standards-Version 3.7.3 (no changes needed).
 +  * debian/control: Move packages from base Section to admin.
 +  * debian/control: Add Homepage field.
 +  * debian/control: Add Vcs-Browser and Vcs-Svn fields.
 +
 +  [ Samuel Thibault]
 +  * debian/patches/mmx.patch: New patch to align the stack of created
 +    threads.
 +  * debian/patches/thread-throttle.patch: New patch, add a fix for ext2fs to
 +    keep the superblock in memory so as to avoid a thread creation dead lock.
 +  * debian/patches/libpthread_stubs.diff: New patch, add generation of
 +    <gnu/stubs-pthread.h> to advertise libpthread stubs.
 +
 + -- Michael Banck <mbanck@debian.org>  Sun, 18 May 2008 20:22:32 +0200
 +
 +hurd (20071119-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +    + Includes a port of Linux' IPv6 support by Stefan Siegl.
 +      (Closes: #274156)
 +    + debian/patches/glibc_stat_updates.patch: Removed, applied upstream.
 +    + debian/patches/libpthread_no-inline.patch: Likewise.
 +    + debian/patches/pfinet_-fno-strict-aliasing.patch: Likewise.
 +    + debian/patches/servers.boot-update.patch: Likewise.
 +    + debian/patches/siocgifhwaddr.patch: Likewise.
 +    + debian/patches/pfinet_dhcp.patch: Rediffed.
 +    + debian/patches/pflocal.patch: Likewise.
 +
 +  [ Samuel Thibault ]
 +  * debian/local/soundcard.h: Add _PATCHKEY definition.
 +  * debian/patches/libpthread_tls.patch: New patch, replaces
 +    debian/patches/libpthread_tls_transitional.patch.
 +  * debian/patches/libpthread_inline.patch: New patch to fix extern inlines
 +    with gcc 4.3.
 +
 +  [ Michael Banck ]
 +  * debian/patches/runsystem_setup_pflocal.patch: New patch, sets up
 +    pflocal during bootup if this has not been done before (in the install
 +    case).
 +  * debian/hurd.dirs: Added servers/socket.
 +  * debian/patches/init_try_runsystem.gnu.patch: New patch, try
 +    /libexec/runsystem.gnu as well if /libexec/runsystem is not
 +    available.
 +  * debian/patches/tmp_exec_startup.patch: New patch, try to attach the
 +    exec server to /tmp/exec if /servers/exec is not yet available.
 +  * debian/patches/diskfs_no_inherit_dir_group.patch: Update with better
 +    patch by Thomas Schwinge.
 +  * debian/patches/pfinet_dhcp.patch: Updated with new patch by Christian
 +    Dietrich and Stefan Siegl.
 +  * debian/local/menu.lst: New file.
 +  * debian/hurd.examples: Ship it.
 +
 + -- Michael Banck <mbanck@debian.org>  Tue, 08 Jan 2008 01:10:07 +0100
 +
 +hurd (20070606-3) unstable; urgency=low
 +
 +  [ Michael Banck ]
 +  * debian/patches/patches/servers.boot-update.patch: New patch, updates
 +    the servers.boot script to use the currently used Grub module lines.
 +  * debian/rules (install/hurd::): Install release/servers.boot into /boot.
 +  * debian/patches/pfinet_-fno-strict-aliasing.patch: New patch, adding
 +    -fno-strict-aliasing to pfinet's CFLAGS to fix compilation with gcc-4.2,
 +    taken from CVS.
 +  * debian/hurd.dirs: Added /boot.
 +
 +  [ Samuel Thibault ]
 +  * debian/patches/patches/libpthread_no-inline.patch: New patch, removes
 +    extern inlines to fix g++ and gettext FTBFS, by Samuel Thibault.
 +
 + -- Michael Banck <mbanck@debian.org>  Thu,  9 Aug 2007 17:08:01 +0200
 +
 +hurd (20070606-2) unstable; urgency=low
 +
 +  * debian/patches/libpthread_tls_transitional.patch: New patch,
 +    implements TLS for libpthread, by Samuel Thibault.
 +  * debian/patches/libpthread_weak_inline.patch: Removed.
 +
 + -- Michael Banck <mbanck@debian.org>  Sun, 22 Jul 2007 23:45:39 +0200
 +
 +hurd (20070606-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +    + Includes a patch to make pthread_* function aliases strong.
 +      (Closes: #407208)
 +    + debian/patches/console_ioperms.patch: Removed, fixed upstream.
 +    + debian/patches/no-debian-dir.patch: Removed, applied upstream.
 +  * debian/local/soundcard.h: Updated by Samuel Thibault.
 +  * debian/control (Build-Depends): Added libc0.3-dev (>= 2.5-5).
 +  * debian/copyright: Clarify that the package is maintained by the
 +    Debian GNU Hurd maintainers and no longer by upstream.
 +  * debian/control (Build-Depends): Bumped gnumach-dev version to
 +    2:1.3.99.dfsg.cvs20070526-1.
 +  * debian/control (hurd/Depends): Bumped gnumach version to
 +    2:1.3.99.dfsg.cvs20070526-1.
 +
 + -- Michael Banck <mbanck@debian.org>  Wed,  6 Jun 2007 18:54:37 +0200
 +
 +hurd (20060825-2) unstable; urgency=low
 +
 +  * Rebuilt against gnumach_1:20060826.dfsg.1-1.
 +  * debian/control (hurd/Depends): Bump versioned dependency of gnumach 
 +    to 1:20060826.dfsg.1-1.
 +  * debian/control (Build-Depends): Added versioned Build-Depends on
 +    gnumach-dev 1:20060826.dfsg.1-1.
 +  * debian/control (Build-Depends-Indep): Moved texi2html to ...
 +  * debian/control (Build-Depends): ... here.
 +
 + -- Michael Banck <mbanck@debian.org>  Wed, 30 Aug 2006 00:17:15 +0200
 +
 +hurd (20060825-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * debian/patches/beta_make.patch: Removed, fixed upstream.
 +  * debian/patches/ext2fs_large_stores.patch: Resynced.
 +  * debian/patches/pfinet_dhcp.patch: Likewise.
 +  * debian/patches/ftpfs_fix.patch: Removed, applied upstream.
 +  * debian/patches/gcc-4.0_fixes.patch: Likewise.
 +  * debian/patches/libpthread_need_clockid_t.patch: Likewise.
 +  * debian/patches/libstore_attribute.patch: Likewise.
 +  * debian/patches/magic_port_leak.patch: Likewise.
 +  * debian/patches/pfinet_packet_filter.diff: Likewise. 
 +  * debian/patches/semaphore_restrict_fix.patch: Likewise.
 +  * debian/rules (build/hurd::): Assemble all upstream ChangeLogs to one
 +    big ChangeLog.
 +  * debian/rules (DEB_INSTALL_CHANGELOGS_ALL): New variable, install it.
 +  * debian/patches/no_shm_makedev.diff: Renamed to ... 
 +  * debian/patches/makedev.diff: ... this.
 +  * debian/patches/console_utf-8.patch: New patch, setting the Hurd
 +    console to UTF-8 by default. (Closes: #348260)
 +
 + -- Michael Banck <mbanck@debian.org>  Sat, 26 Aug 2006 01:00:41 +0200
 +
 +hurd (20050513-8) unstable; urgency=low
 +
 +  * debian/patches/pfinet_packet_filter: New patch, adding support for
 +    gathering incoming packets, taken from CVS.
 +  * debian/hurd.install: Install hurd.msgids into /usr/share/msgids.
 +  * debian/hurd.dirs: Added /usr/share/msgids.
 +  * debian/patches/sysvshm.patch: Removed, it was causing deadlocks.
 +
 + -- Michael Banck <mbanck@debian.org>  Fri,  4 Aug 2006 15:54:09 +0200
 +
 +hurd (20050513-7) unstable; urgency=low
 +
 +  * debian/patches/diskfs_no_inherit_dir_group.patch: New patch,
 +    enabling SysV style behaviour (i.e. adopt the user's gid, not the
 +    one from the parent directory) for group permissions of newly
 +    created files by default.
 +  * debian/rules (install/hurd::): Install motd.UTF8 into /etc.
 +  * debian/patches/install-msgids.diff: New patch, install RPC message
 +    IDs in $(datadir)/msgids, by Alfred M. Szmidt.
 +  * debian/hurd.postinst: Create symlinks for /dev/kbd and /dev/mouse to
 +    /dev/cons/{kbd,mouse} if not present already. (Closes: #355002)
 +  * debian/patches/no_shm_makedev.diff: New patch, skip /dev/shm device 
 +    when generating the standard devices.
 +  * debian/hurd.postinst: Create /dev/shm directory if not present
 +    already.
 +  * debian/patches/ext2fs_large_stores.patch: Include <hurd/pager.h>
 +    rather than "../libpager/pager.h" and add pager to libdiskfs'
 +    HURDLIBS.
 +  * local/soundcard.h: New file by Samuel Thibault.
 +  * debian/rules (install/hurd-dev::) New rule, install soundcard.h
 +    in debian/tmp/include/sys.
 +
 + -- Michael Banck <mbanck@debian.org>  Tue, 25 Apr 2006 19:30:33 +0200
 +
 +hurd (20050513-6) unstable; urgency=low
 +
 +  * debian/patches/console_ioperms.patch: New patch by Samuel Thibault.
 +  * debian/control (hurd): Add versioned Depends on gnumach 1:20050801-3.
 +  * debian/patches/beta_make.patch: New patch, support newer make.
 +
 + -- Michael Banck <mbanck@debian.org>  Thu, 12 Jan 2006 02:42:36 +0100
 +
 +hurd (20050513-5) unstable; urgency=low
 +
 +  * debian/patches/thread-throttle.patch: New patch by Sergio Lopez.
 +  * debian/patches/gcc-4.0_fixes.patch: New patch by Thomas Schwinge.
 +  * debian/patches/libstore_attribute.patch: New patch by Roland
 +    McGrath, taken from CVS.
 +  * debian/rules (CC): Removed.
 +  * debian/control (Build-Depends): Removed gcc-3.3.
 +  * debian/patches/libpthread_weak_inline.patch: New patch by Neal
 +    Walfield.
 +
 + -- Michael Banck <mbanck@debian.org>  Sun, 11 Dec 2005 13:31:11 +0100
 +
 +hurd (20050513-4) unstable; urgency=low
 +
 +  * debian/rules (DEB_CONFIGURE_USER_FLAGS): Build iso9660fs.static
 +    as well.
 +  * debian/hurd-udeb.install: Added iso9660fs.static.
 +  * debian/patches/hurd_console_startup.patch: New patch, adding
 +    support for starting the Hurd console on bootup.
 +  * debian/hurd.dirs: Added `etc/default'.
 +  * debian/hurd-console.default: New file.
 +  * debian/rules (install/hurd::) Install it into debian/hurd/etc/default.
 +  * debian/hurd.postinst: Removed creation of user `login'.
 +  * debian/NEWS: Mention the possibility of starting the Hurd console
 +    on bootup.
 +  * debian/patches/magic_port_leak.patch: New patch by Marcus
 +    Brinkmann, taken from CVS.
 +  * debian/patches/ftpfs_fix.patch: New patch by Samuel Thibault.
 +  * debian/patches/sysvshm.patch: New patch by Marcus Brinkmann.
 +  * debian/patches/libpager_update_seqno.patch: New patch by Sergio Lopez.
 +  * debian/patches/semaphore_restrict_fix.patch: New patch by Samuel
 +    Thibault. (Closes: #320121)
 +  * debian/control (Build-Depends): Added gcc-3.3.
 +  * debian/rules (CC): New variable, set to gcc-3.3.
 +
 + -- Michael Banck <mbanck@debian.org>  Sun, 28 Aug 2005 14:45:55 +0200
 +
 +hurd (20050513-3) unstable; urgency=low
 +
 +  * debian/control (hurd-doc): Fix description to indicate the manual
 +    is included in HTML and not PostScript format. (Closes: #309748)
 +  * debian/control (hurd-dev): Provide/Replace/Conflict libsem-dev.
 +  * debian/control (Build-Depends): Version dependency on debhelper to
 +    >= 4.2.
 +  * debian/control (hurd-udeb): New package.
 +  * debian/hurd-udeb.install: New file.
 +  * debian/patches/libpthread_need_clockid_t.patch: Updated from CVS.
 +
 + -- Michael Banck <mbanck@debian.org>  Thu,  9 Jun 2005 01:40:31 +0200
 +
 +hurd (20050513-2) unstable; urgency=low
 +
 +  * debian/patches/libpthread_need_clockid_t.patch: New patch by Neal
 +    Walfield.
 +  * debian/patches/pflocal.patch: New patch by Neal Walfield.
 +
 + -- Michael Banck <mbanck@debian.org>  Tue, 17 May 2005 18:37:08 +0200
 +
 +hurd (20050513-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +    + Contains a POSIX semaphore implementation by Neal Walfield.
 +    + Contains more libpthread fixes for test suites by Neal Walfield.
 +  * debian/hurd.postinst: Handle /bin/fakeroot-hurd by alternatives.
 +
 + -- Michael Banck <mbanck@debian.org>  Sun, 15 May 2005 13:00:12 +0200
 +
 +hurd (20050507-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +    + Contains libpthread fixes for various test suites by Neal
 +      Walfield.
 +  * debian/changelog (20050119-3): Added overlooked Closes: tag.
 +  * debian/control (hurd-dbg/Priority:) Set to extra as requested by
 +    the ftp-masters.
 +  * debian/patches/isofs_boot.patch: Removed, applied upstream.
 +  * debian/patches/libpthread_linker_script.patch: Likewise.
 +
 + -- Michael Banck <mbanck@debian.org>  Sat,  7 May 2005 15:28:51 +0200
 +
 +hurd (20050119-3) unstable; urgency=low
 +
 +  * debian/control (hurd-dbg): New package.
 +  * debian/rules (DEB_DH_STRIP_ARGS): Add support for hurd-dbg.
 +  * debian/hurd-dbg.dirs: New file.
 +  * debian/control (hurd-doc): New package. (Closes: #264858)
 +    (Build-Depends-Indep): Added texi2html.
 +  * debian/rules (build/hurd::): Generate html version of the manual.
 +  * debian/hurd-doc.info: New file.
 +  * debian/hurd-doc.docs: New file.
 +
 + -- Michael Banck <mbanck@debian.org>  Fri, 15 Apr 2005 23:03:34 +0200
 +
 +hurd (20050119-2) unstable; urgency=low
 +
 +  [ Michael Banck ]
 +  * debian/hurd-dev.install: Install development libraries into /lib,
 +    not /usr/lib.
 +  * debian/hurd.install: Install Hurd console drivers into 
 +    /usr/lib/hurd/console, not /lib/hurd/console.
 +  * debian/copyright: Clarify that the FSF is the copyright holder.
 +  * debian/copyright: Update download location to Savannah's GNU Hurd
 +    project page.
 +
 + -- Michael Banck <mbanck@debian.org>  Mon,  4 Apr 2005 12:08:40 +0200
 +
 +hurd (20050119-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +    + Contains libpthread header fixes by Neal Walfield and
 +      Pietro Ferrari. (Closes: #184344)
 +    + Contains console repeaters by Marco Gerards.
 +    + Contains mount argp fixes. (Closes: #151407)
 +
 +  [ Michael Banck]
 +  * debian/patches/exec.patch: Removed, no longer needed.
 +  * debian/patches/mouse.patch: Likewise.
 +  * debian/patches/console_repeater.patch: Removed, applied upstream.
 +  * debian/patches/libcons_repeater.patch: Likewise.
 +  * debian/patches/netfs_io_select.patch: Likewise.
 +  * debian/patches/netfs_nonblock.patch: Likewise.
 +  * debian/patches-contrib/kbd.patch: Removed, no longer needed.
 +  * debian/patches/libpthread_linker_script.patch: New patch.  Install
 +    libpthread.a linker script correctly. (Closes: #291307)
 +  * debian/rules (install/hurd::): Rename /bin/fakeroot to
 +    /bin/fakeroot-hurd.
 +  * debian/control (hurd): Removed fakeroot from Provides:, Replaces:
 +    and Conflicts:. (Closes: #293511)
 +  * debian/hurd.install: Install debian/tmp/bin/fakeroot-hurd instead
 +    of debian/tmp/bin/fakeroot.
 +  * NEWS: New file.  Explain the console-client command line interface
 +    changes.
 +  * debian/patches/siocgifhwaddr.patch: New patch by Marco Gerards.
 +  * debian/patches/isofs_boot.patch: New patch by Alfred M. Szmidt.
 +
 + -- Michael Banck <mbanck@debian.org>  Wed, 23 Feb 2005 20:52:07 +0100
 +
 +hurd (20040508-6) unstable; urgency=low
 +
 +  [ Michael Banck ]
 +  * debian/patches/pfinet_dhcp.patch: New patch by Marco Gerards. 
 +
 + -- Michael Banck <mbanck@debian.org>  Sat, 15 Jan 2005 21:04:33 +0100
 +
 +hurd (20040508-5) unstable; urgency=low
 +
 +  [ Michael Banck ]
 +  * debian/patches-contrib/ext2fs_20040930.diff: Moved to ...
 +  * debian/patches/ext2fs_large_stores.diff: ... here, updated from
 +    Ognyan Kulev's 20041111 version.  Set DISK_CACHE_BLOCKS to
 +    65536 in ext2fs.h.
 +
 + -- Michael Banck <mbanck@debian.org>  Sun, 12 Dec 2004 17:54:32 +0100
 +
 +hurd (20040508-4) unstable; urgency=low
 +
 +  [ Michael Banck ]
 +  * debian/changelog: Added back 20040301-1 entry which got lost.
 +  * debian/hurd.install: Do not install /sbin/fsck. (Closes: #272655)
 +  * debian/patches/rc.patch: Updated to use e2fsprog's /sbin/fsck
 +    command-line options.  Make sure the root file system is read-only
 +    during the fsck run, and update it to be writable again if fsck
 +    succeeds. (Closes: #273508)
 +  * debian/patches-contrib/ext2fs_20040930.diff: New file.  Just put it
 +    in debian/patches and recompile the package to get (experimental)
 +    support for ext2 files systems larger than 2GB.
 +  * debian/control (Maintainer): Changed Maintainer address.
 +
 +  [ Guillem Jover ]
 +  * debian/hurd.postinst:
 +    - Move /bin/login suid root chmod to debian/rules.
 +    - Set suid bit to other binaries (/bin/ps, /bin/ids, /bin/w).
 +      (Closes: #273507)
 +      Thanks Ognyan Kulev <ogi@fmi.uni-sofia.bg>.
 +
 + -- Michael Banck <mbanck@debian.org>  Thu,  7 Oct 2004 20:11:38 +0200
 +
 +hurd (20040508-3) unstable; urgency=low
 +
 +  * debian/local/rc: Removed.
 +  * debian/patches/rc.patch: New file. (Closes: #254147)
 +  * debian/hurd.install: Install tmp/libexec/rc.
 +  * debian/patches/console_switch3.patch: Removed.
 +  * debian/patches/console_repeater.patch: New patch by Marco Gerards.
 +  * debian/patches/libcons_repeater.patch: New patch by Marco Gerards.
 +  * debian/patches/netfs_io_select.patch: New patch by Marco Gerards.
 +  * debian/patches/netfs_nonblock.patch: New patch by Marco Gerards.
 +  * Rebuilt against glibc_2.3.2.ds1-16.
 +  * debian/hurd.postinst: Make sure /bin/login is suid. (Closes: #251863)
 +  * debian/control (Uploaders): Added myself.
 +  * debian/hurd.postinst: Only create the tty devices if they do not
 +    exist already. (Closes: #268347) 
 +
 + -- Michael Banck <mbanck@debian.org>  Thu,  9 Sep 2004 22:32:07 +0200
 +
 +hurd (20040508-2) unstable; urgency=low
 +
 +  * Fix typo in postinst.  (Closes: #253662)
 +    Thanks to Michael Banck.
 +  * Support /usr tree in startup scripts (Closes: #229572)
 +    Thanks to Guillem Jover
 +
 + -- Jeff Bailey <jbailey@raspberryginger.com>  Fri, 11 Jun 2004 11:17:26 -0400
 +
 +hurd (20040508-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * Switch packaging to cdbs
 +  * Do not provide /boot/serverboot or /boot/servers.boot
 +  * Update policy to 3.6.1.0
 +  * Do not provide update-rc.d, use the one from sysvinit instead
 +    (Closes: #246813) - Thanks to Robert Millan
 +  * Do not provide /sbin/fsck, use the one from e2fsprogs instead
 +    Thanks to Robert Millan
 +
 + -- Jeff Bailey <jbailey@raspberryginger.com>  Sat,  8 May 2004 16:55:18 -0400
 +
 +hurd (20040301-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +    kbd, mouse as usual.  exec/exec.c PT_GNU_STACK work-around.
 +    Provide example entries for new console in config/ttys.
 +  * debian/rules: Do not call autoconf.
 +  * debian/control: Remove build dependency autoconf.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Mon,  1 Mar 2004 01:36:23 +0200
 +
 +hurd (20021118-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +    kbd, mouse as usual, with bug fixes from David Walter.
 +    Change terminal type to mach-color.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Tue, 18 Nov 2002 21:32:22 +0200
 +
 +hurd (20021011-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +    kbd, mouse as usual.
 +    Build libpthread.
 +    debian/control: Add libncursesw5-dev as build-dependency.
 +    debian/shlibs: Add libpthread
 +    debian/control: Add myself as an uploader.
 +
 + -- Neal H. Walfield <neal@debian.org>  Fri, 11 Oct 2002 21:42:21 -0400
 +
 +hurd (20020918-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +    kbd, mouse as usual.
 +    Change terminal type to mach-color.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Tue, 18 Sep 2002 23:13:06 +0200
 +
 +hurd (20020804-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +    kbd, mouse as usual.
 +    Change terminal type to mach-color.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun,  4 Aug 2002 20:46:28 +0200
 +
 +hurd (20020523-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +    kbd, mouse as usual.
 +    Change terminal type to mach-color.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Thu, 23 May 2002 15:29:40 +0200
 +
 +hurd (20020418-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +    kbd, mouse as usual.
 +    Change terminal type to mach-color.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Thu, 18 Apr 2002 15:22:39 +0200
 +
 +hurd (20011105-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * Additional patches:
 +    kbd, mouse as usual (well, the intention was there :).
 +    Change terminal type to mach-color.
 +    Compiled with -O2 rather than -O3.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Mon,  5 Nov 2001 00:00:26 +0100
 +
 +hurd (20011016-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * Additional patches:
 +    kbd, mouse as usual.
 +    Change terminal type to mach-color.
 +    Compiled with -O2 rather than -O3.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Tue, 16 Oct 2001 19:43:21 +0200
 +
 +hurd (20011013-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * Additional patches:
 +    kbd, mouse as usual.
 +    Change terminal type to mach-color.
 +    Compiled with -O2 rather than -O3.
 +  * debian/rules: Change way how to find executables by Kevin Kreamer.
 +  * debian/control: Add `file' to build dependencies by Kevin Kreamer.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sat, 13 Oct 2001 01:05:30 +0200
 +
 +hurd (20010817-2) unstable; urgency=low
 +
 +  * Include a copy of update-rc.d, moved from dpkg to init providing
 +    package.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun,  2 Sep 2001 19:40:00 +0200
 +
 +hurd (20010817-1) unstable; urgency=low
 +
 +  * New snapshot from CVS, closes: #105476, #39894.
 +  * Additional patches:
 +    kbd, mouse as usual.
 +    Change terminal type to mach-color.
 +    Compiled with -O2 rather than -O3.
 +  
 + -- Marcus Brinkmann <brinkmd@debian.org>  Fri, 17 Aug 2001 22:16:01 +0200
 +
 +hurd (20010718-1) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * Additional patches:
 +    kbd, mouse as usual.
 +    Change terminal type to mach-color.
 +    Compiled with -O2 rather than -O3.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Thu, 18 Jul 2001 21:43:52 +0200
 +
 +hurd (20010608) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * Additional patches:
 +    kbd, mouse as usual.
 +    Change terminal type to mach-color.
 +    Compiled with -O2 rather than -O3.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Fri,  8 Jun 2001 23:02:47 +0200
 +
 +hurd (20010527) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * Additional patches:
 +    kbd, mouse as usual.
 +    Change terminal type to mach-color.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sat, 27 May 2001 01:34:21 +0200
 +
 +hurd (20010426) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * Additional patches:
 +    kbd, mouse as usual.
 +    Change terminal type to mach-color.
 +    storeio hack to prevent double activation.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Fri, 27 Apr 2001 00:09:56 +0200
 +
 +hurd (20010311) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * Additional patches:
 +    kbd, mouse as usual.
 +    Change terminal type to mach-color.
 +  
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun, 11 Mar 2001 22:45:21 +0100
 +
 +hurd (20010111) unstable; urgency=low
 +
 +  * New snapshot from CVS, containing lots of small bug fixes, and:
 +    + Together with gnumach 1.2-9, you can access large stores with
 +    storeinfo, storeread (because libstore uses the new interface in
 +    gnumach, and off64_t internally).
 +    + pfinet contains support for network ioctls. The corresponding
 +    changes in the glibc library are not available in Debian yet, though.
 +  * streamdev is renamed to streamio.
 +  
 + -- Marcus Brinkmann <brinkmd@debian.org>  Fri, 12 Jan 2001 00:06:41 +0100
 +
 +hurd (20001204) unstable; urgency=low
 +
 +  * New snapshot from CVS, with a couple of bug fixes:
 +    pfinet: Don't leak references.
 +    ext2fs, ufs: Avoid a dn_set_?time vs sync thread race.
 +    Corretly deny too long filenames.
 +    nfsd: Fix a couple of memory leaks.
 +
 +  * Additional patchs:
 +    libdiskfs: Don't crash when symlink target is the empty string.
 +    streamdev, kbd, mouse: New translators for X and klog device.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Mon,  4 Dec 2000 15:18:39 +0100
 +
 +hurd (20001127) unstable; urgency=low
 +
 +  * New snapshot from CVS, really fixes isofs now.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Mon, 27 Nov 2000 21:07:03 +0100
 +
 +hurd (20001126) unstable; urgency=low
 +
 +  * New snapshot from CVS, closes: #68417, #69281, #68626
 +  * Fix in 20001030 closes: #72319
 +  * debian/control: Add build dependencies, closes: #75734
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun, 26 Nov 2000 05:53:19 +0100
 +
 +hurd (20001030) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * Still contains all the goodies, streadev, kbd, mouse. Now opening
 +  kbd, mouse more than once doesn't crash them (thanks Erik Verbruggen
 +  <ejv@cs.kun.nl>)
 +  * sutils/MAKEDEV.sh: kmsg is really klog.
 +  
 + -- Marcus Brinkmann <brinkmd@debian.org>  Tue, 30 Oct 2000 18:02:29 +0200
 +
 +hurd (20000921) unstable; urgency=low
 +
 +  * New snapshot from CVS
 +  * Add streamdev by OKUJI Yoshinori
 +  (source: ftp://alpha.gnu.org/contrib/okuji/hurd/streamdev-19990920.tar.gz)
 +  * Add kbd and mouse by UCHIYAMA Yasushi <uch@nop.or.jp>.
 +  * sutils/MAKEDEV.sh: Add kbd and kmsg. No sense to add mouse, as you need
 +  to configure it (see /hurd/mouse --help).
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sat, 23 Sep 2000 04:27:58 +0200
 +
 +hurd (20000803) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * isofs: Patch to fix symlink handling.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Thu,  3 Aug 2000 21:09:44 +0200
 +
 +hurd (20000726) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * Fixes the infamous zero hole bug (actually both of them).
 +  
 + -- Marcus Brinkmann <brinkmd@debian.org>  Wed, 26 Jul 2000 02:24:06 +0200
 +
 +hurd (20000703) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * exec/hashexec.c (check_hashbang: Fix off by one error in line 178.
 +  Patch by Kalle Olavi Niemital.
 +  
 + -- Marcus Brinkmann <bug-hurd@gnu.org>  Mon,  3 Jul 2000 00:44:47 +0200
 +
 +hurd (20000130) unstable; urgency=low
 +
 +  * New snapshot from CVS. Closes: Bug#54282, Bug#40302, Bug#56076.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun, 30 Jan 2000 14:55:39 +0100
 +
 +hurd (19991209) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Thu,  9 Dec 1999 23:43:23 +0100
 +
 +hurd (19991022) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * libdiskfs/init-startup.c: Disable periodic syncing before shutting down.
 +    This fixes the fs-unclean-on-reboot bug!
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Fri, 22 Oct 1999 21:32:02 +0200
 +
 +hurd (19991004) unstable; urgency=high
 +
 +  * New snapshot from CVS.
 +    term: Realize bogus devices.
 +    ext2fs: Important bug fixes!
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun,  3 Oct 1999 18:01:17 +0200
 +
 +hurd (19990923) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +    MAKEDEV: pty created with mode 0666.
 +    Implements pathconf for libdiskfs and libnetfs.
 +    Various bug fixes.
 +  * Development package now includes pic libraries.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun, 19 Sep 1999 19:29:00 +0200
 +
 +hurd (19990907) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * gzip /boot/serverboot to /boot/serverboot.gz
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Mon, 23 Aug 1999 15:12:10 +0200
 +
 +hurd (19990725) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Thu, 25 Jul 1999 16:16:03 +0200
 +
 +hurd (19990714) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * debian/rules: etc/motd is in base-files, do not include it.
 +  * Activate split-init.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Wed, 14 Jul 1999 16:38:00 +0200
 +
 +hurd (19990616) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * Now contains info and ps documentation.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Thu, 17 Jun 1999 17:35:54 +0200
 +
 +hurd (19990524) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Mon, 24 May 1999 15:09:45 +0200
 +
 +hurd (19990523) unstable; urgency=low
 +
 +  * New snapshot from CVS, fixes: #38062, #37670, #37878, #37944.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Mon, 24 May 1999 01:08:26 +0200
 +
 +hurd (19990517fixed) unstable; urgency=low
 +
 +  * debian/shlibs: corrected.
 +  * exec/hashexec.c: Applied patch by Roland to make it work.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun, 17 May 1999 00:25:11 +0200
 +
 +hurd (19990517) unstable; urgency=low
 +
 +  * New snapshot from CVS.
 +  * Add shlibs file.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun, 16 May 1999 15:28:09 +0200
 +
 +hurd (19990425-1) unstable; urgency=low
 +
 +  * Put shared library symlinks into the hurd-dev package.
 +  * Clarify instructions in provided servers.boot.
 +  * libfshelp/fetch-root.c: De-patched a change by tb which produced
 +    strange errors.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Thu, 29 Apr 1999 22:47:51 +0200
 +
 +hurd (19990212-2) unstable; urgency=low
 +
 +  * debian/control: Added Depends line for Hurd.
 +  * Update docs to reflect new group maintainership.
 +  * debian/copyright: Hurd libraries are *not* under the LGPL, so add a
 +    clarifying note.
 +  * Put static libraries and header files into /usr/lib and /usr/include
 +    for people without the /usr symlink.
 +
 + -- Gordon Matzigkeit <bug-hurd@gnu.org>  Wed, 17 Feb 1999 15:40:44 -0600
 +
 +hurd (19990212-1) unstable; urgency=low
 +
 +  * New upstream version from CVS.
 +  * Deleted old libthreads... there's no going back now.
 +
 + -- Gordon Matzigkeit <gord@debian.org>  Fri, 12 Feb 1999 03:25:55 -0600
 +
 +hurd (19981204-1) unstable; urgency=low
 +
 +  * New upstream release, supposed to work with glibc 2.0.106.
 +  * Commented out use of old libthreads.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun, 20 Dec 1998 04:24:40 +0100
 +
 +hurd (19980915-2) unstable; urgency=low
 +
 +  * exec/hashexec.c: Applied patch by Thomas Bushnell to fix make.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Fri,  6 Nov 1998 23:10:11 +0100
 +
 +hurd (19980915-1) unstable; urgency=low
 +
 +  * New upstream release.
 +  * debian/rules: Strip all binaries.
 +  * debian/TODO: New file.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Thu,  8 Oct 1998 03:34:40 +0200
 +
 +hurd (19980716-2) unstable; urgency=low
 +
 +  * Reverted libthreads to provide threadsafe malloc, as we use older
 +    version of glibc2 for now.
 +  * Do not remove size 0 files in 'rules clean', because hurd depends on
 +    them.
 +  * Do not build profiling libraries.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Tue,  4 Aug 1998 21:58:55 +0200
 +
 +hurd (19980716-1) unstable; urgency=low
 +
 +  * Initial Version.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Tue,  4 Aug 1998 21:58:55 +0200
diff --cc debian/patches/exec_filename_fs.patch
index 2a33951,0000000..ed22dde
mode 100644,000000..100644
--- a/debian/patches/exec_filename_fs.patch
+++ b/debian/patches/exec_filename_fs.patch
@@@ -1,1051 -1,0 +1,1051 @@@
 +From ba528e4a9db131112aa09edfdbb3449b55618578 Mon Sep 17 00:00:00 2001
 +From: Emilio Pozuelo Monfort <pochu27@gmail.com>
 +Date: Wed, 26 May 2010 01:27:40 +0200
 +Subject: [PATCH 2/3] Add a file_exec_file_name RPC
 +
 +* hurd/fs.defs (file_exec): Deprecate in favor of...
 +(file_exec_file_name): ...this new RPC.
 +Change all implementations and forward old implementations to
 +the new version.  Change all callers but fallback to old version.
 +Change comments and documentation.
 +---
 + TODO                              |    2 +-
 + doc/hurd.texi                     |   16 ++++----
 + exec/hashexec.c                   |   32 ++++++++++----
 + hurd/fs.defs                      |   28 +++++++++++--
 + hurd/hurd_types.h                 |    9 ++--
 + startup/startup.c                       |   81 ++++++++++++++++++++++++++----------
 + libdiskfs/boot-start.c            |    2 +-
 + libdiskfs/file-exec.c             |   75 ++++++++++++++++++++++++++++------
 + libfshelp/start-translator-long.c |   21 +++++++---
 + libnetfs/file-exec.c              |   67 ++++++++++++++++++++++++++----
 + libtrivfs/file-exec.c             |   27 ++++++++++++-
 + trans/fakeroot.c                  |   59 ++++++++++++++++++++++++---
 + utils/login.c                     |   23 +++++++---
 + 13 files changed, 350 insertions(+), 92 deletions(-)
 +
 +Index: hurd-debian/TODO
 +===================================================================
 +--- hurd-debian.orig/TODO
 ++++ hurd-debian/TODO
 +@@ -133,7 +133,7 @@ See `tasks', the exported task list.
 + 
 + ** libtrivfs
 + *** Allow for read/write/exec to be passed down.
 +-*** Implement file_exec when appropriate. !!
 ++*** Implement file_exec_file_name when appropriate. !!
 + *** Provide for the visible owner, etc., to be held in command-line args
 +     instead of the underlying node, when it's important. !!
 + 
 +Index: hurd-debian/doc/hurd.texi
 +===================================================================
 +--- hurd-debian.orig/doc/hurd.texi
 ++++ hurd-debian/doc/hurd.texi
 +@@ -2737,10 +2737,10 @@ write the file.
 + @node Program Execution
 + @subsection Program Execution
 + 
 +-@findex file_exec
 ++@findex file_exec_file_name
 + Execution of programs on the Hurd is done through fileservers with the
 +-@code{file_exec} RPC.  The fileserver is expected to verify that the
 +-user is allowed to execute the file, make whatever modifications to the
 ++@code{file_exec_file_name} RPC.  The fileserver is expected to verify that
 ++the user is allowed to execute the file, make whatever modifications to the
 + ports are necessary for setuid execution, and then invoke the standard
 + execserver found on @file{/servers/exec}.
 + 
 +@@ -2752,13 +2752,13 @@ The file must be opened for execution; i
 + be returned.  In addition, at least one of the execute bits must be on.  A
 + failure of this check should result in @code{EACCES}---not
 + @code{ENOEXEC}.  It is not proper for the fileserver ever to respond to
 +-the @code{file_exec} RPC with @code{ENOEXEC}.
 ++the @code{file_exec_file_name} RPC with @code{ENOEXEC}.
 + 
 + If either the setuid or setgid bits are set, the server needs to
 + construct a new authentication handle with the additional new ID's.
 +-Then all the ports passed to @code{file_exec} need to be reauthenticated
 +-with the new handle.  If the fileserver is unable to make the new
 +-authentication handle (for example, because it is not running as root)
 ++Then all the ports passed to @code{file_exec_file_name} need to be
 ++reauthenticated with the new handle.  If the fileserver is unable to make the
 ++new authentication handle (for example, because it is not running as root)
 + it is not acceptable to return an error; in such a case the server
 + should simply silently fail to implement the setuid/setgid semantics.
 + 
 +@@ -2773,7 +2773,7 @@ will not share any file pointers with th
 + opened with @code{O_READ}.  Finally, all the information (mutated
 + appropriately for setuid/setgid) should be sent to the execserver with
 + @code{exec_exec_file_name}.  Whatever error code @code{exec_exec_file_name}
 +-returns should be returned to the caller of @code{file_exec}.
 ++returns should be returned to the caller of @code{file_exec_file_name}.
 + 
 + @node File Locking
 + @subsection File Locking
 +Index: hurd-debian/exec/hashexec.c
 +===================================================================
 +--- hurd-debian.orig/exec/hashexec.c
 ++++ hurd-debian/exec/hashexec.c
 +@@ -24,6 +24,9 @@ the Free Software Foundation, 675 Mass A
 + #include <unistd.h>
 + #include <envz.h>
 + #include <sys/param.h>
 ++#ifdef HAVE_FILE_EXEC_FILE_NAME
 ++#include <hurd/fs_experimental.h>
 ++#endif
 + 
 + /* This is called to check E for a #! interpreter specification.  E has
 +    already been prepared (successfully) and checked (unsuccessfully).  If
 +@@ -421,16 +424,32 @@ check_hashbang (struct execdata *e,
 +     /* We cannot open the interpreter file to execute it.  Lose!  */
 +     return;
 + 
 ++#ifdef HAVE_FILE_EXEC_FILE_NAME
 +   /* Execute the interpreter program.  */
 +-  e->error = file_exec (interp_file,
 +-			oldtask, flags,
 +-			new_argv, new_argvlen, envp, envplen,
 +-			new_dtable ?: dtable, MACH_MSG_TYPE_COPY_SEND,
 +-			new_dtable ? new_dtablesize : dtablesize,
 +-			portarray, MACH_MSG_TYPE_COPY_SEND, nports,
 +-			intarray, nints,
 +-			deallocnames, ndeallocnames,
 +-			destroynames, ndestroynames);
 ++  e->error = file_exec_file_name (interp_file,
 ++				  oldtask, flags, interp,
 ++				  new_argv, new_argvlen, envp, envplen,
 ++				  new_dtable ?: dtable,
 ++				  MACH_MSG_TYPE_COPY_SEND,
 ++				  new_dtable ? new_dtablesize : dtablesize,
 ++				  portarray, MACH_MSG_TYPE_COPY_SEND, nports,
 ++				  intarray, nints,
 ++				  deallocnames, ndeallocnames,
 ++				  destroynames, ndestroynames);
 ++  /* For backwards compatibility.  Just drop it when we kill file_exec.  */
 ++  if (e->error == MIG_BAD_ID)
 ++#endif
 ++    e->error = file_exec (interp_file,
 ++			  oldtask, flags,
 ++			  new_argv, new_argvlen, envp, envplen,
 ++			  new_dtable ?: dtable, MACH_MSG_TYPE_COPY_SEND,
 ++			  new_dtable ? new_dtablesize : dtablesize,
 ++			  portarray, MACH_MSG_TYPE_COPY_SEND, nports,
 ++			  intarray, nints,
 ++			  deallocnames, ndeallocnames,
 ++			  destroynames, ndestroynames);
 ++
 ++
 +   mach_port_deallocate (mach_task_self (), interp_file);
 +   munmap (new_argv, new_argvlen);
 + 
 +Index: hurd-debian/hurd/fs.defs
 +===================================================================
 +--- hurd-debian.orig/hurd/fs.defs
 ++++ hurd-debian/hurd/fs.defs
 +@@ -1,5 +1,6 @@
 + /* Definitions for the filesystem interface.
 +-   Copyright (C) 1994,95,96,97,98,99,2002 Free Software Foundation, Inc.
 ++   Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2002, 2010
 ++   Free Software Foundation, Inc.
 + 
 + This file is part of the GNU Hurd.
 + 
 +@@ -35,7 +36,8 @@ INTR_INTERFACE
 + /* Overlay a task with a file.  Necessary initialization, including
 +    authentication changes associated with set[ug]id execution must be
 +    handled by the filesystem.  Filesystems normally implement this by
 +-   using exec_newtask or exec_loadtask as appropriate.  */
 ++   using exec_newtask or exec_loadtask as appropriate.
 ++   Deprecated: use file_exec_file_name instead.  */
 + routine file_exec (
 + 	exec_file: file_t;
 + 	RPT
 +@@ -129,8 +131,8 @@ routine file_lock_stat (
 +    (regardless of the current open modes for this port).  ALLOWED is a
 +    bitwise OR of O_READ, O_WRITE, and O_EXEC.  This is not necessarily the
 +    same as what an open or exec would allow; O_EXEC is set for root even if
 +-   no executable bits are on (in which case file_exec should fail) and
 +-   O_WRITE is set a directory can be modified, even though it can't be
 ++   no executable bits are on (in which case file_exec_file_name should fail)
 ++   and O_WRITE is set a directory can be modified, even though it can't be
 +    written directly.  */
 + routine file_check_access (
 + 	file: file_t;
 +Index: hurd-debian/hurd/hurd_types.h
 +===================================================================
 +--- hurd-debian.orig/hurd/hurd_types.h
 ++++ hurd-debian/hurd/hurd_types.h
 +@@ -1,5 +1,6 @@
 + /* C declarations for Hurd server interfaces
 +-   Copyright (C) 1993,94,95,96,98,99,2001,02 Free Software Foundation, Inc.
 ++   Copyright (C) 1993, 1994, 1995, 1996, 1998, 1999, 2001, 2002,
 ++   2010 Free Software Foundation, Inc.
 + 
 + This file is part of the GNU Hurd.
 + 
 +@@ -81,7 +82,7 @@ typedef struct timespec timespec_t;
 + /* Many such parameters and flags are also defined in various libc
 +    headers. */
 + 
 +-/* Bits for flags in fs.defs:file_exec and exec.defs:exec_* calls: */
 ++/* Bits for flags in fs.defs:file_exec_file_name and exec.defs:exec_* calls: */
 + #define EXEC_NEWTASK	0x00000001 /* Create new task; kill old one.  */
 + #define EXEC_SECURE	0x00000002 /* Use secure values of portarray, etc. */
 + #define EXEC_DEFAULTS	0x00000004 /* Use defaults for unspecified ports.  */
 +@@ -347,7 +348,7 @@ typedef int *procinfo_t;
 + #define FSTYPE_MEMFS   0x00000019 /* In-core filesystem */
 + #define FSTYPE_ISO9660 0x0000001a /* ISO9660 */
 + 
 +-/* Standard port assignments for file_exec and exec_* */
 ++/* Standard port assignments for file_exec_file_name and exec_* */
 + enum
 +   {
 +     INIT_PORT_CWDIR,
 +@@ -361,7 +362,7 @@ enum
 +     INIT_PORT_MAX
 +   };
 + 
 +-/* Standard ints for file_exec and exec_* */
 ++/* Standard ints for file_exec_file_name and exec_* */
 + enum
 +   {
 +     INIT_UMASK,
 +Index: hurd-debian/startup/startup.c
 +===================================================================
 +--- hurd-debian.orig/startup/startup.c
 ++++ hurd-debian/startup/startup.c
 +@@ -1,7 +1,7 @@
 + /* Start and maintain hurd core servers and system run state
 + 
 +    Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 +-     2005, 2008, 2013 Free Software Foundation, Inc.
 ++     2005, 2008, 2010, 2013 Free Software Foundation, Inc.
 +    This file is part of the GNU Hurd.
 + 
 +    The GNU Hurd is free software; you can redistribute it and/or modify
 +@@ -24,6 +24,9 @@
 +    one file. */
 + #include <hurd.h>
 + #include <hurd/fs.h>
 ++#ifdef HAVE_FILE_EXEC_FILE_NAME
 ++#include <hurd/fs_experimental.h>
 ++#endif
 + #include <hurd/fsys.h>
 + #include <device/device.h>
 + #include <stdio.h>
 +@@ -376,13 +379,28 @@ run (const char *server, mach_port_t *po
 + 	      fprintf (stderr, "Pausing for %s\n", prog);
 + 	      getchar ();
 + 	    }
 +-	  err = file_exec (file, *task, 0,
- -			   (char *)prog, strlen (prog) + 1, /* Args.  */
++-			   argz, argz_len, /* Args.  */
 +-			   startup_envz, startup_envz_len,
 +-			   default_dtable, MACH_MSG_TYPE_COPY_SEND, 3,
 +-			   ports, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,
 +-			   default_ints, INIT_INT_MAX,
 +-			   NULL, 0, NULL, 0);
 ++#ifdef HAVE_FILE_EXEC_FILE_NAME
 ++	  err = file_exec_file_name (file, *task, 0, (char *)prog,
- +				     (char *)prog,
- +				     strlen (prog) + 1, /* Args.  */
+++				     argz,
+++				     argz_len, /* Args.  */
 ++				     startup_envz, startup_envz_len,
 ++				     default_dtable,
 ++				     MACH_MSG_TYPE_COPY_SEND, 3,
 ++				     ports, MACH_MSG_TYPE_COPY_SEND,
 ++				     INIT_PORT_MAX,
 ++				     default_ints, INIT_INT_MAX,
 ++				     NULL, 0, NULL, 0);
 ++	  /* For backwards compatibility.  Just drop it when we kill
 ++	     file_exec.  */
 ++	  if (err == MIG_BAD_ID)
 ++#endif
 ++	    err = file_exec (file, *task, 0,
- +			     (char *)prog, strlen (prog) + 1, /* Args.  */
+++			     argz, argz_len, /* Args.  */
 ++			     startup_envz, startup_envz_len,
 ++			     default_dtable, MACH_MSG_TYPE_COPY_SEND, 3,
 ++			     ports, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,
 ++			     default_ints, INIT_INT_MAX,
 ++			     NULL, 0, NULL, 0);
 + 	  if (!err)
 + 	    break;
 + 
 +@@ -469,14 +487,27 @@ run_for_real (char *filename, char *args
 +     ++progname;
 +   else
 +     progname = filename;
 +-  err = file_exec (file, task, 0,
 +-		   args, arglen,
 +-		   startup_envz, startup_envz_len,
 +-		   default_dtable, MACH_MSG_TYPE_COPY_SEND, 3,
 +-		   default_ports, MACH_MSG_TYPE_COPY_SEND,
 +-		   INIT_PORT_MAX,
 +-		   default_ints, INIT_INT_MAX,
 +-		   NULL, 0, NULL, 0);
 ++#ifdef HAVE_FILE_EXEC_FILE_NAME
 ++  err = file_exec_file_name (file, task, 0, filename,
 ++			     args, arglen,
 ++			     startup_envz, startup_envz_len,
 ++			     default_dtable, MACH_MSG_TYPE_COPY_SEND, 3,
 ++			     default_ports, MACH_MSG_TYPE_COPY_SEND,
 ++			     INIT_PORT_MAX,
 ++			     default_ints, INIT_INT_MAX,
 ++			     NULL, 0, NULL, 0);
 ++  /* For backwards compatibility.  Just drop it when we kill file_exec.  */
 ++  if (err == MIG_BAD_ID)
 ++#endif
 ++    err = file_exec (file, task, 0,
 ++		     args, arglen,
 ++		     startup_envz, startup_envz_len,
 ++		     default_dtable, MACH_MSG_TYPE_COPY_SEND, 3,
 ++		     default_ports, MACH_MSG_TYPE_COPY_SEND,
 ++		     INIT_PORT_MAX,
 ++		     default_ints, INIT_INT_MAX,
 ++		     NULL, 0, NULL, 0);
 ++
 +   mach_port_deallocate (mach_task_self (), default_ports[INIT_PORT_PROC]);
 +   mach_port_deallocate (mach_task_self (), task);
 +   if (ctty != MACH_PORT_NULL)
 +@@ -1035,13 +1066,26 @@ start_child (const char *prog, char **pr
 +       getchar ();
 +     }
 + 
 +-  err = file_exec (file, child_task, 0,
 +-		   args, arglen,
 +-		   startup_envz, startup_envz_len,
 +-		   NULL, MACH_MSG_TYPE_COPY_SEND, 0, /* No fds.  */
 +-		   default_ports, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,
 +-		   default_ints, INIT_INT_MAX,
 +-		   NULL, 0, NULL, 0);
 ++#ifdef HAVE_FILE_EXEC_FILE_NAME
 ++  err = file_exec_file_name (file, child_task, 0, args,
 ++			     args, arglen,
 ++			     startup_envz, startup_envz_len,
 ++			     NULL, MACH_MSG_TYPE_COPY_SEND, 0, /* No fds.  */
 ++			     default_ports, MACH_MSG_TYPE_COPY_SEND,
 ++			     INIT_PORT_MAX,
 ++			     default_ints, INIT_INT_MAX,
 ++			     NULL, 0, NULL, 0);
 ++  /* For backwards compatibility.  Just drop it when we kill file_exec.  */
 ++  if (err == MIG_BAD_ID)
 ++#endif
 ++    err = file_exec (file, child_task, 0,
 ++		     args, arglen,
 ++		     startup_envz, startup_envz_len,
 ++		     NULL, MACH_MSG_TYPE_COPY_SEND, 0, /* No fds.  */
 ++		     default_ports, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,
 ++		     default_ints, INIT_INT_MAX,
 ++		     NULL, 0, NULL, 0);
 ++
 +   proc_mark_important (default_ports[INIT_PORT_PROC]);
 +   mach_port_deallocate (mach_task_self (), default_ports[INIT_PORT_PROC]);
 +   mach_port_deallocate (mach_task_self (), file);
 +Index: hurd-debian/libdiskfs/boot-start.c
 +===================================================================
 +--- hurd-debian.orig/libdiskfs/boot-start.c
 ++++ hurd-debian/libdiskfs/boot-start.c
 +@@ -209,7 +209,7 @@ diskfs_start_bootstrap ()
 +       diskfs_exec_ctl = MACH_PORT_NULL;	/* Not used after this.  */
 +     }
 + 
 +-  /* Cache the exec server port for file_exec to use.  */
 ++  /* Cache the exec server port for file_exec_file_name to use.  */
 +   _hurd_port_set (&_diskfs_exec_portcell, diskfs_exec);
 + 
 +   if (_diskfs_boot_command)
 +Index: hurd-debian/libdiskfs/file-exec.c
 +===================================================================
 +--- hurd-debian.orig/libdiskfs/file-exec.c
 ++++ hurd-debian/libdiskfs/file-exec.c
 +@@ -1,5 +1,6 @@
 +-/* File execution (file_exec RPC) for diskfs servers, using exec server.
 +-   Copyright (C) 1993,94,95,96,97,98,2000,02 Free Software Foundation, Inc.
 ++/* File execution (file_exec_file_name RPC) for diskfs servers, using exec server.
 ++   Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2002,
 ++   2010 Free Software Foundation, Inc.
 + 
 +    This file is part of the GNU Hurd.
 + 
 +@@ -21,10 +22,14 @@ the Free Software Foundation, 675 Mass A
 + 
 + #include "priv.h"
 + #include "fs_S.h"
 ++#include "fs_experimental_S.h"
 + #include <sys/stat.h>
 + #include <fcntl.h>
 + #include <hurd/exec.h>
 + #include <hurd/paths.h>
 ++#ifdef HAVE_EXEC_EXEC_FILE_NAME
 ++#include <hurd/exec_experimental.h>
 ++#endif
 + #include <string.h>
 + #include <idvec.h>
 + 
 +@@ -47,6 +52,39 @@ diskfs_S_file_exec (struct protid *cred,
 + 		    mach_port_t *destroynames,
 + 		    size_t destroynameslen)
 + {
 ++  return diskfs_S_file_exec_file_name (cred,
 ++				       task,
 ++				       flags,
 ++				       "",
 ++				       argv, argvlen,
 ++				       envp, envplen,
 ++				       fds, fdslen,
 ++				       portarray, portarraylen,
 ++				       intarray, intarraylen,
 ++				       deallocnames, deallocnameslen,
 ++				       destroynames, destroynameslen);
 ++}
 ++
 ++kern_return_t
 ++diskfs_S_file_exec_file_name (struct protid *cred,
 ++			      task_t task,
 ++			      int flags,
 ++			      char *filename,
 ++			      char *argv,
 ++			      size_t argvlen,
 ++			      char *envp,
 ++			      size_t envplen,
 ++			      mach_port_t *fds,
 ++			      size_t fdslen,
 ++			      mach_port_t *portarray,
 ++			      size_t portarraylen,
 ++			      int *intarray,
 ++			      size_t intarraylen,
 ++			      mach_port_t *deallocnames,
 ++			      size_t deallocnameslen,
 ++			      mach_port_t *destroynames,
 ++			      size_t destroynameslen)
 ++{
 +   struct node *np;
 +   uid_t uid;
 +   gid_t gid;
 +@@ -136,9 +174,9 @@ diskfs_S_file_exec (struct protid *cred,
 + 
 +   if (! err)
 +     /* Make a new peropen for the exec server to access the file, since any
 +-       seeking the exec server might want to do should not affect the
 +-       original peropen on which file_exec was called.  (The new protid for
 +-       this peropen clones the caller's iouser to preserve the caller's
 ++       seeking the exec server might want to do should not affect the original
 ++       peropen on which file_exec_file_name was called.  (The new protid
 ++       for this peropen clones the caller's iouser to preserve the caller's
 +        authentication credentials.)  The new peropen's openmodes must have
 +        O_READ even if the caller had only O_EXEC privilege, so the exec
 +        server can read the executable file.  We also include O_EXEC so that
 +@@ -159,14 +197,31 @@ diskfs_S_file_exec (struct protid *cred,
 +       do
 + 	{
 + 	  right = ports_get_send_right (newpi);
 +-	  err = exec_exec (execserver,
 +-			   right, MACH_MSG_TYPE_COPY_SEND,
 +-			   task, flags, argv, argvlen, envp, envplen,
 +-			   fds, MACH_MSG_TYPE_COPY_SEND, fdslen,
 +-			   portarray, MACH_MSG_TYPE_COPY_SEND, portarraylen,
 +-			   intarray, intarraylen,
 +-			   deallocnames, deallocnameslen,
 +-			   destroynames, destroynameslen);
 ++#ifdef HAVE_EXEC_EXEC_FILE_NAME
 ++	  err = exec_exec_file_name (execserver,
 ++				     right, MACH_MSG_TYPE_COPY_SEND,
 ++				     task, flags, filename,
 ++				     argv, argvlen, envp, envplen,
 ++				     fds, MACH_MSG_TYPE_COPY_SEND, fdslen,
 ++				     portarray, MACH_MSG_TYPE_COPY_SEND,
 ++				     portarraylen,
 ++				     intarray, intarraylen,
 ++				     deallocnames, deallocnameslen,
 ++				     destroynames, destroynameslen);
 ++	  /* For backwards compatibility.  Just drop it when we kill
 ++	     exec_exec.  */
 ++	  if (err == MIG_BAD_ID)
 ++#endif
 ++	    err = exec_exec (execserver,
 ++			     right, MACH_MSG_TYPE_COPY_SEND,
 ++			     task, flags, argv, argvlen, envp, envplen,
 ++			     fds, MACH_MSG_TYPE_COPY_SEND, fdslen,
 ++			     portarray, MACH_MSG_TYPE_COPY_SEND, portarraylen,
 ++			     intarray, intarraylen,
 ++			     deallocnames, deallocnameslen,
 ++			     destroynames, destroynameslen);
 ++
 ++
 + 	  mach_port_deallocate (mach_task_self (), right);
 + 	  if (err == MACH_SEND_INVALID_DEST)
 + 	    {
 +Index: hurd-debian/libfshelp/start-translator-long.c
 +===================================================================
 +--- hurd-debian.orig/libfshelp/start-translator-long.c
 ++++ hurd-debian/libfshelp/start-translator-long.c
 +@@ -1,5 +1,6 @@
 + /*
 +-   Copyright (C) 1995,96,99,2000,02, 04 Free Software Foundation, Inc.
 ++   Copyright (C) 1995, 1996, 1999, 2000, 2002, 2004, 2010
 ++   Free Software Foundation, Inc.
 +    Written by Miles Bader and Michael I. Bushnell.
 + 
 +    This file is part of the GNU Hurd.
 +@@ -27,6 +28,9 @@
 + #include <string.h>
 + #include <assert.h>
 + #include "fshelp.h"
 ++#ifdef HAVE_FILE_EXEC_FILE_NAME
 ++#include <hurd/fs_experimental.h>
 ++#endif
 + 
 + 
 + /* The data passed in the various messages we're interested in.  */
 +@@ -272,12 +276,22 @@ fshelp_start_translator_long (fshelp_ope
 +   saveport = ports[INIT_PORT_BOOTSTRAP];
 +   ports[INIT_PORT_BOOTSTRAP] = bootstrap;
 + 
 ++#ifdef HAVE_FILE_EXEC_FILE_NAME
 +   /* Try and exec the translator in TASK...  */
 +-  err = file_exec (executable, task, EXEC_DEFAULTS,
 +-		   argz, argz_len, 0, 0,
 +-		   fds, fds_type, fds_len,
 +-		   ports, ports_type, ports_len,
 +-		   ints, ints_len, 0, 0, 0, 0);
 ++  err = file_exec_file_name (executable, task, EXEC_DEFAULTS, name,
 ++			     argz, argz_len, 0, 0,
 ++			     fds, fds_type, fds_len,
 ++			     ports, ports_type, ports_len,
 ++			     ints, ints_len, 0, 0, 0, 0);
 ++  /* For backwards compatibility.  Just drop it when we kill file_exec.  */
 ++  if (err == MIG_BAD_ID)
 ++#endif
 ++    err = file_exec (executable, task, EXEC_DEFAULTS,
 ++		     argz, argz_len, 0, 0,
 ++		     fds, fds_type, fds_len,
 ++		     ports, ports_type, ports_len,
 ++		     ints, ints_len, 0, 0, 0, 0);
 ++
 +   ports_moved = 1;
 + 
 +   if (ports_type == MACH_MSG_TYPE_COPY_SEND)
 +Index: hurd-debian/libnetfs/file-exec.c
 +===================================================================
 +--- hurd-debian.orig/libnetfs/file-exec.c
 ++++ hurd-debian/libnetfs/file-exec.c
 +@@ -1,5 +1,6 @@
 + /*
 +-   Copyright (C) 1996,97,2000,01,02 Free Software Foundation, Inc.
 ++   Copyright (C) 1996, 1997, 2000, 2001, 2002, 2010
 ++   Free Software Foundation, Inc.
 +    Written by Michael I. Bushnell, p/BSG.
 + 
 +    This file is part of the GNU Hurd.
 +@@ -23,10 +24,14 @@
 + #include "netfs.h"
 + #include "execserver.h"
 + #include "fs_S.h"
 ++#include "fs_experimental_S.h"
 + #include <sys/stat.h>
 + #include <fcntl.h>
 + #include <hurd/exec.h>
 + #include <hurd/paths.h>
 ++#ifdef HAVE_EXEC_EXEC_FILE_NAME
 ++#include <hurd/exec_experimental.h>
 ++#endif
 + #include <string.h>
 + #include <idvec.h>
 + 
 +@@ -49,6 +54,39 @@ netfs_S_file_exec (struct protid *cred,
 + 		   mach_port_t *destroynames,
 + 		   size_t destroynameslen)
 + {
 ++  return netfs_S_file_exec_file_name (cred,
 ++				      task,
 ++				      flags,
 ++				      "",
 ++				      argv, argvlen,
 ++				      envp, envplen,
 ++				      fds, fdslen,
 ++				      portarray, portarraylen,
 ++				      intarray, intarraylen,
 ++				      deallocnames, deallocnameslen,
 ++				      destroynames, destroynameslen);
 ++}
 ++
 ++kern_return_t
 ++netfs_S_file_exec_file_name (struct protid *cred,
 ++			     task_t task,
 ++			     int flags,
 ++			     char *filename,
 ++			     char *argv,
 ++			     size_t argvlen,
 ++			     char *envp,
 ++			     size_t envplen,
 ++			     mach_port_t *fds,
 ++			     size_t fdslen,
 ++			     mach_port_t *portarray,
 ++			     size_t portarraylen,
 ++			     int *intarray,
 ++			     size_t intarraylen,
 ++			     mach_port_t *deallocnames,
 ++			     size_t deallocnameslen,
 ++			     mach_port_t *destroynames,
 ++			     size_t destroynameslen)
 ++{
 +   struct node *np;
 +   error_t err;
 +   uid_t uid;
 +@@ -133,14 +171,31 @@ netfs_S_file_exec (struct protid *cred,
 + 	  if (newpi)
 + 	    {
 + 	      right = ports_get_send_right (newpi);
 +-	      err = exec_exec (_netfs_exec,
 +-			       right, MACH_MSG_TYPE_COPY_SEND,
 +-			       task, flags, argv, argvlen, envp, envplen,
 +-			       fds, MACH_MSG_TYPE_COPY_SEND, fdslen,
 +-			       portarray, MACH_MSG_TYPE_COPY_SEND, portarraylen,
 +-			       intarray, intarraylen,
 +-			       deallocnames, deallocnameslen,
 +-			       destroynames, destroynameslen);
 ++#ifdef HAVE_EXEC_EXEC_FILE_NAME
 ++	      err = exec_exec_file_name (_netfs_exec,
 ++					 right, MACH_MSG_TYPE_COPY_SEND,
 ++					 task, flags, filename,
 ++					 argv, argvlen, envp, envplen,
 ++					 fds, MACH_MSG_TYPE_COPY_SEND, fdslen,
 ++					 portarray, MACH_MSG_TYPE_COPY_SEND,
 ++					 portarraylen,
 ++					 intarray, intarraylen,
 ++					 deallocnames, deallocnameslen,
 ++					 destroynames, destroynameslen);
 ++	      /* For backwards compatibility.  Just drop it when we kill
 ++		 exec_exec.  */
 ++	      if (err == MIG_BAD_ID)
 ++#endif
 ++		err = exec_exec (_netfs_exec,
 ++				 right, MACH_MSG_TYPE_COPY_SEND,
 ++				 task, flags, argv, argvlen, envp, envplen,
 ++				 fds, MACH_MSG_TYPE_COPY_SEND, fdslen,
 ++				 portarray, MACH_MSG_TYPE_COPY_SEND,
 ++				 portarraylen,
 ++				 intarray, intarraylen,
 ++				 deallocnames, deallocnameslen,
 ++				 destroynames, destroynameslen);
 ++
 + 	      mach_port_deallocate (mach_task_self (), right);
 + 	      ports_port_deref (newpi);
 + 	    }
 +Index: hurd-debian/libtrivfs/file-exec.c
 +===================================================================
 +--- hurd-debian.orig/libtrivfs/file-exec.c
 ++++ hurd-debian/libtrivfs/file-exec.c
 +@@ -1,5 +1,5 @@
 + /*
 +-   Copyright (C) 1994,2002 Free Software Foundation, Inc.
 ++   Copyright (C) 1994, 2002, 2010 Free Software Foundation, Inc.
 + 
 +    This program is free software; you can redistribute it and/or
 +    modify it under the terms of the GNU General Public License as
 +@@ -41,3 +41,28 @@ trivfs_S_file_exec (trivfs_protid_t exec
 + {
 +   return EOPNOTSUPP;
 + }
 ++
 ++kern_return_t
 ++trivfs_S_file_exec_file_name (trivfs_protid_t exec_file,
 ++			      mach_port_t reply,
 ++			      mach_msg_type_name_t replyPoly,
 ++			      mach_port_t exec_task,
 ++			      int flags,
 ++			      string_t filename,
 ++			      data_t argv,
 ++			      mach_msg_type_number_t argvCnt,
 ++			      data_t envp,
 ++			      mach_msg_type_number_t envpCnt,
 ++			      portarray_t fdarray,
 ++			      mach_msg_type_number_t fdarrayCnt,
 ++			      portarray_t portarray,
 ++			      mach_msg_type_number_t portarrayCnt,
 ++			      intarray_t intarray,
 ++			      mach_msg_type_number_t intarrayCnt,
 ++			      mach_port_array_t deallocnames,
 ++			      mach_msg_type_number_t deallocnamesCnt,
 ++			      mach_port_array_t destroynames,
 ++			      mach_msg_type_number_t destroynamesCnt)
 ++{
 ++  return EOPNOTSUPP;
 ++}
 +Index: hurd-debian/trans/fakeroot.c
 +===================================================================
 +--- hurd-debian.orig/trans/fakeroot.c
 ++++ hurd-debian/trans/fakeroot.c
 +@@ -28,10 +28,14 @@
 + #include <pthread.h>
 + #include <hurd/ihash.h>
 + #include <hurd/paths.h>
 ++#ifdef HAVE_FILE_EXEC_FILE_NAME
 ++#include <hurd/fs_experimental.h>
 ++#endif
 + 
 + #include <version.h>
 + 
 + #include "libnetfs/fs_S.h"
 ++#include "libnetfs/fs_experimental_S.h"
 + #include "libnetfs/io_S.h"
 + #include "libnetfs/fsys_S.h"
 + #include "libports/notify_S.h"
 +@@ -785,23 +789,24 @@ netfs_file_get_storage_info (struct ious
 + }
 + 
 + kern_return_t
 +-netfs_S_file_exec (struct protid *user,
 +-                   task_t task,
 +-                   int flags,
 +-                   char *argv,
 +-                   size_t argvlen,
 +-                   char *envp,
 +-                   size_t envplen,
 +-                   mach_port_t *fds,
 +-                   size_t fdslen,
 +-                   mach_port_t *portarray,
 +-                   size_t portarraylen,
 +-                   int *intarray,
 +-                   size_t intarraylen,
 +-                   mach_port_t *deallocnames,
 +-                   size_t deallocnameslen,
 +-                   mach_port_t *destroynames,
 +-                   size_t destroynameslen)
 ++netfs_S_file_exec_file_name (struct protid *user,
 ++			     task_t task,
 ++			     int flags,
 ++			     char *filename,
 ++			     char *argv,
 ++			     size_t argvlen,
 ++			     char *envp,
 ++			     size_t envplen,
 ++			     mach_port_t *fds,
 ++			     size_t fdslen,
 ++			     mach_port_t *portarray,
 ++			     size_t portarraylen,
 ++			     int *intarray,
 ++			     size_t intarraylen,
 ++			     mach_port_t *deallocnames,
 ++			     size_t deallocnameslen,
 ++			     mach_port_t *destroynames,
 ++			     size_t destroynameslen)
 + {
 +   error_t err;
 +   file_t file;
 +@@ -820,14 +825,30 @@ netfs_S_file_exec (struct protid *user,
 + 
 +   if (!err)
 +     {
 ++#ifdef HAVE_FILE_EXEC_FILE_NAME
 +       /* We cannot use MACH_MSG_TYPE_MOVE_SEND because we might need to
 + 	 retry an interrupted call that would have consumed the rights.  */
 +-      err = file_exec (netfs_node_netnode (user->po->np)->file,
 +-		       task, flags, argv, argvlen,
 +-		       envp, envplen, fds, MACH_MSG_TYPE_COPY_SEND, fdslen,
 +-		       portarray, MACH_MSG_TYPE_COPY_SEND, portarraylen,
 +-		       intarray, intarraylen, deallocnames, deallocnameslen,
 +-		       destroynames, destroynameslen);
 ++      err = file_exec_file_name (netfs_node_netnode (user->po->np)->file,
 ++				 task, flags,
 ++				 filename,
 ++				 argv, argvlen,
 ++				 envp, envplen,
 ++				 fds, MACH_MSG_TYPE_COPY_SEND, fdslen,
 ++				 portarray, MACH_MSG_TYPE_COPY_SEND,
 ++				 portarraylen,
 ++				 intarray, intarraylen,
 ++				 deallocnames, deallocnameslen,
 ++				 destroynames, destroynameslen);
 ++      /* For backwards compatibility.  Just drop it when we kill
 ++	 file_exec.  */
 ++      if (err == MIG_BAD_ID)
 ++#endif
 ++	err = file_exec (user->po->np->nn->file, task, flags, argv, argvlen,
 ++			 envp, envplen, fds, MACH_MSG_TYPE_COPY_SEND, fdslen,
 ++			 portarray, MACH_MSG_TYPE_COPY_SEND, portarraylen,
 ++			 intarray, intarraylen, deallocnames, deallocnameslen,
 ++			 destroynames, destroynameslen);
 ++
 +       mach_port_deallocate (mach_task_self (), file);
 +     }
 + 
 +@@ -843,6 +864,38 @@ netfs_S_file_exec (struct protid *user,
 +   return err;
 + }
 + 
 ++kern_return_t
 ++netfs_S_file_exec (struct protid *user,
 ++                   task_t task,
 ++                   int flags,
 ++                   char *argv,
 ++                   size_t argvlen,
 ++                   char *envp,
 ++                   size_t envplen,
 ++                   mach_port_t *fds,
 ++                   size_t fdslen,
 ++                   mach_port_t *portarray,
 ++                   size_t portarraylen,
 ++                   int *intarray,
 ++                   size_t intarraylen,
 ++                   mach_port_t *deallocnames,
 ++                   size_t deallocnameslen,
 ++                   mach_port_t *destroynames,
 ++                   size_t destroynameslen)
 ++{
 ++  return netfs_S_file_exec_file_name (user,
 ++				      task,
 ++				      flags,
 ++				      "",
 ++				      argv, argvlen,
 ++				      envp, envplen,
 ++				      fds, fdslen,
 ++				      portarray, portarraylen,
 ++				      intarray, intarraylen,
 ++				      deallocnames, deallocnameslen,
 ++				      destroynames, destroynameslen);
 ++}
 ++
 + error_t
 + netfs_S_io_map (struct protid *user,
 + 		mach_port_t *rdobj, mach_msg_type_name_t *rdobjtype,
 +@@ -959,6 +1012,7 @@ netfs_demuxer (mach_msg_header_t *inp,
 +   mig_routine_t routine;
 +   if ((routine = netfs_io_server_routine (inp)) ||
 +       (routine = netfs_fs_server_routine (inp)) ||
 ++      (routine = netfs_fs_experimental_server_routine (inp)) ||
 +       (routine = ports_notify_server_routine (inp)) ||
 +       (routine = netfs_fsys_server_routine (inp)) ||
 +       /* XXX we should intercept interrupt_operation and do
 +Index: hurd-debian/utils/login.c
 +===================================================================
 +--- hurd-debian.orig/utils/login.c
 ++++ hurd-debian/utils/login.c
 +@@ -1,6 +1,7 @@
 + /* Hurdish login
 + 
 +-   Copyright (C) 1995,96,97,98,99,2002 Free Software Foundation, Inc.
 ++   Copyright (C) 1995, 1996, 1997, 1998, 1999, 2002, 2010
 ++   Free Software Foundation, Inc.
 + 
 +    Written by Miles Bader <miles@gnu.org>
 + 
 +@@ -46,6 +47,9 @@
 + #include <error.h>
 + #include <timefmt.h>
 + #include <hurd/lookup.h>
 ++#ifdef HAVE_FILE_EXEC_FILE_NAME
 ++#include <hurd/fs_experimental.h>
 ++#endif
 + #include <ugids.h>
 + 
 + const char *argp_program_version = STANDARD_HURD_VERSION (login);
 +@@ -882,12 +886,22 @@ main(int argc, char *argv[])
 + 	}
 +     }
 + 
 +-  err = file_exec (exec, mach_task_self (), EXEC_DEFAULTS,
 +-		   sh_args, sh_args_len, env, env_len,
 +-		   fds, MACH_MSG_TYPE_COPY_SEND, 3,
 +-		   ports, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,
 +-		   ints, INIT_INT_MAX,
 +-		   0, 0, 0, 0);
 ++#ifdef HAVE_FILE_EXEC_FILE_NAME
 ++  err = file_exec_file_name (exec, mach_task_self (), EXEC_DEFAULTS, shell,
 ++			     sh_args, sh_args_len, env, env_len,
 ++			     fds, MACH_MSG_TYPE_COPY_SEND, 3,
 ++			     ports, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,
 ++			     ints, INIT_INT_MAX,
 ++			     0, 0, 0, 0);
 ++  /* Fallback in case the file server hasn't been restarted.  */
 ++  if (err == MIG_BAD_ID)
 ++#endif
 ++    err = file_exec (exec, mach_task_self (), EXEC_DEFAULTS,
 ++		     sh_args, sh_args_len, env, env_len,
 ++		     fds, MACH_MSG_TYPE_COPY_SEND, 3,
 ++		     ports, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,
 ++		     ints, INIT_INT_MAX,
 ++		     0, 0, 0, 0);
 +   if (err)
 +     error(5, err, "%s", shell);
 + 
 +Index: hurd-debian/hurd/fs_experimental.defs
 +===================================================================
 +--- /dev/null
 ++++ hurd-debian/hurd/fs_experimental.defs
 +@@ -0,0 +1,51 @@
 ++/* Definitions for the filesystem interface.
 ++   Copyright (C) 1994,95,96,97,98,99,2002 Free Software Foundation, Inc.
 ++
 ++This file is part of the GNU Hurd.
 ++
 ++The GNU Hurd is free software; you can redistribute it and/or modify
 ++it under the terms of the GNU General Public License as published by
 ++the Free Software Foundation; either version 2, or (at your option)
 ++any later version.
 ++
 ++The GNU Hurd is distributed in the hope that it will be useful,
 ++but WITHOUT ANY WARRANTY; without even the implied warranty of
 ++MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 ++GNU General Public License for more details.
 ++
 ++You should have received a copy of the GNU General Public License
 ++along with the GNU Hurd; see the file COPYING.  If not, write to
 ++the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 ++
 ++
 ++/* All these objects also implement the generic IO facilities. */
 ++
 ++subsystem fs_experimental 444242;
 ++
 ++#include <hurd/hurd_types.defs>
 ++
 ++#ifdef FILE_IMPORTS
 ++FILE_IMPORTS
 ++#endif
 ++
 ++/* Operations supported on all files */
 ++
 ++INTR_INTERFACE
 ++
 ++/* Overlay a task with a file.  Necessary initialization, including
 ++   authentication changes associated with set[ug]id execution must be
 ++   handled by the filesystem.  Filesystems normally implement this by
 ++   using exec_newtask or exec_loadtask as appropriate.  */
 ++routine file_exec_file_name (
 ++	exec_file: file_t;
 ++	RPT
 ++	exec_task: task_t;
 ++	flags: int;
 ++	filename: string_t;
 ++	argv: data_t SCP;
 ++	envp: data_t SCP;
 ++	fdarray: portarray_t SCP;
 ++	portarray: portarray_t SCP;
 ++	intarray: intarray_t SCP;
 ++	deallocnames: mach_port_name_array_t SCP;
 ++	destroynames: mach_port_name_array_t SCP);
 +Index: hurd-debian/libdiskfs/Makefile
 +===================================================================
 +--- hurd-debian.orig/libdiskfs/Makefile
 ++++ hurd-debian/libdiskfs/Makefile
 +@@ -56,7 +56,7 @@ OTHERSRCS = conch-fetch.c conch-set.c di
 + SRCS = $(OTHERSRCS) $(FSSRCS) $(IOSRCS) $(FSYSSRCS) $(IFSOCKSRCS)
 + installhdrs = diskfs.h diskfs-pager.h
 + 
 +-MIGSTUBS = fsServer.o ioServer.o fsysServer.o exec_startupServer.o \
 ++MIGSTUBS = fsServer.o fs_experimentalServer.o ioServer.o fsysServer.o exec_startupServer.o \
 + 	fsys_replyUser.o fs_notifyUser.o ifsockServer.o \
 + 	startup_notifyServer.o
 + OBJS = $(sort $(SRCS:.c=.o) $(MIGSTUBS))
 +@@ -66,6 +66,7 @@ LDLIBS += -lpthread
 + 
 + fsys-MIGSFLAGS = -imacros $(srcdir)/fsmutations.h -DREPLY_PORTS
 + fs-MIGSFLAGS = -imacros $(srcdir)/fsmutations.h
 ++fs_experimental-MIGSFLAGS = -imacros $(srcdir)/fsmutations.h
 + io-MIGSFLAGS = -imacros $(srcdir)/fsmutations.h
 + ifsock-MIGSFLAGS = -imacros $(srcdir)/fsmutations.h
 + exec_startup-MIGSFLAGS = -imacros $(srcdir)/fsmutations.h
 +Index: hurd-debian/libdiskfs/demuxer.c
 +===================================================================
 +--- hurd-debian.orig/libdiskfs/demuxer.c
 ++++ hurd-debian/libdiskfs/demuxer.c
 +@@ -19,6 +19,7 @@
 + 
 + #include "io_S.h"
 + #include "fs_S.h"
 ++#include "fs_experimental_S.h"
 + #include "../libports/notify_S.h"
 + #include "fsys_S.h"
 + #include "../libports/interrupt_S.h"
 +@@ -33,6 +34,7 @@ diskfs_demuxer (mach_msg_header_t *inp,
 +   mig_routine_t routine;
 +   if ((routine = diskfs_io_server_routine (inp)) ||
 +       (routine = diskfs_fs_server_routine (inp)) ||
 ++      (routine = diskfs_fs_experimental_server_routine (inp)) ||
 +       (routine = ports_notify_server_routine (inp)) ||
 +       (routine = diskfs_fsys_server_routine (inp)) ||
 +       (routine = ports_interrupt_server_routine (inp)) ||
 +Index: hurd-debian/libnetfs/Makefile
 +===================================================================
 +--- hurd-debian.orig/libnetfs/Makefile
 ++++ hurd-debian/libnetfs/Makefile
 +@@ -59,12 +59,13 @@ SRCS= $(OTHERSRCS) $(FSSRCS) $(IOSRCS) $
 + 
 + installhdrs=netfs.h
 + 
 +-MIGSTUBS= ioServer.o fsServer.o fsysServer.o fsys_replyUser.o ifsockServer.o
 ++MIGSTUBS= ioServer.o fsServer.o fs_experimentalServer.o fsysServer.o fsys_replyUser.o ifsockServer.o
 + 
 + OBJS=$(sort $(SRCS:.c=.o) $(MIGSTUBS))
 + 
 + fsys-MIGSFLAGS = -imacros $(srcdir)/mutations.h -DREPLY_PORTS
 + fs-MIGSFLAGS = -imacros $(srcdir)/mutations.h
 ++fs_experimental-MIGSFLAGS = -imacros $(srcdir)/mutations.h
 + io-MIGSFLAGS = -imacros $(srcdir)/mutations.h
 + ifsock-MIGSFLAGS = -imacros $(srcdir)/mutations.h
 + MIGCOMSFLAGS = -prefix netfs_
 +Index: hurd-debian/libnetfs/demuxer.c
 +===================================================================
 +--- hurd-debian.orig/libnetfs/demuxer.c
 ++++ hurd-debian/libnetfs/demuxer.c
 +@@ -22,6 +22,7 @@
 + 
 + #include "io_S.h"
 + #include "fs_S.h"
 ++#include "fs_experimental_S.h"
 + #include "../libports/notify_S.h"
 + #include "fsys_S.h"
 + #include "../libports/interrupt_S.h"
 +@@ -34,6 +35,7 @@ netfs_demuxer (mach_msg_header_t *inp,
 +   mig_routine_t routine;
 +   if ((routine = netfs_io_server_routine (inp)) ||
 +       (routine = netfs_fs_server_routine (inp)) ||
 ++      (routine = netfs_fs_experimental_server_routine (inp)) ||
 +       (routine = ports_notify_server_routine (inp)) ||
 +       (routine = netfs_fsys_server_routine (inp)) ||
 +       (routine = ports_interrupt_server_routine (inp)) ||
 +Index: hurd-debian/libtrivfs/Makefile
 +===================================================================
 +--- hurd-debian.orig/libtrivfs/Makefile
 ++++ hurd-debian/libtrivfs/Makefile
 +@@ -44,7 +44,7 @@ OTHERSRCS=demuxer.c protid-clean.c proti
 + 
 + SRCS=$(FSSRCS) $(IOSRCS) $(FSYSSRCS) $(OTHERSRCS)
 + 
 +-MIGSTUBS=fsServer.o ioServer.o fsysServer.o fsys_replyUser.o
 ++MIGSTUBS=fsServer.o fs_experimentalServer.o ioServer.o fsysServer.o fsys_replyUser.o
 + 
 + libname = libtrivfs
 + HURDLIBS = fshelp iohelp ports shouldbeinlibc
 +Index: hurd-debian/libtrivfs/demuxer.c
 +===================================================================
 +--- hurd-debian.orig/libtrivfs/demuxer.c
 ++++ hurd-debian/libtrivfs/demuxer.c
 +@@ -23,6 +23,7 @@ the Free Software Foundation, 675 Mass A
 + 
 + #include "trivfs_io_S.h"
 + #include "trivfs_fs_S.h"
 ++#include "trivfs_fs_experimental_S.h"
 + #include "../libports/notify_S.h"
 + #include "trivfs_fsys_S.h"
 + #include "../libports/interrupt_S.h"
 +@@ -34,6 +35,7 @@ trivfs_demuxer (mach_msg_header_t *inp,
 +   mig_routine_t routine;
 +   if ((routine = trivfs_io_server_routine (inp)) ||
 +       (routine = trivfs_fs_server_routine (inp)) ||
 ++      (routine = trivfs_fs_experimental_server_routine (inp)) ||
 +       (routine = ports_notify_server_routine (inp)) ||
 +       (routine = trivfs_fsys_server_routine (inp)) ||
 +       (routine = ports_interrupt_server_routine (inp)))
 +Index: hurd-debian/configure.ac
 +===================================================================
 +--- hurd-debian.orig/configure.ac
 ++++ hurd-debian/configure.ac
 +@@ -162,6 +162,8 @@ else
 +   VERSIONING=no
 + fi
 + AC_SUBST(VERSIONING)
 ++# Check if libc contains these functions.
 ++AC_CHECK_FUNCS(file_exec_file_name exec_exec_file_name)
 + 
 + 
 + # From glibc HEAD, 2007-11-07.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:42:12 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUTk-0001Wk-Rh
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:42:12 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59289)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUTi-0001Wa-SA
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:42:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUTh-00081f-Ut
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:42:10 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:54808)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUTh-00081O-OZ
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:42:09 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUTg-0005jU-QR; Sat, 10 Jun 2017 00:42:08 +0000
To: commit-hurd@gnu.org
Subject: [gnumach] 02/02: Merge branch 'master' of
	git.debian.org:/git/pkg-hurd/gnumach
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Reply-To: Samuel Thibault <samuel.thibault@ens-lyon.org>
In-Reply-To: <20170610004207.21939.48245@moszumanska.debian.org>
References: <20170610004207.21939.48245@moszumanska.debian.org>
X-Git-Repo: gnumach
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 31dcab96df6d94cbaff27ae1b7bde1b54e51d4c6
Auto-Submitted: auto-generated
Message-Id: <E1dJUTg-0005jU-QR@moszumanska.debian.org>
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:42:08 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:42:11 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository gnumach.

commit 31dcab96df6d94cbaff27ae1b7bde1b54e51d4c6
Merge: 350d414 ed92c4c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Jun 10 00:41:36 2017 +0000

    Merge branch 'master' of git.debian.org:/git/pkg-hurd/gnumach

 debian/changelog | 6 ++++++
 debian/control   | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --cc debian/changelog
index 3603eb9,7c75544..dfae4ca
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,9 -1,9 +1,15 @@@
 -gnumach (2:1.8+git20170102-2) UNRELEASED; urgency=medium
++gnumach (2:1.8+git20170609-2) UNRELEASED; urgency=medium
+ 
+   * Use canonical anonscm vcs URL.
+ 
+  -- Samuel Thibault <sthibault@debian.org>  Fri, 20 Jan 2017 23:28:47 +0100
+ 
 +gnumach (2:1.8+git20170609-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 09 Jun 2017 23:41:20 +0000
 +
  gnumach (2:1.8+git20170102-1) unstable; urgency=medium
  
    * New upstream snapshot.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/gnumach.git


From MAILER-DAEMON Fri Jun 09 20:42:13 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUTl-0001XH-7s
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:42:13 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59287)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUTi-0001WZ-Mz
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:42:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUTh-00081Z-NK
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:42:10 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:54802)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUTh-00081K-H4
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:42:09 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUTf-0005ie-Uw; Sat, 10 Jun 2017 00:42:08 +0000
To: commit-hurd@gnu.org
Subject: [gnumach] branch master updated (ed92c4c -> 31dcab9)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <20170610004207.21939.48245@moszumanska.debian.org>
Reply-To: sthibault@users.alioth.debian.org
X-Git-Repo: gnumach
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: ed92c4ccda169a71c20a8b1831093c2f894657ca
X-Git-Newrev: 31dcab96df6d94cbaff27ae1b7bde1b54e51d4c6
Auto-Submitted: auto-generated
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:42:08 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:42:11 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch master
in repository gnumach.

      from  ed92c4c   Use canonical anonscm vcs URL
      adds  05b4768   Merge branch 'upstream-1.8' into upstream
      adds  5d9383d   New upstream version 1.8+git20170609
       new  350d414   Merge branch 'upstream'
       new  31dcab9   Merge branch 'master' of git.debian.org:/git/pkg-hurd/gnumach

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ChangeLog                                          |  48 +++
 Makefile.am                                        |   2 +-
 Makefile.in                                        |  82 ++---
 Makefrag.am                                        |   3 +
 configure                                          |  20 +-
 debian/changelog                                   |   8 +-
 doc/mach.info                                      |   2 +-
 doc/mach.info-1                                    |   4 +-
 doc/mach.info-2                                    |   2 +-
 doc/stamp-vti                                      |   4 +-
 doc/version.texi                                   |   4 +-
 i386/i386at/rtc.c                                  |  31 +-
 kern/atomic.h                                      |  54 +++
 kern/bootstrap.c                                   |   6 +
 kern/gsync.c                                       | 368 +++++++++++++--------
 kern/kmutex.c                                      |  76 +++++
 kern/kmutex.h                                      |  52 +++
 kern/sched_prim.c                                  |   5 +-
 kern/sched_prim.h                                  |   2 +-
 .../linux/{compiler-gcc5.h => compiler-gcc7.h}     |   2 +-
 version.m4                                         |   2 +-
 vm/vm_object.h                                     |  14 +
 22 files changed, 588 insertions(+), 203 deletions(-)
 create mode 100644 kern/atomic.h
 create mode 100644 kern/kmutex.c
 create mode 100644 kern/kmutex.h
 copy linux/src/include/linux/{compiler-gcc5.h => compiler-gcc7.h} (97%)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/gnumach.git


From MAILER-DAEMON Fri Jun 09 20:42:23 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUTv-0001bw-BG
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:42:23 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59317)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUTo-0001ZA-0j
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:42:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUTi-00081n-48
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:42:16 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:54805)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUTh-00081M-Kb
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:42:10 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUTg-0005jE-Jj; Sat, 10 Jun 2017 00:42:08 +0000
To: commit-hurd@gnu.org
Subject: [gnumach] 01/02: Merge branch 'upstream'
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Reply-To: Samuel Thibault <samuel.thibault@ens-lyon.org>
In-Reply-To: <20170610004207.21939.48245@moszumanska.debian.org>
References: <20170610004207.21939.48245@moszumanska.debian.org>
X-Git-Repo: gnumach
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 350d414fd61413b41448c6e912fd8824b16cda08
Auto-Submitted: auto-generated
Message-Id: <E1dJUTg-0005jE-Jj@moszumanska.debian.org>
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:42:08 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:42:21 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository gnumach.

commit 350d414fd61413b41448c6e912fd8824b16cda08
Merge: e8b263d 5d9383d
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Fri Jun 9 23:41:02 2017 +0000

    Merge branch 'upstream'

 ChangeLog                               |  48 +++++
 Makefile.am                             |   2 +-
 Makefile.in                             |  82 +++----
 Makefrag.am                             |   3 +
 configure                               |  20 +-
 debian/changelog                        |   6 +
 doc/mach.info                           |   2 +-
 doc/mach.info-1                         |   4 +-
 doc/mach.info-2                         |   2 +-
 doc/stamp-vti                           |   4 +-
 doc/version.texi                        |   4 +-
 i386/i386at/rtc.c                       |  31 ++-
 kern/atomic.h                           |  54 +++++
 kern/bootstrap.c                        |   6 +
 kern/gsync.c                            | 368 ++++++++++++++++++++------------
 kern/kmutex.c                           |  76 +++++++
 kern/kmutex.h                           |  52 +++++
 kern/sched_prim.c                       |   5 +-
 kern/sched_prim.h                       |   2 +-
 linux/src/include/linux/compiler-gcc7.h |  67 ++++++
 version.m4                              |   2 +-
 vm/vm_object.h                          |  14 ++
 22 files changed, 653 insertions(+), 201 deletions(-)

diff --cc debian/changelog
index c0caa1c,0000000..3603eb9
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,1322 -1,0 +1,1328 @@@
++gnumach (2:1.8+git20170609-1) unstable; urgency=medium
++
++  * New upstream snapshot.
++
++ -- Samuel Thibault <sthibault@debian.org>  Fri, 09 Jun 2017 23:41:20 +0000
++
 +gnumach (2:1.8+git20170102-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +    - 70_dde.patch: Update.
 +    - 71_dde.patch,72_dde.patch: Drop, merged into 70_dde.patch.
 +    - 79_dde-debian.patch: Split out from 70_dde.patch.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 02 Jan 2017 12:25:41 +0000
 +
 +gnumach (2:1.8-2) unstable; urgency=medium
 +
 +  * Upload to unstable.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 21 Dec 2016 22:54:55 +0000
 +
 +gnumach (2:1.8-1) experimental; urgency=medium
 +
 +  * New upstream release.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 19 Dec 2016 15:59:28 +0100
 +
 +gnumach (2:1.7+git20161202-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 02 Dec 2016 10:58:43 +0000
 +
 +gnumach (2:1.7+git20161115-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * copyright: Add missing licence terms. Closes: Bug#792622.
 +  * patches/{git-LDFLAGS,git-unregister-boot-data.patch}: Drop, merged
 +    upstream.
 +  * patches/{71,72}_dde.patch: DDE fixes from Richard Braun.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 15 Nov 2016 00:41:29 +0000
 +
 +gnumach (2:1.7+git20161023-2) unstable; urgency=medium
 +
 +  * git-LDFLAGS: New patch to make build system take LDFLAGS into account.
 +  * rules:
 +    - Pass -no-pie -fno-PIE to compiler and -no-pie to linker to fix build on
 +    i386.
 +    - Fix passing flags to dbg variants.
 +  * patches/git-unregister-boot-data.patch: Fix boot hang in bad-luck module
 +    loads from grub.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 30 Oct 2016 23:44:06 +0000
 +
 +gnumach (2:1.7+git20161023-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 23 Oct 2016 22:04:45 +0000
 +
 +gnumach (2:1.7+git20160921-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +    - Highmem support, i.e. >2GiB memory support.
 +    - patches/99_biosmem.patch: Drop, fixed.
 +    - patches/60_bigmem.patch: Drop, now useless.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 20 Sep 2016 22:59:43 +0000
 +
 +gnumach (2:1.7+git20160809-2) unstable; urgency=medium
 +
 +  * patches/99_biosmem.patch: New patch to brown-tape-fix memory allocation
 +    against debugging symbols.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 12 Aug 2016 17:41:51 +0000
 +
 +gnumach (2:1.7+git20160809-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 09 Aug 2016 21:55:03 +0000
 +
 +gnumach (2:1.7+git20160607-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * patches/99_RB.patch: Drop, fixed upstream.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 07 Jun 2016 13:57:41 +0000
 +
 +gnumach (2:1.7+git20160522-2) unstable; urgency=medium
 +
 +  * Bump mig build-dep to fix stdint use in headers.
 +  * control: Bump Standards-Version to 3.9.8 (no change)
 +  * patches/99_RB.patch: revert RB patch for now, fixes mouse input in X.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 04 Jun 2016 17:06:58 +0000
 +
 +gnumach (2:1.7+git20160522-1) unstable; urgency=medium
 +
 +  * New upstream release & snapshot
 +    - Rename packages to 1.7 according to upstream version.
 +  * patches/99_revert-page-cache-policy.patch: Drop, performance regression
 +    fixed upstream.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 21 May 2016 23:29:13 +0000
 +
 +gnumach (2:1.6+git20160502-1) unstable; urgency=medium
 +
 +  [ Samuel Thibault ]
 +  * New upstream snapshot.
 +  * control.in: Really bump dpkg-dev and debhelper versions.
 +  * patches/20_FP_NO.patch: Avoid defining FP_NO.
 +  * patches/70_dde.patch: Fix crash when delivering the interrupt makes the
 +    thread sleep. It is fine to do another check loop when running the
 +    interrupt handlers anyway.
 +  * patches/99_revert-page-cache-policy.patch: Revert the new cache policy for
 +    now: when ext2fs has a lot of objects, vm_map_enter becomes very slow.
 +
 +  [ Svante Signell ]
 +  * rules: Add custom version in uname -v and custom packages names.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 03 May 2016 00:16:34 +0000
 +
 +gnumach (2:1.6+git20160311-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * patches/70_dde.patch: Update.
 +  * control: bump dpkg-dev and debhelper versions for restriction formulas
 +    support.
 +  * control: Bump Standards-Version to 3.9.7 (no change).
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 11 Mar 2016 21:45:02 +0000
 +
 +gnumach (2:1.6+git20160114-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * control: Bump dpkg-dev and debhelper versions to get restriction formula
 +    support.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 13 Jan 2016 23:21:10 +0000
 +
 +gnumach (2:1.6+git20151211-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 11 Dec 2015 01:55:39 +0000
 +
 +gnumach (2:1.6-1) unstable; urgency=medium
 +
 +  * New upstream release.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 03 Nov 2015 21:31:18 +0000
 +
 +gnumach (2:1.5+git20150922-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * patches/70_dde.patch: Include kern/experimental.server.h to fix build with
 +    newer mig.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 22 Sep 2015 17:12:19 +0000
 +
 +gnumach (2:1.5+git20150827-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * Add stage1 build profile for cross-bootstrapping gnumach. Bump dpkg-dev
 +    and debhelper build-dependency versions accordingly
 +  * patches/70_dde.patch: Also install intr.h. Closes: Bug#795770.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 18 Aug 2015 11:24:24 +0200
 +
 +gnumach (2:1.5+git20150728-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * Bump version number to 1.5 according to upstream release.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 28 Jul 2015 19:21:04 +0000
 +
 +gnumach (2:1.4+git20150711-1) unstable; urgency=medium
 +
 +  * New upstream snapshot, fixes a pageout issue.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 11 Jul 2015 12:16:52 +0000
 +
 +gnumach (2:1.4+git20150709-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 09 Jul 2015 12:23:39 +0000
 +
 +gnumach (2:1.4+git20150704-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +  * patches/git-payload-unsafe-access.patch: Remove, merged upstream.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 04 Jul 2015 22:34:53 +0000
 +
 +gnumach (2:1.4+git20150409-2) unstable; urgency=medium
 +
 +  * patches/git-payload-unsafe-access.patch: Add patch to fix unsafe protected
 +    payload access.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 17 Apr 2015 01:17:34 +0000
 +
 +gnumach (2:1.4+git20150409-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 12 Apr 2015 20:26:20 +0000
 +
 +gnumach (2:1.4+git20150208-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 08 Feb 2015 20:14:10 +0000
 +
 +gnumach (2:1.4+git20150102-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 02 Jan 2015 18:44:06 +0000
 +
 +gnumach (2:1.4+git20141214-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 15 Dec 2014 00:35:29 +0000
 +
 +gnumach (2:1.4+git20141211-1) unstable; urgency=medium
 +
 +  * New upstream snapshot.
 +    - patches/git-R-vm_map.patch,git-nodma.patch: Remove patches, merged
 +    upstream.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 10 Dec 2014 23:37:24 +0000
 +
 +gnumach (2:1.4+git20141109-2) unstable; urgency=medium
 +
 +  * patches/git-nodma.patch: Add nodma option.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 13 Nov 2014 00:30:10 +0000
 +
 +gnumach (2:1.4+git20141109-1) unstable; urgency=medium
 +
 +  * New upstream snapshot. Fixes protected payload support.
 +  * patches/git-R-vm_map.patch: Revert upstream commit for now, it seems to
 +    interact badly with paging.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 09 Nov 2014 22:03:06 +0000
 +
 +gnumach (2:1.4+git20141107-1) unstable; urgency=medium
 +
 +  * New upstream snapshot
 +  * rules: ignore +git version.
 +  * patches/git-*, patches/80_missing_files.patch: Remove.
 +  * Bump Standards-Version to 3.9.6 (no changes).
 +  * control: rename into control.in with 1.4 replaced with @version@, so
 +    that...
 +  * rules: ... make DEB_BUILD_OPTIONS=custom use the package version instead
 +    of the upstream version. Thanks Svante Signell for the original patch.
 +    Closes: Bug#762175.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 07 Nov 2014 01:06:55 +0000
 +
 +gnumach (2:1.4-12) unstable; urgency=medium
 +
 +  * rules: Rebuild info documentation once (in the source tree) before building
 +    all variants in parallel. Closes: Bug#756909.
 +  * patches/git-vm-tune.patch: New patch that tunes VM parameters.
 +  * patches/git-vm_map.patch: New patch to fix vm_map with anywhere=true.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 06 Sep 2014 10:37:40 +0000
 +
 +gnumach (2:1.4-11) unstable; urgency=medium
 +
 +  * patches/git-halt.patch: Add ACPI powerdown support.
 +  * patches/git-xen_races.patch: New patch to fix race conditions, notably in
 +    disk writes.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 25 Jul 2014 17:05:41 +0000
 +
 +gnumach (2:1.4-10) unstable; urgency=medium
 +
 +  * patches/git-notify_translatable{,2}.patch: New patch to make notify
 +    functions mutable.
 +  * patches/git-device_translatable.patch: New patch to make device
 +    functions mutable.
 +  * patches/git-memory_object_translatable2.patch: Fix memory object reference
 +    leak.
 +  * patches/git-mach_debug{,2}.patch: Install mach_debug defs files.
 +  * patches/90-fix_headers.patch: Remove, replaced by patch above.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 25 May 2014 20:06:12 +0000
 +
 +gnumach (2:1.4-9) unstable; urgency=medium
 +
 +  * patches/git-memory_object_translatable.patch: New patch to make memory
 +    object types translation functions mutable.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 26 Mar 2014 09:59:55 +0000
 +
 +gnumach (2:1.4-8) unstable; urgency=medium
 +
 +  * patches/git-physical-access.patch: Fix overflow brought by patch.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 22 Mar 2014 15:05:11 +0000
 +
 +gnumach (2:1.4-7) unstable; urgency=medium
 +
 +  [ Samuel Thibault ]
 +  * patches/git-physical-access.patch: New patch, fixes access to physical
 +    pages beyond last_phys_addr.
 +  * patches/git-task_set_name.patch: New patch from git to add task_set_name
 +    RPC.
 +  * patches/90-fix_headers.patch: New patch to fix gnumach.defs build.
 +  * rules: Remove generated doc files.
 +
 +  [ Guillem Jover ]
 +  * Remove myself from Uploaders.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 20 Mar 2014 02:26:40 +0000
 +
 +gnumach (2:1.4-6) unstable; urgency=medium
 +
 +  * Re-enable patches/git-kentry_data_size.patch, but with an additional
 +    change to reduce KMEM_MAP_SIZE by 32MiB to make room for that.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 11 Feb 2014 23:47:14 +0000
 +
 +gnumach (2:1.4-5) unstable; urgency=medium
 +
 +  * Disable patches/git-kentry_data_size.patch for now, it breaks d-i boot for
 +    some reason.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 11 Feb 2014 23:10:46 +0000
 +
 +gnumach (2:1.4-4) unstable; urgency=medium
 +
 +  * patches/git-quiet-cd-floppy.patch: New patch to quiet down CD and floppy
 +    sense errors.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 10 Feb 2014 00:21:43 +0000
 +
 +gnumach (2:1.4-3) unstable; urgency=medium
 +
 +  * patches/{kentry_data_size,thread_terminate_release,
 +    xen_clock_overflow}.patch: Add "git-" prefix to patch name.
 +  * patches/git-cursor_init.patch: New patch to make sure cursor is
 +    initialized.
 +  * patches/git-coverity-fixes.patch: New patch to fix several issues found by
 +    Coverity.
 +  * patches/git-mig-inlines.patch: New patch to inline MIG-generated demuxers.
 +  * control: Bump mig version dependency to get inlined MIG demuxers.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 05 Feb 2014 11:47:53 +0000
 +
 +gnumach (2:1.4-2) unstable; urgency=medium
 +
 +  * control: Bump Standards-Version to 3.9.5 (no changes).
 +  * patches/kentry_data_size.patch: New patch to increase KENTRY_DATA_SIZE.
 +  * patches/thread_terminate_release.patch: New patch to add
 +    thread_terminate_release RPC.
 +  * patches/xen_clock_overflow.patch: New patch to fix Xen clock computation.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 01 Jan 2014 16:54:11 +0000
 +
 +gnumach (2:1.4-1) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * New upstream release.
 +    - Rename packages from 1.3.99 to 1.4.
 +    - patches/00_clean_gfdl.patch: Drop, upstream documentation does not have
 +      invariant sections any more.
 +    - rules: Install documentation.
 +    - control: Depend on texinfo.
 +  * Bump Standards-Version to 3.9.4 (no changes).
 +  * patches/70_dde.patch: Fix experimental.defs creation.
 +  * patches/80_missing_files.patch: Add missing files from git.
 +
 +  [ Pino Toscano ]
 +  * Update Vcs-* headers.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 28 Sep 2013 12:10:13 +0000
 +
 +gnumach (2:1.3.99.dfsg.git20130624-1) unstable; urgency=low
 +
 +  * New upstream snapshot
 +    - Fix partitioning reloading.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 24 Jun 2013 15:22:49 +0200
 +
 +gnumach (2:1.3.99.dfsg.git20130610-1) unstable; urgency=low
 +
 +  * New upstream snapshot
 +    - Adds non-contiguous memory maps support.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 10 Jun 2013 00:46:11 +0000
 +
 +gnumach (2:1.3.99.dfsg.git20130510-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +    - Adds AHCI support.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 10 May 2013 22:29:22 +0000
 +
 +gnumach (2:1.3.99.dfsg.git20130501-1) unstable; urgency=low
 +
 +  * New upstream snapshot
 +  * Fixes grave issues with grub-probe/update-grub/reconfigure gnumach-image.
 +  * rules: Do not pass -fno-omit-frame-pointer for -dbg builds ourselves,
 +    upstream is now doing it.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 01 May 2013 23:25:29 +0000
 +
 +gnumach (2:1.3.99.dfsg.git20130311-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +    - patches/20_slow-boot.patch: Remove, merged upstream.
 +    - patches/60_bigmem.patch: Refresh.
 +  * control: Make gnumach-dev multi-arch:same.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 10 Mar 2013 23:52:47 +0000
 +
 +gnumach (2:1.3.99.dfsg.git20121227-2) unstable; urgency=low
 +
 +  * patches/20_slow-boot.patch: Cherry-pick from upstream to fix slow boot in
 +    virtualbox.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 27 Dec 2012 21:58:55 +0000
 +
 +gnumach (2:1.3.99.dfsg.git20121227-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Thu, 27 Dec 2012 16:52:39 +0000
 +
 +gnumach (2:1.3.99.dfsg.git20120923-1) unstable; urgency=low
 +
 +  * New upstream snapshot
 +    - patches/10_cdromlock.patch: Remove, merged upstream
 +    - patches/13_ide_dma.patch: Remove, merged upstream
 +    - patches/24_pci_irq_fix.patch: Remove, merged upstream
 +    - patches/70_dde.patch: Refresh.
 +  * patches/60_bigmem.patch: Also set Xen to 2/2 memory model.
 +  * patches/40_iopl_mem.patch: Remove
 +  * control: Break xserver before 1.9.99.1.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 14 Jul 2012 15:59:33 +0200
 +
 +gnumach (2:1.3.99.dfsg.git20120710-1) unstable; urgency=low
 +
 +  * New upstream snaphsot
 +
 + -- Samuel Thibault <sthibault@debian.org>  Tue, 10 Jul 2012 01:59:41 +0000
 +
 +gnumach (2:1.3.99.dfsg.git20120610-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +  * patches/12_version_suffix.patch: New patch to append suffix to Mach version.
 +  * rules:
 +    - Disable net, pcmcia and wireless groups
 +    - Add version suffixes.
 +  * control:
 +    - Do not provide nic-modules, nic-pcmcia-modules, nic-wireless-modules
 +    and pcmcia-modules any more.
 +    - Break old hurd package versions, to provide smooth network driver
 +    transition.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 10 Jun 2012 23:36:00 +0200
 +
 +gnumach (2:1.3.99.dfsg.git20120505-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +  * control: Bump Standards-Version to 3.9.3 (no changes).
 +  * patches/50_initrd.patch: Refresh.
 +  * patches/60_bigmem.patch: Also update the kernel/user addresses limit.
 +  * patches/70_dde.patch: Fix erroneous prototype.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 05 May 2012 13:22:36 +0200
 +
 +gnumach (2:1.3.99.dfsg.git20120219-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +  * debian/control:
 +    - Do not make gnumach-dbg depend on gnumach.
 +    - Remove article in synopsis.
 +    - Set Multi-Arch: foreign for gnumach-common.
 +  * debian/rules:
 +    - Add stamp files, and build-indep and build-arch targets.
 +    - Pass -fno-omit-frame-pointer for -dbg builds, to fix kernel debugger
 +      traces & co.
 +    - Enable parallel build.
 +  * debian/patches/70_dde.patch: Add experimental support for irq passing and
 +    physical memory allocation for DDE. Also adds nonetdev boot parameter to
 +    disable network device drivers.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 19 Feb 2012 00:32:41 +0000
 +
 +gnumach (2:1.3.99.dfsg.git20111010-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +    - debian/patches/50_initrd.patch: Refresh.
 +  * debian/control:
 +    - Do not make -dbg package depend on the non-dbg packages.
 +    - Make gnumach-image-* packages depend on gnumach-common
 +      (Closes: Bug#632445).
 +
 + -- Samuel Thibault <sthibault@debian.org>  Mon, 10 Oct 2011 21:53:25 +0000
 +
 +gnumach (2:1.3.99.dfsg.git20110805-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +  * debian/control: build udebs on hurd-i386 only.
 +  * debian/patches/13_ide_dma.patch: Do not stop DMA before reading its
 +    status.
 +  * debian/rules: Add prerm, preinst, postrm, postinst to -dbg kernels too, to
 +    update grub list.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Fri, 05 Aug 2011 11:41:13 +0000
 +
 +gnumach (2:1.3.99.dfsg.git20110609-1) unstable; urgency=low
 +
 +  * New upstream snapshot
 +  * Bump Standards-Version to 3.9.2 (no change needed)
 +
 + -- Samuel Thibault <sthibault@debian.org>  Wed, 08 Jun 2011 22:50:30 +0000
 +
 +gnumach (2:1.3.99.dfsg.git20110305-1) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * New upstream snapshot
 +    - debian/patches/50_initrd.patch: Refresh.
 +  * debian/rules: Add rules to build Xen variants of gnumach.
 +  * debian/source/options: Enable bz2 compression.
 +  * debian/patches/60_bigmem.patch: Add patch to support almost up to 2GiB
 +    memory.
 +  * debian/rules: Rename /boot/gnumach* into
 +    /boot/gnumach-1.3.99-{xen-,}486{,-dbg}
 +  * debian/control:
 +    - Rename gnumach{,-dbg} into gnumach-image-1.3.99-486{,-dbg} (except in
 +    udebs).
 +    - Add gnumach-image-1.3.99-xen-486{,-dbg} containing Xen variants of gnumach
 +    - Add gnumach-common to contain msgids and info documentation shared by
 +    gnumach-image-1.3.99 packages, which now depend on it and replace the
 +    previous gnumach package.
 +    - Add gnumach-image-{xen-,}486, which depend on
 +    gnumach-image-1.3.99-{xen-,}486.
 +    - Re-add gnumach{,-dbg} packages, which depend on gnumach-image-486 and
 +    gnumach-image-1.3.99-486-dbg, make these packages break grub-pc versions
 +    before the one which generate menu entries for all /boot/gnumach* files.
 +    - Rename gnumach-udeb into kernel-image-1.3.99-486-di.
 +    - Add kernel-image-1.3.99-xen-486-di.
 +    - Use Package-Type instead of XC-Package-Type.
 +    - Make gnumach packages break glibc versions before the one which can cope
 +    with > 1GiB memory support.
 +    - Fix upstream URL (Closes: Bug#604257).
 +  * debian/rules: Apply package renames in $(pkg{,_xen,_udeb,_dbg,_xen_dbg).
 +  * debian/gnumach*.{install,docs}: Rename accordingly.
 +  * debian/patches/11_ignore_CSIn.patch: Ignore \E[6n emited by busybox.
 +  * debian/gnumach-image.{preinst,postinst,prerm,postrm}: Add script to get
 +    e.g. update-grub called.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 31 Jul 2010 17:35:20 +0200
 +
 +gnumach (2:1.3.99.dfsg.git20100732-1) unstable; urgency=low
 +
 +  [ Samuel Thibault ]
 +  * New upstream snapshot.
 +  * debian/control
 +    - (gnumach-udeb): Add XC- prefix to Package-Type. Add Provides:
 +    kernel-image, *-modules.
 +    - Remove duplicate priority and section fields.
 +    - Add ${misc:Depends}.
 +  * debian/patches/40_iopl_mem.patch: Add patch, not enabled yet, to be used
 +    instead of 40_iopl_mmap.patch when a new snapshot is taken.
 +  * debian/patches/40_iopl_mmap.patch: Add a "mem" alias for the iopl device,
 +    since that is what upstream provides.
 +  * Now using Standards-Version 3.9.1 (no changes needed).
 +  * debian/rules: Remove enable-sis900 as it's now the default.
 +  * debian/patches/50_initrd.patch: New patch to add ramdisk support for d-i.
 +  * debian/control: Remove Neal and Jeff from Uploaders (Closes: #565164).
 +
 +  [ Guillem Jover ]
 +  * Use any-i386 in binary package Architecture fields.
 +  * Update Vcs fields to point to the new git repositories.
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sat, 31 Jul 2010 17:35:20 +0200
 +
 +gnumach (2:1.3.99.dfsg.git20091128-1) unstable; urgency=low
 +
 +  * New upstream git snapshot.
 +
 +  [ Guillem Jover ]
 +  * Update debian/copyright to point to the git repository.
 +  * Sync with upstream:
 +    - debian/patches/05_halt_on_panic_flag.patch: Remove, merged upstream.
 +    - debian/patches/12_sis900.patch: Likewise.
 +    - debian/patches/14_alloc_params.patch: Likewise.
 +    - debian/patches/15_mem_obj_proxy.patch: Likewise.
 +    - debian/patches/16_ide_multsect.patch: Likewise.
 +    - debian/patches/20_xmm_support.patch: Likewise.
 +  * Switch to source format “3.0 (quilt)”:
 +    - Remove quilt from Build-Depends.
 +    - Remove quilt.make include from debian/rules.
 +    - Remove patch and unpatch targets from debian/rules.
 +    - Remove now unneeded debian/README.source.
 +  * Do not include ChangeLog.0*, they are not shipped upstream anymore.
 +  * Remove Marcus Brinkmann from Uploaders. Closes: #503568
 +
 + -- Guillem Jover <guillem@debian.org>  Sat, 28 Nov 2009 19:14:15 +0100
 +
 +gnumach (2:1.3.99.dfsg.cvs20090220-2) unstable; urgency=low
 +
 +  [ Guillem Jover ]
 +  * Change gnumach-dbg section to debug.
 +  * Change source and gnumach section to kernel.
 +  * Now using Standards-Version 3.8.3.
 +
 +  [ Samuel Thibault ]
 +  * debian/patches/14_alloc_params.patch: reserve 128MiB for virtual memory
 +    space.  Fixes boot with more than ~900MiB.
 +  * debian/patches/20_mmx_support.patch: rename to 20_xmm_support.patch and
 +    fix comment: the added support is XMM registers, not MMX.
 +  * debian/control: Add myself as uploader.
 +
 + -- Guillem Jover <guillem@debian.org>  Mon, 08 Jun 2009 22:23:13 +0200
 +
 +gnumach (2:1.3.99.dfsg.cvs20090220-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +    - Do not panic in fpintr if we receive the interrupt twice in the same
 +      thread. (Closes: #447036)
 +
 +  [ Samuel Thibault ]
 +  * Remove kern/mach_param.h patch from debian/patches/14_alloc_params.patch,
 +    increase zone_map_size and maximum number of cached objects.
 +
 +  [ Guillem Jover ]
 +  * Switch to debhelper compatibility level 7.
 +  * Use dh_prep instead of “dh_clean -k”.
 +  * Remove XC- prefix from Package-Type field.
 +  * Sync with upstream:
 +    - debian/patches/00_clean_gfdl.patch: Refresh.
 +    - debian/patches/05_halt_on_panic_flag.patch: Likewise.
 +    - debian/patches/14_alloc_params.patch: Likewise.
 +    - debian/patches/15_mem_obj_proxy.patch: Likewise.
 +    - debian/patches/20_mmx_support.patch: Likewise.
 +
 + -- Guillem Jover <guillem@debian.org>  Fri, 20 Feb 2009 03:27:59 +0200
 +
 +gnumach (2:1.3.99.dfsg.cvs20080708-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +    - Fix zalloc alignment support, and thus alignment of FPU save area.
 +      (Closes: #440068)
 +    - Enable multicast for IPv6.
 +    - Enable Bus Mastering on triton chipsets.
 +    - Fix gcc-4.3 non-inlining. (Closes: #474902)
 +    - Fix direction flag on syscall entry. (Closes: #469566)
 +    - Fix initialization of RTL8139. (Closes: #469566)
 +
 +  [ Samuel Thibault ]
 +  * Append more agressive caching parameter to
 +    debian/patches/14_alloc_params.patch.
 +  * New patch to enable IDE multiple sector I/O when the drive can do it.
 +    - debian/patches/16_ide_multsect.patch
 +  * Clean debian/tmp-dbg.
 +
 +  [ Guillem Jover ]
 +  * Add Homepage field.
 +  * Add Vcs-Browser and Vcs-Svn fields.
 +  * Remove repository information from debian/copyright as it is now on
 +    debian/control.
 +  * Refer to GPL-2 from common-licenses instead of just GPL.
 +  * Add a README.source.
 +  * Now using Standards-Version 3.8.0.
 +  * Refresh patches with -pab.
 +  * Remove DPATCHLEVEL variable from patches.
 +  * Change source and binary packages from Section base to admin.
 +  * Mangle the Debian version in the watch file.
 +  * Sync with upstream:
 +    - debian/patches/00_clean_gfdl.patch: Refresh.
 +    - debian/patches/05_halt_on_panic_flag.patch: Likewise.
 +    - debian/patches/13_ide_dma.patch: Likewise.
 +    - debian/patches/14_alloc_params.patch: Likewise.
 +  * Use $(filter ...) instead of $(findstring ...) to extract space separated
 +    options from DEB_BUILD_OPTIONS in debian/rules.
 +  * Merge check targets into build targets.
 +  * Clean up debian/rules:
 +    - Run autoreconf on-demand, which fixes a FTBFS when built twice in a
 +      row. (Closes: #424353)
 +    - Support parallel builds by moving 'patch' dependency from
 +      the build to a new pre-patch-* targets that serializes configuration.
 +  * Properly clean up autogenerated cruft.
 +  * Add Build-Depends on autoconf and automake now that we call autoreconf at
 +    build time.
 +
 + -- Guillem Jover <guillem@debian.org>  Tue, 08 Jul 2008 16:54:06 +0300
 +
 +gnumach (2:1.3.99.dfsg.cvs20070809-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +    - debian/patches/90_autoconf_autogen.patch: Regenerated.
 +  * Add an autoregen target to ease regenerating the autoconf patch.
 +  * Use binary:Version instead of the deprecated Source-Version substvar.
 +  * Do not use configure file stamps, use config.status instead.
 +
 + -- Guillem Jover <guillem@debian.org>  Thu, 09 Aug 2007 01:45:22 +0300
 +
 +gnumach (2:1.3.99.dfsg.cvs20070526-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +    - debian/patches/41_io_unlock_ioremove.patch: Removed, fixed upstream.
 +    - debian/patches/42_disable_ioperm.patch: Likewise.
 +    - debian/patches/43_debvice_port_fix.patch: Likewise.
 +    - debian/patches/44_more_ports.patch: Likewise.
 +    - debian/patches/45_io_per_task.patch: Likewise.
 +    - debian/patches/46_io_device.patch: Likewise.
 +    - debian/patches/20_mmx_support.patch: Sync.
 +    - debian/patches/90_autoconf_autogen.patch: Regenerated.
 +  * Temporarily restore support for memory mapping through the iopl device,
 +    so that stuff like X can work again. (Closes: #421135)
 +    - debian/patches/40_iopl_mmap.patch: New file.
 +    Thanks to Samuel Thibault <samuel.thibault@labri.fr>.
 +
 + -- Guillem Jover <guillem@debian.org>  Sat, 26 May 2007 10:01:54 +0300
 +
 +gnumach (2:1.3.99.dfsg.cvs20070405-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +    - debian/patches/44_more_ports.patch: Sync.
 +    - debian/patches/45_io_per_task.patch: Likewise.
 +    - debian/patches/05_halt_on_panic_flag.patch
 +    - debian/patches/12_sis900.patch: Unfuzzy.
 +    - debian/patches/13_ide_dma.patch: Likewise.
 +    - debian/patches/14_alloc_params.patch: Likewise.
 +    - debian/patches/45_io_per_task.patch: Likewise.
 +    - debian/patches/46_io_device.patch: Likewise.
 +    - debian/patches/90_autoconf_autogen.patch: Regenerated.
 +
 + -- Guillem Jover <guillem@debian.org>  Thu, 05 Apr 2007 07:33:38 +0300
 +
 +gnumach (2:1.3.99.dfsg.cvs20070306-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +    - Protect the net filter code from being interrupted.
 +      (Closes: #396741, #413185)
 +      Thanks to Samuel Thibault <samuel.thibault@ens-lyon.org>.
 +    - debian/patches/00_clean_gfdl.patch: Sync.
 +    - debian/patches/90_autoconf_autogen.patch: Regenerated.
 +  * Fixed MMX register support. (Closes: #413177)
 +    - debian/patches/20_mmx_support.patch: Updated.
 +    Thanks to Samuel Thibault <samuel.thibault@ens-lyon.org>.
 +  * Run the test suite after build. (Closes: #390872)
 +
 + -- Guillem Jover <guillem@debian.org>  Tue,  6 Mar 2007 07:51:30 +0200
 +
 +gnumach (2:1.3.99.dfsg.cvs20070211-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +    - debian/patches/22_scsi_inf_loop.patch: Removed, merged upstream.
 +    - debian/patches/47_pcmcia_isa.patch: Likewise.
 +    - debian/patches/10_cdromlock.patch: Sync.
 +    - debian/patches/12_sis900.patch: Likewise.
 +    - debian/patches/15_mem_obj_proxy.patch: Likewise.
 +    - debian/patches/90_autoconf_autogen.patch: Regenerated.
 +  * Add MMX register support.
 +    - debian/patches/20_mmx_support.patch: New file.
 +    Thanks to Samuel Thibault <samuel.thibault@ens-lyon.org>.
 +
 + -- Guillem Jover <guillem@debian.org>  Sun, 11 Feb 2007 16:11:00 +0200
 +
 +gnumach (2:1.3.99.dfsg.1-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +    - debian/patches/01_gcc-4.1.patch: Removed, merged upstream.
 +    - debian/patches/00_clean_gfdl.patch: Sync.
 +    - debian/patches/05_halt_on_panic_flag.patch: Likewise.
 +    - debian/patches/10_cdromlock.patch: Likewise.
 +    - debian/patches/12_sis900.patch: Likewise.
 +    - debian/patches/13_ide_dma.patch: Likewise.
 +    - debian/patches/14_alloc_params.patch: Likewise.
 +    - debian/patches/15_mem_obj_proxy.patch: Likewise.
 +    - debian/patches/41_io_unlock_ioremove.patch: Likewise.
 +    - debian/patches/42_disable_ioperm.patch: Likewise.
 +    - debian/patches/43_debvice_port_fix.patch: Likewise.
 +    - debian/patches/44_more_ports.patch: Likewise.
 +    - debian/patches/45_io_per_task.patch: Likewise.
 +    - debian/patches/46_io_device.patch: Likewise.
 +    - debian/patches/47_pcmcia_isa.patch: Disabled, merged upstream.
 +    - debian/patches/90_autoconf_autogen.patch: Regenerated.
 +    - debian/patches/61_vm_resident-zoned.patch: Disable for now, it's
 +      causing problems with current applied patches in CVS.
 +  * Adapt to the new automakified build system:
 +    - New D and D_DBG variables pointing to the package destination dirs.
 +    - Remove debian/rules.options, now unneeded with the default configure
 +      options, except for '--enable-sis900' which is not enabled by default.
 +    - Pass --prefix and --exec-prefix to configure.
 +    - Use DESTDIR instead of passing the prefix and exec_prefix variables.
 +    - Call install instead of install-kernel and install-headers for the
 +      default build.
 +    - Call install-exec instead of install-kernel for the -dbg build.
 +    - Use dh_install to install files from D and D_DBG into the proper
 +      package dirs.
 +    - debian/gnumach-dbg.install: New file.
 +    - debian/gnumach-dev.install: Likewise.
 +    - debian/gnumach-udeb.install: Likewise.
 +    - debian/gnumach.install: Likewise. Install the msgids. (Closes: #365828)
 +  * Completely removed the doc/ directory.
 +    - Document the removal of the non-free GFDL manual in debian/copyright.
 +    - Do not try to build the now non-existent doc/ directory.
 +    - Disable dh_installinfo.
 +  * Cleanup debian/rules file:
 +    - Remove the manual cruft-removal line from the clean target.
 +    - Remove the stamp file for the -dbg build.
 +    - Merge the install-gnumach-dbg and install-gnumach targets into install.
 +
 + -- Guillem Jover <guillem@debian.org>  Tue, 14 Nov 2006 05:11:48 +0200
 +
 +gnumach (1:20060826.dfsg.1-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +    - Disable wavelan driver as it does not build anymore with the updated
 +      Linux header files.
 +    - Make gnumach-dbg Depend on gnumach with the exact same version, due
 +      to an interface change in the networking code, to drag it as well.
 +    - debian/patches/05_halt_on_panic_flag.patch: Sync.
 +    - debian/patches/10_cdromlock.patch: Likewise.
 +    - debian/patches/12_sis900.patch: Likewise.
 +    - debian/patches/13_ide_dma.patch: Likewise.
 +    - debian/patches/61_vm_resident-zoned.patch: Likewise.
 +    - debian/patches/90_autoconf_autogen.patch: Likewise.
 +    - debian/patches/23_ps2_mouse.patch: Removed, integrated upstream.
 +    - debian/patches/50_mem_limit.patch: Likewise.
 +  * Switch to quilt:
 +    - debian/control: Add quilt (>= 0.40) to Build-Depends.
 +    - debian/patches/series: New file.
 +    - debian/patch.mk: Removed.
 +    - debian/rules: Include '/usr/share/quilt/quilt.make' instead of
 +      'debian/patch.mk'. Change clean to a single colon target and make it
 +      depend on patch.
 +  * Now using Standards-Version 3.7.2 (no changes needed).
 +  * Fix an unused field optimization with gcc 4.1 which was causing the
 +    descriptor initialization to do it partially.
 +    - debian/patches/01_gcc-4.1.patch: New file.
 +    Thanks to Samuel Thibault <samuel.thibault@ens-lyon.org>.
 +  * Enable PCMCIA ISA support.
 +    - debian/patches/47_pcmcia_isa.patch: New file.
 +    Thanks to Stefan Siegl <stesie@brokenpipe.de>.
 +  * Enable all PCMCIA options.
 +
 + -- Guillem Jover <guillem@debian.org>  Thu, 31 Aug 2006 04:43:57 +0300
 +
 +gnumach (1:20060408.dfsg.1-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +    - Fix I/O problem with Hurd console and X.
 +
 + -- Guillem Jover <guillem@debian.org>  Sat,  8 Apr 2006 19:35:22 +0300
 +
 +gnumach (1:20060402.dfsg.1-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +    - Remove GFDL license and the manual licensed with it.
 +    - debian/patches/00_clean_gfdl.patch: Do not build the manual.
 +    - debian/patches/11_nic_update.patch: Removed, integrated upstream.
 +    - debian/patches/16_net_apricot_stack_of.patch: Likewise.
 +    - debian/patches/17_net_gcc_4.0.patch: Likewise.
 +    - debian/patches/20_ide_disable_irqs.patch: Likewise.
 +    - debian/patches/21_pata_off_by_one_irq.patch: Likewise.
 +    - debian/patches/31_tls_ldt.patch: Likewise.
 +    - debian/patches/40_user-tss.patch: Likewise.
 +    - debian/patches/00_build_make_beta.patch: Removed, fixed upstream
 +    - debian/patches/12_sis900.patch: Sync.
 +    - debian/patches/13_ide_dma.patch: Likewise.
 +    - debian/patches/15_mem_obj_proxy.patch: Likewise.
 +    - debian/patches/41_io_unlock_ioremove.patch: Likewise.
 +    - debian/patches/42_disable_ioperm.patch: Likewise.
 +    - debian/patches/44_more_ports.patch: Likewise.
 +    - debian/patches/45_io_per_task.patch: Likewise.
 +    - debian/patches/46_io_device.patch: Likewise.
 +    - debian/patches/50_mem_limit.patch: Likewise.
 +    - debian/patches/90_autoconf_autogen.patch: Likewise.
 +  * Fix -H kernel command line argument to halt on panic. (Closes: #184624)
 +    - debian/patches/05_halt_on_panic_flag.patch: New file.
 +    Thanks to Soeren D. Schulze <soeren.d.schulze@gmx.de>.
 +  * Do not allow PCI IRQ's higher than 16.
 +    - debian/patches/patches/24_pci_irq_fix.patch: New file.
 +    Thanks to Gianluca Guida <glguida@gmail.com>.
 +  * Make the Linux device drivers use dynamic memory allocation via the
 +    glue code.
 +    - debian/patches/61_vm_resident-zoned.patch: New file.
 +    Thanks to Gianluca Guida <glguida@gmail.com>.
 +  * Build with -fno-strict-aliasing.
 +  * Remove Build-Depend on the new POSIX compliant make, it should work on
 +    old versions as well now.
 +  * Remove the no longer needed texinfo Buil-Depends, and comment out the
 +    mach.info from debian/gnumach.info.
 +
 + -- Guillem Jover <guillem@debian.org>  Sun,  2 Apr 2006 17:30:25 +0300
 +
 +gnumach (1:20050801-4) unstable; urgency=low
 +
 +  * Actually enable the io access disabling patch.
 +    - debian/patches/42_disable_ioperm.disabled: Rename to ...
 +    - debian/patches/42_disable_ioperm.patch: ... this.
 +  * Check for correct return code from pcibios in de4x5 SCSI driver, which
 +    was making it loop infinitely if probed.
 +    - debian/patches/22_scsi_inf_loop.patch: New file.
 +    Thanks to Samuel Thibault <samuel.thibault@ens-lyon.org>.
 +  * Fix PS2 mouse command drivers reception, affecting among others its
 +    correct detection.
 +    - debian/patches/23_ps2_mouse.patch: New file.
 +    Thanks to Samuel Thibault <samuel.thibault@ens-lyon.org>.
 +  * Build-Depend on the new POSIX compliant make.
 +
 + -- Guillem Jover <guillem@debian.org>  Mon, 16 Jan 2006 05:40:33 +0200
 +
 +gnumach (1:20050801-3) unstable; urgency=low
 +
 +  * Fix build failure with latest make 3.81 beta and the new POSIX behaviour
 +    related to new line vs shell command.
 +    - debian/patches/00_build_make_beta.patch: New file.
 +    Thanks to Alfred M. Szmidt <ams@gnu.org>.
 +  * Added ChangeLog entries.
 +    - debian/patches/13_ide_dma.patch: Modify
 +    - debian/patches/14_alloc_params.patch: Likewise.
 +  * Fix io port access. (Closes: #46709)
 +    - debian/patches/40_user-tss.patch: New file.
 +    - debian/patches/41_io_unlock_ioremove.patch: Likewise.
 +    - debian/patches/42_disable_ioperm.disabled: Likewise.
 +    - debian/patches/43_debvice_port_fix.patch: Likewise.
 +    - debian/patches/44_more_ports.patch: Likewise.
 +    - debian/patches/45_io_per_task.patch: Likewise.
 +    - debian/patches/46_io_device.patch: Likewise.
 +    Thanks to Samuel Thibault <samuel.thibault@ens-lyon.org>.
 +  * Fix memory limit, that was causing panics when having roughly more than
 +    768 MiB of physical memory. (Closes: #226609)
 +    - debian/patches/50_mem_limit.patch: New file.
 +    Thanks to Samuel Thibault <samuel.thibault@ens-lyon.org>.
 +
 + -- Guillem Jover <guillem@debian.org>  Thu, 12 Jan 2006 00:54:05 +0200
 +
 +gnumach (1:20050801-2) unstable; urgency=low
 +
 +  * Added a watch file.
 +  * Fix segmentation fault on boot. The apricot net driver was trashing the
 +    stack when reading the MAC address from the io port. (Closes: #340389)
 +    - debian/patches/16_net_apricot_stack_of.patch: New file.
 +    Thanks to Sergio Lopez  <koro@sinrega.org>.
 +  * Fix invalid lvalue errors with gcc-4.0 in ne2k-pci driver.
 +    - debian/patches/11_nic_update.patch: Split into ...
 +    - debian/pacthes/17_net_gcc_4.0.patch: ... here.
 +    Thanks to Thomas Schwinge <tschwinge@gnu.org>.
 +
 + -- Guillem Jover <guillem@debian.org>  Mon, 28 Nov 2005 03:46:36 +0200
 +
 +gnumach (1:20050801-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +    - debian/patches/00_autoconf_update.patch: Remove, integrated upstream.
 +    - debian/patches/11_nic_update.patch: Rediff.
 +    - debian/patches/90_autoconf_autogen.patch: Regenerate.
 +  * No need to rename Drivers.in to configure.ac anymore.
 +  * Add DPATCHLEVEL and ChangeLog entry.
 +    - debian/patches/12_sis900.patch: Update.
 +  * Disable IDE interrupts when the driver requests that through
 +    request_irq().
 +    - debian/patches/20_ide_disable_irqs.patch: New file.
 +    Thanks to Samuel Thibault <samuel.thibault@ens-lyon.org>.
 +  * Fix an off-by-one bug in the PATA probe function.
 +    - debian/patches/21_pata_off_by_one_irq.patch: New file.
 +    Thanks to Sergio Lopez <koro@sinrega.org>.
 +  * Set correct values for %gs and %fs when entering kernel mode. Make sure
 +    to always copy the master LDT when the user does not have a modified one.
 +    - debian/patches/31_tls_ldt.patch: New file.
 +    Thanks to Jeroen Dekkers <jeroen@dekkers.cx>.
 +  * Now using Standards-Version 3.6.2 (no changes needed).
 +  * Wrap lines in debian/control fields (knowingly breaking policy).
 +  * Upgrade to debhelper compat version 5.
 +  * Update FSF's address.
 +
 + -- Guillem Jover <guillem@debian.org>  Thu, 10 Nov 2005 06:01:36 +0200
 +
 +gnumach (1:20050501-4) unstable; urgency=low
 +
 +  * Add proxy memory objets.
 +    - debian/patches/15_mem_obj_proxy.patch.
 +    Thanks to Marcus Brinkmann <marcus@gnu.org>.
 +
 + -- Guillem Jover <guillem@debian.org>  Wed,  8 Jun 2005 02:01:42 +0300
 +
 +gnumach (1:20050501-3) unstable; urgency=low
 +
 +  * Provide a udeb package.
 +    - Depend on debhelper >= 4.2.
 +  * Cleaned debian/rules:
 +    - Merge install-gnumach-dev target with install-gnumach.
 +    - Add PHONY targets.
 +    - Remove unused all target.
 +
 + -- Guillem Jover <guillem@debian.org>  Thu,  2 Jun 2005 22:14:40 +0300
 +
 +gnumach (1:20050501-2) unstable; urgency=low
 +
 +  * Add a system stabilizer patch.
 +    - debian/patches/14_alloc_params.patch.
 +    Thanks to Neal H. Walfield <neal@cs.uml.edu>.
 +  * Reverse the meaning of --enable-ide-forcedma.
 +    - debian/patches/13_ide_dma.patch.
 +    Thanks to Sergio López <koro@menteslibres.org> for noticing.
 +
 + -- Guillem Jover <guillem@debian.org>  Sat, 14 May 2005 20:42:29 +0300
 +
 +gnumach (1:20050501-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +    - debian/patches/12_fixes_gcc-3.4.patch: Remove upstream integrated patch.
 +    - debian/patches/14_disable_fpe.patch: Likewise.
 +    - debian/patches/15_disable_qlogic_firmware.patch: Likewise.
 +    - debian/patches/16_enable_debug.patch: Likewise.
 +    - debian/patches/17_fix_double_free.patch: Likewise.
 +    - debian/patches/18_linux_printk_buffer_overrun.patch: Likewise.
 +    - debian/patches/19_cpu_detect.patch: Likewise.
 +    - debian/patches/20_glue_block_assert.patch: Likewise.
 +    - debian/patches/10_cdromlock.patch: Rediff.
 +    - debian/patches/90_autoconf_autogen.patch: Regenerate.
 +  * Add support for SiS 900 NIC.
 +    - debian/patches/12_sis900.patch: New file.
 +    Thanks to Andreas B. Mundt <andi.mundt@web.de>.
 +  * Move configure drivers list to debian/rules.options.
 +
 + -- Guillem Jover <guillem@debian.org>  Sun,  1 May 2005 20:29:08 +0300
 +
 +gnumach (1:20040915.dfsg.1-2) unstable; urgency=low
 +
 +  * Fix a typo in natsemi driver enable command. (Closes: #293950)
 +    Thanks to Regis Boudin <regis.boudin@gmail.com>.
 +  * Sync patches with latest ones sent to upstream.
 +  * Remove leftover assert on the block glue code.
 +  * Fix Subversion repository address.
 +
 + -- Guillem Jover <guillem@debian.org>  Thu, 10 Feb 2005 06:19:15 +0100
 +
 +gnumach (1:20040915.dfsg.1-1) unstable; urgency=low
 +
 +  * Repackage upstream source to remove binary only data. (Closes: #252323)
 +    - i386/i386/fpe.b: Remove binary without source.
 +    - i386/i386/fpe.b_elf: Likewise.
 +    - linux/src/drivers/scsi/qlogicisp_asm.c: Likewise.
 +  * Disable floating point emulation usage.
 +  * Disable qlogicisp firmware loading.
 +  * Change "ifdef DEBUG" to "ifndef NDEBUG" for asserts and other low
 +    footprint debugging stuff, so building with asserts enabled by default.
 +  * Fix double free and memory loss probing partition table.
 +    Thanks to Neal H. Walfield <neal@cs.uml.edu>.
 +  * Fix possible buffer overrun on linux printk.
 +    Thanks to Neal H. Walfield <neal@cs.uml.edu>.
 +  * Fix cpu detection code.
 +  * Do not use stamp files for build targets.
 +
 + -- Guillem Jover <guillem@debian.org>  Mon, 22 Nov 2004 04:50:50 +0100
 +
 +gnumach (1:20040915-1) unstable; urgency=low
 +
 +  * New upstream CVS snapshot.
 +  * Changed Maintainer address.
 +  * Added former implicit maintainers to Uploaders.
 +  * Added myself to Uploaders.
 +  * Cleaned and updated debian/copyright file.
 +  * Honour DEB_BUILD_OPTIONS.
 +  * Split patches into debian/patches/.
 +  * Allow to build natively on non GNU/Hurd systems.
 +  * Enable i386, kfreebsd-i386 and knetbsd-i386 on all packages.
 +  * Move gnumach-dev to binary-arch in debian/rules.
 +  * Switched to debhelper.
 +  * Now using Standards-Version 3.6.1.
 +  * Update autoconf.
 +    Based on a patch by Neal H. Walfield <neal@cs.uml.edu>, thanks.
 +  * Update NICs from Linux.
 +    Thanks to Alfred M. Szmidt <ams@kemisten.nu> and
 +    Arief M. Utama <arief_mulya@yahoo.com>.
 +  * Add newer IDE DMA support.
 +    Thanks to Sergio López <koro@menteslibres.org>.
 +  * Fix build failures for gcc-3.4.
 +
 + -- Guillem Jover <guillem@debian.org>  Mon, 25 Oct 2004 09:53:30 +0200
 +
 +gnumach (1:20040229-1) unstable; urgency=low
 +
 +  * Update to CVS 20040229.
 +  * debian/control: Add texinfo to build dependencies.
 +  * debian/control: Add myself as uploader.
 +  * Patches applied to CVS code: cdromlock.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun, 29 Feb 2004 21:43:12 +0200
 +
 +gnumach (1:20020421-1) unstable; urgency=low
 +
 +  * Update to CVS 20020421.
 +  * Patches applied to CVS code: cdromlock.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun, 21 Apr 2002 18:53:13 +0200
 +
 +gnumach (1:20011013-1) unstable; urgency=low
 +
 +  * Update to CVS 20011013.
 +  * Patches applied to CVS code: cdromlock.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sat, 13 Oct 2001 00:21:15 +0200
 +
 +gnumach (1:20011005-2) unstable; urgency=low
 +
 +  * Update to CVS 20011005.
 +  * Patches applied to CVS code: cdromlock.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Fri,  5 Oct 2001 21:14:51 +0200
 +
 +gnumach (1:20010918-1) unstable; urgency=low
 +
 +  * Update to CVS 2001918.
 +  * Patches applied to CVS code: cdromlock.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Tue, 18 Sep 2001 23:15:17 +0200
 +
 +gnumach (1:20010818-1) unstable; urgency=low
 +
 +  * Update to CVS 20010718.
 +  * Patches applied to CVS code: cdromlock.
 +  The other patches are in CVS now.
 +
 +  * Wading through the bug list, there are some old bugs
 +  fixed long ago, closes: #37954, #47948, #85302, #45792
 +  * debian/rules: Make it build via direct invocation, submitted
 +  by Robert Bihlmeyer, closes: #101697.
 +  
 +  * control: New package gnumach-dbg.  This kernel is not stripped and includes the
 +  kernel-level debugger.
 +  * debian/rules: Build this package.
 +
 + -- Marcus Brinkmann <brinkmd@debian.de>  Sat, 18 Aug 2001 02:15:06 +0200
 +
 +gnumach (1:20010718-1) unstable; urgency=low
 +
 +  * Update to CVS 20010718.
 +  * Patches applied to CVS code: cdromlock, color, kbd_enqueu.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Wed, 18 Jul 2001 22:10:20 +0200
 +
 +gnumach (1:1.2-11) unstable; urgency=low
 +
 +  * debian/rules (stamp-configure): Add ncr53c8xx driver.
 +  * Update to CVS 20010528.
 +  * Patches applied to CVS code: cdromlock, color, kbd_enqueu.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun, 27 May 2001 14:14:12 +0200
 +
 +gnumach (1:1.2-10) unstable; urgency=low
 +
 +  * debian/rules (stamp-configure): Disable eatadma driver, which
 +  prevents booting on some AMD K7 motherboards. Reported by
 +  Robert Bihlmeyer <robbe@orcus.priv.at>.
 +  * Update to CVS 20010429, which contains support for high baud rates
 +  (B57600, B115200).
 +  * Patches applied to CVS code: cdromlock, color, kbd_enqueu.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun, 29 Apr 2001 21:41:34 +0200
 +
 +gnumach (1:1.2-9) unstable; urgency=low
 +
 +  * Update to CVS 20010111, which contains a new interface for
 +  block devices with a large number of blocks.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Thu, 11 Jan 2001 23:45:49 +0100
 +
 +gnumach (1:1.2-8) unstable; urgency=low
 +
 +  * Applied patch by Alexey Dejneka <adejneka@comail.ru> to fix CD ROM
 +  locking problem.
 +  * debian/control: Add mig and sharutils to list of build dependencies
 +  (sharutils for uudecode for fpu emu), closes: #74794.
 +  * linux/src/drivers/net/tulip.c: Update from Linux 2.2.17, thanks
 +  Jason Henry Parker <jasonp@uq.net.au>
 +  
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun, 26 Nov 2000 03:46:08 +0100
 +
 +gnumach (1:1.2-7) unstable; urgency=low
 +
 +  * Update to CVS 20000929, which contains a fix for comX.
 +  * debian/rules: Drop --enable-lpr, which doesn't work.
 +  Drop --enable-com, which is already enforced.
 +  
 + -- Marcus Brinkmann <brinkmd@debian.org>  Fri, 29 Sep 2000 20:24:54 +0200
 +
 +gnumach (1:1.2-5) unstable; urgency=low
 +
 +  * Update to CVS 20000817, which contains a fix for
 +  linux/dev/glue/block.c.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Thu, 17 Aug 2000 03:22:30 +0200
 +
 +gnumach (1:1.2-4) unstable; urgency=low
 +
 +  * Add color support to gnumach. Set TERM to mach-color to get the full
 +  effect. Thanks to Juli-Manel Merino Vidal <jmmv@mail.com> for working
 +  out the mapping between ANSI color codes and the bits to poke into the
 +  attribute.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Tue,  8 Aug 2000 21:00:50 +0200
 +
 +gnumach (1:1.2-3) unstable; urgency=low
 +
 +  * Snapshot from CVS 20000703.
 +  * i386/i386at/kd.c: Receive 0xE0 scan codes (patch by Kalle Olavi Niemitalo).
 +  * Patch to get it compile with gcc-2.95.1 or newer
 +  ( by "Weil, Stefan 3732 EPE-24" <Stefan.Weil@de.heidelberg.com>
 +  and Igor Khavkine <i_khavki@alcor.concordia.ca>)
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Mon,  3 Jul 2000 21:05:42 +0200
 +
 +gnumach (1:1.2-2) unstable; urgency=low
 +
 +  * Snapshot from CVS 19990907.
 +  * Reenable all network interfaces, because the problem is fixed.
 +  * Gzip gnumach binary.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Wed,  8 Sep 1999 00:15:39 +0200
 +
 +gnumach (1:1.2-1) unstable; urgency=low
 +
 +  * Snapshot from CVS 19990725.
 +  * Start from official 1.2 release.
 +  * Remove some network card drivers that seems to have no autodetection in
 +    order to get a maximum set of cards enabled that allows GNU Mach to detect
 +    at least one.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Mon, 26 Jul 1999 01:31:31 +0200
 +
 +gnumach (1:1.1.92-5) unstable; urgency=low
 +
 +  * Snapshot from CVS 19990616.
 +  * Marks dummy network driver still there.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Thu, 17 Jun 1999 16:53:50 +0200
 +
 +gnumach (1:1.1.92-4) unstable; urgency=low
 +
 +  * Snapshot from CVS 19990602.
 +  * Marks dummy network driver still there.
 +  * Replaced linux/dev/drivers/block/genhd.c to avoid a bug.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sat,  5 Jun 1999 00:59:43 +0200
 +
 +gnumach (1:1.1.92-2) unstable; urgency=low
 +
 +  * Snapshot from CVS 19990524.
 +  * Applied Marks dummy network driver.
 +  * Enabled thousands more devices.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Mon, 24 May 1999 18:00:19 +0200
 +
 +gnumach (1:1.1.92-1) unstable; urgency=low
 +
 +  * Snapshot from CVS 19990507.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Fri,  7 May 1999 20:46:06 +0200
 +
 +gnumach (1:1.1.90-2) unstable; urgency=low
 +
 +  * Fix package administration information to reflect that maintainership
 +    has been transferred to bug-hurd@gnu.org.
 +  * Merge a few configuration fixes from Marcus Brinkmann.
 +  * Install include files into /usr/include, for the benefit of people
 +    without the /usr symlink.
 +
 + -- Gordon Matzigkeit <bug-hurd@gnu.org>  Wed, 17 Feb 1999 16:50:54 -0600
 +
 +gnumach (1:1.1.90-1) unstable; urgency=low
 +
 +  * New version from OKUJI Yoshinori.
 +  * Use DEB_{BUILD,HOST}_GNU_TYPE, in accordance with Marcus's new
 +    cross-build proposal.
 +
 + -- Gordon Matzigkeit <gord@debian.org>  Tue, 11 Feb 1999 22:14:01 -0600
 +
 +gnumach (19990116-1) unstable; urgency=low
 +
 +  * New version from OKUJI Yoshinori.
 +  * Added kmsg.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Mon, 18 Jan 1999 17:11:58 +0100
 +
 +gnumach (19981118-2) unstable; urgency=low
 +
 +  * Split into gnumach and gnumach-dev.
 +  * Added keyboard patch by Tudor Hulubei <tudor@cs.unh.edu> to fix some
 +    keybord issues.
 +  * Bumped Standards: version to 2.5.0.0.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sun,  3 Jan 1999 13:53:28 +0100
 +
 +gnumach (19981118-1) unstable; urgency=low
 +
 +  * New version from OKUJI Yoshinori  <okuji@kuicr.kyoto-u.ac.jp>.
 +    This is not a new upstream version, but includes the Linux 2.0.36 driver.
 +  * Strip the kernel.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sat, 19 Dec 1998 05:27:30 +0100
 +
 +gnumach (19981025-1) unstable; urgency=low
 +
 +  * New upstream snapshot.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sat,  7 Nov 1998 18:56:53 +0100
 +
 +gnumach (1.1.3-2) unstable; urgency=low
 +
 +  * Added CPU_TYPE_{I486,PENTIUM,PENTIUMPRO,POWERPC} to
 +    ./include/mach/machine.h. This is needed for latest hurd release.
 +  * Changed description (thank you, Santiagio).
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sat,  1 Aug 1998 21:33:31 +0200
 +
 +gnumach (1.1.3-1) unstable; urgency=low
 +
 +  * Initial Version.
 +
 + -- Marcus Brinkmann <brinkmd@debian.org>  Sat,  1 Aug 1998 21:33:31 +0200

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/gnumach.git


From MAILER-DAEMON Fri Jun 09 20:49:45 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUb3-0003Ow-Nd
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:45 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59923)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb1-0003Oa-LN
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb0-00026a-VE
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:43 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:55464)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb0-00025y-On
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:42 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUaz-0001ko-6M; Sat, 10 Jun 2017 00:49:41 +0000
To: commit-hurd@gnu.org
Subject: [hurd] annotated tag debian/1%0.9.git20170507-1 created (now f4abeba)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <20170610004940.6607.13394@moszumanska.debian.org>
Reply-To: sthibault@users.alioth.debian.org
X-Git-Repo: hurd
X-Git-Refname: refs/tags/debian/1%0.9.git20170507-1
X-Git-Reftype: annotated tag
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: f4abeba86a0b5f31454a4d1757e702e4c2a7e4da
Auto-Submitted: auto-generated
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:49:41 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:49:44 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to annotated tag debian/1%0.9.git20170507-1
in repository hurd.

        at  f4abeba   (tag)
   tagging  38b488b6c1e1d51365866719e86b1b30ac20ac67 (commit)
  replaces  debian/1%0.9.git20170310-1
 tagged by  Samuel Thibault
        on  Fri Jun 9 23:50:37 2017 +0000

- Log -----------------------------------------------------------------
hurd Debian release 1:0.9.git20170507-1

Samuel Thibault (4):
      Avoid erroring out when proc does not support proc_set_exe
      New upstream snapshot
      Merge branch 'upstream-merged'
      Backport a couple upstream fixes

-----------------------------------------------------------------------

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:49:47 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUb5-0003Q4-33
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:47 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59954)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb2-0003Oh-Lm
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb1-00027q-RQ
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:44 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:55473)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb1-00026j-LX
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:43 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb0-0001n7-2w; Sat, 10 Jun 2017 00:49:42 +0000
To: commit-hurd@gnu.org
Subject: [hurd] annotated tag upstream/eth/0.9.git20170507 created (now
	e717a62)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <20170610004941.6607.45177@moszumanska.debian.org>
Reply-To: sthibault@users.alioth.debian.org
X-Git-Repo: hurd
X-Git-Refname: refs/tags/upstream/eth/0.9.git20170507
X-Git-Reftype: annotated tag
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: e717a62245d017a48b1f6dbb37845e4b3948ecd2
Auto-Submitted: auto-generated
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:49:42 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:49:45 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to annotated tag upstream/eth/0.9.git20170507
in repository hurd.

        at  e717a62   (tag)
   tagging  da3b324ff74b4fdb6553b4e3ebebc7ea52865af7 (commit)
  replaces  upstream/eth/0.8.git20160826
 tagged by  Samuel Thibault
        on  Fri Jun 9 19:20:01 2017 +0000

- Log -----------------------------------------------------------------
New upstream snapshot

Justus Winter (1):
      eth-multiplexer: Remove invalid permission check.

Samuel Thibault (3):
      Replace internal semaphore implementation with posix semaphores
      Merge branch 'dde' of git.savannah.gnu.org:/srv/git/hurd/incubator into dde-upstream
      Merge branch 'dde-upstream' into eth

-----------------------------------------------------------------------

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:49:48 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUb5-0003Qm-RW
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:47 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59928)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb1-0003Ob-Sb
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb0-00026Z-Uj
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:43 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:55467)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb0-000262-PN
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:42 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUaz-0001mW-QB; Sat, 10 Jun 2017 00:49:41 +0000
To: commit-hurd@gnu.org
Subject: [hurd] annotated tag upstream/0.9.git20170507 created (now aa4c8de)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <20170610004940.6607.8698@moszumanska.debian.org>
Reply-To: sthibault@users.alioth.debian.org
X-Git-Repo: hurd
X-Git-Refname: refs/tags/upstream/0.9.git20170507
X-Git-Reftype: annotated tag
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: aa4c8ded4d988f57ba3e15daaafc7635f038cfc1
Auto-Submitted: auto-generated
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:49:41 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:49:45 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to annotated tag upstream/0.9.git20170507
in repository hurd.

        at  aa4c8de   (tag)
   tagging  3ed467d065271f84f56ffaf4907340021b7cc2e3 (commit)
  replaces  upstream/0.9.git20170310
 tagged by  Samuel Thibault
        on  Fri Jun 9 19:21:55 2017 +0000

- Log -----------------------------------------------------------------
New upstream snapshot

Samuel Thibault (1):
      New upstream snapshot

-----------------------------------------------------------------------

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:49:48 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUb6-0003R2-45
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:48 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59956)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb2-0003Oi-Qq
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb2-00028R-1p
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:44 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:55477)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb1-00026w-SU
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:43 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb0-0001oQ-Rg; Sat, 10 Jun 2017 00:49:42 +0000
To: commit-hurd@gnu.org
Subject: [hurd] annotated tag upstream/hurd/0.9.git20170507 created (now
	89b379a)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <20170610004941.6607.45976@moszumanska.debian.org>
Reply-To: sthibault@users.alioth.debian.org
X-Git-Repo: hurd
X-Git-Refname: refs/tags/upstream/hurd/0.9.git20170507
X-Git-Reftype: annotated tag
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: 89b379abab3444f753fe2c2d2513317f758b3894
Auto-Submitted: auto-generated
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:49:42 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:49:45 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to annotated tag upstream/hurd/0.9.git20170507
in repository hurd.

        at  89b379a   (tag)
   tagging  cb991b0fd709a635b21c6ea2314acb5345b1b72c (commit)
  replaces  upstream/hurd/0.9.git20170310
 tagged by  Samuel Thibault
        on  Fri Jun 9 19:21:40 2017 +0000

- Log -----------------------------------------------------------------
New upstream snapshot

Justus Winter (4):
      hurd: Use polymorphic port types to return some rights.
      proc: Hierarchical proc servers.
      startup: Simplify reference handling.
      Pass the kernel's task port to proc.

Manolis Ragkousis (1):
      eth-multiplexer: Fix iohelp missing dependency.

Samuel Thibault (1):
      ext2fs: Reduce verbosity of missing xattr support on the FS

-----------------------------------------------------------------------

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:49:48 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUb6-0003RO-Ar
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:48 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59933)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb2-0003Oc-23
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb1-00026q-48
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:44 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:55469)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb0-00026E-Uc
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:43 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUaz-0001mp-Ud; Sat, 10 Jun 2017 00:49:41 +0000
To: commit-hurd@gnu.org
Subject: [hurd] annotated tag upstream/dde/0.9.git20170507 created (now
	bc66566)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <20170610004941.6607.73100@moszumanska.debian.org>
Reply-To: sthibault@users.alioth.debian.org
X-Git-Repo: hurd
X-Git-Refname: refs/tags/upstream/dde/0.9.git20170507
X-Git-Reftype: annotated tag
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: bc665663fdf0c57a037a72a0710bdb68c9fb6954
Auto-Submitted: auto-generated
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:49:41 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:49:45 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to annotated tag upstream/dde/0.9.git20170507
in repository hurd.

        at  bc66566   (tag)
   tagging  50b03bcc46d0df0e8bd2557e95880c1f2176e428 (commit)
  replaces  upstream/dde/0.8.git20161023
 tagged by  Samuel Thibault
        on  Fri Jun 9 19:19:52 2017 +0000

- Log -----------------------------------------------------------------
New upstream snapshot

Samuel Thibault (1):
      drop libbpf, now in mainline

-----------------------------------------------------------------------

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Fri Jun 09 20:49:52 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUbA-0003Vb-Ew
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:52 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59987)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb8-0003TN-5c
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb7-0002BM-II
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:50 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:55502)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb7-0002BA-CM
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:49 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb6-00023b-Ct; Sat, 10 Jun 2017 00:49:48 +0000
To: commit-hurd@gnu.org
Subject: [gnumach] annotated tag upstream/1.8+git20170609 created (now 174bc8a)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <20170610004947.7710.6873@moszumanska.debian.org>
Reply-To: sthibault@users.alioth.debian.org
X-Git-Repo: gnumach
X-Git-Refname: refs/tags/upstream/1.8+git20170609
X-Git-Reftype: annotated tag
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: 174bc8a016d7af49b12358b1bbf47c1fc67fa16f
Auto-Submitted: auto-generated
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:49:48 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:49:51 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to annotated tag upstream/1.8+git20170609
in repository gnumach.

        at  174bc8a   (tag)
   tagging  5d9383d87c39e5533e07108b8db35dfe22187869 (commit)
  replaces  upstream/1.8+git20170102
 tagged by  Samuel Thibault
        on  Fri Jun 9 23:39:58 2017 +0000

- Log -----------------------------------------------------------------
Upstream version 1.8+git20170609

Samuel Thibault (3):
      New upstream version 1.8
      Merge branch 'upstream-1.8' into upstream
      New upstream version 1.8+git20170609

-----------------------------------------------------------------------

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/gnumach.git


From MAILER-DAEMON Fri Jun 09 20:49:53 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJUbA-0003Vo-Lu
	for mharc-commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:52 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59991)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb8-0003Ta-Ez
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb7-0002BG-Ek
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:50 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:55499)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb7-0002B8-9X
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:49:49 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUb6-00022I-07; Sat, 10 Jun 2017 00:49:48 +0000
To: commit-hurd@gnu.org
Subject: [gnumach] annotated tag debian/2%1.8+git20170609-1 created (now
	6c41714)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <20170610004947.7710.92700@moszumanska.debian.org>
Reply-To: sthibault@users.alioth.debian.org
X-Git-Repo: gnumach
X-Git-Refname: refs/tags/debian/2%1.8+git20170609-1
X-Git-Reftype: annotated tag
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: 6c41714778b60f11d9b690b6d60d7e0138b67977
Auto-Submitted: auto-generated
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:49:48 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:49:51 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to annotated tag debian/2%1.8+git20170609-1
in repository gnumach.

        at  6c41714   (tag)
   tagging  350d414fd61413b41448c6e912fd8824b16cda08 (commit)
  replaces  debian/2%1.8+git20170102-1
 tagged by  Samuel Thibault
        on  Fri Jun 9 23:49:35 2017 +0000

- Log -----------------------------------------------------------------
gnumach Debian release 2:1.8+git20170609-1

Samuel Thibault (6):
      New upstream version 1.8
      Merge branch 'upstream-1.8' into upstream
      Merge branch 'upstream-1.8'
      merge 1.8 changelog
      New upstream version 1.8+git20170609
      Merge branch 'upstream'

-----------------------------------------------------------------------

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/gnumach.git


From MAILER-DAEMON Sat Jun 10 02:29:27 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJZtn-0003Ob-Mg
	for mharc-commit-hurd@gnu.org; Sat, 10 Jun 2017 02:29:27 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58717)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ6-0000oh-CU
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ5-000717-Dn
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:26 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:53506)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUQ5-000705-7d
	for commit-hurd@gnu.org; Fri, 09 Jun 2017 20:38:25 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dJUPy-0002XL-4Y; Sat, 10 Jun 2017 00:38:18 +0000
To: commit-hurd@gnu.org
Subject: [hurd] 05/06: eth-multiplexer: Fix iohelp missing dependency.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Reply-To: Manolis Ragkousis <manolis837@gmail.com>
In-Reply-To: <20170610003810.4118.69429@moszumanska.debian.org>
References: <20170610003810.4118.69429@moszumanska.debian.org>
X-Git-Repo: hurd
X-Git-Refname: refs/heads/upstream
X-Git-Reftype: branch
X-Git-Rev: ef0399bad41e60cb30d5073129abeb206076394a
Auto-Submitted: auto-generated
Message-Id: <E1dJUPy-0002XL-4Y@moszumanska.debian.org>
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Sat, 10 Jun 2017 00:38:18 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-Mailman-Approved-At: Sat, 10 Jun 2017 02:29:26 -0400
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 00:38:27 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit ef0399bad41e60cb30d5073129abeb206076394a
Author: Manolis Ragkousis <manolis837@gmail.com>
Date:   Sat Apr 8 16:44:52 2017 +0300

    eth-multiplexer: Fix iohelp missing dependency.
    
    * eth-multiplexer/Makefile (HURDLIBS): Add iohelp.
---
 eth-multiplexer/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eth-multiplexer/Makefile b/eth-multiplexer/Makefile
index 07f909e..cefa0ab 100644
--- a/eth-multiplexer/Makefile
+++ b/eth-multiplexer/Makefile
@@ -26,7 +26,7 @@ MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h
 device-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name"
 OBJS = $(SRCS:.c=.o) $(MIGSTUBS)
 LCLHDRS = ethernet.h util.h vdev.h netfs_impl.h
-HURDLIBS = ports ihash fshelp shouldbeinlibc netfs bpf
+HURDLIBS = ports ihash iohelp fshelp shouldbeinlibc netfs bpf
 LDLIBS = -lpthread
 
 CFLAGS += -I$(top_srcdir)/libbpf

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git


From MAILER-DAEMON Sat Jun 10 17:36:01 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dJo37-0001ox-Iy
	for mharc-commit-hurd@gnu.org; Sat, 10 Jun 2017 17:36:01 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46749)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dJo36-0001o5-1L
	for commit-hurd@gnu.org; Sat, 10 Jun 2017 17:36:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dJo35-000339-7b
	for commit-hurd@gnu.org; Sat, 10 Jun 2017 17:36:00 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:37481)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dJo35-000335-05
	for commit-hurd@gnu.org; Sat, 10 Jun 2017 17:35:59 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 71917)
	id B78F820EC2; Sat, 10 Jun 2017 17:35:58 -0400 (EDT)
To: commit-hurd@gnu.org
Subject: [SCM] Hurd branch, master, updated. v0.9-47-gbf1afc9
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 019f9923e879ff326b14b2de04c6939c07ccb55b
X-Git-Newrev: bf1afc9cf958c9270ab73236028097ca0113b176
Message-Id: <20170610213558.B78F820EC2@vcs0.savannah.gnu.org>
Date: Sat, 10 Jun 2017 17:35:58 -0400 (EDT)
From: justus@gnupg.org (Justus Winter)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jun 2017 21:36:01 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  bf1afc9cf958c9270ab73236028097ca0113b176 (commit)
      from  019f9923e879ff326b14b2de04c6939c07ccb55b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bf1afc9cf958c9270ab73236028097ca0113b176
Author: David Michael <fedora.dm0@gmail.com>
Date:   Sat Jun 10 12:30:35 2017 -0700

    trans: Fix parallel build race around MIG-generated headers
    
    This causes random.d to be generated which makes random.o depend on
    mach_debug_U.h, ensuring it exists before random.c is compiled.
    
    * trans/Makefile: Add random.c to SRCS when gcrypt is used.

-----------------------------------------------------------------------

Summary of changes:
 trans/Makefile | 1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
Hurd


From MAILER-DAEMON Mon Jun 19 16:34:28 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dN3NU-0001FG-6u
	for mharc-commit-hurd@gnu.org; Mon, 19 Jun 2017 16:34:28 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43017)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dN3NR-0001Dc-Hd
	for commit-hurd@gnu.org; Mon, 19 Jun 2017 16:34:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dN3NQ-0006I8-Kt
	for commit-hurd@gnu.org; Mon, 19 Jun 2017 16:34:25 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:33470)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dN3NQ-0006Hw-HK
	for commit-hurd@gnu.org; Mon, 19 Jun 2017 16:34:24 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 67765)
	id 2BD1B20450; Mon, 19 Jun 2017 16:34:24 -0400 (EDT)
To: commit-hurd@gnu.org
Subject: [SCM] Hurd branch, master, updated. v0.9-48-ga4f5b76
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: bf1afc9cf958c9270ab73236028097ca0113b176
X-Git-Newrev: a4f5b76390f1c7b377efbac488b57fa6756da80a
Message-Id: <20170619203424.2BD1B20450@vcs0.savannah.gnu.org>
Date: Mon, 19 Jun 2017 16:34:23 -0400 (EDT)
From: samuel.thibault@ens-lyon.org (Samuel Thibault)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Jun 2017 20:34:26 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  a4f5b76390f1c7b377efbac488b57fa6756da80a (commit)
      from  bf1afc9cf958c9270ab73236028097ca0113b176 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a4f5b76390f1c7b377efbac488b57fa6756da80a
Author: Luca Weiss <luca@z3ntu.xyz>
Date:   Mon Jun 19 22:32:30 2017 +0200

    Fix taking into account prefix for xkb-data installation
    
    * console-client/Makefile (install): Prepend $(prefix) to install
    target.
    * console-client/Makefile ($(XKB_BASE)/%): Rename target to
    $(prefix)$(XKB_BASE)/%.

-----------------------------------------------------------------------

Summary of changes:
 console-client/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Hurd


From MAILER-DAEMON Tue Jun 20 11:21:22 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dNKy2-0001Uv-O2
	for mharc-commit-hurd@gnu.org; Tue, 20 Jun 2017 11:21:22 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58961)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dNKy0-0001Ua-N7
	for commit-hurd@gnu.org; Tue, 20 Jun 2017 11:21:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dNKxz-0007gq-PH
	for commit-hurd@gnu.org; Tue, 20 Jun 2017 11:21:20 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:48266)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <justus@gnupg.org>) id 1dNKxz-0007gk-LG
	for commit-hurd@gnu.org; Tue, 20 Jun 2017 11:21:19 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 71917)
	id 8A6B222056; Tue, 20 Jun 2017 11:21:19 -0400 (EDT)
To: commit-hurd@gnu.org
Subject: [SCM] Hurd branch, master, updated. v0.9-50-g7a03aea
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: a4f5b76390f1c7b377efbac488b57fa6756da80a
X-Git-Newrev: 7a03aea10fd581c41d27acc1a29f7b10b09920cc
Message-Id: <20170620152119.8A6B222056@vcs0.savannah.gnu.org>
Date: Tue, 20 Jun 2017 11:21:19 -0400 (EDT)
From: justus@gnupg.org (Justus Winter)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Jun 2017 15:21:21 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  7a03aea10fd581c41d27acc1a29f7b10b09920cc (commit)
       via  9d1b0cfb95e26fa506179bc30152989a817ff1e6 (commit)
      from  a4f5b76390f1c7b377efbac488b57fa6756da80a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7a03aea10fd581c41d27acc1a29f7b10b09920cc
Author: Justus Winter <justus@gnupg.org>
Date:   Tue Jun 20 11:33:01 2017 +0200

    libshouldbeinlibc: Add missing include.
    
    * libshouldbeinlibc/assert-backtrace.h: Include 'sys/cdefs.h' for
    '__STRING'.

commit 9d1b0cfb95e26fa506179bc30152989a817ff1e6
Author: Justus Winter <justus@gnupg.org>
Date:   Tue Jun 20 01:06:53 2017 +0200

    trans/fakeroot: Obey O_NOFOLLOW.
    
    * trans/fakeroot.c (netfs_S_dir_lookup): Do not follow symlinks if the
    client used O_NOFOLLOW.

-----------------------------------------------------------------------

Summary of changes:
 libshouldbeinlibc/assert-backtrace.h |  2 ++
 trans/fakeroot.c                     | 60 +++++++++++++++++++++++++++++++++++-
 2 files changed, 61 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Hurd


From MAILER-DAEMON Mon Jun 26 02:35:09 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dPNc5-0005Yz-4b
	for mharc-commit-hurd@gnu.org; Mon, 26 Jun 2017 02:35:09 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45058)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dPNc2-0005XH-Gm
	for commit-hurd@gnu.org; Mon, 26 Jun 2017 02:35:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dPNc1-00056i-Fp
	for commit-hurd@gnu.org; Mon, 26 Jun 2017 02:35:06 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:35233)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dPNc1-00056a-Ck
	for commit-hurd@gnu.org; Mon, 26 Jun 2017 02:35:05 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 67765)
	id E75B420DD6; Mon, 26 Jun 2017 02:35:04 -0400 (EDT)
To: commit-hurd@gnu.org
Subject: [SCM] Hurd branch, master, updated. v0.9-51-g78ccb23
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 7a03aea10fd581c41d27acc1a29f7b10b09920cc
X-Git-Newrev: 78ccb233cfed6d9e10864bfdce6348edddada4b8
Message-Id: <20170626063504.E75B420DD6@vcs0.savannah.gnu.org>
Date: Mon, 26 Jun 2017 02:35:04 -0400 (EDT)
From: samuel.thibault@ens-lyon.org (Samuel Thibault)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Jun 2017 06:35:07 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  78ccb233cfed6d9e10864bfdce6348edddada4b8 (commit)
      from  7a03aea10fd581c41d27acc1a29f7b10b09920cc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 78ccb233cfed6d9e10864bfdce6348edddada4b8
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Jun 26 08:34:10 2017 +0200

    Revert "Fix taking into account prefix for xkb-data installation"
    
    This reverts commit a4f5b76390f1c7b377efbac488b57fa6756da80a.
    This broke existing configurations (Debian and Guix), more investigation
    seems to be needed for Arch.

-----------------------------------------------------------------------

Summary of changes:
 console-client/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Hurd


From MAILER-DAEMON Mon Jun 26 02:35:48 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dPNci-0005g5-A6
	for mharc-commit-hurd@gnu.org; Mon, 26 Jun 2017 02:35:48 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45092)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dPNcf-0005fg-Ui
	for commit-hurd@gnu.org; Mon, 26 Jun 2017 02:35:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dPNcf-0005MY-02
	for commit-hurd@gnu.org; Mon, 26 Jun 2017 02:35:45 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:35250)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samuel.thibault@ens-lyon.org>) id 1dPNce-0005MS-SL
	for commit-hurd@gnu.org; Mon, 26 Jun 2017 02:35:44 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 67765)
	id BBD7020DD6; Mon, 26 Jun 2017 02:35:44 -0400 (EDT)
To: commit-hurd@gnu.org
Subject: [SCM] Hurd branch, master, updated. v0.9-52-g3c0094e
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 78ccb233cfed6d9e10864bfdce6348edddada4b8
X-Git-Newrev: 3c0094e1244b649ca49482fadb850a2dfc2d4442
Message-Id: <20170626063544.BBD7020DD6@vcs0.savannah.gnu.org>
Date: Mon, 26 Jun 2017 02:35:44 -0400 (EDT)
From: samuel.thibault@ens-lyon.org (Samuel Thibault)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Jun 2017 06:35:46 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  3c0094e1244b649ca49482fadb850a2dfc2d4442 (commit)
      from  78ccb233cfed6d9e10864bfdce6348edddada4b8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3c0094e1244b649ca49482fadb850a2dfc2d4442
Author: David Michael <fedora.dm0@gmail.com>
Date:   Sun Jun 25 23:24:52 2017 -0700

    build: Drop unused/unsubstituted config variables
    
    * config.make.in (HAVE_BLKID, HAVE_DAEMON): Drop variable.

-----------------------------------------------------------------------

Summary of changes:
 config.make.in | 2 --
 1 file changed, 2 deletions(-)


hooks/post-receive
-- 
Hurd


From MAILER-DAEMON Tue Jun 27 14:55:54 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dPveU-0003Tc-DS
	for mharc-commit-hurd@gnu.org; Tue, 27 Jun 2017 14:55:54 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36259)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dPveS-0003TT-8e
	for commit-hurd@gnu.org; Tue, 27 Jun 2017 14:55:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dPveR-0002pT-LA
	for commit-hurd@gnu.org; Tue, 27 Jun 2017 14:55:52 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:40485)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dPveR-0002n6-F4
	for commit-hurd@gnu.org; Tue, 27 Jun 2017 14:55:51 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dPveO-0004vN-Q5; Tue, 27 Jun 2017 18:55:48 +0000
To: commit-hurd@gnu.org
Subject: [gnumach] 01/01: Fix typo
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Reply-To: Svante Signell <svante.signell@gmail.com>
In-Reply-To: <20170627185548.18849.42746@moszumanska.debian.org>
References: <20170627185548.18849.42746@moszumanska.debian.org>
X-Git-Repo: gnumach
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: bb2694464047a504da7c67c124c2263fd0c222e0
Auto-Submitted: auto-generated
Message-Id: <E1dPveO-0004vN-Q5@moszumanska.debian.org>
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Tue, 27 Jun 2017 18:55:48 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jun 2017 18:55:53 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository gnumach.

commit bb2694464047a504da7c67c124c2263fd0c222e0
Author: Svante Signell <svante.signell@gmail.com>
Date:   Tue Jun 27 18:01:25 2017 +0200

    Fix typo
---
 debian/patches/70_dde.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/70_dde.patch b/debian/patches/70_dde.patch
index f9febfa..ee6b64e 100644
--- a/debian/patches/70_dde.patch
+++ b/debian/patches/70_dde.patch
@@ -515,7 +515,7 @@ index 7753814b..b7dfa1a9 100644
 +	      mark_intr_removed (irq, action->delivery_port);
 +	      ipc_port_release (action->delivery_port);
 +	      *prev = action->next;
-+	      printk ("irq handler %d: release an dead delivery port\n", irq);
++	      printk ("irq handler %d: release a dead delivery port\n", irq);
 +	      linux_kfree(action);
 +	      action = *prev;
 +	      continue;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/gnumach.git


From MAILER-DAEMON Tue Jun 27 14:56:00 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dPvea-0003VZ-HT
	for mharc-commit-hurd@gnu.org; Tue, 27 Jun 2017 14:56:00 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36292)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dPveY-0003Ul-Vl
	for commit-hurd@gnu.org; Tue, 27 Jun 2017 14:55:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dPveY-0002rL-2e
	for commit-hurd@gnu.org; Tue, 27 Jun 2017 14:55:58 -0400
Received: from moszumanska.debian.org ([2001:41c8:1000:21::21:21]:40482)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <sthibault@moszumanska.debian.org>)
	id 1dPveX-0002n3-CF
	for commit-hurd@gnu.org; Tue, 27 Jun 2017 14:55:57 -0400
Received: from sthibault by moszumanska.debian.org with local (Exim 4.80)
	(envelope-from <sthibault@moszumanska.debian.org>)
	id 1dPveO-0004ur-JH; Tue, 27 Jun 2017 18:55:48 +0000
To: commit-hurd@gnu.org
Subject: [gnumach] branch master updated (31dcab9 -> bb26944)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <20170627185548.18849.42746@moszumanska.debian.org>
Reply-To: sthibault@users.alioth.debian.org
X-Git-Repo: gnumach
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 31dcab96df6d94cbaff27ae1b7bde1b54e51d4c6
X-Git-Newrev: bb2694464047a504da7c67c124c2263fd0c222e0
Auto-Submitted: auto-generated
From: Samuel Thibault <sthibault@moszumanska.debian.org>
Date: Tue, 27 Jun 2017 18:55:48 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: sthibault@moszumanska.debian.org
X-SA-Exim-Scanned: No (on moszumanska.debian.org);
	SAEximRunCond expanded to false
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 2001:41c8:1000:21::21:21
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-hurd/>
List-Post: <mailto:commit-hurd@gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jun 2017 18:55:59 -0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch master
in repository gnumach.

      from  31dcab9   Merge branch 'master' of git.debian.org:/git/pkg-hurd/gnumach
       new  bb26944   Fix typo

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/patches/70_dde.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/gnumach.git


