Re: [PATCH 2.6.5-mm4] sys_access race fix

From: Jamie Lokier
Date: Wed Apr 14 2004 - 02:13:30 EST


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.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/