FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 11-18-2008, 01:13 AM
Jim Lieb
 
Default SRU LP292429 Error when copying directory tree with Nautilus to ~/Private using ecryptfs

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
--
Jim Lieb
Ubuntu Kernel Team
Canonical Ltd.
jim.lieb@canonical.com



--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 04:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org