Re: fork: mach_port_mod_refs: EKERN_UREFS_OWERFLOW

2011-09-08 Thread Thomas Schwinge
Hi! This is about fork in glibc. It's leaking port rights. Roland, thanks for the good source code commentation, which is mostly up-to-date; this has helped a lot for understanding! On Mon, 22 Nov 2010 11:56:45 +0100, Samuel Thibault wrote: > Thomas Schwinge, le Mon 22 Nov 2010 09:38:24 +010

Re: fork: mach_port_mod_refs: EKERN_UREFS_OWERFLOW

2011-09-08 Thread Samuel Thibault
Thomas Schwinge, le Thu 08 Sep 2011 12:40:30 +0200, a écrit : > One patch for the TLS code is below; Samuel please have a look. Agreed. Samuel

Re: fork: mach_port_mod_refs: EKERN_UREFS_OWERFLOW

2011-09-08 Thread Roland McGrath
> Here, we've unconditionally used the value of refs, and didn't take into > account that record_refs ought to have been used instead, and refs could > be any value (uninitialized) -- or which detail am I missing here? > Should refs have simply been initialized to zero (as the zero value is > nonef

Re: fork: mach_port_mod_refs: EKERN_UREFS_OWERFLOW

2011-09-08 Thread Samuel Thibault
Roland McGrath, le Thu 08 Sep 2011 09:43:58 -0700, a écrit : > > One patch for the TLS code is below; Samuel please have a look. (Thou > > shalt not invoke mach_thread_self needlessly -- or is there a reason?) > > Unfortunately, this is not all. I'm continuing. > > Does __mach_thread_self bump t

Re: Interface for SCSI transactions ?

2011-09-08 Thread Samuel Thibault
Thomas Schmitt, le Tue 06 Sep 2011 18:32:55 +0200, a écrit : > I have to guess a bit. But it looks like > http://www.gnu.org/software/hurd/users-guide/using_gnuhurd.html#Helping-Out > in its node > > http://www.gnu.org/software/hurd/users-guide/using_gnuhurd.html#Basic-CVS-Usage > shows an exa

Re: git clone fails

2011-09-08 Thread olafBuddenhagen
Hi, On Wed, Sep 07, 2011 at 05:51:36PM +0200, Thomas Schwinge wrote: > There is no branch named ``master'' in the hurd/glibc.git repository, > and after downloading all the stuff, git clone will typicall check out > this branch, which then fails. "git clone" checks out whatever HEAD points to. P

Re: Interface for SCSI transactions ?

2011-09-08 Thread olafBuddenhagen
Hi, On Wed, Sep 07, 2011 at 11:51:15PM +0200, Thomas Schmitt wrote: > The idea came to me to have a generic RPC with two-way parameter > transmission and a function code. Similar to the job of Unix ioctl(). > It would reduce future work when other new kernel calls shall be > implemented. No no,

Re: Interface for SCSI transactions ?

2011-09-08 Thread olafBuddenhagen
Hi, On Wed, Sep 07, 2011 at 07:15:52PM +0200, Thomas Schmitt wrote: > $ git clone git.savannah.gnu.org:/srv/git/hurd/gnumach.git > Cloning into gnumach... > The authenticity of host 'git.savannah.gnu.org (140.186.70.72)' can't be > established. > RSA key fingerprint is 80:5a:b0:0c:ec:93

Re: Interface for SCSI transactions ?

2011-09-08 Thread Guillem Jover
On Fri, 2011-09-09 at 00:51:40 +0200, olafbuddenha...@gmx.net wrote: > On Wed, Sep 07, 2011 at 07:15:52PM +0200, Thomas Schmitt wrote: > > $ git clone git.savannah.gnu.org:/srv/git/hurd/gnumach.git > > Cloning into gnumach... > > The authenticity of host 'git.savannah.gnu.org (140.186.70.72)'

[PATCH gnumach] Remove unused [!MACH_KERNEL] driver code

2011-09-08 Thread Guillem Jover
Use «unifdef -DMACK_KERNEL=1» as a starting point, but only remove the code not exposed on public headers, the rest is needed to build properly from userland. * device/cons.c [!MACH_KERNEL]: Remove includes. [!MACH_KERNEL] (constty): Remove variable. (cninit, cnmaygetc) [MACH_KERNEL]: Remove prepr

[PATCH gnumach] Do not take unused strpbrk() from libc

2011-09-08 Thread Guillem Jover
* Makefile.am (clib_routines): Remove strpbrk. --- Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.am b/Makefile.am index 56db9e9..0c98bfd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -157,7 +157,7 @@ noinst_PROGRAMS += \ # This is the list of rou