Re: fyi, 2.0.36 read() EBADF bug (it was O_WRONLY)

Tim Waugh (tim@cyberelk.demon.co.uk)
Mon, 13 Sep 1999 07:53:15 +0100 (GMT)


On Sun, 12 Sep 1999, Clayton Weaver wrote:

> So this is a unix bug rather than a linux bug?

Why do you think it's a bug at all? Think of an untrusted application
that is passed a read-only fd (for a file whose only name is in a
directory that the untrusted application does not have permission to
search). Would you _really_ like it to be able to gain write access?

Tim.
*/

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