From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: [RESEND] [PATCH] VFS: make file->f_pos access atomic on 32bit arch Date: Thu, 09 Oct 2008 10:29:31 -0700 Message-ID: <48EE3F7B.6040802@goop.org> References: <6.0.0.20.2.20081007140438.0580f110@172.19.0.2> <20081007105056.16d9e785.akpm@linux-foundation.org> <1223405963.26330.83.camel@lappy.programming.kicks-ass.net> <200810081335.44576.nickpiggin@yahoo.com.au> <20081008025209.GO25780@parisc-linux.org> <20081009122319.GC1623@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Matthew Wilcox , Nick Piggin , Peter Zijlstra , torvalds@linux-foundation.org, Andrew Morton , Andi Kleen , Hisashi Hifumi , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, "Aneesh Kumar K.V" , Theodore Ts'o To: Pavel Machek Return-path: Received: from gw.goop.org ([64.81.55.164]:36381 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752718AbYJIR3f (ORCPT ); Thu, 9 Oct 2008 13:29:35 -0400 In-Reply-To: <20081009122319.GC1623@ucw.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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