xfs
[Top] [All Lists]

Re: [PATCH 2/7] xfs: use mnt_want_write in compat_attrmulti ioctl

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH 2/7] xfs: use mnt_want_write in compat_attrmulti ioctl
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Mon, 12 Jan 2009 10:08:52 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20090109221259.664448000@xxxxxxxxxxxxxxxxxxxxxx>
Mail-followup-to: Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
References: <20090109221104.237540000@xxxxxxxxxxxxxxxxxxxxxx> <20090109221259.664448000@xxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
On Fri, Jan 09, 2009 at 05:11:06PM -0500, Christoph Hellwig wrote:
> The compat version of the attrmulti ioctl needs to ask for and then
> later release write access to the mount just like the native version,
> otherwise we could potentially write to read-only mounts.
> 
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>