Re: [RESEND] [PATCH] VFS: make file->f_pos access atomic on 32bitarch

From: Jeremy Fitzhardinge
Date: Thu Oct 09 2008 - 13:29:47 EST


Pavel Machek wrote:
We have append-only files, and normal users should not be able to work
around that restriction.

Well, apparently Posix breaks this, and we're supposed to let pwrite() write anywhere in an O_APPEND file. So any security-related argument goes out the window.

J
--
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/