Re: [PATCH 2.6.5-mm4] sys_access race fix

From: Andrew Morton
Date: Tue Apr 13 2004 - 19:04:28 EST


Fabian Frederick <Fabian.Frederick@xxxxxxxxx> wrote:
>
>
> I'm trying to remove the race in sys_access code.
> AFAICS, fsuid is checked in "permission" level so I pushed real fsuid
> capture forward.

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.

Or is there some deeper problem which you are addressing here?
-
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/