SRU LP292429 Error when copying directory tree with Nautilus to ~/Private using ecryptfs
Stefan Bader
stefan.bader at canonical.com
Tue Nov 18 09:41:47 UTC 2008
ACK for Intrepid. Is this applicable to Hardy as well?
Jim Lieb wrote:
> OriginalAuthor: Michael Halcrow <mhalcrow at 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 at canonical.com>
> Signed-off-by: Michael Halcrow <mhalcrow at us.ibm.com>
> Signed-off-by: Jim Lieb <jim.lieb at 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!
More information about the kernel-team
mailing list