Ar Sul, 2006-09-17 am 17:57 -0700, ysgrifennodd Chris Wedgwood:
> On Sun, Sep 17, 2006 at 10:14:06PM +0100, Alan Cox wrote:
> 
> > Unfortunately yes. This was discovered in the real world.
> 
> Are there a lot of these applications and does it break badly?  Do you
> know which ones they are?

I don't know precisely which applications but Red Hat has customers
hitting the random behaviour. By choice I'd like that to turn into
consistent failure but its outside the hardware capabilities right now.

> It's not an intuitive change and as the current behavior isn't
> entirely consistent and (presumably) these applications work, so is
> this change really needed?
> 
> Fixing userspace assumptions but setting a (counter-intuitive)
> precedent in the kernel seems wrong.

The current behaviour is "randomly fails". The expected behaviour is
"consistently fails" or "consistently succeeds". POSIX explicitly says
that passing just PROT_WRITE may give you a readable mapping (just as
PROT_READ may give you exec in turn).

The change would thus be logically consistent and in keeping with the
standard.

> Even with VT/Pacifica?  

For VT at the moment the answer appears to be no. 

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to