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 03-05-2012, 04:02 PM
Tim Gardner
 
Default ACK: eCryptfs: Make truncate path killable

On 03/05/2012 09:48 AM, Colin King wrote:

From: Colin Ian King<colin.king@canonical.com>

BugLink: http://bugs.launchpad.net/bugs/947270

SRU justification:

Impact:

ecryptfs_write() does not detect a pending fatal signal which means
write operations cannot be interrupted which is problematic when
truncating a file to several GB as one has to wait for this operation
to complete.

Fix:

Upstream commit 5e6f0d769017cc49207ef56996e42363ec26c1f0

Testcase:

Truncating a non-existent file to several GB and sending it
SIGINT will not respond until complete which can take a long
time on a slow device. With this fix, SIGINT is far more
responsive as expected.

Note:

This patch has already been sent to stable and has been applied
to Lucid but was ommitted for Natty.

Li Wang (1):
eCryptfs: Infinite loop due to overflow in ecryptfs_write()

fs/ecryptfs/read_write.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)




--
Tim Gardner tim.gardner@canonical.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 03-05-2012, 06:03 PM
Herton Ronaldo Krzesinski
 
Default Ack: eCryptfs: Make truncate path killable

On Mon, Mar 05, 2012 at 04:48:17PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> BugLink: http://bugs.launchpad.net/bugs/947270
>
> SRU justification:
>
> Impact:
>
> ecryptfs_write() does not detect a pending fatal signal which means
> write operations cannot be interrupted which is problematic when
> truncating a file to several GB as one has to wait for this operation
> to complete.
>
> Fix:
>
> Upstream commit 5e6f0d769017cc49207ef56996e42363ec26c1f0
>
> Testcase:
>
> Truncating a non-existent file to several GB and sending it
> SIGINT will not respond until complete which can take a long
> time on a slow device. With this fix, SIGINT is far more
> responsive as expected.
>
> Note:
>
> This patch has already been sent to stable and has been applied
> to Lucid but was ommitted for Natty.
>
> Li Wang (1):
> eCryptfs: Infinite loop due to overflow in ecryptfs_write()
>
> fs/ecryptfs/read_write.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> --
> 1.7.9
>
>
> --
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>

--
[]'s
Herton

--
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 11:37 AM.

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