Re: [PATCH] eCryptfs: Make ecryptfs_prepare_write decrypt the page

From: Michael Halcrow
Date: Sun Mar 02 2008 - 10:52:18 EST


On Sun, Mar 02, 2008 at 08:04:52AM -0600, Josh Boyer wrote:
> On Sun, 2 Mar 2008 00:44:52 -0600
> Michael Halcrow <mhalcrow@xxxxxxxxxx> wrote:
>
> > When the page is not up to date, ecryptfs_prepare_write() should be
> > acting much like ecryptfs_readpage(). This includes the painfully
> > obvious step of actually decrypting the page contents read from the
> > lower encrypted file.
> >
> > Note that this patch resolves a bug in eCryptfs in 2.6.24 that one can
> > produce with these steps:
>
> Should it go in -stable then?

Yes; I recommend this fix for a future 2.6.24 release.
--
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/