Re: [PATCH 2.6.5-mm4] sys_access race fix

viro
2004-04-14T07:22:55Z

On Wed, Apr 14, 2004 at 08:11:02AM +0100, Jamie Lokier wrote:
> Andrew Morton wrote:
> > Do races in access() actually matter? I mean, some other process could
> > change things a nanosecond after access() has completed and the value which
> > the access() caller received is wrong anyway.
>
> What about the effect access() has on other callers? It temporarily
> changes current->fsuid, so fs operations in other completely
> independent threads are affected.

Huh? What does changing a field of tast_struct have to do with behaviour
of some other threads?