SRU LP292429 Error when copying directory tree with Nautilus to ~/Private using ecryptfs
ACK for Intrepid. Is this applicable to Hardy as well?
Jim Lieb wrote:
> OriginalAuthor: Michael Halcrow <mhalcrow@us.ibm.com>
> Bug: #292429
>
> On Wed, Nov 12, 2008 at 12:36:10PM -0600, Michael Halcrow wrote:
>> Looks like crypt_stat->key is not page-aligned on this older AMD
>> architecture. This is a legitimate bug in eCryptfs and needs to be
>> fixed upstream. I think I will just grab a page via page_alloc() to
>> use as a temporary buffer for the crypto API scatterlist ops.
>
> On second thought, it might make more sense just to allocate a couple
> of scatterlist structs on the stack every time instead. See if this
> patch resolves the problem. It tests fine for me on my Intel
> processor, and I expect it will resolve the problem on the AMD
> architecture.
>
> This patch is not in the upstream yet. We expect it may appear
> in a different form later.
>
> Committer: Jim Lieb <lieb@canonical.com>
> Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
> Signed-off-by: Jim Lieb <jim.lieb@canonical.com>
> ---
> fs/ecryptfs/keystore.c | 31 ++++++++++++++-----------------
> 1 files changed, 14 insertions(+), 17 deletions(-)
>
> The raw diff is attached
>
> Jim
>
--
When all other means of communication fail, try words!
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team