bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RPC to self with rendez-vous leading to duplicate port destroy


From: Samuel Thibault
Subject: Re: RPC to self with rendez-vous leading to duplicate port destroy
Date: Mon, 14 Mar 2011 03:25:23 +0100
User-agent: Mutt/1.5.12-2006-07-14

address@hidden, le Mon 14 Mar 2011 03:21:43 +0100, a écrit :
> >   There, the
> >   rendez-vous port is thus the same as the reply port obtained above,
> >   with the *same name*.
> > - reauth() destroys the rendez-vous port (and thus the name!)
> >   - a bit later, diskfs_S_io_reauthenticate has finished its work,
> >     and deallocates its rendez-vous port. But the name doesn't exist any
> >     more. Bad.
> 
> I wonder, why is the rendez-vous port actually destroyed, instead of
> just unreferencing the right?

(using mach_port_deallocate instead of mach_port_destroy indeed seems
to fix the issue, but there may be reasons for destroy rather than
deallocate?)

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]