Messages in this thread | | | Subject | Re: [RESEND] [PATCH] VFS: make file->f_pos access atomic on 32bit arch | From | Valdis.Kletnieks@vt ... | Date | Thu, 09 Oct 2008 08:49:35 -0400 |
| |
On Thu, 09 Oct 2008 14:23:19 +0200, Pavel Machek said:
> We have append-only files, and normal users should not be able to work > around that restriction.
Can you give an example of two *plausible* starting offsets, and 2 write lengths, which when subjected to this race manage to override the append-only attribute? I believe somebody already checked the code, and for append-only we force the offset in the kernel for *each* write.
[unhandled content-type:application/pgp-signature] | |