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

Re: Bug#79358: is select still broken on hurd ?



At Sun, 10 Jun 2007 12:15:20 +0200,
Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
> 
> Neal H. Walfield, le Sat 09 Jun 2007 00:29:38 +0200, a écrit :
> > The theory is that we don't trust the server to honor the timeout: it
> > may be malicious and trick the client into waiting forever.
> 
> Or it may be buggued and hung.

Of course.

> > However, there are enough ways in which we rely on the server for
> > correct operation that using the Mach timeout mechanism to preempt
> > the server doesn't bring any additional safety.
> 
> Mmm, maybe, but is it really the way we want to go? (i.e. trusting
> the server for such operations).  Server hangs do happen, and having
> applications hung just because of this is not pleasant.

Almost every fs operation can hang and we have no functionality to
detect this except for the user.  Application have come to rely on
this being implemented by its TCB.  Why is select an exception?

Neal



Reply to: