lkml.org 
[lkml]   [2008]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RESEND] [PATCH] VFS: make file->f_pos access atomic on 32bit arch
From
Date
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]
\
 
 \ /
  Last update: 2008-10-09 15:03    [W:1.173 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site