mach_task_self, mach_thread_self, mach_host_self (was: fork: mach_port_mod_refs: EKERN_UREFS_OWERFLOW)

2011-09-10 Thread Thomas Schwinge
Hi! First, in my other message I said that ``we're leaking port rights''. This is wrong; we're just handling user reference counts incorrectly. On Thu, 8 Sep 2011 09:43:58 -0700 (PDT), Roland McGrath wrote: > > Here, we've unconditionally used the value of refs, and didn't take into > > accou

Re: ChangeLog/commit messages

2011-09-10 Thread Thomas Schwinge
Hi! On Fri, 9 Sep 2011 10:14:10 +0200, wrote: > On Wed, Sep 07, 2011 at 05:06:09PM +0200, Thomas Schwinge wrote: > > > On the other hand, comments such as Olaf's quoted above (``Instead of > > [...]'') should in fact not be put into the ChangeLog/commit message, > > but should be put (in a sligh

Re: Interface for SCSI transactions ?

2011-09-10 Thread Thomas Schmitt
Hi, i believe to have found the connection between device_t in userspace and Scsi_Device in kernel: device_t arrives in device_set_status() of gnumach/linux/dev/glue/block.c as (void *) and gets casted to (struct block_data *). This struct has an element kdev_t dev; /* Linux device number */